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

114 строки
5.3 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/region_code_error.proto
  3. package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v1/errors"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Enum describing possible region code errors.
  18. type RegionCodeErrorEnum_RegionCodeError int32
  19. const (
  20. // Enum unspecified.
  21. RegionCodeErrorEnum_UNSPECIFIED RegionCodeErrorEnum_RegionCodeError = 0
  22. // The received error code is not known in this version.
  23. RegionCodeErrorEnum_UNKNOWN RegionCodeErrorEnum_RegionCodeError = 1
  24. // Invalid region code.
  25. RegionCodeErrorEnum_INVALID_REGION_CODE RegionCodeErrorEnum_RegionCodeError = 2
  26. )
  27. var RegionCodeErrorEnum_RegionCodeError_name = map[int32]string{
  28. 0: "UNSPECIFIED",
  29. 1: "UNKNOWN",
  30. 2: "INVALID_REGION_CODE",
  31. }
  32. var RegionCodeErrorEnum_RegionCodeError_value = map[string]int32{
  33. "UNSPECIFIED": 0,
  34. "UNKNOWN": 1,
  35. "INVALID_REGION_CODE": 2,
  36. }
  37. func (x RegionCodeErrorEnum_RegionCodeError) String() string {
  38. return proto.EnumName(RegionCodeErrorEnum_RegionCodeError_name, int32(x))
  39. }
  40. func (RegionCodeErrorEnum_RegionCodeError) EnumDescriptor() ([]byte, []int) {
  41. return fileDescriptor_region_code_error_e25640c2d60582c5, []int{0, 0}
  42. }
  43. // Container for enum describing possible region code errors.
  44. type RegionCodeErrorEnum struct {
  45. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  46. XXX_unrecognized []byte `json:"-"`
  47. XXX_sizecache int32 `json:"-"`
  48. }
  49. func (m *RegionCodeErrorEnum) Reset() { *m = RegionCodeErrorEnum{} }
  50. func (m *RegionCodeErrorEnum) String() string { return proto.CompactTextString(m) }
  51. func (*RegionCodeErrorEnum) ProtoMessage() {}
  52. func (*RegionCodeErrorEnum) Descriptor() ([]byte, []int) {
  53. return fileDescriptor_region_code_error_e25640c2d60582c5, []int{0}
  54. }
  55. func (m *RegionCodeErrorEnum) XXX_Unmarshal(b []byte) error {
  56. return xxx_messageInfo_RegionCodeErrorEnum.Unmarshal(m, b)
  57. }
  58. func (m *RegionCodeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  59. return xxx_messageInfo_RegionCodeErrorEnum.Marshal(b, m, deterministic)
  60. }
  61. func (dst *RegionCodeErrorEnum) XXX_Merge(src proto.Message) {
  62. xxx_messageInfo_RegionCodeErrorEnum.Merge(dst, src)
  63. }
  64. func (m *RegionCodeErrorEnum) XXX_Size() int {
  65. return xxx_messageInfo_RegionCodeErrorEnum.Size(m)
  66. }
  67. func (m *RegionCodeErrorEnum) XXX_DiscardUnknown() {
  68. xxx_messageInfo_RegionCodeErrorEnum.DiscardUnknown(m)
  69. }
  70. var xxx_messageInfo_RegionCodeErrorEnum proto.InternalMessageInfo
  71. func init() {
  72. proto.RegisterType((*RegionCodeErrorEnum)(nil), "google.ads.googleads.v1.errors.RegionCodeErrorEnum")
  73. proto.RegisterEnum("google.ads.googleads.v1.errors.RegionCodeErrorEnum_RegionCodeError", RegionCodeErrorEnum_RegionCodeError_name, RegionCodeErrorEnum_RegionCodeError_value)
  74. }
  75. func init() {
  76. proto.RegisterFile("google/ads/googleads/v1/errors/region_code_error.proto", fileDescriptor_region_code_error_e25640c2d60582c5)
  77. }
  78. var fileDescriptor_region_code_error_e25640c2d60582c5 = []byte{
  79. // 304 bytes of a gzipped FileDescriptorProto
  80. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30,
  81. 0x1c, 0xc5, 0xbf, 0xf5, 0x03, 0x85, 0xec, 0x62, 0xa3, 0x13, 0x04, 0x91, 0x5d, 0xf4, 0x01, 0x12,
  82. 0x8a, 0xe0, 0x45, 0xbc, 0xca, 0xd6, 0x38, 0x8b, 0x92, 0x8d, 0xc9, 0x2a, 0x48, 0xa1, 0xd4, 0x25,
  83. 0x84, 0xc2, 0x96, 0xff, 0x48, 0xe6, 0x1e, 0xc8, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0xc6, 0x57, 0x90,
  84. 0x36, 0xb6, 0x17, 0x03, 0xbd, 0xca, 0xe1, 0xf0, 0x3b, 0x27, 0x87, 0x3f, 0xba, 0xd6, 0x00, 0x7a,
  85. 0xa3, 0x48, 0x29, 0x1d, 0xf1, 0xb2, 0x56, 0x87, 0x98, 0x28, 0x6b, 0xc1, 0x3a, 0x62, 0x95, 0xae,
  86. 0xc0, 0x14, 0x6b, 0x90, 0xaa, 0x68, 0x2c, 0xbc, 0xb3, 0xb0, 0x87, 0x70, 0xec, 0x61, 0x5c, 0x4a,
  87. 0x87, 0xbb, 0x1c, 0x3e, 0xc4, 0xd8, 0xe7, 0x2e, 0x2e, 0xdb, 0xde, 0x5d, 0x45, 0x4a, 0x63, 0x60,
  88. 0x5f, 0xee, 0x2b, 0x30, 0xce, 0xa7, 0xa3, 0x02, 0x8d, 0x96, 0x4d, 0xf1, 0x14, 0xa4, 0xe2, 0x75,
  89. 0x82, 0x9b, 0xd7, 0x6d, 0x74, 0x87, 0x06, 0x47, 0x76, 0x38, 0x40, 0xfd, 0x95, 0x78, 0x5c, 0xf0,
  90. 0x69, 0x7a, 0x9b, 0xf2, 0x64, 0xf8, 0x2f, 0xec, 0xa3, 0xd3, 0x95, 0xb8, 0x17, 0xf3, 0x27, 0x31,
  91. 0xec, 0x85, 0xe7, 0x68, 0x94, 0x8a, 0x8c, 0x3d, 0xa4, 0x49, 0xb1, 0xe4, 0xb3, 0x74, 0x2e, 0x8a,
  92. 0xe9, 0x3c, 0xe1, 0xc3, 0x60, 0xf2, 0xd5, 0x43, 0xd1, 0x1a, 0xb6, 0xf8, 0xef, 0x95, 0x93, 0xb3,
  93. 0xa3, 0xef, 0x16, 0xf5, 0xba, 0x45, 0xef, 0x39, 0xf9, 0xc9, 0x69, 0xd8, 0x94, 0x46, 0x63, 0xb0,
  94. 0x9a, 0x68, 0x65, 0x9a, 0xed, 0xed, 0x95, 0x76, 0x95, 0xfb, 0xed, 0x68, 0x37, 0xfe, 0x79, 0x0b,
  95. 0xfe, 0xcf, 0x18, 0x7b, 0x0f, 0xc6, 0x33, 0x5f, 0xc6, 0xa4, 0xc3, 0x5e, 0xd6, 0x2a, 0x8b, 0x71,
  96. 0xf3, 0xa5, 0xfb, 0x68, 0x81, 0x9c, 0x49, 0x97, 0x77, 0x40, 0x9e, 0xc5, 0xb9, 0x07, 0x3e, 0x83,
  97. 0xc8, 0xbb, 0x94, 0x32, 0xe9, 0x28, 0xed, 0x10, 0x4a, 0xb3, 0x98, 0x52, 0x0f, 0xbd, 0x9c, 0x34,
  98. 0xeb, 0xae, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x2b, 0x1e, 0xbc, 0xd1, 0x01, 0x00, 0x00,
  99. }