1// Copyright 2020 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.22.0 18// protoc v3.11.2 19// source: google/ads/googleads/v1/services/geo_target_constant_service.proto 20 21package services 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 wrappers "github.com/golang/protobuf/ptypes/wrappers" 30 resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" 31 _ "google.golang.org/genproto/googleapis/api/annotations" 32 grpc "google.golang.org/grpc" 33 codes "google.golang.org/grpc/codes" 34 status "google.golang.org/grpc/status" 35 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 36 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 37) 38 39const ( 40 // Verify that this generated code is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 42 // Verify that runtime/protoimpl is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 44) 45 46// This is a compile-time assertion that a sufficiently up-to-date version 47// of the legacy proto package is being used. 48const _ = proto.ProtoPackageIsVersion4 49 50// Request message for [GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v1.services.GeoTargetConstantService.GetGeoTargetConstant]. 51type GetGeoTargetConstantRequest struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 56 // Required. The resource name of the geo target constant to fetch. 57 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 58} 59 60func (x *GetGeoTargetConstantRequest) Reset() { 61 *x = GetGeoTargetConstantRequest{} 62 if protoimpl.UnsafeEnabled { 63 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[0] 64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 65 ms.StoreMessageInfo(mi) 66 } 67} 68 69func (x *GetGeoTargetConstantRequest) String() string { 70 return protoimpl.X.MessageStringOf(x) 71} 72 73func (*GetGeoTargetConstantRequest) ProtoMessage() {} 74 75func (x *GetGeoTargetConstantRequest) ProtoReflect() protoreflect.Message { 76 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[0] 77 if protoimpl.UnsafeEnabled && x != nil { 78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 79 if ms.LoadMessageInfo() == nil { 80 ms.StoreMessageInfo(mi) 81 } 82 return ms 83 } 84 return mi.MessageOf(x) 85} 86 87// Deprecated: Use GetGeoTargetConstantRequest.ProtoReflect.Descriptor instead. 88func (*GetGeoTargetConstantRequest) Descriptor() ([]byte, []int) { 89 return file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescGZIP(), []int{0} 90} 91 92func (x *GetGeoTargetConstantRequest) GetResourceName() string { 93 if x != nil { 94 return x.ResourceName 95 } 96 return "" 97} 98 99// Request message for 100// [GeoTargetConstantService.SuggestGeoTargetConstantsRequest][]. 101type SuggestGeoTargetConstantsRequest struct { 102 state protoimpl.MessageState 103 sizeCache protoimpl.SizeCache 104 unknownFields protoimpl.UnknownFields 105 106 // If possible, returned geo targets are translated using this locale. If not, 107 // en is used by default. This is also used as a hint for returned geo 108 // targets. 109 Locale *wrappers.StringValue `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` 110 // Returned geo targets are restricted to this country code. 111 CountryCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` 112 // Required. A selector of geo target constants. 113 // 114 // Types that are assignable to Query: 115 // *SuggestGeoTargetConstantsRequest_LocationNames_ 116 // *SuggestGeoTargetConstantsRequest_GeoTargets_ 117 Query isSuggestGeoTargetConstantsRequest_Query `protobuf_oneof:"query"` 118} 119 120func (x *SuggestGeoTargetConstantsRequest) Reset() { 121 *x = SuggestGeoTargetConstantsRequest{} 122 if protoimpl.UnsafeEnabled { 123 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[1] 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 ms.StoreMessageInfo(mi) 126 } 127} 128 129func (x *SuggestGeoTargetConstantsRequest) String() string { 130 return protoimpl.X.MessageStringOf(x) 131} 132 133func (*SuggestGeoTargetConstantsRequest) ProtoMessage() {} 134 135func (x *SuggestGeoTargetConstantsRequest) ProtoReflect() protoreflect.Message { 136 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[1] 137 if protoimpl.UnsafeEnabled && x != nil { 138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 139 if ms.LoadMessageInfo() == nil { 140 ms.StoreMessageInfo(mi) 141 } 142 return ms 143 } 144 return mi.MessageOf(x) 145} 146 147// Deprecated: Use SuggestGeoTargetConstantsRequest.ProtoReflect.Descriptor instead. 148func (*SuggestGeoTargetConstantsRequest) Descriptor() ([]byte, []int) { 149 return file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescGZIP(), []int{1} 150} 151 152func (x *SuggestGeoTargetConstantsRequest) GetLocale() *wrappers.StringValue { 153 if x != nil { 154 return x.Locale 155 } 156 return nil 157} 158 159func (x *SuggestGeoTargetConstantsRequest) GetCountryCode() *wrappers.StringValue { 160 if x != nil { 161 return x.CountryCode 162 } 163 return nil 164} 165 166func (m *SuggestGeoTargetConstantsRequest) GetQuery() isSuggestGeoTargetConstantsRequest_Query { 167 if m != nil { 168 return m.Query 169 } 170 return nil 171} 172 173func (x *SuggestGeoTargetConstantsRequest) GetLocationNames() *SuggestGeoTargetConstantsRequest_LocationNames { 174 if x, ok := x.GetQuery().(*SuggestGeoTargetConstantsRequest_LocationNames_); ok { 175 return x.LocationNames 176 } 177 return nil 178} 179 180func (x *SuggestGeoTargetConstantsRequest) GetGeoTargets() *SuggestGeoTargetConstantsRequest_GeoTargets { 181 if x, ok := x.GetQuery().(*SuggestGeoTargetConstantsRequest_GeoTargets_); ok { 182 return x.GeoTargets 183 } 184 return nil 185} 186 187type isSuggestGeoTargetConstantsRequest_Query interface { 188 isSuggestGeoTargetConstantsRequest_Query() 189} 190 191type SuggestGeoTargetConstantsRequest_LocationNames_ struct { 192 // The location names to search by. At most 25 names can be set. 193 LocationNames *SuggestGeoTargetConstantsRequest_LocationNames `protobuf:"bytes,1,opt,name=location_names,json=locationNames,proto3,oneof"` 194} 195 196type SuggestGeoTargetConstantsRequest_GeoTargets_ struct { 197 // The geo target constant resource names to filter by. 198 GeoTargets *SuggestGeoTargetConstantsRequest_GeoTargets `protobuf:"bytes,2,opt,name=geo_targets,json=geoTargets,proto3,oneof"` 199} 200 201func (*SuggestGeoTargetConstantsRequest_LocationNames_) isSuggestGeoTargetConstantsRequest_Query() {} 202 203func (*SuggestGeoTargetConstantsRequest_GeoTargets_) isSuggestGeoTargetConstantsRequest_Query() {} 204 205// Response message for [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v1.services.GeoTargetConstantService.SuggestGeoTargetConstants] 206type SuggestGeoTargetConstantsResponse struct { 207 state protoimpl.MessageState 208 sizeCache protoimpl.SizeCache 209 unknownFields protoimpl.UnknownFields 210 211 // Geo target constant suggestions. 212 GeoTargetConstantSuggestions []*GeoTargetConstantSuggestion `protobuf:"bytes,1,rep,name=geo_target_constant_suggestions,json=geoTargetConstantSuggestions,proto3" json:"geo_target_constant_suggestions,omitempty"` 213} 214 215func (x *SuggestGeoTargetConstantsResponse) Reset() { 216 *x = SuggestGeoTargetConstantsResponse{} 217 if protoimpl.UnsafeEnabled { 218 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[2] 219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 220 ms.StoreMessageInfo(mi) 221 } 222} 223 224func (x *SuggestGeoTargetConstantsResponse) String() string { 225 return protoimpl.X.MessageStringOf(x) 226} 227 228func (*SuggestGeoTargetConstantsResponse) ProtoMessage() {} 229 230func (x *SuggestGeoTargetConstantsResponse) ProtoReflect() protoreflect.Message { 231 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[2] 232 if protoimpl.UnsafeEnabled && x != nil { 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 if ms.LoadMessageInfo() == nil { 235 ms.StoreMessageInfo(mi) 236 } 237 return ms 238 } 239 return mi.MessageOf(x) 240} 241 242// Deprecated: Use SuggestGeoTargetConstantsResponse.ProtoReflect.Descriptor instead. 243func (*SuggestGeoTargetConstantsResponse) Descriptor() ([]byte, []int) { 244 return file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescGZIP(), []int{2} 245} 246 247func (x *SuggestGeoTargetConstantsResponse) GetGeoTargetConstantSuggestions() []*GeoTargetConstantSuggestion { 248 if x != nil { 249 return x.GeoTargetConstantSuggestions 250 } 251 return nil 252} 253 254// A geo target constant suggestion. 255type GeoTargetConstantSuggestion struct { 256 state protoimpl.MessageState 257 sizeCache protoimpl.SizeCache 258 unknownFields protoimpl.UnknownFields 259 260 // The language this GeoTargetConstantSuggestion is currently translated to. 261 // It affects the name of geo target fields. For example, if locale=en, then 262 // name=Spain. If locale=es, then name=España. The default locale will be 263 // returned if no translation exists for the locale in the request. 264 Locale *wrappers.StringValue `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` 265 // Approximate user population that will be targeted, rounded to the 266 // nearest 100. 267 Reach *wrappers.Int64Value `protobuf:"bytes,2,opt,name=reach,proto3" json:"reach,omitempty"` 268 // If the request searched by location name, this is the location name that 269 // matched the geo target. 270 SearchTerm *wrappers.StringValue `protobuf:"bytes,3,opt,name=search_term,json=searchTerm,proto3" json:"search_term,omitempty"` 271 // The GeoTargetConstant result. 272 GeoTargetConstant *resources.GeoTargetConstant `protobuf:"bytes,4,opt,name=geo_target_constant,json=geoTargetConstant,proto3" json:"geo_target_constant,omitempty"` 273 // The list of parents of the geo target constant. 274 GeoTargetConstantParents []*resources.GeoTargetConstant `protobuf:"bytes,5,rep,name=geo_target_constant_parents,json=geoTargetConstantParents,proto3" json:"geo_target_constant_parents,omitempty"` 275} 276 277func (x *GeoTargetConstantSuggestion) Reset() { 278 *x = GeoTargetConstantSuggestion{} 279 if protoimpl.UnsafeEnabled { 280 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[3] 281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 282 ms.StoreMessageInfo(mi) 283 } 284} 285 286func (x *GeoTargetConstantSuggestion) String() string { 287 return protoimpl.X.MessageStringOf(x) 288} 289 290func (*GeoTargetConstantSuggestion) ProtoMessage() {} 291 292func (x *GeoTargetConstantSuggestion) ProtoReflect() protoreflect.Message { 293 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[3] 294 if protoimpl.UnsafeEnabled && x != nil { 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 if ms.LoadMessageInfo() == nil { 297 ms.StoreMessageInfo(mi) 298 } 299 return ms 300 } 301 return mi.MessageOf(x) 302} 303 304// Deprecated: Use GeoTargetConstantSuggestion.ProtoReflect.Descriptor instead. 305func (*GeoTargetConstantSuggestion) Descriptor() ([]byte, []int) { 306 return file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescGZIP(), []int{3} 307} 308 309func (x *GeoTargetConstantSuggestion) GetLocale() *wrappers.StringValue { 310 if x != nil { 311 return x.Locale 312 } 313 return nil 314} 315 316func (x *GeoTargetConstantSuggestion) GetReach() *wrappers.Int64Value { 317 if x != nil { 318 return x.Reach 319 } 320 return nil 321} 322 323func (x *GeoTargetConstantSuggestion) GetSearchTerm() *wrappers.StringValue { 324 if x != nil { 325 return x.SearchTerm 326 } 327 return nil 328} 329 330func (x *GeoTargetConstantSuggestion) GetGeoTargetConstant() *resources.GeoTargetConstant { 331 if x != nil { 332 return x.GeoTargetConstant 333 } 334 return nil 335} 336 337func (x *GeoTargetConstantSuggestion) GetGeoTargetConstantParents() []*resources.GeoTargetConstant { 338 if x != nil { 339 return x.GeoTargetConstantParents 340 } 341 return nil 342} 343 344// A list of location names. 345type SuggestGeoTargetConstantsRequest_LocationNames struct { 346 state protoimpl.MessageState 347 sizeCache protoimpl.SizeCache 348 unknownFields protoimpl.UnknownFields 349 350 // A list of location names. 351 Names []*wrappers.StringValue `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` 352} 353 354func (x *SuggestGeoTargetConstantsRequest_LocationNames) Reset() { 355 *x = SuggestGeoTargetConstantsRequest_LocationNames{} 356 if protoimpl.UnsafeEnabled { 357 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[4] 358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 359 ms.StoreMessageInfo(mi) 360 } 361} 362 363func (x *SuggestGeoTargetConstantsRequest_LocationNames) String() string { 364 return protoimpl.X.MessageStringOf(x) 365} 366 367func (*SuggestGeoTargetConstantsRequest_LocationNames) ProtoMessage() {} 368 369func (x *SuggestGeoTargetConstantsRequest_LocationNames) ProtoReflect() protoreflect.Message { 370 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[4] 371 if protoimpl.UnsafeEnabled && x != nil { 372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 373 if ms.LoadMessageInfo() == nil { 374 ms.StoreMessageInfo(mi) 375 } 376 return ms 377 } 378 return mi.MessageOf(x) 379} 380 381// Deprecated: Use SuggestGeoTargetConstantsRequest_LocationNames.ProtoReflect.Descriptor instead. 382func (*SuggestGeoTargetConstantsRequest_LocationNames) Descriptor() ([]byte, []int) { 383 return file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescGZIP(), []int{1, 0} 384} 385 386func (x *SuggestGeoTargetConstantsRequest_LocationNames) GetNames() []*wrappers.StringValue { 387 if x != nil { 388 return x.Names 389 } 390 return nil 391} 392 393// A list of geo target constant resource names. 394type SuggestGeoTargetConstantsRequest_GeoTargets struct { 395 state protoimpl.MessageState 396 sizeCache protoimpl.SizeCache 397 unknownFields protoimpl.UnknownFields 398 399 // A list of geo target constant resource names. 400 GeoTargetConstants []*wrappers.StringValue `protobuf:"bytes,1,rep,name=geo_target_constants,json=geoTargetConstants,proto3" json:"geo_target_constants,omitempty"` 401} 402 403func (x *SuggestGeoTargetConstantsRequest_GeoTargets) Reset() { 404 *x = SuggestGeoTargetConstantsRequest_GeoTargets{} 405 if protoimpl.UnsafeEnabled { 406 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[5] 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 ms.StoreMessageInfo(mi) 409 } 410} 411 412func (x *SuggestGeoTargetConstantsRequest_GeoTargets) String() string { 413 return protoimpl.X.MessageStringOf(x) 414} 415 416func (*SuggestGeoTargetConstantsRequest_GeoTargets) ProtoMessage() {} 417 418func (x *SuggestGeoTargetConstantsRequest_GeoTargets) ProtoReflect() protoreflect.Message { 419 mi := &file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[5] 420 if protoimpl.UnsafeEnabled && x != nil { 421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 422 if ms.LoadMessageInfo() == nil { 423 ms.StoreMessageInfo(mi) 424 } 425 return ms 426 } 427 return mi.MessageOf(x) 428} 429 430// Deprecated: Use SuggestGeoTargetConstantsRequest_GeoTargets.ProtoReflect.Descriptor instead. 431func (*SuggestGeoTargetConstantsRequest_GeoTargets) Descriptor() ([]byte, []int) { 432 return file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescGZIP(), []int{1, 1} 433} 434 435func (x *SuggestGeoTargetConstantsRequest_GeoTargets) GetGeoTargetConstants() []*wrappers.StringValue { 436 if x != nil { 437 return x.GeoTargetConstants 438 } 439 return nil 440} 441 442var File_google_ads_googleads_v1_services_geo_target_constant_service_proto protoreflect.FileDescriptor 443 444var file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDesc = []byte{ 445 0x0a, 0x42, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 446 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 447 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6f, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 448 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 449 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 450 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 451 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 452 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 453 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6f, 0x5f, 0x74, 0x61, 454 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 455 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 456 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 457 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 458 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 459 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 460 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 461 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 462 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 463 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 464 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6f, 465 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 466 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 467 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 468 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 469 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 470 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 471 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb2, 472 0x04, 0x0a, 0x20, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 473 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 474 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x03, 0x20, 475 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 476 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 477 0x65, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x63, 0x6f, 0x75, 478 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 479 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 480 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x63, 481 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x79, 0x0a, 0x0e, 0x6c, 0x6f, 482 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 483 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 484 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 485 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x47, 0x65, 0x6f, 486 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x52, 487 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 488 0x61, 0x6d, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 489 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x70, 0x0a, 0x0b, 0x67, 0x65, 0x6f, 0x5f, 0x74, 0x61, 0x72, 490 0x67, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 491 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 492 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x75, 493 0x67, 0x67, 0x65, 0x73, 0x74, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 494 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, 495 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x65, 0x6f, 496 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x1a, 0x43, 0x0a, 0x0d, 0x4c, 0x6f, 0x63, 0x61, 0x74, 497 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 498 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 499 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 500 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x1a, 0x5c, 0x0a, 0x0a, 501 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x4e, 0x0a, 0x14, 0x67, 0x65, 502 0x6f, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 503 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 504 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 505 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x67, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 506 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 507 0x65, 0x72, 0x79, 0x22, 0xaa, 0x01, 0x0a, 0x21, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x47, 508 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 509 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x1f, 0x67, 0x65, 510 0x6f, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 511 0x74, 0x5f, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 512 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 513 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 514 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 515 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 516 0x6f, 0x6e, 0x52, 0x1c, 0x67, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 517 0x73, 0x74, 0x61, 0x6e, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 518 0x22, 0xa0, 0x03, 0x0a, 0x1b, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 519 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 520 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 521 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 522 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 523 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x63, 0x68, 0x18, 524 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 525 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 526 0x75, 0x65, 0x52, 0x05, 0x72, 0x65, 0x61, 0x63, 0x68, 0x12, 0x3d, 0x0a, 0x0b, 0x73, 0x65, 0x61, 527 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 528 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 529 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x73, 0x65, 530 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x72, 0x6d, 0x12, 0x64, 0x0a, 0x13, 0x67, 0x65, 0x6f, 0x5f, 531 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 532 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 533 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 534 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 535 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x11, 0x67, 0x65, 0x6f, 536 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x73, 537 0x0a, 0x1b, 0x67, 0x65, 0x6f, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 538 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 539 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 540 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 541 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 542 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x18, 0x67, 0x65, 0x6f, 0x54, 0x61, 543 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x65, 544 0x6e, 0x74, 0x73, 0x32, 0xd9, 0x03, 0x0a, 0x18, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 545 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 546 0x12, 0xcd, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 547 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 548 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 549 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 550 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 551 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 552 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 553 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x6f, 554 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x22, 0x40, 555 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 556 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x67, 0x65, 0x6f, 0x54, 0x61, 557 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 558 0xda, 0x41, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 559 0x12, 0xcf, 0x01, 0x0a, 0x19, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x47, 0x65, 0x6f, 0x54, 560 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x42, 561 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 562 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 563 0x73, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 564 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 565 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 566 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 567 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x47, 0x65, 0x6f, 568 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x52, 569 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 570 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 571 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x3a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x3a, 572 0x01, 0x2a, 0x1a, 0x1b, 0xca, 0x41, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 573 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 574 0x84, 0x02, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 575 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 576 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x1d, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 577 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 578 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 579 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 580 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 581 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 582 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 583 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 584 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 585 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xca, 0x02, 0x20, 0x47, 586 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 587 0x41, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xea, 588 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x47, 589 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x53, 0x65, 590 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 591} 592 593var ( 594 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescOnce sync.Once 595 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescData = file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDesc 596) 597 598func file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescGZIP() []byte { 599 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescOnce.Do(func() { 600 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescData) 601 }) 602 return file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDescData 603} 604 605var file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 606var file_google_ads_googleads_v1_services_geo_target_constant_service_proto_goTypes = []interface{}{ 607 (*GetGeoTargetConstantRequest)(nil), // 0: google.ads.googleads.v1.services.GetGeoTargetConstantRequest 608 (*SuggestGeoTargetConstantsRequest)(nil), // 1: google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest 609 (*SuggestGeoTargetConstantsResponse)(nil), // 2: google.ads.googleads.v1.services.SuggestGeoTargetConstantsResponse 610 (*GeoTargetConstantSuggestion)(nil), // 3: google.ads.googleads.v1.services.GeoTargetConstantSuggestion 611 (*SuggestGeoTargetConstantsRequest_LocationNames)(nil), // 4: google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.LocationNames 612 (*SuggestGeoTargetConstantsRequest_GeoTargets)(nil), // 5: google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.GeoTargets 613 (*wrappers.StringValue)(nil), // 6: google.protobuf.StringValue 614 (*wrappers.Int64Value)(nil), // 7: google.protobuf.Int64Value 615 (*resources.GeoTargetConstant)(nil), // 8: google.ads.googleads.v1.resources.GeoTargetConstant 616} 617var file_google_ads_googleads_v1_services_geo_target_constant_service_proto_depIdxs = []int32{ 618 6, // 0: google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.locale:type_name -> google.protobuf.StringValue 619 6, // 1: google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.country_code:type_name -> google.protobuf.StringValue 620 4, // 2: google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.location_names:type_name -> google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.LocationNames 621 5, // 3: google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.geo_targets:type_name -> google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.GeoTargets 622 3, // 4: google.ads.googleads.v1.services.SuggestGeoTargetConstantsResponse.geo_target_constant_suggestions:type_name -> google.ads.googleads.v1.services.GeoTargetConstantSuggestion 623 6, // 5: google.ads.googleads.v1.services.GeoTargetConstantSuggestion.locale:type_name -> google.protobuf.StringValue 624 7, // 6: google.ads.googleads.v1.services.GeoTargetConstantSuggestion.reach:type_name -> google.protobuf.Int64Value 625 6, // 7: google.ads.googleads.v1.services.GeoTargetConstantSuggestion.search_term:type_name -> google.protobuf.StringValue 626 8, // 8: google.ads.googleads.v1.services.GeoTargetConstantSuggestion.geo_target_constant:type_name -> google.ads.googleads.v1.resources.GeoTargetConstant 627 8, // 9: google.ads.googleads.v1.services.GeoTargetConstantSuggestion.geo_target_constant_parents:type_name -> google.ads.googleads.v1.resources.GeoTargetConstant 628 6, // 10: google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.LocationNames.names:type_name -> google.protobuf.StringValue 629 6, // 11: google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.GeoTargets.geo_target_constants:type_name -> google.protobuf.StringValue 630 0, // 12: google.ads.googleads.v1.services.GeoTargetConstantService.GetGeoTargetConstant:input_type -> google.ads.googleads.v1.services.GetGeoTargetConstantRequest 631 1, // 13: google.ads.googleads.v1.services.GeoTargetConstantService.SuggestGeoTargetConstants:input_type -> google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest 632 8, // 14: google.ads.googleads.v1.services.GeoTargetConstantService.GetGeoTargetConstant:output_type -> google.ads.googleads.v1.resources.GeoTargetConstant 633 2, // 15: google.ads.googleads.v1.services.GeoTargetConstantService.SuggestGeoTargetConstants:output_type -> google.ads.googleads.v1.services.SuggestGeoTargetConstantsResponse 634 14, // [14:16] is the sub-list for method output_type 635 12, // [12:14] is the sub-list for method input_type 636 12, // [12:12] is the sub-list for extension type_name 637 12, // [12:12] is the sub-list for extension extendee 638 0, // [0:12] is the sub-list for field type_name 639} 640 641func init() { file_google_ads_googleads_v1_services_geo_target_constant_service_proto_init() } 642func file_google_ads_googleads_v1_services_geo_target_constant_service_proto_init() { 643 if File_google_ads_googleads_v1_services_geo_target_constant_service_proto != nil { 644 return 645 } 646 if !protoimpl.UnsafeEnabled { 647 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 648 switch v := v.(*GetGeoTargetConstantRequest); i { 649 case 0: 650 return &v.state 651 case 1: 652 return &v.sizeCache 653 case 2: 654 return &v.unknownFields 655 default: 656 return nil 657 } 658 } 659 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 660 switch v := v.(*SuggestGeoTargetConstantsRequest); i { 661 case 0: 662 return &v.state 663 case 1: 664 return &v.sizeCache 665 case 2: 666 return &v.unknownFields 667 default: 668 return nil 669 } 670 } 671 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 672 switch v := v.(*SuggestGeoTargetConstantsResponse); i { 673 case 0: 674 return &v.state 675 case 1: 676 return &v.sizeCache 677 case 2: 678 return &v.unknownFields 679 default: 680 return nil 681 } 682 } 683 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 684 switch v := v.(*GeoTargetConstantSuggestion); i { 685 case 0: 686 return &v.state 687 case 1: 688 return &v.sizeCache 689 case 2: 690 return &v.unknownFields 691 default: 692 return nil 693 } 694 } 695 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 696 switch v := v.(*SuggestGeoTargetConstantsRequest_LocationNames); i { 697 case 0: 698 return &v.state 699 case 1: 700 return &v.sizeCache 701 case 2: 702 return &v.unknownFields 703 default: 704 return nil 705 } 706 } 707 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 708 switch v := v.(*SuggestGeoTargetConstantsRequest_GeoTargets); i { 709 case 0: 710 return &v.state 711 case 1: 712 return &v.sizeCache 713 case 2: 714 return &v.unknownFields 715 default: 716 return nil 717 } 718 } 719 } 720 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes[1].OneofWrappers = []interface{}{ 721 (*SuggestGeoTargetConstantsRequest_LocationNames_)(nil), 722 (*SuggestGeoTargetConstantsRequest_GeoTargets_)(nil), 723 } 724 type x struct{} 725 out := protoimpl.TypeBuilder{ 726 File: protoimpl.DescBuilder{ 727 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 728 RawDescriptor: file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDesc, 729 NumEnums: 0, 730 NumMessages: 6, 731 NumExtensions: 0, 732 NumServices: 1, 733 }, 734 GoTypes: file_google_ads_googleads_v1_services_geo_target_constant_service_proto_goTypes, 735 DependencyIndexes: file_google_ads_googleads_v1_services_geo_target_constant_service_proto_depIdxs, 736 MessageInfos: file_google_ads_googleads_v1_services_geo_target_constant_service_proto_msgTypes, 737 }.Build() 738 File_google_ads_googleads_v1_services_geo_target_constant_service_proto = out.File 739 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_rawDesc = nil 740 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_goTypes = nil 741 file_google_ads_googleads_v1_services_geo_target_constant_service_proto_depIdxs = nil 742} 743 744// Reference imports to suppress errors if they are not otherwise used. 745var _ context.Context 746var _ grpc.ClientConnInterface 747 748// This is a compile-time assertion to ensure that this generated file 749// is compatible with the grpc package it is being compiled against. 750const _ = grpc.SupportPackageIsVersion6 751 752// GeoTargetConstantServiceClient is the client API for GeoTargetConstantService service. 753// 754// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 755type GeoTargetConstantServiceClient interface { 756 // Returns the requested geo target constant in full detail. 757 GetGeoTargetConstant(ctx context.Context, in *GetGeoTargetConstantRequest, opts ...grpc.CallOption) (*resources.GeoTargetConstant, error) 758 // Returns GeoTargetConstant suggestions by location name or by resource name. 759 SuggestGeoTargetConstants(ctx context.Context, in *SuggestGeoTargetConstantsRequest, opts ...grpc.CallOption) (*SuggestGeoTargetConstantsResponse, error) 760} 761 762type geoTargetConstantServiceClient struct { 763 cc grpc.ClientConnInterface 764} 765 766func NewGeoTargetConstantServiceClient(cc grpc.ClientConnInterface) GeoTargetConstantServiceClient { 767 return &geoTargetConstantServiceClient{cc} 768} 769 770func (c *geoTargetConstantServiceClient) GetGeoTargetConstant(ctx context.Context, in *GetGeoTargetConstantRequest, opts ...grpc.CallOption) (*resources.GeoTargetConstant, error) { 771 out := new(resources.GeoTargetConstant) 772 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.GeoTargetConstantService/GetGeoTargetConstant", in, out, opts...) 773 if err != nil { 774 return nil, err 775 } 776 return out, nil 777} 778 779func (c *geoTargetConstantServiceClient) SuggestGeoTargetConstants(ctx context.Context, in *SuggestGeoTargetConstantsRequest, opts ...grpc.CallOption) (*SuggestGeoTargetConstantsResponse, error) { 780 out := new(SuggestGeoTargetConstantsResponse) 781 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.GeoTargetConstantService/SuggestGeoTargetConstants", in, out, opts...) 782 if err != nil { 783 return nil, err 784 } 785 return out, nil 786} 787 788// GeoTargetConstantServiceServer is the server API for GeoTargetConstantService service. 789type GeoTargetConstantServiceServer interface { 790 // Returns the requested geo target constant in full detail. 791 GetGeoTargetConstant(context.Context, *GetGeoTargetConstantRequest) (*resources.GeoTargetConstant, error) 792 // Returns GeoTargetConstant suggestions by location name or by resource name. 793 SuggestGeoTargetConstants(context.Context, *SuggestGeoTargetConstantsRequest) (*SuggestGeoTargetConstantsResponse, error) 794} 795 796// UnimplementedGeoTargetConstantServiceServer can be embedded to have forward compatible implementations. 797type UnimplementedGeoTargetConstantServiceServer struct { 798} 799 800func (*UnimplementedGeoTargetConstantServiceServer) GetGeoTargetConstant(context.Context, *GetGeoTargetConstantRequest) (*resources.GeoTargetConstant, error) { 801 return nil, status.Errorf(codes.Unimplemented, "method GetGeoTargetConstant not implemented") 802} 803func (*UnimplementedGeoTargetConstantServiceServer) SuggestGeoTargetConstants(context.Context, *SuggestGeoTargetConstantsRequest) (*SuggestGeoTargetConstantsResponse, error) { 804 return nil, status.Errorf(codes.Unimplemented, "method SuggestGeoTargetConstants not implemented") 805} 806 807func RegisterGeoTargetConstantServiceServer(s *grpc.Server, srv GeoTargetConstantServiceServer) { 808 s.RegisterService(&_GeoTargetConstantService_serviceDesc, srv) 809} 810 811func _GeoTargetConstantService_GetGeoTargetConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 812 in := new(GetGeoTargetConstantRequest) 813 if err := dec(in); err != nil { 814 return nil, err 815 } 816 if interceptor == nil { 817 return srv.(GeoTargetConstantServiceServer).GetGeoTargetConstant(ctx, in) 818 } 819 info := &grpc.UnaryServerInfo{ 820 Server: srv, 821 FullMethod: "/google.ads.googleads.v1.services.GeoTargetConstantService/GetGeoTargetConstant", 822 } 823 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 824 return srv.(GeoTargetConstantServiceServer).GetGeoTargetConstant(ctx, req.(*GetGeoTargetConstantRequest)) 825 } 826 return interceptor(ctx, in, info, handler) 827} 828 829func _GeoTargetConstantService_SuggestGeoTargetConstants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 830 in := new(SuggestGeoTargetConstantsRequest) 831 if err := dec(in); err != nil { 832 return nil, err 833 } 834 if interceptor == nil { 835 return srv.(GeoTargetConstantServiceServer).SuggestGeoTargetConstants(ctx, in) 836 } 837 info := &grpc.UnaryServerInfo{ 838 Server: srv, 839 FullMethod: "/google.ads.googleads.v1.services.GeoTargetConstantService/SuggestGeoTargetConstants", 840 } 841 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 842 return srv.(GeoTargetConstantServiceServer).SuggestGeoTargetConstants(ctx, req.(*SuggestGeoTargetConstantsRequest)) 843 } 844 return interceptor(ctx, in, info, handler) 845} 846 847var _GeoTargetConstantService_serviceDesc = grpc.ServiceDesc{ 848 ServiceName: "google.ads.googleads.v1.services.GeoTargetConstantService", 849 HandlerType: (*GeoTargetConstantServiceServer)(nil), 850 Methods: []grpc.MethodDesc{ 851 { 852 MethodName: "GetGeoTargetConstant", 853 Handler: _GeoTargetConstantService_GetGeoTargetConstant_Handler, 854 }, 855 { 856 MethodName: "SuggestGeoTargetConstants", 857 Handler: _GeoTargetConstantService_SuggestGeoTargetConstants_Handler, 858 }, 859 }, 860 Streams: []grpc.StreamDesc{}, 861 Metadata: "google/ads/googleads/v1/services/geo_target_constant_service.proto", 862} 863