1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v1/services/customer_negative_criterion_service.proto 3 4package services 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" 13 _ "google.golang.org/genproto/googleapis/api/annotations" 14 status "google.golang.org/genproto/googleapis/rpc/status" 15 grpc "google.golang.org/grpc" 16 codes "google.golang.org/grpc/codes" 17 status1 "google.golang.org/grpc/status" 18) 19 20// Reference imports to suppress errors if they are not otherwise used. 21var _ = proto.Marshal 22var _ = fmt.Errorf 23var _ = math.Inf 24 25// This is a compile-time assertion to ensure that this generated file 26// is compatible with the proto package it is being compiled against. 27// A compilation error at this line likely means your copy of the 28// proto package needs to be updated. 29const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 30 31// Request message for 32// [CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v1.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion]. 33type GetCustomerNegativeCriterionRequest struct { 34 // Required. The resource name of the criterion to fetch. 35 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 36 XXX_NoUnkeyedLiteral struct{} `json:"-"` 37 XXX_unrecognized []byte `json:"-"` 38 XXX_sizecache int32 `json:"-"` 39} 40 41func (m *GetCustomerNegativeCriterionRequest) Reset() { *m = GetCustomerNegativeCriterionRequest{} } 42func (m *GetCustomerNegativeCriterionRequest) String() string { return proto.CompactTextString(m) } 43func (*GetCustomerNegativeCriterionRequest) ProtoMessage() {} 44func (*GetCustomerNegativeCriterionRequest) Descriptor() ([]byte, []int) { 45 return fileDescriptor_d21e22dd7a1998fe, []int{0} 46} 47 48func (m *GetCustomerNegativeCriterionRequest) XXX_Unmarshal(b []byte) error { 49 return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Unmarshal(m, b) 50} 51func (m *GetCustomerNegativeCriterionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 52 return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Marshal(b, m, deterministic) 53} 54func (m *GetCustomerNegativeCriterionRequest) XXX_Merge(src proto.Message) { 55 xxx_messageInfo_GetCustomerNegativeCriterionRequest.Merge(m, src) 56} 57func (m *GetCustomerNegativeCriterionRequest) XXX_Size() int { 58 return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Size(m) 59} 60func (m *GetCustomerNegativeCriterionRequest) XXX_DiscardUnknown() { 61 xxx_messageInfo_GetCustomerNegativeCriterionRequest.DiscardUnknown(m) 62} 63 64var xxx_messageInfo_GetCustomerNegativeCriterionRequest proto.InternalMessageInfo 65 66func (m *GetCustomerNegativeCriterionRequest) GetResourceName() string { 67 if m != nil { 68 return m.ResourceName 69 } 70 return "" 71} 72 73// Request message for 74// [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v1.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. 75type MutateCustomerNegativeCriteriaRequest struct { 76 // Required. The ID of the customer whose criteria are being modified. 77 CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` 78 // Required. The list of operations to perform on individual criteria. 79 Operations []*CustomerNegativeCriterionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` 80 // If true, successful operations will be carried out and invalid 81 // operations will return errors. If false, all operations will be carried 82 // out in one transaction if and only if they are all valid. 83 // Default is false. 84 PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` 85 // If true, the request is validated but not executed. Only errors are 86 // returned, not results. 87 ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` 88 XXX_NoUnkeyedLiteral struct{} `json:"-"` 89 XXX_unrecognized []byte `json:"-"` 90 XXX_sizecache int32 `json:"-"` 91} 92 93func (m *MutateCustomerNegativeCriteriaRequest) Reset() { *m = MutateCustomerNegativeCriteriaRequest{} } 94func (m *MutateCustomerNegativeCriteriaRequest) String() string { return proto.CompactTextString(m) } 95func (*MutateCustomerNegativeCriteriaRequest) ProtoMessage() {} 96func (*MutateCustomerNegativeCriteriaRequest) Descriptor() ([]byte, []int) { 97 return fileDescriptor_d21e22dd7a1998fe, []int{1} 98} 99 100func (m *MutateCustomerNegativeCriteriaRequest) XXX_Unmarshal(b []byte) error { 101 return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Unmarshal(m, b) 102} 103func (m *MutateCustomerNegativeCriteriaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 104 return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Marshal(b, m, deterministic) 105} 106func (m *MutateCustomerNegativeCriteriaRequest) XXX_Merge(src proto.Message) { 107 xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Merge(m, src) 108} 109func (m *MutateCustomerNegativeCriteriaRequest) XXX_Size() int { 110 return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Size(m) 111} 112func (m *MutateCustomerNegativeCriteriaRequest) XXX_DiscardUnknown() { 113 xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.DiscardUnknown(m) 114} 115 116var xxx_messageInfo_MutateCustomerNegativeCriteriaRequest proto.InternalMessageInfo 117 118func (m *MutateCustomerNegativeCriteriaRequest) GetCustomerId() string { 119 if m != nil { 120 return m.CustomerId 121 } 122 return "" 123} 124 125func (m *MutateCustomerNegativeCriteriaRequest) GetOperations() []*CustomerNegativeCriterionOperation { 126 if m != nil { 127 return m.Operations 128 } 129 return nil 130} 131 132func (m *MutateCustomerNegativeCriteriaRequest) GetPartialFailure() bool { 133 if m != nil { 134 return m.PartialFailure 135 } 136 return false 137} 138 139func (m *MutateCustomerNegativeCriteriaRequest) GetValidateOnly() bool { 140 if m != nil { 141 return m.ValidateOnly 142 } 143 return false 144} 145 146// A single operation (create or remove) on a customer level negative criterion. 147type CustomerNegativeCriterionOperation struct { 148 // The mutate operation. 149 // 150 // Types that are valid to be assigned to Operation: 151 // *CustomerNegativeCriterionOperation_Create 152 // *CustomerNegativeCriterionOperation_Remove 153 Operation isCustomerNegativeCriterionOperation_Operation `protobuf_oneof:"operation"` 154 XXX_NoUnkeyedLiteral struct{} `json:"-"` 155 XXX_unrecognized []byte `json:"-"` 156 XXX_sizecache int32 `json:"-"` 157} 158 159func (m *CustomerNegativeCriterionOperation) Reset() { *m = CustomerNegativeCriterionOperation{} } 160func (m *CustomerNegativeCriterionOperation) String() string { return proto.CompactTextString(m) } 161func (*CustomerNegativeCriterionOperation) ProtoMessage() {} 162func (*CustomerNegativeCriterionOperation) Descriptor() ([]byte, []int) { 163 return fileDescriptor_d21e22dd7a1998fe, []int{2} 164} 165 166func (m *CustomerNegativeCriterionOperation) XXX_Unmarshal(b []byte) error { 167 return xxx_messageInfo_CustomerNegativeCriterionOperation.Unmarshal(m, b) 168} 169func (m *CustomerNegativeCriterionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 170 return xxx_messageInfo_CustomerNegativeCriterionOperation.Marshal(b, m, deterministic) 171} 172func (m *CustomerNegativeCriterionOperation) XXX_Merge(src proto.Message) { 173 xxx_messageInfo_CustomerNegativeCriterionOperation.Merge(m, src) 174} 175func (m *CustomerNegativeCriterionOperation) XXX_Size() int { 176 return xxx_messageInfo_CustomerNegativeCriterionOperation.Size(m) 177} 178func (m *CustomerNegativeCriterionOperation) XXX_DiscardUnknown() { 179 xxx_messageInfo_CustomerNegativeCriterionOperation.DiscardUnknown(m) 180} 181 182var xxx_messageInfo_CustomerNegativeCriterionOperation proto.InternalMessageInfo 183 184type isCustomerNegativeCriterionOperation_Operation interface { 185 isCustomerNegativeCriterionOperation_Operation() 186} 187 188type CustomerNegativeCriterionOperation_Create struct { 189 Create *resources.CustomerNegativeCriterion `protobuf:"bytes,1,opt,name=create,proto3,oneof"` 190} 191 192type CustomerNegativeCriterionOperation_Remove struct { 193 Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` 194} 195 196func (*CustomerNegativeCriterionOperation_Create) isCustomerNegativeCriterionOperation_Operation() {} 197 198func (*CustomerNegativeCriterionOperation_Remove) isCustomerNegativeCriterionOperation_Operation() {} 199 200func (m *CustomerNegativeCriterionOperation) GetOperation() isCustomerNegativeCriterionOperation_Operation { 201 if m != nil { 202 return m.Operation 203 } 204 return nil 205} 206 207func (m *CustomerNegativeCriterionOperation) GetCreate() *resources.CustomerNegativeCriterion { 208 if x, ok := m.GetOperation().(*CustomerNegativeCriterionOperation_Create); ok { 209 return x.Create 210 } 211 return nil 212} 213 214func (m *CustomerNegativeCriterionOperation) GetRemove() string { 215 if x, ok := m.GetOperation().(*CustomerNegativeCriterionOperation_Remove); ok { 216 return x.Remove 217 } 218 return "" 219} 220 221// XXX_OneofWrappers is for the internal use of the proto package. 222func (*CustomerNegativeCriterionOperation) XXX_OneofWrappers() []interface{} { 223 return []interface{}{ 224 (*CustomerNegativeCriterionOperation_Create)(nil), 225 (*CustomerNegativeCriterionOperation_Remove)(nil), 226 } 227} 228 229// Response message for customer negative criterion mutate. 230type MutateCustomerNegativeCriteriaResponse struct { 231 // Errors that pertain to operation failures in the partial failure mode. 232 // Returned only when partial_failure = true and all errors occur inside the 233 // operations. If any errors occur outside the operations (e.g. auth errors), 234 // we return an RPC level error. 235 PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` 236 // All results for the mutate. 237 Results []*MutateCustomerNegativeCriteriaResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` 238 XXX_NoUnkeyedLiteral struct{} `json:"-"` 239 XXX_unrecognized []byte `json:"-"` 240 XXX_sizecache int32 `json:"-"` 241} 242 243func (m *MutateCustomerNegativeCriteriaResponse) Reset() { 244 *m = MutateCustomerNegativeCriteriaResponse{} 245} 246func (m *MutateCustomerNegativeCriteriaResponse) String() string { return proto.CompactTextString(m) } 247func (*MutateCustomerNegativeCriteriaResponse) ProtoMessage() {} 248func (*MutateCustomerNegativeCriteriaResponse) Descriptor() ([]byte, []int) { 249 return fileDescriptor_d21e22dd7a1998fe, []int{3} 250} 251 252func (m *MutateCustomerNegativeCriteriaResponse) XXX_Unmarshal(b []byte) error { 253 return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Unmarshal(m, b) 254} 255func (m *MutateCustomerNegativeCriteriaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 256 return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Marshal(b, m, deterministic) 257} 258func (m *MutateCustomerNegativeCriteriaResponse) XXX_Merge(src proto.Message) { 259 xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Merge(m, src) 260} 261func (m *MutateCustomerNegativeCriteriaResponse) XXX_Size() int { 262 return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Size(m) 263} 264func (m *MutateCustomerNegativeCriteriaResponse) XXX_DiscardUnknown() { 265 xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.DiscardUnknown(m) 266} 267 268var xxx_messageInfo_MutateCustomerNegativeCriteriaResponse proto.InternalMessageInfo 269 270func (m *MutateCustomerNegativeCriteriaResponse) GetPartialFailureError() *status.Status { 271 if m != nil { 272 return m.PartialFailureError 273 } 274 return nil 275} 276 277func (m *MutateCustomerNegativeCriteriaResponse) GetResults() []*MutateCustomerNegativeCriteriaResult { 278 if m != nil { 279 return m.Results 280 } 281 return nil 282} 283 284// The result for the criterion mutate. 285type MutateCustomerNegativeCriteriaResult struct { 286 // Returned for successful operations. 287 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 288 XXX_NoUnkeyedLiteral struct{} `json:"-"` 289 XXX_unrecognized []byte `json:"-"` 290 XXX_sizecache int32 `json:"-"` 291} 292 293func (m *MutateCustomerNegativeCriteriaResult) Reset() { *m = MutateCustomerNegativeCriteriaResult{} } 294func (m *MutateCustomerNegativeCriteriaResult) String() string { return proto.CompactTextString(m) } 295func (*MutateCustomerNegativeCriteriaResult) ProtoMessage() {} 296func (*MutateCustomerNegativeCriteriaResult) Descriptor() ([]byte, []int) { 297 return fileDescriptor_d21e22dd7a1998fe, []int{4} 298} 299 300func (m *MutateCustomerNegativeCriteriaResult) XXX_Unmarshal(b []byte) error { 301 return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Unmarshal(m, b) 302} 303func (m *MutateCustomerNegativeCriteriaResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 304 return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Marshal(b, m, deterministic) 305} 306func (m *MutateCustomerNegativeCriteriaResult) XXX_Merge(src proto.Message) { 307 xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Merge(m, src) 308} 309func (m *MutateCustomerNegativeCriteriaResult) XXX_Size() int { 310 return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Size(m) 311} 312func (m *MutateCustomerNegativeCriteriaResult) XXX_DiscardUnknown() { 313 xxx_messageInfo_MutateCustomerNegativeCriteriaResult.DiscardUnknown(m) 314} 315 316var xxx_messageInfo_MutateCustomerNegativeCriteriaResult proto.InternalMessageInfo 317 318func (m *MutateCustomerNegativeCriteriaResult) GetResourceName() string { 319 if m != nil { 320 return m.ResourceName 321 } 322 return "" 323} 324 325func init() { 326 proto.RegisterType((*GetCustomerNegativeCriterionRequest)(nil), "google.ads.googleads.v1.services.GetCustomerNegativeCriterionRequest") 327 proto.RegisterType((*MutateCustomerNegativeCriteriaRequest)(nil), "google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest") 328 proto.RegisterType((*CustomerNegativeCriterionOperation)(nil), "google.ads.googleads.v1.services.CustomerNegativeCriterionOperation") 329 proto.RegisterType((*MutateCustomerNegativeCriteriaResponse)(nil), "google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResponse") 330 proto.RegisterType((*MutateCustomerNegativeCriteriaResult)(nil), "google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResult") 331} 332 333func init() { 334 proto.RegisterFile("google/ads/googleads/v1/services/customer_negative_criterion_service.proto", fileDescriptor_d21e22dd7a1998fe) 335} 336 337var fileDescriptor_d21e22dd7a1998fe = []byte{ 338 // 744 bytes of a gzipped FileDescriptorProto 339 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x6e, 0xd3, 0x4c, 340 0x14, 0xfd, 0xec, 0x54, 0xfd, 0xe8, 0xa4, 0x05, 0x69, 0x10, 0x10, 0x42, 0x05, 0x91, 0x9b, 0x42, 341 0x15, 0x21, 0x5b, 0x09, 0xac, 0x4c, 0xbb, 0x70, 0x4a, 0x9b, 0x02, 0xa2, 0xad, 0x52, 0x29, 0x0b, 342 0x14, 0xc9, 0x4c, 0xed, 0x69, 0x18, 0xc9, 0xf1, 0x98, 0x99, 0x71, 0xa4, 0xaa, 0xea, 0x86, 0x45, 343 0x57, 0xec, 0x90, 0x78, 0x00, 0xd8, 0xf1, 0x28, 0x5d, 0x96, 0x5d, 0x57, 0x5d, 0xb0, 0xe2, 0x05, 344 0x90, 0x58, 0x21, 0xff, 0x4c, 0x7e, 0x2a, 0x5c, 0x57, 0x2a, 0xbb, 0xc9, 0xdc, 0x93, 0x73, 0xcf, 345 0x3d, 0xf7, 0xce, 0x35, 0x78, 0xd9, 0xa3, 0xb4, 0xe7, 0x61, 0x03, 0xb9, 0xdc, 0x48, 0x8e, 0xd1, 346 0x69, 0x50, 0x37, 0x38, 0x66, 0x03, 0xe2, 0x60, 0x6e, 0x38, 0x21, 0x17, 0xb4, 0x8f, 0x99, 0xed, 347 0xe3, 0x1e, 0x12, 0x64, 0x80, 0x6d, 0x87, 0x11, 0x81, 0x19, 0xa1, 0xbe, 0x9d, 0x82, 0xf4, 0x80, 348 0x51, 0x41, 0x61, 0x25, 0x21, 0xd0, 0x91, 0xcb, 0xf5, 0x21, 0x97, 0x3e, 0xa8, 0xeb, 0x92, 0xab, 349 0xbc, 0x9a, 0x95, 0x8d, 0x61, 0x4e, 0x43, 0x96, 0x93, 0x2e, 0x49, 0x53, 0x9e, 0x97, 0x24, 0x01, 350 0x31, 0x90, 0xef, 0x53, 0x81, 0x04, 0xa1, 0x3e, 0x4f, 0xa3, 0x77, 0xc6, 0xa2, 0x8e, 0x47, 0xb0, 351 0x2f, 0xd2, 0xc0, 0x83, 0xb1, 0xc0, 0x1e, 0xc1, 0x9e, 0x6b, 0xef, 0xe2, 0x77, 0x68, 0x40, 0x28, 352 0x4b, 0x01, 0x77, 0xc7, 0x00, 0x52, 0xcf, 0x39, 0x52, 0x16, 0x38, 0x06, 0x17, 0x48, 0x84, 0x69, 353 0x36, 0xed, 0x48, 0x01, 0x0b, 0x2d, 0x2c, 0x56, 0x53, 0xd1, 0x9b, 0xa9, 0xe6, 0x55, 0x29, 0xb9, 354 0x8d, 0xdf, 0x87, 0x98, 0x0b, 0x68, 0x83, 0x39, 0x49, 0x69, 0xfb, 0xa8, 0x8f, 0x4b, 0x4a, 0x45, 355 0x59, 0x9a, 0x69, 0x9a, 0x67, 0x96, 0xfa, 0xdb, 0x7a, 0x0a, 0x1a, 0x23, 0xbb, 0xd2, 0x53, 0x40, 356 0xb8, 0xee, 0xd0, 0xbe, 0x91, 0xcd, 0x3c, 0x2b, 0x09, 0x37, 0x51, 0x1f, 0x6b, 0x47, 0x2a, 0x58, 357 0x7c, 0x1d, 0x0a, 0x24, 0x70, 0xc6, 0x3f, 0x90, 0x94, 0x52, 0x05, 0xc5, 0xa1, 0xc7, 0xc4, 0x4d, 358 0x85, 0x14, 0xce, 0x2c, 0xb5, 0x0d, 0xe4, 0xfd, 0x0b, 0x17, 0x12, 0x00, 0x68, 0x80, 0x59, 0x62, 359 0x6d, 0x49, 0xad, 0x14, 0x96, 0x8a, 0x8d, 0xe7, 0x7a, 0x5e, 0x83, 0xf5, 0x4c, 0xb9, 0x5b, 0x92, 360 0x2c, 0x4d, 0x35, 0x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x5a, 0x2e, 0xef, 0x0e, 0x21, 0xdd, 0x4e, 383 0xbd, 0x2b, 0x21, 0x3f, 0xd5, 0x6a, 0x72, 0x6f, 0x9a, 0x96, 0xcb, 0x4d, 0x73, 0x08, 0x32, 0xcd, 384 0x4e, 0xdd, 0x34, 0x25, 0x6c, 0x77, 0x3a, 0xd6, 0xf9, 0xe4, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 385 0xbc, 0x4b, 0xc1, 0x2a, 0x05, 0x08, 0x00, 0x00, 386} 387 388// Reference imports to suppress errors if they are not otherwise used. 389var _ context.Context 390var _ grpc.ClientConnInterface 391 392// This is a compile-time assertion to ensure that this generated file 393// is compatible with the grpc package it is being compiled against. 394const _ = grpc.SupportPackageIsVersion6 395 396// CustomerNegativeCriterionServiceClient is the client API for CustomerNegativeCriterionService service. 397// 398// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 399type CustomerNegativeCriterionServiceClient interface { 400 // Returns the requested criterion in full detail. 401 GetCustomerNegativeCriterion(ctx context.Context, in *GetCustomerNegativeCriterionRequest, opts ...grpc.CallOption) (*resources.CustomerNegativeCriterion, error) 402 // Creates or removes criteria. Operation statuses are returned. 403 MutateCustomerNegativeCriteria(ctx context.Context, in *MutateCustomerNegativeCriteriaRequest, opts ...grpc.CallOption) (*MutateCustomerNegativeCriteriaResponse, error) 404} 405 406type customerNegativeCriterionServiceClient struct { 407 cc grpc.ClientConnInterface 408} 409 410func NewCustomerNegativeCriterionServiceClient(cc grpc.ClientConnInterface) CustomerNegativeCriterionServiceClient { 411 return &customerNegativeCriterionServiceClient{cc} 412} 413 414func (c *customerNegativeCriterionServiceClient) GetCustomerNegativeCriterion(ctx context.Context, in *GetCustomerNegativeCriterionRequest, opts ...grpc.CallOption) (*resources.CustomerNegativeCriterion, error) { 415 out := new(resources.CustomerNegativeCriterion) 416 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion", in, out, opts...) 417 if err != nil { 418 return nil, err 419 } 420 return out, nil 421} 422 423func (c *customerNegativeCriterionServiceClient) MutateCustomerNegativeCriteria(ctx context.Context, in *MutateCustomerNegativeCriteriaRequest, opts ...grpc.CallOption) (*MutateCustomerNegativeCriteriaResponse, error) { 424 out := new(MutateCustomerNegativeCriteriaResponse) 425 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria", in, out, opts...) 426 if err != nil { 427 return nil, err 428 } 429 return out, nil 430} 431 432// CustomerNegativeCriterionServiceServer is the server API for CustomerNegativeCriterionService service. 433type CustomerNegativeCriterionServiceServer interface { 434 // Returns the requested criterion in full detail. 435 GetCustomerNegativeCriterion(context.Context, *GetCustomerNegativeCriterionRequest) (*resources.CustomerNegativeCriterion, error) 436 // Creates or removes criteria. Operation statuses are returned. 437 MutateCustomerNegativeCriteria(context.Context, *MutateCustomerNegativeCriteriaRequest) (*MutateCustomerNegativeCriteriaResponse, error) 438} 439 440// UnimplementedCustomerNegativeCriterionServiceServer can be embedded to have forward compatible implementations. 441type UnimplementedCustomerNegativeCriterionServiceServer struct { 442} 443 444func (*UnimplementedCustomerNegativeCriterionServiceServer) GetCustomerNegativeCriterion(ctx context.Context, req *GetCustomerNegativeCriterionRequest) (*resources.CustomerNegativeCriterion, error) { 445 return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerNegativeCriterion not implemented") 446} 447func (*UnimplementedCustomerNegativeCriterionServiceServer) MutateCustomerNegativeCriteria(ctx context.Context, req *MutateCustomerNegativeCriteriaRequest) (*MutateCustomerNegativeCriteriaResponse, error) { 448 return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerNegativeCriteria not implemented") 449} 450 451func RegisterCustomerNegativeCriterionServiceServer(s *grpc.Server, srv CustomerNegativeCriterionServiceServer) { 452 s.RegisterService(&_CustomerNegativeCriterionService_serviceDesc, srv) 453} 454 455func _CustomerNegativeCriterionService_GetCustomerNegativeCriterion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 456 in := new(GetCustomerNegativeCriterionRequest) 457 if err := dec(in); err != nil { 458 return nil, err 459 } 460 if interceptor == nil { 461 return srv.(CustomerNegativeCriterionServiceServer).GetCustomerNegativeCriterion(ctx, in) 462 } 463 info := &grpc.UnaryServerInfo{ 464 Server: srv, 465 FullMethod: "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion", 466 } 467 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 468 return srv.(CustomerNegativeCriterionServiceServer).GetCustomerNegativeCriterion(ctx, req.(*GetCustomerNegativeCriterionRequest)) 469 } 470 return interceptor(ctx, in, info, handler) 471} 472 473func _CustomerNegativeCriterionService_MutateCustomerNegativeCriteria_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 474 in := new(MutateCustomerNegativeCriteriaRequest) 475 if err := dec(in); err != nil { 476 return nil, err 477 } 478 if interceptor == nil { 479 return srv.(CustomerNegativeCriterionServiceServer).MutateCustomerNegativeCriteria(ctx, in) 480 } 481 info := &grpc.UnaryServerInfo{ 482 Server: srv, 483 FullMethod: "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria", 484 } 485 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 486 return srv.(CustomerNegativeCriterionServiceServer).MutateCustomerNegativeCriteria(ctx, req.(*MutateCustomerNegativeCriteriaRequest)) 487 } 488 return interceptor(ctx, in, info, handler) 489} 490 491var _CustomerNegativeCriterionService_serviceDesc = grpc.ServiceDesc{ 492 ServiceName: "google.ads.googleads.v1.services.CustomerNegativeCriterionService", 493 HandlerType: (*CustomerNegativeCriterionServiceServer)(nil), 494 Methods: []grpc.MethodDesc{ 495 { 496 MethodName: "GetCustomerNegativeCriterion", 497 Handler: _CustomerNegativeCriterionService_GetCustomerNegativeCriterion_Handler, 498 }, 499 { 500 MethodName: "MutateCustomerNegativeCriteria", 501 Handler: _CustomerNegativeCriterionService_MutateCustomerNegativeCriteria_Handler, 502 }, 503 }, 504 Streams: []grpc.StreamDesc{}, 505 Metadata: "google/ads/googleads/v1/services/customer_negative_criterion_service.proto", 506} 507