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