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