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