Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

121 linhas
5.6 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/errors/customer_error.proto
  3. package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // Set of errors that are related to requests dealing with Customer.
  17. // Next id: 26
  18. type CustomerErrorEnum_CustomerError int32
  19. const (
  20. // Enum unspecified.
  21. CustomerErrorEnum_UNSPECIFIED CustomerErrorEnum_CustomerError = 0
  22. // The received error code is not known in this version.
  23. CustomerErrorEnum_UNKNOWN CustomerErrorEnum_CustomerError = 1
  24. // Customer status is not allowed to be changed from DRAFT and CLOSED.
  25. // Currency code and at least one of country code and time zone needs to be
  26. // set when status is changed to ENABLED.
  27. CustomerErrorEnum_STATUS_CHANGE_DISALLOWED CustomerErrorEnum_CustomerError = 2
  28. // CustomerService cannot get a customer that has not been fully set up.
  29. CustomerErrorEnum_ACCOUNT_NOT_SET_UP CustomerErrorEnum_CustomerError = 3
  30. )
  31. var CustomerErrorEnum_CustomerError_name = map[int32]string{
  32. 0: "UNSPECIFIED",
  33. 1: "UNKNOWN",
  34. 2: "STATUS_CHANGE_DISALLOWED",
  35. 3: "ACCOUNT_NOT_SET_UP",
  36. }
  37. var CustomerErrorEnum_CustomerError_value = map[string]int32{
  38. "UNSPECIFIED": 0,
  39. "UNKNOWN": 1,
  40. "STATUS_CHANGE_DISALLOWED": 2,
  41. "ACCOUNT_NOT_SET_UP": 3,
  42. }
  43. func (x CustomerErrorEnum_CustomerError) String() string {
  44. return proto.EnumName(CustomerErrorEnum_CustomerError_name, int32(x))
  45. }
  46. func (CustomerErrorEnum_CustomerError) EnumDescriptor() ([]byte, []int) {
  47. return fileDescriptor_customer_error_d77fbc4b55196b7d, []int{0, 0}
  48. }
  49. // Container for enum describing possible customer errors.
  50. type CustomerErrorEnum struct {
  51. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  52. XXX_unrecognized []byte `json:"-"`
  53. XXX_sizecache int32 `json:"-"`
  54. }
  55. func (m *CustomerErrorEnum) Reset() { *m = CustomerErrorEnum{} }
  56. func (m *CustomerErrorEnum) String() string { return proto.CompactTextString(m) }
  57. func (*CustomerErrorEnum) ProtoMessage() {}
  58. func (*CustomerErrorEnum) Descriptor() ([]byte, []int) {
  59. return fileDescriptor_customer_error_d77fbc4b55196b7d, []int{0}
  60. }
  61. func (m *CustomerErrorEnum) XXX_Unmarshal(b []byte) error {
  62. return xxx_messageInfo_CustomerErrorEnum.Unmarshal(m, b)
  63. }
  64. func (m *CustomerErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  65. return xxx_messageInfo_CustomerErrorEnum.Marshal(b, m, deterministic)
  66. }
  67. func (dst *CustomerErrorEnum) XXX_Merge(src proto.Message) {
  68. xxx_messageInfo_CustomerErrorEnum.Merge(dst, src)
  69. }
  70. func (m *CustomerErrorEnum) XXX_Size() int {
  71. return xxx_messageInfo_CustomerErrorEnum.Size(m)
  72. }
  73. func (m *CustomerErrorEnum) XXX_DiscardUnknown() {
  74. xxx_messageInfo_CustomerErrorEnum.DiscardUnknown(m)
  75. }
  76. var xxx_messageInfo_CustomerErrorEnum proto.InternalMessageInfo
  77. func init() {
  78. proto.RegisterType((*CustomerErrorEnum)(nil), "google.ads.googleads.v0.errors.CustomerErrorEnum")
  79. proto.RegisterEnum("google.ads.googleads.v0.errors.CustomerErrorEnum_CustomerError", CustomerErrorEnum_CustomerError_name, CustomerErrorEnum_CustomerError_value)
  80. }
  81. func init() {
  82. proto.RegisterFile("google/ads/googleads/v0/errors/customer_error.proto", fileDescriptor_customer_error_d77fbc4b55196b7d)
  83. }
  84. var fileDescriptor_customer_error_d77fbc4b55196b7d = []byte{
  85. // 307 bytes of a gzipped FileDescriptorProto
  86. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xfb, 0x30,
  87. 0x1c, 0xc5, 0x7f, 0xeb, 0xe0, 0x27, 0x64, 0x88, 0x35, 0x17, 0xe2, 0x85, 0xec, 0xa2, 0x0f, 0x90,
  88. 0x16, 0x76, 0x17, 0xaf, 0xb2, 0x36, 0xce, 0xe1, 0x48, 0x0b, 0xfd, 0x33, 0x90, 0x42, 0xa8, 0x6d,
  89. 0x09, 0xc2, 0xda, 0x8c, 0x64, 0x1b, 0x3e, 0x8f, 0x97, 0x3e, 0x8a, 0x8f, 0x22, 0xf8, 0x0e, 0xd2,
  90. 0x66, 0x2b, 0xec, 0x42, 0xaf, 0x72, 0x72, 0xf8, 0x9c, 0xe4, 0x7c, 0xbf, 0x60, 0x26, 0xa4, 0x14,
  91. 0x9b, 0xda, 0x2d, 0x2a, 0xed, 0x1a, 0xd9, 0xa9, 0x83, 0xe7, 0xd6, 0x4a, 0x49, 0xa5, 0xdd, 0x72,
  92. 0xaf, 0x77, 0xb2, 0xa9, 0x15, 0xef, 0xef, 0x68, 0xab, 0xe4, 0x4e, 0xc2, 0xa9, 0x21, 0x51, 0x51,
  93. 0x69, 0x34, 0x84, 0xd0, 0xc1, 0x43, 0x26, 0xe4, 0xbc, 0x81, 0x6b, 0xff, 0x98, 0xa3, 0x9d, 0x43,
  94. 0xdb, 0x7d, 0xe3, 0x94, 0xe0, 0xf2, 0xcc, 0x84, 0x57, 0x60, 0x92, 0xb2, 0x38, 0xa2, 0xfe, 0xf2,
  95. 0x61, 0x49, 0x03, 0xfb, 0x1f, 0x9c, 0x80, 0x8b, 0x94, 0x3d, 0xb1, 0x70, 0xcd, 0xec, 0x11, 0xbc,
  96. 0x03, 0xb7, 0x71, 0x42, 0x92, 0x34, 0xe6, 0xfe, 0x23, 0x61, 0x0b, 0xca, 0x83, 0x65, 0x4c, 0x56,
  97. 0xab, 0x70, 0x4d, 0x03, 0xdb, 0x82, 0x37, 0x00, 0x12, 0xdf, 0x0f, 0x53, 0x96, 0x70, 0x16, 0x26,
  98. 0x3c, 0xa6, 0x09, 0x4f, 0x23, 0x7b, 0x3c, 0xff, 0x1e, 0x01, 0xa7, 0x94, 0x0d, 0xfa, 0xbb, 0xe0,
  99. 0x1c, 0x9e, 0x35, 0x89, 0xba, 0xa1, 0xa2, 0xd1, 0x73, 0x70, 0x4c, 0x09, 0xb9, 0x29, 0x5a, 0x81,
  100. 0xa4, 0x12, 0xae, 0xa8, 0xdb, 0x7e, 0xe4, 0xd3, 0x6e, 0xb6, 0xaf, 0xfa, 0xb7, 0x55, 0xdd, 0x9b,
  101. 0xe3, 0xdd, 0x1a, 0x2f, 0x08, 0xf9, 0xb0, 0xa6, 0x0b, 0xf3, 0x18, 0xa9, 0x34, 0x32, 0xb2, 0x53,
  102. 0x99, 0x87, 0xfa, 0x2f, 0xf5, 0xe7, 0x09, 0xc8, 0x49, 0xa5, 0xf3, 0x01, 0xc8, 0x33, 0x2f, 0x37,
  103. 0xc0, 0x97, 0xe5, 0x18, 0x17, 0x63, 0x52, 0x69, 0x8c, 0x07, 0x04, 0xe3, 0xcc, 0xc3, 0xd8, 0x40,
  104. 0x2f, 0xff, 0xfb, 0x76, 0xb3, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xb9, 0xcb, 0xa3, 0xc7,
  105. 0x01, 0x00, 0x00,
  106. }