forked from googleapis/java-spanner
/
ad_group_criterion_label_service.pb.go
490 lines (433 loc) · 23 KB
/
ad_group_criterion_label_service.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/services/ad_group_criterion_label_service.proto
package services
import (
context "context"
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "github.com/golang/protobuf/ptypes/wrappers"
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"
)
// 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
// [AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v1.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel].
type GetAdGroupCriterionLabelRequest struct {
// The resource name of the ad group criterion label 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 *GetAdGroupCriterionLabelRequest) Reset() { *m = GetAdGroupCriterionLabelRequest{} }
func (m *GetAdGroupCriterionLabelRequest) String() string { return proto.CompactTextString(m) }
func (*GetAdGroupCriterionLabelRequest) ProtoMessage() {}
func (*GetAdGroupCriterionLabelRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_812d424f598fe7ab, []int{0}
}
func (m *GetAdGroupCriterionLabelRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAdGroupCriterionLabelRequest.Unmarshal(m, b)
}
func (m *GetAdGroupCriterionLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAdGroupCriterionLabelRequest.Marshal(b, m, deterministic)
}
func (m *GetAdGroupCriterionLabelRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAdGroupCriterionLabelRequest.Merge(m, src)
}
func (m *GetAdGroupCriterionLabelRequest) XXX_Size() int {
return xxx_messageInfo_GetAdGroupCriterionLabelRequest.Size(m)
}
func (m *GetAdGroupCriterionLabelRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetAdGroupCriterionLabelRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetAdGroupCriterionLabelRequest proto.InternalMessageInfo
func (m *GetAdGroupCriterionLabelRequest) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
// Request message for
// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v1.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels].
type MutateAdGroupCriterionLabelsRequest struct {
// ID of the customer whose ad group criterion labels 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 ad group criterion labels.
Operations []*AdGroupCriterionLabelOperation `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 *MutateAdGroupCriterionLabelsRequest) Reset() { *m = MutateAdGroupCriterionLabelsRequest{} }
func (m *MutateAdGroupCriterionLabelsRequest) String() string { return proto.CompactTextString(m) }
func (*MutateAdGroupCriterionLabelsRequest) ProtoMessage() {}
func (*MutateAdGroupCriterionLabelsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_812d424f598fe7ab, []int{1}
}
func (m *MutateAdGroupCriterionLabelsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Unmarshal(m, b)
}
func (m *MutateAdGroupCriterionLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Marshal(b, m, deterministic)
}
func (m *MutateAdGroupCriterionLabelsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Merge(m, src)
}
func (m *MutateAdGroupCriterionLabelsRequest) XXX_Size() int {
return xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Size(m)
}
func (m *MutateAdGroupCriterionLabelsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MutateAdGroupCriterionLabelsRequest proto.InternalMessageInfo
func (m *MutateAdGroupCriterionLabelsRequest) GetCustomerId() string {
if m != nil {
return m.CustomerId
}
return ""
}
func (m *MutateAdGroupCriterionLabelsRequest) GetOperations() []*AdGroupCriterionLabelOperation {
if m != nil {
return m.Operations
}
return nil
}
func (m *MutateAdGroupCriterionLabelsRequest) GetPartialFailure() bool {
if m != nil {
return m.PartialFailure
}
return false
}
func (m *MutateAdGroupCriterionLabelsRequest) GetValidateOnly() bool {
if m != nil {
return m.ValidateOnly
}
return false
}
// A single operation (create, remove) on an ad group criterion label.
type AdGroupCriterionLabelOperation struct {
// The mutate operation.
//
// Types that are valid to be assigned to Operation:
// *AdGroupCriterionLabelOperation_Create
// *AdGroupCriterionLabelOperation_Remove
Operation isAdGroupCriterionLabelOperation_Operation `protobuf_oneof:"operation"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdGroupCriterionLabelOperation) Reset() { *m = AdGroupCriterionLabelOperation{} }
func (m *AdGroupCriterionLabelOperation) String() string { return proto.CompactTextString(m) }
func (*AdGroupCriterionLabelOperation) ProtoMessage() {}
func (*AdGroupCriterionLabelOperation) Descriptor() ([]byte, []int) {
return fileDescriptor_812d424f598fe7ab, []int{2}
}
func (m *AdGroupCriterionLabelOperation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdGroupCriterionLabelOperation.Unmarshal(m, b)
}
func (m *AdGroupCriterionLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdGroupCriterionLabelOperation.Marshal(b, m, deterministic)
}
func (m *AdGroupCriterionLabelOperation) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdGroupCriterionLabelOperation.Merge(m, src)
}
func (m *AdGroupCriterionLabelOperation) XXX_Size() int {
return xxx_messageInfo_AdGroupCriterionLabelOperation.Size(m)
}
func (m *AdGroupCriterionLabelOperation) XXX_DiscardUnknown() {
xxx_messageInfo_AdGroupCriterionLabelOperation.DiscardUnknown(m)
}
var xxx_messageInfo_AdGroupCriterionLabelOperation proto.InternalMessageInfo
type isAdGroupCriterionLabelOperation_Operation interface {
isAdGroupCriterionLabelOperation_Operation()
}
type AdGroupCriterionLabelOperation_Create struct {
Create *resources.AdGroupCriterionLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}
type AdGroupCriterionLabelOperation_Remove struct {
Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"`
}
func (*AdGroupCriterionLabelOperation_Create) isAdGroupCriterionLabelOperation_Operation() {}
func (*AdGroupCriterionLabelOperation_Remove) isAdGroupCriterionLabelOperation_Operation() {}
func (m *AdGroupCriterionLabelOperation) GetOperation() isAdGroupCriterionLabelOperation_Operation {
if m != nil {
return m.Operation
}
return nil
}
func (m *AdGroupCriterionLabelOperation) GetCreate() *resources.AdGroupCriterionLabel {
if x, ok := m.GetOperation().(*AdGroupCriterionLabelOperation_Create); ok {
return x.Create
}
return nil
}
func (m *AdGroupCriterionLabelOperation) GetRemove() string {
if x, ok := m.GetOperation().(*AdGroupCriterionLabelOperation_Remove); ok {
return x.Remove
}
return ""
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AdGroupCriterionLabelOperation) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AdGroupCriterionLabelOperation_Create)(nil),
(*AdGroupCriterionLabelOperation_Remove)(nil),
}
}
// Response message for an ad group criterion labels mutate.
type MutateAdGroupCriterionLabelsResponse 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 []*MutateAdGroupCriterionLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MutateAdGroupCriterionLabelsResponse) Reset() { *m = MutateAdGroupCriterionLabelsResponse{} }
func (m *MutateAdGroupCriterionLabelsResponse) String() string { return proto.CompactTextString(m) }
func (*MutateAdGroupCriterionLabelsResponse) ProtoMessage() {}
func (*MutateAdGroupCriterionLabelsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_812d424f598fe7ab, []int{3}
}
func (m *MutateAdGroupCriterionLabelsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Unmarshal(m, b)
}
func (m *MutateAdGroupCriterionLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Marshal(b, m, deterministic)
}
func (m *MutateAdGroupCriterionLabelsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Merge(m, src)
}
func (m *MutateAdGroupCriterionLabelsResponse) XXX_Size() int {
return xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Size(m)
}
func (m *MutateAdGroupCriterionLabelsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MutateAdGroupCriterionLabelsResponse proto.InternalMessageInfo
func (m *MutateAdGroupCriterionLabelsResponse) GetPartialFailureError() *status.Status {
if m != nil {
return m.PartialFailureError
}
return nil
}
func (m *MutateAdGroupCriterionLabelsResponse) GetResults() []*MutateAdGroupCriterionLabelResult {
if m != nil {
return m.Results
}
return nil
}
// The result for an ad group criterion label mutate.
type MutateAdGroupCriterionLabelResult 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 *MutateAdGroupCriterionLabelResult) Reset() { *m = MutateAdGroupCriterionLabelResult{} }
func (m *MutateAdGroupCriterionLabelResult) String() string { return proto.CompactTextString(m) }
func (*MutateAdGroupCriterionLabelResult) ProtoMessage() {}
func (*MutateAdGroupCriterionLabelResult) Descriptor() ([]byte, []int) {
return fileDescriptor_812d424f598fe7ab, []int{4}
}
func (m *MutateAdGroupCriterionLabelResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MutateAdGroupCriterionLabelResult.Unmarshal(m, b)
}
func (m *MutateAdGroupCriterionLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MutateAdGroupCriterionLabelResult.Marshal(b, m, deterministic)
}
func (m *MutateAdGroupCriterionLabelResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_MutateAdGroupCriterionLabelResult.Merge(m, src)
}
func (m *MutateAdGroupCriterionLabelResult) XXX_Size() int {
return xxx_messageInfo_MutateAdGroupCriterionLabelResult.Size(m)
}
func (m *MutateAdGroupCriterionLabelResult) XXX_DiscardUnknown() {
xxx_messageInfo_MutateAdGroupCriterionLabelResult.DiscardUnknown(m)
}
var xxx_messageInfo_MutateAdGroupCriterionLabelResult proto.InternalMessageInfo
func (m *MutateAdGroupCriterionLabelResult) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func init() {
proto.RegisterType((*GetAdGroupCriterionLabelRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupCriterionLabelRequest")
proto.RegisterType((*MutateAdGroupCriterionLabelsRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest")
proto.RegisterType((*AdGroupCriterionLabelOperation)(nil), "google.ads.googleads.v1.services.AdGroupCriterionLabelOperation")
proto.RegisterType((*MutateAdGroupCriterionLabelsResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse")
proto.RegisterType((*MutateAdGroupCriterionLabelResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResult")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/services/ad_group_criterion_label_service.proto", fileDescriptor_812d424f598fe7ab)
}
var fileDescriptor_812d424f598fe7ab = []byte{
// 677 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcf, 0x6b, 0xd4, 0x5e,
0x10, 0xff, 0x26, 0xfb, 0xa5, 0xda, 0xb7, 0x55, 0xe1, 0x89, 0x18, 0x96, 0xd2, 0x6e, 0xd3, 0x82,
0x65, 0x0f, 0x09, 0xbb, 0x5e, 0x4a, 0x4a, 0x61, 0xd3, 0xd2, 0xdd, 0x0a, 0x6a, 0x4b, 0x0a, 0x3d,
0xc8, 0x4a, 0x7c, 0x9b, 0x4c, 0x43, 0x20, 0x9b, 0x17, 0xdf, 0x7b, 0x59, 0x29, 0xa5, 0x17, 0x4f,
0xde, 0x3d, 0x7a, 0xf3, 0xe8, 0x9f, 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, 0x62, 0xfe, 0x51, 0xa6, 0x0c, 0x6c, 0x9f, 0x0f, 0x26, 0x29, 0x83, 0x93, 0xf6, 0x40, 0xa6,
0x7c, 0x53, 0x37, 0x0a, 0xbf, 0x65, 0xd9, 0x3e, 0xb7, 0xac, 0x49, 0x92, 0x65, 0x9d, 0xb4, 0x2d,
0x4b, 0xa6, 0x0d, 0x17, 0xf2, 0x3a, 0x1f, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x4c, 0x21, 0x33,
0x9c, 0x05, 0x07, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// 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.SupportPackageIsVersion4
// AdGroupCriterionLabelServiceClient is the client API for AdGroupCriterionLabelService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type AdGroupCriterionLabelServiceClient interface {
// Returns the requested ad group criterion label in full detail.
GetAdGroupCriterionLabel(ctx context.Context, in *GetAdGroupCriterionLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionLabel, error)
// Creates and removes ad group criterion labels.
// Operation statuses are returned.
MutateAdGroupCriterionLabels(ctx context.Context, in *MutateAdGroupCriterionLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupCriterionLabelsResponse, error)
}
type adGroupCriterionLabelServiceClient struct {
cc *grpc.ClientConn
}
func NewAdGroupCriterionLabelServiceClient(cc *grpc.ClientConn) AdGroupCriterionLabelServiceClient {
return &adGroupCriterionLabelServiceClient{cc}
}
func (c *adGroupCriterionLabelServiceClient) GetAdGroupCriterionLabel(ctx context.Context, in *GetAdGroupCriterionLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionLabel, error) {
out := new(resources.AdGroupCriterionLabel)
err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adGroupCriterionLabelServiceClient) MutateAdGroupCriterionLabels(ctx context.Context, in *MutateAdGroupCriterionLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupCriterionLabelsResponse, error) {
out := new(MutateAdGroupCriterionLabelsResponse)
err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// AdGroupCriterionLabelServiceServer is the server API for AdGroupCriterionLabelService service.
type AdGroupCriterionLabelServiceServer interface {
// Returns the requested ad group criterion label in full detail.
GetAdGroupCriterionLabel(context.Context, *GetAdGroupCriterionLabelRequest) (*resources.AdGroupCriterionLabel, error)
// Creates and removes ad group criterion labels.
// Operation statuses are returned.
MutateAdGroupCriterionLabels(context.Context, *MutateAdGroupCriterionLabelsRequest) (*MutateAdGroupCriterionLabelsResponse, error)
}
func RegisterAdGroupCriterionLabelServiceServer(s *grpc.Server, srv AdGroupCriterionLabelServiceServer) {
s.RegisterService(&_AdGroupCriterionLabelService_serviceDesc, srv)
}
func _AdGroupCriterionLabelService_GetAdGroupCriterionLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetAdGroupCriterionLabelRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdGroupCriterionLabelServiceServer).GetAdGroupCriterionLabel(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdGroupCriterionLabelServiceServer).GetAdGroupCriterionLabel(ctx, req.(*GetAdGroupCriterionLabelRequest))
}
return interceptor(ctx, in, info, handler)
}
func _AdGroupCriterionLabelService_MutateAdGroupCriterionLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MutateAdGroupCriterionLabelsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdGroupCriterionLabelServiceServer).MutateAdGroupCriterionLabels(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdGroupCriterionLabelServiceServer).MutateAdGroupCriterionLabels(ctx, req.(*MutateAdGroupCriterionLabelsRequest))
}
return interceptor(ctx, in, info, handler)
}
var _AdGroupCriterionLabelService_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.ads.googleads.v1.services.AdGroupCriterionLabelService",
HandlerType: (*AdGroupCriterionLabelServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetAdGroupCriterionLabel",
Handler: _AdGroupCriterionLabelService_GetAdGroupCriterionLabel_Handler,
},
{
MethodName: "MutateAdGroupCriterionLabels",
Handler: _AdGroupCriterionLabelService_MutateAdGroupCriterionLabels_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/ads/googleads/v1/services/ad_group_criterion_label_service.proto",
}