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