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.
 
 
 

124 regels
5.8 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/errors/internal_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. // Enum describing possible internal errors.
  17. type InternalErrorEnum_InternalError int32
  18. const (
  19. // Enum unspecified.
  20. InternalErrorEnum_UNSPECIFIED InternalErrorEnum_InternalError = 0
  21. // The received error code is not known in this version.
  22. InternalErrorEnum_UNKNOWN InternalErrorEnum_InternalError = 1
  23. // Google Ads API encountered unexpected internal error.
  24. InternalErrorEnum_INTERNAL_ERROR InternalErrorEnum_InternalError = 2
  25. // The intended error code doesn't exist in any API version. This will be
  26. // fixed by adding a new error code as soon as possible.
  27. InternalErrorEnum_ERROR_CODE_NOT_PUBLISHED InternalErrorEnum_InternalError = 3
  28. // Google Ads API encountered an unexpected transient error. The user
  29. // should retry their request in these cases.
  30. InternalErrorEnum_TRANSIENT_ERROR InternalErrorEnum_InternalError = 4
  31. )
  32. var InternalErrorEnum_InternalError_name = map[int32]string{
  33. 0: "UNSPECIFIED",
  34. 1: "UNKNOWN",
  35. 2: "INTERNAL_ERROR",
  36. 3: "ERROR_CODE_NOT_PUBLISHED",
  37. 4: "TRANSIENT_ERROR",
  38. }
  39. var InternalErrorEnum_InternalError_value = map[string]int32{
  40. "UNSPECIFIED": 0,
  41. "UNKNOWN": 1,
  42. "INTERNAL_ERROR": 2,
  43. "ERROR_CODE_NOT_PUBLISHED": 3,
  44. "TRANSIENT_ERROR": 4,
  45. }
  46. func (x InternalErrorEnum_InternalError) String() string {
  47. return proto.EnumName(InternalErrorEnum_InternalError_name, int32(x))
  48. }
  49. func (InternalErrorEnum_InternalError) EnumDescriptor() ([]byte, []int) {
  50. return fileDescriptor_internal_error_973997f4b95955bf, []int{0, 0}
  51. }
  52. // Container for enum describing possible internal errors.
  53. type InternalErrorEnum struct {
  54. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  55. XXX_unrecognized []byte `json:"-"`
  56. XXX_sizecache int32 `json:"-"`
  57. }
  58. func (m *InternalErrorEnum) Reset() { *m = InternalErrorEnum{} }
  59. func (m *InternalErrorEnum) String() string { return proto.CompactTextString(m) }
  60. func (*InternalErrorEnum) ProtoMessage() {}
  61. func (*InternalErrorEnum) Descriptor() ([]byte, []int) {
  62. return fileDescriptor_internal_error_973997f4b95955bf, []int{0}
  63. }
  64. func (m *InternalErrorEnum) XXX_Unmarshal(b []byte) error {
  65. return xxx_messageInfo_InternalErrorEnum.Unmarshal(m, b)
  66. }
  67. func (m *InternalErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  68. return xxx_messageInfo_InternalErrorEnum.Marshal(b, m, deterministic)
  69. }
  70. func (dst *InternalErrorEnum) XXX_Merge(src proto.Message) {
  71. xxx_messageInfo_InternalErrorEnum.Merge(dst, src)
  72. }
  73. func (m *InternalErrorEnum) XXX_Size() int {
  74. return xxx_messageInfo_InternalErrorEnum.Size(m)
  75. }
  76. func (m *InternalErrorEnum) XXX_DiscardUnknown() {
  77. xxx_messageInfo_InternalErrorEnum.DiscardUnknown(m)
  78. }
  79. var xxx_messageInfo_InternalErrorEnum proto.InternalMessageInfo
  80. func init() {
  81. proto.RegisterType((*InternalErrorEnum)(nil), "google.ads.googleads.v0.errors.InternalErrorEnum")
  82. proto.RegisterEnum("google.ads.googleads.v0.errors.InternalErrorEnum_InternalError", InternalErrorEnum_InternalError_name, InternalErrorEnum_InternalError_value)
  83. }
  84. func init() {
  85. proto.RegisterFile("google/ads/googleads/v0/errors/internal_error.proto", fileDescriptor_internal_error_973997f4b95955bf)
  86. }
  87. var fileDescriptor_internal_error_973997f4b95955bf = []byte{
  88. // 314 bytes of a gzipped FileDescriptorProto
  89. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30,
  90. 0x00, 0x86, 0x6d, 0x27, 0x0a, 0x19, 0xba, 0x1a, 0x2f, 0x1e, 0x64, 0x87, 0x3e, 0x40, 0x5a, 0xd8,
  91. 0x2d, 0x9e, 0xb2, 0x35, 0xce, 0xe0, 0x48, 0x4b, 0xd7, 0x4d, 0x90, 0x42, 0xa9, 0xb6, 0x84, 0xc1,
  92. 0xd6, 0x8c, 0x64, 0xee, 0x1d, 0x7c, 0x0d, 0x8f, 0x3e, 0x8a, 0x8f, 0x22, 0xf8, 0x0e, 0xd2, 0xa6,
  93. 0x2b, 0xec, 0xa0, 0xa7, 0xfe, 0xfd, 0xf9, 0xfe, 0xe4, 0xcf, 0x0f, 0x46, 0x42, 0x4a, 0xb1, 0x2e,
  94. 0xbd, 0xbc, 0xd0, 0x9e, 0x91, 0xb5, 0xda, 0xfb, 0x5e, 0xa9, 0x94, 0x54, 0xda, 0x5b, 0x55, 0xbb,
  95. 0x52, 0x55, 0xf9, 0x3a, 0x6b, 0xfe, 0xd1, 0x56, 0xc9, 0x9d, 0x84, 0x43, 0x43, 0xa2, 0xbc, 0xd0,
  96. 0xa8, 0x0b, 0xa1, 0xbd, 0x8f, 0x4c, 0xc8, 0x7d, 0xb7, 0xc0, 0x15, 0x6b, 0x83, 0xb4, 0xb6, 0x68,
  97. 0xf5, 0xb6, 0x71, 0x77, 0xe0, 0xe2, 0xc8, 0x84, 0x03, 0xd0, 0x5f, 0xf0, 0x79, 0x44, 0x27, 0xec,
  98. 0x9e, 0xd1, 0xc0, 0x39, 0x81, 0x7d, 0x70, 0xbe, 0xe0, 0x8f, 0x3c, 0x7c, 0xe2, 0x8e, 0x05, 0x21,
  99. 0xb8, 0x64, 0x3c, 0xa1, 0x31, 0x27, 0xb3, 0x8c, 0xc6, 0x71, 0x18, 0x3b, 0x36, 0xbc, 0x05, 0x37,
  100. 0x8d, 0xcc, 0x26, 0x61, 0x40, 0x33, 0x1e, 0x26, 0x59, 0xb4, 0x18, 0xcf, 0xd8, 0xfc, 0x81, 0x06,
  101. 0x4e, 0x0f, 0x5e, 0x83, 0x41, 0x12, 0x13, 0x3e, 0x67, 0x94, 0x27, 0x6d, 0xe4, 0x74, 0xfc, 0x63,
  102. 0x01, 0xf7, 0x55, 0x6e, 0xd0, 0xff, 0x95, 0xc7, 0xf0, 0xa8, 0x5a, 0x54, 0x3f, 0x33, 0xb2, 0x9e,
  103. 0x83, 0x36, 0x25, 0xe4, 0x3a, 0xaf, 0x04, 0x92, 0x4a, 0x78, 0xa2, 0xac, 0x9a, 0x11, 0x0e, 0x6b,
  104. 0x6d, 0x57, 0xfa, 0xaf, 0xf1, 0xee, 0xcc, 0xe7, 0xc3, 0xee, 0x4d, 0x09, 0xf9, 0xb4, 0x87, 0x53,
  105. 0x73, 0x18, 0x29, 0x34, 0x32, 0xb2, 0x56, 0x4b, 0x1f, 0x35, 0x57, 0xea, 0xaf, 0x03, 0x90, 0x92,
  106. 0x42, 0xa7, 0x1d, 0x90, 0x2e, 0xfd, 0xd4, 0x00, 0xdf, 0xb6, 0x6b, 0x5c, 0x8c, 0x49, 0xa1, 0x31,
  107. 0xee, 0x10, 0x8c, 0x97, 0x3e, 0xc6, 0x06, 0x7a, 0x39, 0x6b, 0xda, 0x8d, 0x7e, 0x03, 0x00, 0x00,
  108. 0xff, 0xff, 0x19, 0xd6, 0x35, 0x54, 0xd9, 0x01, 0x00, 0x00,
  109. }