Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

603 строки
28 KiB

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