You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

545 lines
24 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/services/campaign_shared_set_service.proto
  3. package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/golang/protobuf/ptypes/wrappers"
  8. import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. import status "google.golang.org/genproto/googleapis/rpc/status"
  11. import (
  12. context "golang.org/x/net/context"
  13. grpc "google.golang.org/grpc"
  14. )
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  24. // Request message for
  25. // [CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v0.services.CampaignSharedSetService.GetCampaignSharedSet].
  26. type GetCampaignSharedSetRequest struct {
  27. // The resource name of the campaign shared set to fetch.
  28. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  29. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  30. XXX_unrecognized []byte `json:"-"`
  31. XXX_sizecache int32 `json:"-"`
  32. }
  33. func (m *GetCampaignSharedSetRequest) Reset() { *m = GetCampaignSharedSetRequest{} }
  34. func (m *GetCampaignSharedSetRequest) String() string { return proto.CompactTextString(m) }
  35. func (*GetCampaignSharedSetRequest) ProtoMessage() {}
  36. func (*GetCampaignSharedSetRequest) Descriptor() ([]byte, []int) {
  37. return fileDescriptor_campaign_shared_set_service_d31dba2bcb6adfd0, []int{0}
  38. }
  39. func (m *GetCampaignSharedSetRequest) XXX_Unmarshal(b []byte) error {
  40. return xxx_messageInfo_GetCampaignSharedSetRequest.Unmarshal(m, b)
  41. }
  42. func (m *GetCampaignSharedSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  43. return xxx_messageInfo_GetCampaignSharedSetRequest.Marshal(b, m, deterministic)
  44. }
  45. func (dst *GetCampaignSharedSetRequest) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_GetCampaignSharedSetRequest.Merge(dst, src)
  47. }
  48. func (m *GetCampaignSharedSetRequest) XXX_Size() int {
  49. return xxx_messageInfo_GetCampaignSharedSetRequest.Size(m)
  50. }
  51. func (m *GetCampaignSharedSetRequest) XXX_DiscardUnknown() {
  52. xxx_messageInfo_GetCampaignSharedSetRequest.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_GetCampaignSharedSetRequest proto.InternalMessageInfo
  55. func (m *GetCampaignSharedSetRequest) GetResourceName() string {
  56. if m != nil {
  57. return m.ResourceName
  58. }
  59. return ""
  60. }
  61. // Request message for
  62. // [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v0.services.CampaignSharedSetService.MutateCampaignSharedSets].
  63. type MutateCampaignSharedSetsRequest struct {
  64. // The ID of the customer whose campaign shared sets are being modified.
  65. CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
  66. // The list of operations to perform on individual campaign shared sets.
  67. Operations []*CampaignSharedSetOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
  68. // If true, successful operations will be carried out and invalid
  69. // operations will return errors. If false, all operations will be carried
  70. // out in one transaction if and only if they are all valid.
  71. // Default is false.
  72. PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"`
  73. // If true, the request is validated but not executed. Only errors are
  74. // returned, not results.
  75. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
  76. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  77. XXX_unrecognized []byte `json:"-"`
  78. XXX_sizecache int32 `json:"-"`
  79. }
  80. func (m *MutateCampaignSharedSetsRequest) Reset() { *m = MutateCampaignSharedSetsRequest{} }
  81. func (m *MutateCampaignSharedSetsRequest) String() string { return proto.CompactTextString(m) }
  82. func (*MutateCampaignSharedSetsRequest) ProtoMessage() {}
  83. func (*MutateCampaignSharedSetsRequest) Descriptor() ([]byte, []int) {
  84. return fileDescriptor_campaign_shared_set_service_d31dba2bcb6adfd0, []int{1}
  85. }
  86. func (m *MutateCampaignSharedSetsRequest) XXX_Unmarshal(b []byte) error {
  87. return xxx_messageInfo_MutateCampaignSharedSetsRequest.Unmarshal(m, b)
  88. }
  89. func (m *MutateCampaignSharedSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  90. return xxx_messageInfo_MutateCampaignSharedSetsRequest.Marshal(b, m, deterministic)
  91. }
  92. func (dst *MutateCampaignSharedSetsRequest) XXX_Merge(src proto.Message) {
  93. xxx_messageInfo_MutateCampaignSharedSetsRequest.Merge(dst, src)
  94. }
  95. func (m *MutateCampaignSharedSetsRequest) XXX_Size() int {
  96. return xxx_messageInfo_MutateCampaignSharedSetsRequest.Size(m)
  97. }
  98. func (m *MutateCampaignSharedSetsRequest) XXX_DiscardUnknown() {
  99. xxx_messageInfo_MutateCampaignSharedSetsRequest.DiscardUnknown(m)
  100. }
  101. var xxx_messageInfo_MutateCampaignSharedSetsRequest proto.InternalMessageInfo
  102. func (m *MutateCampaignSharedSetsRequest) GetCustomerId() string {
  103. if m != nil {
  104. return m.CustomerId
  105. }
  106. return ""
  107. }
  108. func (m *MutateCampaignSharedSetsRequest) GetOperations() []*CampaignSharedSetOperation {
  109. if m != nil {
  110. return m.Operations
  111. }
  112. return nil
  113. }
  114. func (m *MutateCampaignSharedSetsRequest) GetPartialFailure() bool {
  115. if m != nil {
  116. return m.PartialFailure
  117. }
  118. return false
  119. }
  120. func (m *MutateCampaignSharedSetsRequest) GetValidateOnly() bool {
  121. if m != nil {
  122. return m.ValidateOnly
  123. }
  124. return false
  125. }
  126. // A single operation (create, remove) on an campaign shared set.
  127. type CampaignSharedSetOperation struct {
  128. // The mutate operation.
  129. //
  130. // Types that are valid to be assigned to Operation:
  131. // *CampaignSharedSetOperation_Create
  132. // *CampaignSharedSetOperation_Remove
  133. Operation isCampaignSharedSetOperation_Operation `protobuf_oneof:"operation"`
  134. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  135. XXX_unrecognized []byte `json:"-"`
  136. XXX_sizecache int32 `json:"-"`
  137. }
  138. func (m *CampaignSharedSetOperation) Reset() { *m = CampaignSharedSetOperation{} }
  139. func (m *CampaignSharedSetOperation) String() string { return proto.CompactTextString(m) }
  140. func (*CampaignSharedSetOperation) ProtoMessage() {}
  141. func (*CampaignSharedSetOperation) Descriptor() ([]byte, []int) {
  142. return fileDescriptor_campaign_shared_set_service_d31dba2bcb6adfd0, []int{2}
  143. }
  144. func (m *CampaignSharedSetOperation) XXX_Unmarshal(b []byte) error {
  145. return xxx_messageInfo_CampaignSharedSetOperation.Unmarshal(m, b)
  146. }
  147. func (m *CampaignSharedSetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  148. return xxx_messageInfo_CampaignSharedSetOperation.Marshal(b, m, deterministic)
  149. }
  150. func (dst *CampaignSharedSetOperation) XXX_Merge(src proto.Message) {
  151. xxx_messageInfo_CampaignSharedSetOperation.Merge(dst, src)
  152. }
  153. func (m *CampaignSharedSetOperation) XXX_Size() int {
  154. return xxx_messageInfo_CampaignSharedSetOperation.Size(m)
  155. }
  156. func (m *CampaignSharedSetOperation) XXX_DiscardUnknown() {
  157. xxx_messageInfo_CampaignSharedSetOperation.DiscardUnknown(m)
  158. }
  159. var xxx_messageInfo_CampaignSharedSetOperation proto.InternalMessageInfo
  160. type isCampaignSharedSetOperation_Operation interface {
  161. isCampaignSharedSetOperation_Operation()
  162. }
  163. type CampaignSharedSetOperation_Create struct {
  164. Create *resources.CampaignSharedSet `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
  165. }
  166. type CampaignSharedSetOperation_Remove struct {
  167. Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
  168. }
  169. func (*CampaignSharedSetOperation_Create) isCampaignSharedSetOperation_Operation() {}
  170. func (*CampaignSharedSetOperation_Remove) isCampaignSharedSetOperation_Operation() {}
  171. func (m *CampaignSharedSetOperation) GetOperation() isCampaignSharedSetOperation_Operation {
  172. if m != nil {
  173. return m.Operation
  174. }
  175. return nil
  176. }
  177. func (m *CampaignSharedSetOperation) GetCreate() *resources.CampaignSharedSet {
  178. if x, ok := m.GetOperation().(*CampaignSharedSetOperation_Create); ok {
  179. return x.Create
  180. }
  181. return nil
  182. }
  183. func (m *CampaignSharedSetOperation) GetRemove() string {
  184. if x, ok := m.GetOperation().(*CampaignSharedSetOperation_Remove); ok {
  185. return x.Remove
  186. }
  187. return ""
  188. }
  189. // XXX_OneofFuncs is for the internal use of the proto package.
  190. func (*CampaignSharedSetOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  191. return _CampaignSharedSetOperation_OneofMarshaler, _CampaignSharedSetOperation_OneofUnmarshaler, _CampaignSharedSetOperation_OneofSizer, []interface{}{
  192. (*CampaignSharedSetOperation_Create)(nil),
  193. (*CampaignSharedSetOperation_Remove)(nil),
  194. }
  195. }
  196. func _CampaignSharedSetOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  197. m := msg.(*CampaignSharedSetOperation)
  198. // operation
  199. switch x := m.Operation.(type) {
  200. case *CampaignSharedSetOperation_Create:
  201. b.EncodeVarint(1<<3 | proto.WireBytes)
  202. if err := b.EncodeMessage(x.Create); err != nil {
  203. return err
  204. }
  205. case *CampaignSharedSetOperation_Remove:
  206. b.EncodeVarint(3<<3 | proto.WireBytes)
  207. b.EncodeStringBytes(x.Remove)
  208. case nil:
  209. default:
  210. return fmt.Errorf("CampaignSharedSetOperation.Operation has unexpected type %T", x)
  211. }
  212. return nil
  213. }
  214. func _CampaignSharedSetOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  215. m := msg.(*CampaignSharedSetOperation)
  216. switch tag {
  217. case 1: // operation.create
  218. if wire != proto.WireBytes {
  219. return true, proto.ErrInternalBadWireType
  220. }
  221. msg := new(resources.CampaignSharedSet)
  222. err := b.DecodeMessage(msg)
  223. m.Operation = &CampaignSharedSetOperation_Create{msg}
  224. return true, err
  225. case 3: // operation.remove
  226. if wire != proto.WireBytes {
  227. return true, proto.ErrInternalBadWireType
  228. }
  229. x, err := b.DecodeStringBytes()
  230. m.Operation = &CampaignSharedSetOperation_Remove{x}
  231. return true, err
  232. default:
  233. return false, nil
  234. }
  235. }
  236. func _CampaignSharedSetOperation_OneofSizer(msg proto.Message) (n int) {
  237. m := msg.(*CampaignSharedSetOperation)
  238. // operation
  239. switch x := m.Operation.(type) {
  240. case *CampaignSharedSetOperation_Create:
  241. s := proto.Size(x.Create)
  242. n += 1 // tag and wire
  243. n += proto.SizeVarint(uint64(s))
  244. n += s
  245. case *CampaignSharedSetOperation_Remove:
  246. n += 1 // tag and wire
  247. n += proto.SizeVarint(uint64(len(x.Remove)))
  248. n += len(x.Remove)
  249. case nil:
  250. default:
  251. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  252. }
  253. return n
  254. }
  255. // Response message for a campaign shared set mutate.
  256. type MutateCampaignSharedSetsResponse 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 []*MutateCampaignSharedSetResult `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. func (m *MutateCampaignSharedSetsResponse) Reset() { *m = MutateCampaignSharedSetsResponse{} }
  269. func (m *MutateCampaignSharedSetsResponse) String() string { return proto.CompactTextString(m) }
  270. func (*MutateCampaignSharedSetsResponse) ProtoMessage() {}
  271. func (*MutateCampaignSharedSetsResponse) Descriptor() ([]byte, []int) {
  272. return fileDescriptor_campaign_shared_set_service_d31dba2bcb6adfd0, []int{3}
  273. }
  274. func (m *MutateCampaignSharedSetsResponse) XXX_Unmarshal(b []byte) error {
  275. return xxx_messageInfo_MutateCampaignSharedSetsResponse.Unmarshal(m, b)
  276. }
  277. func (m *MutateCampaignSharedSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  278. return xxx_messageInfo_MutateCampaignSharedSetsResponse.Marshal(b, m, deterministic)
  279. }
  280. func (dst *MutateCampaignSharedSetsResponse) XXX_Merge(src proto.Message) {
  281. xxx_messageInfo_MutateCampaignSharedSetsResponse.Merge(dst, src)
  282. }
  283. func (m *MutateCampaignSharedSetsResponse) XXX_Size() int {
  284. return xxx_messageInfo_MutateCampaignSharedSetsResponse.Size(m)
  285. }
  286. func (m *MutateCampaignSharedSetsResponse) XXX_DiscardUnknown() {
  287. xxx_messageInfo_MutateCampaignSharedSetsResponse.DiscardUnknown(m)
  288. }
  289. var xxx_messageInfo_MutateCampaignSharedSetsResponse proto.InternalMessageInfo
  290. func (m *MutateCampaignSharedSetsResponse) GetPartialFailureError() *status.Status {
  291. if m != nil {
  292. return m.PartialFailureError
  293. }
  294. return nil
  295. }
  296. func (m *MutateCampaignSharedSetsResponse) GetResults() []*MutateCampaignSharedSetResult {
  297. if m != nil {
  298. return m.Results
  299. }
  300. return nil
  301. }
  302. // The result for the campaign shared set mutate.
  303. type MutateCampaignSharedSetResult struct {
  304. // Returned for successful operations.
  305. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  306. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  307. XXX_unrecognized []byte `json:"-"`
  308. XXX_sizecache int32 `json:"-"`
  309. }
  310. func (m *MutateCampaignSharedSetResult) Reset() { *m = MutateCampaignSharedSetResult{} }
  311. func (m *MutateCampaignSharedSetResult) String() string { return proto.CompactTextString(m) }
  312. func (*MutateCampaignSharedSetResult) ProtoMessage() {}
  313. func (*MutateCampaignSharedSetResult) Descriptor() ([]byte, []int) {
  314. return fileDescriptor_campaign_shared_set_service_d31dba2bcb6adfd0, []int{4}
  315. }
  316. func (m *MutateCampaignSharedSetResult) XXX_Unmarshal(b []byte) error {
  317. return xxx_messageInfo_MutateCampaignSharedSetResult.Unmarshal(m, b)
  318. }
  319. func (m *MutateCampaignSharedSetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  320. return xxx_messageInfo_MutateCampaignSharedSetResult.Marshal(b, m, deterministic)
  321. }
  322. func (dst *MutateCampaignSharedSetResult) XXX_Merge(src proto.Message) {
  323. xxx_messageInfo_MutateCampaignSharedSetResult.Merge(dst, src)
  324. }
  325. func (m *MutateCampaignSharedSetResult) XXX_Size() int {
  326. return xxx_messageInfo_MutateCampaignSharedSetResult.Size(m)
  327. }
  328. func (m *MutateCampaignSharedSetResult) XXX_DiscardUnknown() {
  329. xxx_messageInfo_MutateCampaignSharedSetResult.DiscardUnknown(m)
  330. }
  331. var xxx_messageInfo_MutateCampaignSharedSetResult proto.InternalMessageInfo
  332. func (m *MutateCampaignSharedSetResult) GetResourceName() string {
  333. if m != nil {
  334. return m.ResourceName
  335. }
  336. return ""
  337. }
  338. func init() {
  339. proto.RegisterType((*GetCampaignSharedSetRequest)(nil), "google.ads.googleads.v0.services.GetCampaignSharedSetRequest")
  340. proto.RegisterType((*MutateCampaignSharedSetsRequest)(nil), "google.ads.googleads.v0.services.MutateCampaignSharedSetsRequest")
  341. proto.RegisterType((*CampaignSharedSetOperation)(nil), "google.ads.googleads.v0.services.CampaignSharedSetOperation")
  342. proto.RegisterType((*MutateCampaignSharedSetsResponse)(nil), "google.ads.googleads.v0.services.MutateCampaignSharedSetsResponse")
  343. proto.RegisterType((*MutateCampaignSharedSetResult)(nil), "google.ads.googleads.v0.services.MutateCampaignSharedSetResult")
  344. }
  345. // Reference imports to suppress errors if they are not otherwise used.
  346. var _ context.Context
  347. var _ grpc.ClientConn
  348. // This is a compile-time assertion to ensure that this generated file
  349. // is compatible with the grpc package it is being compiled against.
  350. const _ = grpc.SupportPackageIsVersion4
  351. // CampaignSharedSetServiceClient is the client API for CampaignSharedSetService service.
  352. //
  353. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  354. type CampaignSharedSetServiceClient interface {
  355. // Returns the requested campaign shared set in full detail.
  356. GetCampaignSharedSet(ctx context.Context, in *GetCampaignSharedSetRequest, opts ...grpc.CallOption) (*resources.CampaignSharedSet, error)
  357. // Creates or removes campaign shared sets. Operation statuses are returned.
  358. MutateCampaignSharedSets(ctx context.Context, in *MutateCampaignSharedSetsRequest, opts ...grpc.CallOption) (*MutateCampaignSharedSetsResponse, error)
  359. }
  360. type campaignSharedSetServiceClient struct {
  361. cc *grpc.ClientConn
  362. }
  363. func NewCampaignSharedSetServiceClient(cc *grpc.ClientConn) CampaignSharedSetServiceClient {
  364. return &campaignSharedSetServiceClient{cc}
  365. }
  366. func (c *campaignSharedSetServiceClient) GetCampaignSharedSet(ctx context.Context, in *GetCampaignSharedSetRequest, opts ...grpc.CallOption) (*resources.CampaignSharedSet, error) {
  367. out := new(resources.CampaignSharedSet)
  368. err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignSharedSetService/GetCampaignSharedSet", in, out, opts...)
  369. if err != nil {
  370. return nil, err
  371. }
  372. return out, nil
  373. }
  374. func (c *campaignSharedSetServiceClient) MutateCampaignSharedSets(ctx context.Context, in *MutateCampaignSharedSetsRequest, opts ...grpc.CallOption) (*MutateCampaignSharedSetsResponse, error) {
  375. out := new(MutateCampaignSharedSetsResponse)
  376. err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignSharedSetService/MutateCampaignSharedSets", in, out, opts...)
  377. if err != nil {
  378. return nil, err
  379. }
  380. return out, nil
  381. }
  382. // CampaignSharedSetServiceServer is the server API for CampaignSharedSetService service.
  383. type CampaignSharedSetServiceServer interface {
  384. // Returns the requested campaign shared set in full detail.
  385. GetCampaignSharedSet(context.Context, *GetCampaignSharedSetRequest) (*resources.CampaignSharedSet, error)
  386. // Creates or removes campaign shared sets. Operation statuses are returned.
  387. MutateCampaignSharedSets(context.Context, *MutateCampaignSharedSetsRequest) (*MutateCampaignSharedSetsResponse, error)
  388. }
  389. func RegisterCampaignSharedSetServiceServer(s *grpc.Server, srv CampaignSharedSetServiceServer) {
  390. s.RegisterService(&_CampaignSharedSetService_serviceDesc, srv)
  391. }
  392. func _CampaignSharedSetService_GetCampaignSharedSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  393. in := new(GetCampaignSharedSetRequest)
  394. if err := dec(in); err != nil {
  395. return nil, err
  396. }
  397. if interceptor == nil {
  398. return srv.(CampaignSharedSetServiceServer).GetCampaignSharedSet(ctx, in)
  399. }
  400. info := &grpc.UnaryServerInfo{
  401. Server: srv,
  402. FullMethod: "/google.ads.googleads.v0.services.CampaignSharedSetService/GetCampaignSharedSet",
  403. }
  404. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  405. return srv.(CampaignSharedSetServiceServer).GetCampaignSharedSet(ctx, req.(*GetCampaignSharedSetRequest))
  406. }
  407. return interceptor(ctx, in, info, handler)
  408. }
  409. func _CampaignSharedSetService_MutateCampaignSharedSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  410. in := new(MutateCampaignSharedSetsRequest)
  411. if err := dec(in); err != nil {
  412. return nil, err
  413. }
  414. if interceptor == nil {
  415. return srv.(CampaignSharedSetServiceServer).MutateCampaignSharedSets(ctx, in)
  416. }
  417. info := &grpc.UnaryServerInfo{
  418. Server: srv,
  419. FullMethod: "/google.ads.googleads.v0.services.CampaignSharedSetService/MutateCampaignSharedSets",
  420. }
  421. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  422. return srv.(CampaignSharedSetServiceServer).MutateCampaignSharedSets(ctx, req.(*MutateCampaignSharedSetsRequest))
  423. }
  424. return interceptor(ctx, in, info, handler)
  425. }
  426. var _CampaignSharedSetService_serviceDesc = grpc.ServiceDesc{
  427. ServiceName: "google.ads.googleads.v0.services.CampaignSharedSetService",
  428. HandlerType: (*CampaignSharedSetServiceServer)(nil),
  429. Methods: []grpc.MethodDesc{
  430. {
  431. MethodName: "GetCampaignSharedSet",
  432. Handler: _CampaignSharedSetService_GetCampaignSharedSet_Handler,
  433. },
  434. {
  435. MethodName: "MutateCampaignSharedSets",
  436. Handler: _CampaignSharedSetService_MutateCampaignSharedSets_Handler,
  437. },
  438. },
  439. Streams: []grpc.StreamDesc{},
  440. Metadata: "google/ads/googleads/v0/services/campaign_shared_set_service.proto",
  441. }
  442. func init() {
  443. proto.RegisterFile("google/ads/googleads/v0/services/campaign_shared_set_service.proto", fileDescriptor_campaign_shared_set_service_d31dba2bcb6adfd0)
  444. }
  445. var fileDescriptor_campaign_shared_set_service_d31dba2bcb6adfd0 = []byte{
  446. // 671 bytes of a gzipped FileDescriptorProto
  447. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x41, 0x6b, 0xd4, 0x4e,
  448. 0x14, 0xff, 0x67, 0xf7, 0x4f, 0xb5, 0xb3, 0x55, 0x61, 0x54, 0x0c, 0xab, 0xb5, 0x4b, 0x2c, 0x58,
  449. 0xf6, 0x90, 0x2c, 0x6b, 0x51, 0x48, 0x5b, 0x24, 0x51, 0xdb, 0x7a, 0xb0, 0x2d, 0x59, 0x58, 0x50,
  450. 0x16, 0xc2, 0x34, 0x99, 0xc6, 0x40, 0x92, 0x89, 0x33, 0x93, 0x95, 0x52, 0x7a, 0x11, 0xbf, 0x41,
  451. 0xbf, 0x81, 0x47, 0xbf, 0x87, 0x07, 0x3d, 0x78, 0xf1, 0x2b, 0xe8, 0xc5, 0x83, 0x9f, 0x41, 0x92,
  452. 0xc9, 0xa4, 0xad, 0xdb, 0x74, 0xa5, 0xde, 0x5e, 0xde, 0x7b, 0xf3, 0x7b, 0xef, 0x37, 0xbf, 0x37,
  453. 0x2f, 0xc0, 0x0e, 0x08, 0x09, 0x22, 0x6c, 0x20, 0x9f, 0x19, 0xc2, 0xcc, 0xad, 0x71, 0xcf, 0x60,
  454. 0x98, 0x8e, 0x43, 0x0f, 0x33, 0xc3, 0x43, 0x71, 0x8a, 0xc2, 0x20, 0x71, 0xd9, 0x6b, 0x44, 0xb1,
  455. 0xef, 0x32, 0xcc, 0xdd, 0x32, 0xa8, 0xa7, 0x94, 0x70, 0x02, 0x3b, 0xe2, 0xa0, 0x8e, 0x7c, 0xa6,
  456. 0x57, 0x18, 0xfa, 0xb8, 0xa7, 0x4b, 0x8c, 0xf6, 0x4a, 0x5d, 0x15, 0x8a, 0x19, 0xc9, 0x68, 0x4d,
  457. 0x19, 0x01, 0xdf, 0xbe, 0x23, 0x0f, 0xa7, 0xa1, 0x81, 0x92, 0x84, 0x70, 0xc4, 0x43, 0x92, 0xb0,
  458. 0x32, 0x7a, 0xb7, 0x8c, 0x16, 0x5f, 0xbb, 0xd9, 0x9e, 0xf1, 0x96, 0xa2, 0x34, 0xc5, 0x54, 0xc6,
  459. 0x6f, 0x95, 0x71, 0x9a, 0x7a, 0x06, 0xe3, 0x88, 0x67, 0x65, 0x40, 0xb3, 0xc1, 0xed, 0x0d, 0xcc,
  460. 0x9f, 0x94, 0x65, 0x07, 0x45, 0xd5, 0x01, 0xe6, 0x0e, 0x7e, 0x93, 0x61, 0xc6, 0xe1, 0x3d, 0x70,
  461. 0x45, 0x36, 0xe7, 0x26, 0x28, 0xc6, 0xaa, 0xd2, 0x51, 0x96, 0x66, 0x9d, 0x39, 0xe9, 0xdc, 0x42,
  462. 0x31, 0xd6, 0x7e, 0x29, 0x60, 0xe1, 0x45, 0xc6, 0x11, 0xc7, 0x13, 0x38, 0x4c, 0x02, 0x2d, 0x80,
  463. 0x96, 0x97, 0x31, 0x4e, 0x62, 0x4c, 0xdd, 0xd0, 0x2f, 0x61, 0x80, 0x74, 0x3d, 0xf7, 0xe1, 0x08,
  464. 0x00, 0x92, 0x62, 0x2a, 0x58, 0xa9, 0x8d, 0x4e, 0x73, 0xa9, 0xd5, 0x5f, 0xd5, 0xa7, 0xdd, 0xa9,
  465. 0x3e, 0x51, 0x71, 0x5b, 0x82, 0x38, 0x27, 0xf0, 0xe0, 0x7d, 0x70, 0x2d, 0x45, 0x94, 0x87, 0x28,
  466. 0x72, 0xf7, 0x50, 0x18, 0x65, 0x14, 0xab, 0xcd, 0x8e, 0xb2, 0x74, 0xd9, 0xb9, 0x5a, 0xba, 0xd7,
  467. 0x85, 0x37, 0x27, 0x3c, 0x46, 0x51, 0xe8, 0x23, 0x8e, 0x5d, 0x92, 0x44, 0xfb, 0xea, 0xff, 0x45,
  468. 0xda, 0x9c, 0x74, 0x6e, 0x27, 0xd1, 0xbe, 0x76, 0xa4, 0x80, 0x76, 0x7d, 0x61, 0xb8, 0x05, 0x66,
  469. 0x3c, 0x8a, 0x11, 0x17, 0xb7, 0xd5, 0xea, 0x2f, 0xd7, 0xd2, 0xa8, 0x84, 0x9f, 0xe4, 0xb1, 0xf9,
  470. 0x9f, 0x53, 0xa2, 0x40, 0x15, 0xcc, 0x50, 0x1c, 0x93, 0xb1, 0xe8, 0x79, 0x36, 0x8f, 0x88, 0x6f,
  471. 0xbb, 0x05, 0x66, 0x2b, 0x92, 0xda, 0x27, 0x05, 0x74, 0xea, 0x65, 0x60, 0x29, 0x49, 0x18, 0x86,
  472. 0xeb, 0xe0, 0xe6, 0x1f, 0x17, 0xe1, 0x62, 0x4a, 0x09, 0x2d, 0xa0, 0x5b, 0x7d, 0x28, 0x5b, 0xa5,
  473. 0xa9, 0xa7, 0x0f, 0x8a, 0x41, 0x71, 0xae, 0x9f, 0xbe, 0xa2, 0x67, 0x79, 0x3a, 0x7c, 0x09, 0x2e,
  474. 0x51, 0xcc, 0xb2, 0x88, 0x4b, 0xad, 0x1e, 0x4f, 0xd7, 0xaa, 0xa6, 0x39, 0xa7, 0xc0, 0x71, 0x24,
  475. 0x9e, 0xf6, 0x14, 0xcc, 0x9f, 0x9b, 0xf9, 0x57, 0x43, 0xd9, 0xff, 0xda, 0x04, 0xea, 0x04, 0xc0,
  476. 0x40, 0xb4, 0x02, 0x3f, 0x2b, 0xe0, 0xc6, 0x59, 0x63, 0x0f, 0xd7, 0xa6, 0xb3, 0x38, 0xe7, 0xb9,
  477. 0xb4, 0x2f, 0xa4, 0xb4, 0xb6, 0xfa, 0xee, 0xdb, 0xf7, 0xa3, 0xc6, 0x43, 0xb8, 0x9c, 0xef, 0x82,
  478. 0x83, 0x53, 0xd4, 0xd6, 0xe4, 0x0b, 0x61, 0x46, 0xb7, 0x5a, 0x0e, 0xc7, 0xb2, 0x1a, 0xdd, 0x43,
  479. 0xf8, 0x43, 0x01, 0x6a, 0x9d, 0xec, 0xd0, 0xba, 0xb0, 0x2a, 0xf2, 0xe5, 0xb6, 0xed, 0x7f, 0x81,
  480. 0x10, 0x53, 0xa7, 0xd9, 0x05, 0xc3, 0x55, 0xed, 0x51, 0xce, 0xf0, 0x98, 0xd2, 0xc1, 0x89, 0x95,
  481. 0xb0, 0xd6, 0x3d, 0x3c, 0x83, 0xa0, 0x19, 0x17, 0xd0, 0xa6, 0xd2, 0xb5, 0xdf, 0x37, 0xc0, 0xa2,
  482. 0x47, 0xe2, 0xa9, 0xdd, 0xd8, 0xf3, 0x75, 0xb2, 0xef, 0xe4, 0x1b, 0x6f, 0x47, 0x79, 0xb5, 0x59,
  483. 0x42, 0x04, 0x24, 0x42, 0x49, 0xa0, 0x13, 0x1a, 0x18, 0x01, 0x4e, 0x8a, 0x7d, 0x28, 0xf7, 0x72,
  484. 0x1a, 0xb2, 0xfa, 0x9f, 0xc1, 0x8a, 0x34, 0x3e, 0x34, 0x9a, 0x1b, 0x96, 0xf5, 0xb1, 0xd1, 0xd9,
  485. 0x10, 0x80, 0x96, 0xcf, 0x74, 0x61, 0xe6, 0xd6, 0xb0, 0xa7, 0x97, 0x85, 0xd9, 0x17, 0x99, 0x32,
  486. 0xb2, 0x7c, 0x36, 0xaa, 0x52, 0x46, 0xc3, 0xde, 0x48, 0xa6, 0xfc, 0x6c, 0x2c, 0x0a, 0xbf, 0x69,
  487. 0x5a, 0x3e, 0x33, 0xcd, 0x2a, 0xc9, 0x34, 0x87, 0x3d, 0xd3, 0x94, 0x69, 0xbb, 0x33, 0x45, 0x9f,
  488. 0x0f, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xba, 0x45, 0xfe, 0xa5, 0xb3, 0x06, 0x00, 0x00,
  489. }