1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0-devel 18// protoc v3.13.0 19// source: google/cloud/datacatalog/v1/search.proto 20 21package datacatalog 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// This is a compile-time assertion that a sufficiently up-to-date version 42// of the legacy proto package is being used. 43const _ = proto.ProtoPackageIsVersion4 44 45// The different types of resources that can be returned in search. 46type SearchResultType int32 47 48const ( 49 // Default unknown type. 50 SearchResultType_SEARCH_RESULT_TYPE_UNSPECIFIED SearchResultType = 0 51 // An [Entry][google.cloud.datacatalog.v1.Entry]. 52 SearchResultType_ENTRY SearchResultType = 1 53 // A [TagTemplate][google.cloud.datacatalog.v1.TagTemplate]. 54 SearchResultType_TAG_TEMPLATE SearchResultType = 2 55 // An [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]. 56 SearchResultType_ENTRY_GROUP SearchResultType = 3 57) 58 59// Enum value maps for SearchResultType. 60var ( 61 SearchResultType_name = map[int32]string{ 62 0: "SEARCH_RESULT_TYPE_UNSPECIFIED", 63 1: "ENTRY", 64 2: "TAG_TEMPLATE", 65 3: "ENTRY_GROUP", 66 } 67 SearchResultType_value = map[string]int32{ 68 "SEARCH_RESULT_TYPE_UNSPECIFIED": 0, 69 "ENTRY": 1, 70 "TAG_TEMPLATE": 2, 71 "ENTRY_GROUP": 3, 72 } 73) 74 75func (x SearchResultType) Enum() *SearchResultType { 76 p := new(SearchResultType) 77 *p = x 78 return p 79} 80 81func (x SearchResultType) String() string { 82 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 83} 84 85func (SearchResultType) Descriptor() protoreflect.EnumDescriptor { 86 return file_google_cloud_datacatalog_v1_search_proto_enumTypes[0].Descriptor() 87} 88 89func (SearchResultType) Type() protoreflect.EnumType { 90 return &file_google_cloud_datacatalog_v1_search_proto_enumTypes[0] 91} 92 93func (x SearchResultType) Number() protoreflect.EnumNumber { 94 return protoreflect.EnumNumber(x) 95} 96 97// Deprecated: Use SearchResultType.Descriptor instead. 98func (SearchResultType) EnumDescriptor() ([]byte, []int) { 99 return file_google_cloud_datacatalog_v1_search_proto_rawDescGZIP(), []int{0} 100} 101 102// A result that appears in the response of a search request. Each result 103// captures details of one entry that matches the search. 104type SearchCatalogResult struct { 105 state protoimpl.MessageState 106 sizeCache protoimpl.SizeCache 107 unknownFields protoimpl.UnknownFields 108 109 // Type of the search result. This field can be used to determine which Get 110 // method to call to fetch the full resource. 111 SearchResultType SearchResultType `protobuf:"varint,1,opt,name=search_result_type,json=searchResultType,proto3,enum=google.cloud.datacatalog.v1.SearchResultType" json:"search_result_type,omitempty"` 112 // Sub-type of the search result. This is a dot-delimited description of the 113 // resource's full type, and is the same as the value callers would provide in 114 // the "type" search facet. Examples: `entry.table`, `entry.dataStream`, 115 // `tagTemplate`. 116 SearchResultSubtype string `protobuf:"bytes,2,opt,name=search_result_subtype,json=searchResultSubtype,proto3" json:"search_result_subtype,omitempty"` 117 // The relative resource name of the resource in URL format. 118 // Examples: 119 // 120 // * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}` 121 // * `projects/{project_id}/tagTemplates/{tag_template_id}` 122 RelativeResourceName string `protobuf:"bytes,3,opt,name=relative_resource_name,json=relativeResourceName,proto3" json:"relative_resource_name,omitempty"` 123 // The full name of the cloud resource the entry belongs to. See: 124 // https://cloud.google.com/apis/design/resource_names#full_resource_name. 125 // Example: 126 // 127 // * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId` 128 LinkedResource string `protobuf:"bytes,4,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"` 129 // Last-modified timestamp of the entry from the managing system. 130 ModifyTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"` 131 // The source system of the entry. Only applicable when `search_result_type` 132 // is ENTRY. 133 // 134 // Types that are assignable to System: 135 // *SearchCatalogResult_IntegratedSystem 136 // *SearchCatalogResult_UserSpecifiedSystem 137 System isSearchCatalogResult_System `protobuf_oneof:"system"` 138 // Fully Qualified Name of the resource. 139 // There are two main forms of FQNs: 140 // {system}:{project}.{dot-separated path to resource} 141 // for non-regionalized resources 142 // {system}:{project}.{location id}.{dot-separated path to resource} 143 // for regionalized resources 144 // Examples: 145 // * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId 146 // * bigquery:table.project_id.dataset_id.table_id 147 FullyQualifiedName string `protobuf:"bytes,10,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"` 148} 149 150func (x *SearchCatalogResult) Reset() { 151 *x = SearchCatalogResult{} 152 if protoimpl.UnsafeEnabled { 153 mi := &file_google_cloud_datacatalog_v1_search_proto_msgTypes[0] 154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 155 ms.StoreMessageInfo(mi) 156 } 157} 158 159func (x *SearchCatalogResult) String() string { 160 return protoimpl.X.MessageStringOf(x) 161} 162 163func (*SearchCatalogResult) ProtoMessage() {} 164 165func (x *SearchCatalogResult) ProtoReflect() protoreflect.Message { 166 mi := &file_google_cloud_datacatalog_v1_search_proto_msgTypes[0] 167 if protoimpl.UnsafeEnabled && x != nil { 168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 169 if ms.LoadMessageInfo() == nil { 170 ms.StoreMessageInfo(mi) 171 } 172 return ms 173 } 174 return mi.MessageOf(x) 175} 176 177// Deprecated: Use SearchCatalogResult.ProtoReflect.Descriptor instead. 178func (*SearchCatalogResult) Descriptor() ([]byte, []int) { 179 return file_google_cloud_datacatalog_v1_search_proto_rawDescGZIP(), []int{0} 180} 181 182func (x *SearchCatalogResult) GetSearchResultType() SearchResultType { 183 if x != nil { 184 return x.SearchResultType 185 } 186 return SearchResultType_SEARCH_RESULT_TYPE_UNSPECIFIED 187} 188 189func (x *SearchCatalogResult) GetSearchResultSubtype() string { 190 if x != nil { 191 return x.SearchResultSubtype 192 } 193 return "" 194} 195 196func (x *SearchCatalogResult) GetRelativeResourceName() string { 197 if x != nil { 198 return x.RelativeResourceName 199 } 200 return "" 201} 202 203func (x *SearchCatalogResult) GetLinkedResource() string { 204 if x != nil { 205 return x.LinkedResource 206 } 207 return "" 208} 209 210func (x *SearchCatalogResult) GetModifyTime() *timestamppb.Timestamp { 211 if x != nil { 212 return x.ModifyTime 213 } 214 return nil 215} 216 217func (m *SearchCatalogResult) GetSystem() isSearchCatalogResult_System { 218 if m != nil { 219 return m.System 220 } 221 return nil 222} 223 224func (x *SearchCatalogResult) GetIntegratedSystem() IntegratedSystem { 225 if x, ok := x.GetSystem().(*SearchCatalogResult_IntegratedSystem); ok { 226 return x.IntegratedSystem 227 } 228 return IntegratedSystem_INTEGRATED_SYSTEM_UNSPECIFIED 229} 230 231func (x *SearchCatalogResult) GetUserSpecifiedSystem() string { 232 if x, ok := x.GetSystem().(*SearchCatalogResult_UserSpecifiedSystem); ok { 233 return x.UserSpecifiedSystem 234 } 235 return "" 236} 237 238func (x *SearchCatalogResult) GetFullyQualifiedName() string { 239 if x != nil { 240 return x.FullyQualifiedName 241 } 242 return "" 243} 244 245type isSearchCatalogResult_System interface { 246 isSearchCatalogResult_System() 247} 248 249type SearchCatalogResult_IntegratedSystem struct { 250 // Output only. This field indicates the entry's source system that Data Catalog 251 // integrates with, such as BigQuery or Cloud Pub/Sub. 252 IntegratedSystem IntegratedSystem `protobuf:"varint,8,opt,name=integrated_system,json=integratedSystem,proto3,enum=google.cloud.datacatalog.v1.IntegratedSystem,oneof"` 253} 254 255type SearchCatalogResult_UserSpecifiedSystem struct { 256 // This field indicates the entry's source system that Data Catalog does not 257 // integrate with. 258 UserSpecifiedSystem string `protobuf:"bytes,9,opt,name=user_specified_system,json=userSpecifiedSystem,proto3,oneof"` 259} 260 261func (*SearchCatalogResult_IntegratedSystem) isSearchCatalogResult_System() {} 262 263func (*SearchCatalogResult_UserSpecifiedSystem) isSearchCatalogResult_System() {} 264 265var File_google_cloud_datacatalog_v1_search_proto protoreflect.FileDescriptor 266 267var file_google_cloud_datacatalog_v1_search_proto_rawDesc = []byte{ 268 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 269 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 270 0x61, 0x72, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 271 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 272 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 273 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 274 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 275 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 276 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 277 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 278 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 279 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x04, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 280 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x5b, 0x0a, 0x12, 0x73, 281 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x79, 0x70, 282 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 283 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 284 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 285 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 286 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x61, 0x72, 287 0x63, 0x68, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x74, 0x79, 0x70, 288 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 289 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x16, 290 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 291 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x72, 0x65, 292 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 293 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 294 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6c, 0x69, 0x6e, 295 0x6b, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x6d, 296 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 297 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 298 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6d, 0x6f, 299 0x64, 0x69, 0x66, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x61, 0x0a, 0x11, 0x69, 0x6e, 0x74, 0x65, 300 0x67, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x08, 0x20, 301 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 302 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 303 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x65, 0x64, 0x53, 0x79, 0x73, 0x74, 304 0x65, 0x6d, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x67, 305 0x72, 0x61, 0x74, 0x65, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x34, 0x0a, 0x15, 0x75, 306 0x73, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x73, 0x79, 307 0x73, 0x74, 0x65, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x13, 0x75, 0x73, 308 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 309 0x6d, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x5f, 0x71, 0x75, 0x61, 0x6c, 0x69, 310 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 311 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4e, 312 0x61, 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2a, 0x64, 0x0a, 313 0x10, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 314 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x52, 0x45, 0x53, 0x55, 315 0x4c, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 316 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x10, 0x01, 317 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x41, 0x47, 0x5f, 0x54, 0x45, 0x4d, 0x50, 0x4c, 0x41, 0x54, 0x45, 318 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x47, 0x52, 0x4f, 0x55, 319 0x50, 0x10, 0x03, 0x42, 0xcb, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 320 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 321 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 322 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 323 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 324 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 325 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 326 0x67, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 327 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 328 0x56, 0x31, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 329 0x64, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5c, 0x56, 0x31, 330 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 331 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x3a, 0x3a, 0x56, 332 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 333} 334 335var ( 336 file_google_cloud_datacatalog_v1_search_proto_rawDescOnce sync.Once 337 file_google_cloud_datacatalog_v1_search_proto_rawDescData = file_google_cloud_datacatalog_v1_search_proto_rawDesc 338) 339 340func file_google_cloud_datacatalog_v1_search_proto_rawDescGZIP() []byte { 341 file_google_cloud_datacatalog_v1_search_proto_rawDescOnce.Do(func() { 342 file_google_cloud_datacatalog_v1_search_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_datacatalog_v1_search_proto_rawDescData) 343 }) 344 return file_google_cloud_datacatalog_v1_search_proto_rawDescData 345} 346 347var file_google_cloud_datacatalog_v1_search_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 348var file_google_cloud_datacatalog_v1_search_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 349var file_google_cloud_datacatalog_v1_search_proto_goTypes = []interface{}{ 350 (SearchResultType)(0), // 0: google.cloud.datacatalog.v1.SearchResultType 351 (*SearchCatalogResult)(nil), // 1: google.cloud.datacatalog.v1.SearchCatalogResult 352 (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp 353 (IntegratedSystem)(0), // 3: google.cloud.datacatalog.v1.IntegratedSystem 354} 355var file_google_cloud_datacatalog_v1_search_proto_depIdxs = []int32{ 356 0, // 0: google.cloud.datacatalog.v1.SearchCatalogResult.search_result_type:type_name -> google.cloud.datacatalog.v1.SearchResultType 357 2, // 1: google.cloud.datacatalog.v1.SearchCatalogResult.modify_time:type_name -> google.protobuf.Timestamp 358 3, // 2: google.cloud.datacatalog.v1.SearchCatalogResult.integrated_system:type_name -> google.cloud.datacatalog.v1.IntegratedSystem 359 3, // [3:3] is the sub-list for method output_type 360 3, // [3:3] is the sub-list for method input_type 361 3, // [3:3] is the sub-list for extension type_name 362 3, // [3:3] is the sub-list for extension extendee 363 0, // [0:3] is the sub-list for field type_name 364} 365 366func init() { file_google_cloud_datacatalog_v1_search_proto_init() } 367func file_google_cloud_datacatalog_v1_search_proto_init() { 368 if File_google_cloud_datacatalog_v1_search_proto != nil { 369 return 370 } 371 file_google_cloud_datacatalog_v1_common_proto_init() 372 if !protoimpl.UnsafeEnabled { 373 file_google_cloud_datacatalog_v1_search_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 374 switch v := v.(*SearchCatalogResult); i { 375 case 0: 376 return &v.state 377 case 1: 378 return &v.sizeCache 379 case 2: 380 return &v.unknownFields 381 default: 382 return nil 383 } 384 } 385 } 386 file_google_cloud_datacatalog_v1_search_proto_msgTypes[0].OneofWrappers = []interface{}{ 387 (*SearchCatalogResult_IntegratedSystem)(nil), 388 (*SearchCatalogResult_UserSpecifiedSystem)(nil), 389 } 390 type x struct{} 391 out := protoimpl.TypeBuilder{ 392 File: protoimpl.DescBuilder{ 393 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 394 RawDescriptor: file_google_cloud_datacatalog_v1_search_proto_rawDesc, 395 NumEnums: 1, 396 NumMessages: 1, 397 NumExtensions: 0, 398 NumServices: 0, 399 }, 400 GoTypes: file_google_cloud_datacatalog_v1_search_proto_goTypes, 401 DependencyIndexes: file_google_cloud_datacatalog_v1_search_proto_depIdxs, 402 EnumInfos: file_google_cloud_datacatalog_v1_search_proto_enumTypes, 403 MessageInfos: file_google_cloud_datacatalog_v1_search_proto_msgTypes, 404 }.Build() 405 File_google_cloud_datacatalog_v1_search_proto = out.File 406 file_google_cloud_datacatalog_v1_search_proto_rawDesc = nil 407 file_google_cloud_datacatalog_v1_search_proto_goTypes = nil 408 file_google_cloud_datacatalog_v1_search_proto_depIdxs = nil 409} 410