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.
 
 
 

523 lines
24 KiB

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