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