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/ad_group_criterion_label_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 resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" 30 _ "google.golang.org/genproto/googleapis/api/annotations" 31 status "google.golang.org/genproto/googleapis/rpc/status" 32 grpc "google.golang.org/grpc" 33 codes "google.golang.org/grpc/codes" 34 status1 "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 51// [AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v1.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel]. 52type GetAdGroupCriterionLabelRequest struct { 53 state protoimpl.MessageState 54 sizeCache protoimpl.SizeCache 55 unknownFields protoimpl.UnknownFields 56 57 // Required. The resource name of the ad group criterion label to fetch. 58 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 59} 60 61func (x *GetAdGroupCriterionLabelRequest) Reset() { 62 *x = GetAdGroupCriterionLabelRequest{} 63 if protoimpl.UnsafeEnabled { 64 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[0] 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 ms.StoreMessageInfo(mi) 67 } 68} 69 70func (x *GetAdGroupCriterionLabelRequest) String() string { 71 return protoimpl.X.MessageStringOf(x) 72} 73 74func (*GetAdGroupCriterionLabelRequest) ProtoMessage() {} 75 76func (x *GetAdGroupCriterionLabelRequest) ProtoReflect() protoreflect.Message { 77 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[0] 78 if protoimpl.UnsafeEnabled && x != nil { 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 if ms.LoadMessageInfo() == nil { 81 ms.StoreMessageInfo(mi) 82 } 83 return ms 84 } 85 return mi.MessageOf(x) 86} 87 88// Deprecated: Use GetAdGroupCriterionLabelRequest.ProtoReflect.Descriptor instead. 89func (*GetAdGroupCriterionLabelRequest) Descriptor() ([]byte, []int) { 90 return file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescGZIP(), []int{0} 91} 92 93func (x *GetAdGroupCriterionLabelRequest) GetResourceName() string { 94 if x != nil { 95 return x.ResourceName 96 } 97 return "" 98} 99 100// Request message for 101// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v1.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. 102type MutateAdGroupCriterionLabelsRequest struct { 103 state protoimpl.MessageState 104 sizeCache protoimpl.SizeCache 105 unknownFields protoimpl.UnknownFields 106 107 // Required. ID of the customer whose ad group criterion labels are being modified. 108 CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` 109 // Required. The list of operations to perform on ad group criterion labels. 110 Operations []*AdGroupCriterionLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` 111 // If true, successful operations will be carried out and invalid 112 // operations will return errors. If false, all operations will be carried 113 // out in one transaction if and only if they are all valid. 114 // Default is false. 115 PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` 116 // If true, the request is validated but not executed. Only errors are 117 // returned, not results. 118 ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` 119} 120 121func (x *MutateAdGroupCriterionLabelsRequest) Reset() { 122 *x = MutateAdGroupCriterionLabelsRequest{} 123 if protoimpl.UnsafeEnabled { 124 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[1] 125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 126 ms.StoreMessageInfo(mi) 127 } 128} 129 130func (x *MutateAdGroupCriterionLabelsRequest) String() string { 131 return protoimpl.X.MessageStringOf(x) 132} 133 134func (*MutateAdGroupCriterionLabelsRequest) ProtoMessage() {} 135 136func (x *MutateAdGroupCriterionLabelsRequest) ProtoReflect() protoreflect.Message { 137 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[1] 138 if protoimpl.UnsafeEnabled && x != nil { 139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 140 if ms.LoadMessageInfo() == nil { 141 ms.StoreMessageInfo(mi) 142 } 143 return ms 144 } 145 return mi.MessageOf(x) 146} 147 148// Deprecated: Use MutateAdGroupCriterionLabelsRequest.ProtoReflect.Descriptor instead. 149func (*MutateAdGroupCriterionLabelsRequest) Descriptor() ([]byte, []int) { 150 return file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescGZIP(), []int{1} 151} 152 153func (x *MutateAdGroupCriterionLabelsRequest) GetCustomerId() string { 154 if x != nil { 155 return x.CustomerId 156 } 157 return "" 158} 159 160func (x *MutateAdGroupCriterionLabelsRequest) GetOperations() []*AdGroupCriterionLabelOperation { 161 if x != nil { 162 return x.Operations 163 } 164 return nil 165} 166 167func (x *MutateAdGroupCriterionLabelsRequest) GetPartialFailure() bool { 168 if x != nil { 169 return x.PartialFailure 170 } 171 return false 172} 173 174func (x *MutateAdGroupCriterionLabelsRequest) GetValidateOnly() bool { 175 if x != nil { 176 return x.ValidateOnly 177 } 178 return false 179} 180 181// A single operation (create, remove) on an ad group criterion label. 182type AdGroupCriterionLabelOperation struct { 183 state protoimpl.MessageState 184 sizeCache protoimpl.SizeCache 185 unknownFields protoimpl.UnknownFields 186 187 // The mutate operation. 188 // 189 // Types that are assignable to Operation: 190 // *AdGroupCriterionLabelOperation_Create 191 // *AdGroupCriterionLabelOperation_Remove 192 Operation isAdGroupCriterionLabelOperation_Operation `protobuf_oneof:"operation"` 193} 194 195func (x *AdGroupCriterionLabelOperation) Reset() { 196 *x = AdGroupCriterionLabelOperation{} 197 if protoimpl.UnsafeEnabled { 198 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[2] 199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 200 ms.StoreMessageInfo(mi) 201 } 202} 203 204func (x *AdGroupCriterionLabelOperation) String() string { 205 return protoimpl.X.MessageStringOf(x) 206} 207 208func (*AdGroupCriterionLabelOperation) ProtoMessage() {} 209 210func (x *AdGroupCriterionLabelOperation) ProtoReflect() protoreflect.Message { 211 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[2] 212 if protoimpl.UnsafeEnabled && x != nil { 213 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 214 if ms.LoadMessageInfo() == nil { 215 ms.StoreMessageInfo(mi) 216 } 217 return ms 218 } 219 return mi.MessageOf(x) 220} 221 222// Deprecated: Use AdGroupCriterionLabelOperation.ProtoReflect.Descriptor instead. 223func (*AdGroupCriterionLabelOperation) Descriptor() ([]byte, []int) { 224 return file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescGZIP(), []int{2} 225} 226 227func (m *AdGroupCriterionLabelOperation) GetOperation() isAdGroupCriterionLabelOperation_Operation { 228 if m != nil { 229 return m.Operation 230 } 231 return nil 232} 233 234func (x *AdGroupCriterionLabelOperation) GetCreate() *resources.AdGroupCriterionLabel { 235 if x, ok := x.GetOperation().(*AdGroupCriterionLabelOperation_Create); ok { 236 return x.Create 237 } 238 return nil 239} 240 241func (x *AdGroupCriterionLabelOperation) GetRemove() string { 242 if x, ok := x.GetOperation().(*AdGroupCriterionLabelOperation_Remove); ok { 243 return x.Remove 244 } 245 return "" 246} 247 248type isAdGroupCriterionLabelOperation_Operation interface { 249 isAdGroupCriterionLabelOperation_Operation() 250} 251 252type AdGroupCriterionLabelOperation_Create struct { 253 // Create operation: No resource name is expected for the new ad group 254 // label. 255 Create *resources.AdGroupCriterionLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` 256} 257 258type AdGroupCriterionLabelOperation_Remove struct { 259 // Remove operation: A resource name for the ad group criterion label 260 // being removed, in this format: 261 // 262 // `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` 263 Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` 264} 265 266func (*AdGroupCriterionLabelOperation_Create) isAdGroupCriterionLabelOperation_Operation() {} 267 268func (*AdGroupCriterionLabelOperation_Remove) isAdGroupCriterionLabelOperation_Operation() {} 269 270// Response message for an ad group criterion labels mutate. 271type MutateAdGroupCriterionLabelsResponse struct { 272 state protoimpl.MessageState 273 sizeCache protoimpl.SizeCache 274 unknownFields protoimpl.UnknownFields 275 276 // Errors that pertain to operation failures in the partial failure mode. 277 // Returned only when partial_failure = true and all errors occur inside the 278 // operations. If any errors occur outside the operations (e.g. auth errors), 279 // we return an RPC level error. 280 PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` 281 // All results for the mutate. 282 Results []*MutateAdGroupCriterionLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` 283} 284 285func (x *MutateAdGroupCriterionLabelsResponse) Reset() { 286 *x = MutateAdGroupCriterionLabelsResponse{} 287 if protoimpl.UnsafeEnabled { 288 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[3] 289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 290 ms.StoreMessageInfo(mi) 291 } 292} 293 294func (x *MutateAdGroupCriterionLabelsResponse) String() string { 295 return protoimpl.X.MessageStringOf(x) 296} 297 298func (*MutateAdGroupCriterionLabelsResponse) ProtoMessage() {} 299 300func (x *MutateAdGroupCriterionLabelsResponse) ProtoReflect() protoreflect.Message { 301 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[3] 302 if protoimpl.UnsafeEnabled && x != nil { 303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 304 if ms.LoadMessageInfo() == nil { 305 ms.StoreMessageInfo(mi) 306 } 307 return ms 308 } 309 return mi.MessageOf(x) 310} 311 312// Deprecated: Use MutateAdGroupCriterionLabelsResponse.ProtoReflect.Descriptor instead. 313func (*MutateAdGroupCriterionLabelsResponse) Descriptor() ([]byte, []int) { 314 return file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescGZIP(), []int{3} 315} 316 317func (x *MutateAdGroupCriterionLabelsResponse) GetPartialFailureError() *status.Status { 318 if x != nil { 319 return x.PartialFailureError 320 } 321 return nil 322} 323 324func (x *MutateAdGroupCriterionLabelsResponse) GetResults() []*MutateAdGroupCriterionLabelResult { 325 if x != nil { 326 return x.Results 327 } 328 return nil 329} 330 331// The result for an ad group criterion label mutate. 332type MutateAdGroupCriterionLabelResult struct { 333 state protoimpl.MessageState 334 sizeCache protoimpl.SizeCache 335 unknownFields protoimpl.UnknownFields 336 337 // Returned for successful operations. 338 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 339} 340 341func (x *MutateAdGroupCriterionLabelResult) Reset() { 342 *x = MutateAdGroupCriterionLabelResult{} 343 if protoimpl.UnsafeEnabled { 344 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[4] 345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 346 ms.StoreMessageInfo(mi) 347 } 348} 349 350func (x *MutateAdGroupCriterionLabelResult) String() string { 351 return protoimpl.X.MessageStringOf(x) 352} 353 354func (*MutateAdGroupCriterionLabelResult) ProtoMessage() {} 355 356func (x *MutateAdGroupCriterionLabelResult) ProtoReflect() protoreflect.Message { 357 mi := &file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[4] 358 if protoimpl.UnsafeEnabled && x != nil { 359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 360 if ms.LoadMessageInfo() == nil { 361 ms.StoreMessageInfo(mi) 362 } 363 return ms 364 } 365 return mi.MessageOf(x) 366} 367 368// Deprecated: Use MutateAdGroupCriterionLabelResult.ProtoReflect.Descriptor instead. 369func (*MutateAdGroupCriterionLabelResult) Descriptor() ([]byte, []int) { 370 return file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescGZIP(), []int{4} 371} 372 373func (x *MutateAdGroupCriterionLabelResult) GetResourceName() string { 374 if x != nil { 375 return x.ResourceName 376 } 377 return "" 378} 379 380var File_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto protoreflect.FileDescriptor 381 382var file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDesc = []byte{ 383 0x0a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 384 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 385 0x65, 0x73, 0x2f, 0x61, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x63, 0x72, 0x69, 0x74, 386 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 387 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 388 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 389 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x40, 0x67, 0x6f, 0x6f, 390 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 391 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 392 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 393 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 394 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 395 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 396 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 397 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 398 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 399 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 400 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 401 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 402 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x1f, 0x47, 0x65, 0x74, 403 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 404 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5b, 0x0a, 0x0d, 405 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 406 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x30, 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 407 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 408 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 409 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0c, 0x72, 0x65, 0x73, 410 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x23, 0x4d, 0x75, 411 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 412 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 413 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 414 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x63, 0x75, 0x73, 415 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x12, 0x65, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 416 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 417 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 418 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 419 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 420 0x61, 0x62, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 421 0x41, 0x02, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 422 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 423 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 424 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 425 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 426 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x9b, 0x01, 0x0a, 427 0x1e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 428 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 429 0x52, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 430 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 431 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 432 0x63, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 433 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 434 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x02, 0x20, 435 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x0b, 0x0a, 436 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcd, 0x01, 0x0a, 0x24, 0x4d, 437 0x75, 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 438 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 439 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 440 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 441 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 442 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x46, 443 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5d, 0x0a, 0x07, 0x72, 444 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 445 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 446 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 447 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 448 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 449 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x48, 0x0a, 0x21, 0x4d, 0x75, 450 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 451 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 452 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 453 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 454 0x4e, 0x61, 0x6d, 0x65, 0x32, 0xb8, 0x04, 0x0a, 0x1c, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 455 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 456 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe9, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x64, 0x47, 457 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 458 0x65, 0x6c, 0x12, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 459 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 460 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 461 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 462 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 463 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 464 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 465 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 466 0x50, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 467 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x63, 0x75, 0x73, 0x74, 468 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 469 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 470 0x7d, 0xda, 0x41, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 471 0x65, 0x12, 0x8e, 0x02, 0x0a, 0x1c, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 472 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 473 0x6c, 0x73, 0x12, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 474 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 475 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 476 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 477 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 478 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 479 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 480 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 481 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 482 0x65, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x63, 483 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 484 0x65, 0x72, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 485 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x3a, 486 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x16, 0x63, 0x75, 0x73, 0x74, 487 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 488 0x6e, 0x73, 0x1a, 0x1b, 0xca, 0x41, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 489 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 490 0x88, 0x02, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 491 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 492 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x21, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 493 0x70, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 494 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 495 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 496 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 497 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 498 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3b, 0x73, 499 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x20, 500 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 501 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 502 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 503 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 504 0x63, 0x65, 0x73, 0xea, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 505 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x31, 506 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 507 0x6f, 0x33, 508} 509 510var ( 511 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescOnce sync.Once 512 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescData = file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDesc 513) 514 515func file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescGZIP() []byte { 516 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescOnce.Do(func() { 517 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescData) 518 }) 519 return file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDescData 520} 521 522var file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 523var file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_goTypes = []interface{}{ 524 (*GetAdGroupCriterionLabelRequest)(nil), // 0: google.ads.googleads.v1.services.GetAdGroupCriterionLabelRequest 525 (*MutateAdGroupCriterionLabelsRequest)(nil), // 1: google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest 526 (*AdGroupCriterionLabelOperation)(nil), // 2: google.ads.googleads.v1.services.AdGroupCriterionLabelOperation 527 (*MutateAdGroupCriterionLabelsResponse)(nil), // 3: google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse 528 (*MutateAdGroupCriterionLabelResult)(nil), // 4: google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResult 529 (*resources.AdGroupCriterionLabel)(nil), // 5: google.ads.googleads.v1.resources.AdGroupCriterionLabel 530 (*status.Status)(nil), // 6: google.rpc.Status 531} 532var file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_depIdxs = []int32{ 533 2, // 0: google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest.operations:type_name -> google.ads.googleads.v1.services.AdGroupCriterionLabelOperation 534 5, // 1: google.ads.googleads.v1.services.AdGroupCriterionLabelOperation.create:type_name -> google.ads.googleads.v1.resources.AdGroupCriterionLabel 535 6, // 2: google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse.partial_failure_error:type_name -> google.rpc.Status 536 4, // 3: google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse.results:type_name -> google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResult 537 0, // 4: google.ads.googleads.v1.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel:input_type -> google.ads.googleads.v1.services.GetAdGroupCriterionLabelRequest 538 1, // 5: google.ads.googleads.v1.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels:input_type -> google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest 539 5, // 6: google.ads.googleads.v1.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel:output_type -> google.ads.googleads.v1.resources.AdGroupCriterionLabel 540 3, // 7: google.ads.googleads.v1.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels:output_type -> google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse 541 6, // [6:8] is the sub-list for method output_type 542 4, // [4:6] is the sub-list for method input_type 543 4, // [4:4] is the sub-list for extension type_name 544 4, // [4:4] is the sub-list for extension extendee 545 0, // [0:4] is the sub-list for field type_name 546} 547 548func init() { file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_init() } 549func file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_init() { 550 if File_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto != nil { 551 return 552 } 553 if !protoimpl.UnsafeEnabled { 554 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 555 switch v := v.(*GetAdGroupCriterionLabelRequest); i { 556 case 0: 557 return &v.state 558 case 1: 559 return &v.sizeCache 560 case 2: 561 return &v.unknownFields 562 default: 563 return nil 564 } 565 } 566 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 567 switch v := v.(*MutateAdGroupCriterionLabelsRequest); i { 568 case 0: 569 return &v.state 570 case 1: 571 return &v.sizeCache 572 case 2: 573 return &v.unknownFields 574 default: 575 return nil 576 } 577 } 578 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 579 switch v := v.(*AdGroupCriterionLabelOperation); i { 580 case 0: 581 return &v.state 582 case 1: 583 return &v.sizeCache 584 case 2: 585 return &v.unknownFields 586 default: 587 return nil 588 } 589 } 590 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 591 switch v := v.(*MutateAdGroupCriterionLabelsResponse); i { 592 case 0: 593 return &v.state 594 case 1: 595 return &v.sizeCache 596 case 2: 597 return &v.unknownFields 598 default: 599 return nil 600 } 601 } 602 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 603 switch v := v.(*MutateAdGroupCriterionLabelResult); i { 604 case 0: 605 return &v.state 606 case 1: 607 return &v.sizeCache 608 case 2: 609 return &v.unknownFields 610 default: 611 return nil 612 } 613 } 614 } 615 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes[2].OneofWrappers = []interface{}{ 616 (*AdGroupCriterionLabelOperation_Create)(nil), 617 (*AdGroupCriterionLabelOperation_Remove)(nil), 618 } 619 type x struct{} 620 out := protoimpl.TypeBuilder{ 621 File: protoimpl.DescBuilder{ 622 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 623 RawDescriptor: file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDesc, 624 NumEnums: 0, 625 NumMessages: 5, 626 NumExtensions: 0, 627 NumServices: 1, 628 }, 629 GoTypes: file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_goTypes, 630 DependencyIndexes: file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_depIdxs, 631 MessageInfos: file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_msgTypes, 632 }.Build() 633 File_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto = out.File 634 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_rawDesc = nil 635 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_goTypes = nil 636 file_google_ads_googleads_v1_services_ad_group_criterion_label_service_proto_depIdxs = nil 637} 638 639// Reference imports to suppress errors if they are not otherwise used. 640var _ context.Context 641var _ grpc.ClientConnInterface 642 643// This is a compile-time assertion to ensure that this generated file 644// is compatible with the grpc package it is being compiled against. 645const _ = grpc.SupportPackageIsVersion6 646 647// AdGroupCriterionLabelServiceClient is the client API for AdGroupCriterionLabelService service. 648// 649// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 650type AdGroupCriterionLabelServiceClient interface { 651 // Returns the requested ad group criterion label in full detail. 652 GetAdGroupCriterionLabel(ctx context.Context, in *GetAdGroupCriterionLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionLabel, error) 653 // Creates and removes ad group criterion labels. 654 // Operation statuses are returned. 655 MutateAdGroupCriterionLabels(ctx context.Context, in *MutateAdGroupCriterionLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupCriterionLabelsResponse, error) 656} 657 658type adGroupCriterionLabelServiceClient struct { 659 cc grpc.ClientConnInterface 660} 661 662func NewAdGroupCriterionLabelServiceClient(cc grpc.ClientConnInterface) AdGroupCriterionLabelServiceClient { 663 return &adGroupCriterionLabelServiceClient{cc} 664} 665 666func (c *adGroupCriterionLabelServiceClient) GetAdGroupCriterionLabel(ctx context.Context, in *GetAdGroupCriterionLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionLabel, error) { 667 out := new(resources.AdGroupCriterionLabel) 668 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel", in, out, opts...) 669 if err != nil { 670 return nil, err 671 } 672 return out, nil 673} 674 675func (c *adGroupCriterionLabelServiceClient) MutateAdGroupCriterionLabels(ctx context.Context, in *MutateAdGroupCriterionLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupCriterionLabelsResponse, error) { 676 out := new(MutateAdGroupCriterionLabelsResponse) 677 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels", in, out, opts...) 678 if err != nil { 679 return nil, err 680 } 681 return out, nil 682} 683 684// AdGroupCriterionLabelServiceServer is the server API for AdGroupCriterionLabelService service. 685type AdGroupCriterionLabelServiceServer interface { 686 // Returns the requested ad group criterion label in full detail. 687 GetAdGroupCriterionLabel(context.Context, *GetAdGroupCriterionLabelRequest) (*resources.AdGroupCriterionLabel, error) 688 // Creates and removes ad group criterion labels. 689 // Operation statuses are returned. 690 MutateAdGroupCriterionLabels(context.Context, *MutateAdGroupCriterionLabelsRequest) (*MutateAdGroupCriterionLabelsResponse, error) 691} 692 693// UnimplementedAdGroupCriterionLabelServiceServer can be embedded to have forward compatible implementations. 694type UnimplementedAdGroupCriterionLabelServiceServer struct { 695} 696 697func (*UnimplementedAdGroupCriterionLabelServiceServer) GetAdGroupCriterionLabel(context.Context, *GetAdGroupCriterionLabelRequest) (*resources.AdGroupCriterionLabel, error) { 698 return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupCriterionLabel not implemented") 699} 700func (*UnimplementedAdGroupCriterionLabelServiceServer) MutateAdGroupCriterionLabels(context.Context, *MutateAdGroupCriterionLabelsRequest) (*MutateAdGroupCriterionLabelsResponse, error) { 701 return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupCriterionLabels not implemented") 702} 703 704func RegisterAdGroupCriterionLabelServiceServer(s *grpc.Server, srv AdGroupCriterionLabelServiceServer) { 705 s.RegisterService(&_AdGroupCriterionLabelService_serviceDesc, srv) 706} 707 708func _AdGroupCriterionLabelService_GetAdGroupCriterionLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 709 in := new(GetAdGroupCriterionLabelRequest) 710 if err := dec(in); err != nil { 711 return nil, err 712 } 713 if interceptor == nil { 714 return srv.(AdGroupCriterionLabelServiceServer).GetAdGroupCriterionLabel(ctx, in) 715 } 716 info := &grpc.UnaryServerInfo{ 717 Server: srv, 718 FullMethod: "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel", 719 } 720 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 721 return srv.(AdGroupCriterionLabelServiceServer).GetAdGroupCriterionLabel(ctx, req.(*GetAdGroupCriterionLabelRequest)) 722 } 723 return interceptor(ctx, in, info, handler) 724} 725 726func _AdGroupCriterionLabelService_MutateAdGroupCriterionLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 727 in := new(MutateAdGroupCriterionLabelsRequest) 728 if err := dec(in); err != nil { 729 return nil, err 730 } 731 if interceptor == nil { 732 return srv.(AdGroupCriterionLabelServiceServer).MutateAdGroupCriterionLabels(ctx, in) 733 } 734 info := &grpc.UnaryServerInfo{ 735 Server: srv, 736 FullMethod: "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels", 737 } 738 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 739 return srv.(AdGroupCriterionLabelServiceServer).MutateAdGroupCriterionLabels(ctx, req.(*MutateAdGroupCriterionLabelsRequest)) 740 } 741 return interceptor(ctx, in, info, handler) 742} 743 744var _AdGroupCriterionLabelService_serviceDesc = grpc.ServiceDesc{ 745 ServiceName: "google.ads.googleads.v1.services.AdGroupCriterionLabelService", 746 HandlerType: (*AdGroupCriterionLabelServiceServer)(nil), 747 Methods: []grpc.MethodDesc{ 748 { 749 MethodName: "GetAdGroupCriterionLabel", 750 Handler: _AdGroupCriterionLabelService_GetAdGroupCriterionLabel_Handler, 751 }, 752 { 753 MethodName: "MutateAdGroupCriterionLabels", 754 Handler: _AdGroupCriterionLabelService_MutateAdGroupCriterionLabels_Handler, 755 }, 756 }, 757 Streams: []grpc.StreamDesc{}, 758 Metadata: "google/ads/googleads/v1/services/ad_group_criterion_label_service.proto", 759} 760