| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/services/customer_negative_criterion_service.proto |
| |
| package services |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| status "google.golang.org/genproto/googleapis/rpc/status" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status1 "google.golang.org/grpc/status" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Request message for |
| // [CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v1.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion]. |
| type GetCustomerNegativeCriterionRequest struct { |
| // The resource name of the criterion to fetch. |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetCustomerNegativeCriterionRequest) Reset() { *m = GetCustomerNegativeCriterionRequest{} } |
| func (m *GetCustomerNegativeCriterionRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetCustomerNegativeCriterionRequest) ProtoMessage() {} |
| func (*GetCustomerNegativeCriterionRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_d21e22dd7a1998fe, []int{0} |
| } |
| |
| func (m *GetCustomerNegativeCriterionRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Unmarshal(m, b) |
| } |
| func (m *GetCustomerNegativeCriterionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetCustomerNegativeCriterionRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetCustomerNegativeCriterionRequest.Merge(m, src) |
| } |
| func (m *GetCustomerNegativeCriterionRequest) XXX_Size() int { |
| return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Size(m) |
| } |
| func (m *GetCustomerNegativeCriterionRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetCustomerNegativeCriterionRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetCustomerNegativeCriterionRequest proto.InternalMessageInfo |
| |
| func (m *GetCustomerNegativeCriterionRequest) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| // Request message for |
| // [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v1.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. |
| type MutateCustomerNegativeCriteriaRequest struct { |
| // The ID of the customer whose criteria are being modified. |
| CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` |
| // The list of operations to perform on individual criteria. |
| Operations []*CustomerNegativeCriterionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` |
| // If true, successful operations will be carried out and invalid |
| // operations will return errors. If false, all operations will be carried |
| // out in one transaction if and only if they are all valid. |
| // Default is false. |
| PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` |
| // If true, the request is validated but not executed. Only errors are |
| // returned, not results. |
| ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaRequest) Reset() { *m = MutateCustomerNegativeCriteriaRequest{} } |
| func (m *MutateCustomerNegativeCriteriaRequest) String() string { return proto.CompactTextString(m) } |
| func (*MutateCustomerNegativeCriteriaRequest) ProtoMessage() {} |
| func (*MutateCustomerNegativeCriteriaRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_d21e22dd7a1998fe, []int{1} |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Unmarshal(m, b) |
| } |
| func (m *MutateCustomerNegativeCriteriaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Marshal(b, m, deterministic) |
| } |
| func (m *MutateCustomerNegativeCriteriaRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Merge(m, src) |
| } |
| func (m *MutateCustomerNegativeCriteriaRequest) XXX_Size() int { |
| return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Size(m) |
| } |
| func (m *MutateCustomerNegativeCriteriaRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateCustomerNegativeCriteriaRequest proto.InternalMessageInfo |
| |
| func (m *MutateCustomerNegativeCriteriaRequest) GetCustomerId() string { |
| if m != nil { |
| return m.CustomerId |
| } |
| return "" |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaRequest) GetOperations() []*CustomerNegativeCriterionOperation { |
| if m != nil { |
| return m.Operations |
| } |
| return nil |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaRequest) GetPartialFailure() bool { |
| if m != nil { |
| return m.PartialFailure |
| } |
| return false |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaRequest) GetValidateOnly() bool { |
| if m != nil { |
| return m.ValidateOnly |
| } |
| return false |
| } |
| |
| // A single operation (create or remove) on a customer level negative criterion. |
| type CustomerNegativeCriterionOperation struct { |
| // The mutate operation. |
| // |
| // Types that are valid to be assigned to Operation: |
| // *CustomerNegativeCriterionOperation_Create |
| // *CustomerNegativeCriterionOperation_Remove |
| Operation isCustomerNegativeCriterionOperation_Operation `protobuf_oneof:"operation"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CustomerNegativeCriterionOperation) Reset() { *m = CustomerNegativeCriterionOperation{} } |
| func (m *CustomerNegativeCriterionOperation) String() string { return proto.CompactTextString(m) } |
| func (*CustomerNegativeCriterionOperation) ProtoMessage() {} |
| func (*CustomerNegativeCriterionOperation) Descriptor() ([]byte, []int) { |
| return fileDescriptor_d21e22dd7a1998fe, []int{2} |
| } |
| |
| func (m *CustomerNegativeCriterionOperation) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CustomerNegativeCriterionOperation.Unmarshal(m, b) |
| } |
| func (m *CustomerNegativeCriterionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CustomerNegativeCriterionOperation.Marshal(b, m, deterministic) |
| } |
| func (m *CustomerNegativeCriterionOperation) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CustomerNegativeCriterionOperation.Merge(m, src) |
| } |
| func (m *CustomerNegativeCriterionOperation) XXX_Size() int { |
| return xxx_messageInfo_CustomerNegativeCriterionOperation.Size(m) |
| } |
| func (m *CustomerNegativeCriterionOperation) XXX_DiscardUnknown() { |
| xxx_messageInfo_CustomerNegativeCriterionOperation.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CustomerNegativeCriterionOperation proto.InternalMessageInfo |
| |
| type isCustomerNegativeCriterionOperation_Operation interface { |
| isCustomerNegativeCriterionOperation_Operation() |
| } |
| |
| type CustomerNegativeCriterionOperation_Create struct { |
| Create *resources.CustomerNegativeCriterion `protobuf:"bytes,1,opt,name=create,proto3,oneof"` |
| } |
| |
| type CustomerNegativeCriterionOperation_Remove struct { |
| Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` |
| } |
| |
| func (*CustomerNegativeCriterionOperation_Create) isCustomerNegativeCriterionOperation_Operation() {} |
| |
| func (*CustomerNegativeCriterionOperation_Remove) isCustomerNegativeCriterionOperation_Operation() {} |
| |
| func (m *CustomerNegativeCriterionOperation) GetOperation() isCustomerNegativeCriterionOperation_Operation { |
| if m != nil { |
| return m.Operation |
| } |
| return nil |
| } |
| |
| func (m *CustomerNegativeCriterionOperation) GetCreate() *resources.CustomerNegativeCriterion { |
| if x, ok := m.GetOperation().(*CustomerNegativeCriterionOperation_Create); ok { |
| return x.Create |
| } |
| return nil |
| } |
| |
| func (m *CustomerNegativeCriterionOperation) GetRemove() string { |
| if x, ok := m.GetOperation().(*CustomerNegativeCriterionOperation_Remove); ok { |
| return x.Remove |
| } |
| return "" |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*CustomerNegativeCriterionOperation) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*CustomerNegativeCriterionOperation_Create)(nil), |
| (*CustomerNegativeCriterionOperation_Remove)(nil), |
| } |
| } |
| |
| // Response message for customer negative criterion mutate. |
| type MutateCustomerNegativeCriteriaResponse struct { |
| // Errors that pertain to operation failures in the partial failure mode. |
| // Returned only when partial_failure = true and all errors occur inside the |
| // operations. If any errors occur outside the operations (e.g. auth errors), |
| // we return an RPC level error. |
| PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` |
| // All results for the mutate. |
| Results []*MutateCustomerNegativeCriteriaResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaResponse) Reset() { |
| *m = MutateCustomerNegativeCriteriaResponse{} |
| } |
| func (m *MutateCustomerNegativeCriteriaResponse) String() string { return proto.CompactTextString(m) } |
| func (*MutateCustomerNegativeCriteriaResponse) ProtoMessage() {} |
| func (*MutateCustomerNegativeCriteriaResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_d21e22dd7a1998fe, []int{3} |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Unmarshal(m, b) |
| } |
| func (m *MutateCustomerNegativeCriteriaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Marshal(b, m, deterministic) |
| } |
| func (m *MutateCustomerNegativeCriteriaResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Merge(m, src) |
| } |
| func (m *MutateCustomerNegativeCriteriaResponse) XXX_Size() int { |
| return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Size(m) |
| } |
| func (m *MutateCustomerNegativeCriteriaResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateCustomerNegativeCriteriaResponse proto.InternalMessageInfo |
| |
| func (m *MutateCustomerNegativeCriteriaResponse) GetPartialFailureError() *status.Status { |
| if m != nil { |
| return m.PartialFailureError |
| } |
| return nil |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaResponse) GetResults() []*MutateCustomerNegativeCriteriaResult { |
| if m != nil { |
| return m.Results |
| } |
| return nil |
| } |
| |
| // The result for the criterion mutate. |
| type MutateCustomerNegativeCriteriaResult struct { |
| // Returned for successful operations. |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaResult) Reset() { *m = MutateCustomerNegativeCriteriaResult{} } |
| func (m *MutateCustomerNegativeCriteriaResult) String() string { return proto.CompactTextString(m) } |
| func (*MutateCustomerNegativeCriteriaResult) ProtoMessage() {} |
| func (*MutateCustomerNegativeCriteriaResult) Descriptor() ([]byte, []int) { |
| return fileDescriptor_d21e22dd7a1998fe, []int{4} |
| } |
| |
| func (m *MutateCustomerNegativeCriteriaResult) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Unmarshal(m, b) |
| } |
| func (m *MutateCustomerNegativeCriteriaResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Marshal(b, m, deterministic) |
| } |
| func (m *MutateCustomerNegativeCriteriaResult) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Merge(m, src) |
| } |
| func (m *MutateCustomerNegativeCriteriaResult) XXX_Size() int { |
| return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Size(m) |
| } |
| func (m *MutateCustomerNegativeCriteriaResult) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateCustomerNegativeCriteriaResult.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateCustomerNegativeCriteriaResult proto.InternalMessageInfo |
| |
| func (m *MutateCustomerNegativeCriteriaResult) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*GetCustomerNegativeCriterionRequest)(nil), "google.ads.googleads.v1.services.GetCustomerNegativeCriterionRequest") |
| proto.RegisterType((*MutateCustomerNegativeCriteriaRequest)(nil), "google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest") |
| proto.RegisterType((*CustomerNegativeCriterionOperation)(nil), "google.ads.googleads.v1.services.CustomerNegativeCriterionOperation") |
| proto.RegisterType((*MutateCustomerNegativeCriteriaResponse)(nil), "google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResponse") |
| proto.RegisterType((*MutateCustomerNegativeCriteriaResult)(nil), "google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResult") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/services/customer_negative_criterion_service.proto", fileDescriptor_d21e22dd7a1998fe) |
| } |
| |
| var fileDescriptor_d21e22dd7a1998fe = []byte{ |
| // 677 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x6b, 0xd4, 0x4e, |
| 0x18, 0xfe, 0x25, 0x2d, 0xfd, 0xd9, 0xd9, 0xaa, 0x30, 0x22, 0x86, 0xb5, 0xe8, 0x92, 0xb6, 0x5a, |
| 0xf6, 0x90, 0xb0, 0xeb, 0x2d, 0xb6, 0x87, 0xdd, 0xda, 0xee, 0x5a, 0xb1, 0x2d, 0x29, 0xec, 0x41, |
| 0x16, 0xe2, 0x98, 0x8c, 0x21, 0x90, 0x64, 0xe2, 0xcc, 0x24, 0x50, 0x4a, 0x2f, 0x9e, 0xbd, 0xf9, |
| 0x0d, 0xf4, 0xa4, 0x1f, 0xa5, 0x47, 0xfd, 0x0a, 0x82, 0xe0, 0x67, 0x50, 0x90, 0x64, 0x32, 0xe9, |
| 0x1f, 0x48, 0xb3, 0x50, 0x6f, 0xef, 0xbe, 0xf3, 0xe6, 0x79, 0xde, 0xe7, 0x99, 0x77, 0xde, 0x05, |
| 0xbb, 0x3e, 0x21, 0x7e, 0x88, 0x4d, 0xe4, 0x31, 0x53, 0x84, 0x79, 0x94, 0xf5, 0x4c, 0x86, 0x69, |
| 0x16, 0xb8, 0x98, 0x99, 0x6e, 0xca, 0x38, 0x89, 0x30,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 0x4b, 0x96, 0xbd, 0x59, 0x28, 0xfa, 0x7c, 0xf2, 0x37, 0x00, 0x00, 0xff, 0xff, 0x66, 0x7d, 0xd5, |
| 0x11, 0x59, 0x07, 0x00, 0x00, |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConnInterface |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion6 |
| |
| // CustomerNegativeCriterionServiceClient is the client API for CustomerNegativeCriterionService service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type CustomerNegativeCriterionServiceClient interface { |
| // Returns the requested criterion in full detail. |
| GetCustomerNegativeCriterion(ctx context.Context, in *GetCustomerNegativeCriterionRequest, opts ...grpc.CallOption) (*resources.CustomerNegativeCriterion, error) |
| // Creates or removes criteria. Operation statuses are returned. |
| MutateCustomerNegativeCriteria(ctx context.Context, in *MutateCustomerNegativeCriteriaRequest, opts ...grpc.CallOption) (*MutateCustomerNegativeCriteriaResponse, error) |
| } |
| |
| type customerNegativeCriterionServiceClient struct { |
| cc grpc.ClientConnInterface |
| } |
| |
| func NewCustomerNegativeCriterionServiceClient(cc grpc.ClientConnInterface) CustomerNegativeCriterionServiceClient { |
| return &customerNegativeCriterionServiceClient{cc} |
| } |
| |
| func (c *customerNegativeCriterionServiceClient) GetCustomerNegativeCriterion(ctx context.Context, in *GetCustomerNegativeCriterionRequest, opts ...grpc.CallOption) (*resources.CustomerNegativeCriterion, error) { |
| out := new(resources.CustomerNegativeCriterion) |
| err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *customerNegativeCriterionServiceClient) MutateCustomerNegativeCriteria(ctx context.Context, in *MutateCustomerNegativeCriteriaRequest, opts ...grpc.CallOption) (*MutateCustomerNegativeCriteriaResponse, error) { |
| out := new(MutateCustomerNegativeCriteriaResponse) |
| err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // CustomerNegativeCriterionServiceServer is the server API for CustomerNegativeCriterionService service. |
| type CustomerNegativeCriterionServiceServer interface { |
| // Returns the requested criterion in full detail. |
| GetCustomerNegativeCriterion(context.Context, *GetCustomerNegativeCriterionRequest) (*resources.CustomerNegativeCriterion, error) |
| // Creates or removes criteria. Operation statuses are returned. |
| MutateCustomerNegativeCriteria(context.Context, *MutateCustomerNegativeCriteriaRequest) (*MutateCustomerNegativeCriteriaResponse, error) |
| } |
| |
| // UnimplementedCustomerNegativeCriterionServiceServer can be embedded to have forward compatible implementations. |
| type UnimplementedCustomerNegativeCriterionServiceServer struct { |
| } |
| |
| func (*UnimplementedCustomerNegativeCriterionServiceServer) GetCustomerNegativeCriterion(ctx context.Context, req *GetCustomerNegativeCriterionRequest) (*resources.CustomerNegativeCriterion, error) { |
| return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerNegativeCriterion not implemented") |
| } |
| func (*UnimplementedCustomerNegativeCriterionServiceServer) MutateCustomerNegativeCriteria(ctx context.Context, req *MutateCustomerNegativeCriteriaRequest) (*MutateCustomerNegativeCriteriaResponse, error) { |
| return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerNegativeCriteria not implemented") |
| } |
| |
| func RegisterCustomerNegativeCriterionServiceServer(s *grpc.Server, srv CustomerNegativeCriterionServiceServer) { |
| s.RegisterService(&_CustomerNegativeCriterionService_serviceDesc, srv) |
| } |
| |
| func _CustomerNegativeCriterionService_GetCustomerNegativeCriterion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetCustomerNegativeCriterionRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(CustomerNegativeCriterionServiceServer).GetCustomerNegativeCriterion(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(CustomerNegativeCriterionServiceServer).GetCustomerNegativeCriterion(ctx, req.(*GetCustomerNegativeCriterionRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _CustomerNegativeCriterionService_MutateCustomerNegativeCriteria_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(MutateCustomerNegativeCriteriaRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(CustomerNegativeCriterionServiceServer).MutateCustomerNegativeCriteria(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(CustomerNegativeCriterionServiceServer).MutateCustomerNegativeCriteria(ctx, req.(*MutateCustomerNegativeCriteriaRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _CustomerNegativeCriterionService_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.ads.googleads.v1.services.CustomerNegativeCriterionService", |
| HandlerType: (*CustomerNegativeCriterionServiceServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "GetCustomerNegativeCriterion", |
| Handler: _CustomerNegativeCriterionService_GetCustomerNegativeCriterion_Handler, |
| }, |
| { |
| MethodName: "MutateCustomerNegativeCriteria", |
| Handler: _CustomerNegativeCriterionService_MutateCustomerNegativeCriteria_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/ads/googleads/v1/services/customer_negative_criterion_service.proto", |
| } |