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