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.
 
 
 

120 lines
5.8 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/language_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 language code errors.
  18. type LanguageCodeErrorEnum_LanguageCodeError int32
  19. const (
  20. // Enum unspecified.
  21. LanguageCodeErrorEnum_UNSPECIFIED LanguageCodeErrorEnum_LanguageCodeError = 0
  22. // The received error code is not known in this version.
  23. LanguageCodeErrorEnum_UNKNOWN LanguageCodeErrorEnum_LanguageCodeError = 1
  24. // The input language code is not recognized.
  25. LanguageCodeErrorEnum_LANGUAGE_CODE_NOT_FOUND LanguageCodeErrorEnum_LanguageCodeError = 2
  26. // The language is not allowed to use.
  27. LanguageCodeErrorEnum_INVALID_LANGUAGE_CODE LanguageCodeErrorEnum_LanguageCodeError = 3
  28. )
  29. var LanguageCodeErrorEnum_LanguageCodeError_name = map[int32]string{
  30. 0: "UNSPECIFIED",
  31. 1: "UNKNOWN",
  32. 2: "LANGUAGE_CODE_NOT_FOUND",
  33. 3: "INVALID_LANGUAGE_CODE",
  34. }
  35. var LanguageCodeErrorEnum_LanguageCodeError_value = map[string]int32{
  36. "UNSPECIFIED": 0,
  37. "UNKNOWN": 1,
  38. "LANGUAGE_CODE_NOT_FOUND": 2,
  39. "INVALID_LANGUAGE_CODE": 3,
  40. }
  41. func (x LanguageCodeErrorEnum_LanguageCodeError) String() string {
  42. return proto.EnumName(LanguageCodeErrorEnum_LanguageCodeError_name, int32(x))
  43. }
  44. func (LanguageCodeErrorEnum_LanguageCodeError) EnumDescriptor() ([]byte, []int) {
  45. return fileDescriptor_language_code_error_b1c44d8be8fc9561, []int{0, 0}
  46. }
  47. // Container for enum describing language code errors.
  48. type LanguageCodeErrorEnum struct {
  49. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  50. XXX_unrecognized []byte `json:"-"`
  51. XXX_sizecache int32 `json:"-"`
  52. }
  53. func (m *LanguageCodeErrorEnum) Reset() { *m = LanguageCodeErrorEnum{} }
  54. func (m *LanguageCodeErrorEnum) String() string { return proto.CompactTextString(m) }
  55. func (*LanguageCodeErrorEnum) ProtoMessage() {}
  56. func (*LanguageCodeErrorEnum) Descriptor() ([]byte, []int) {
  57. return fileDescriptor_language_code_error_b1c44d8be8fc9561, []int{0}
  58. }
  59. func (m *LanguageCodeErrorEnum) XXX_Unmarshal(b []byte) error {
  60. return xxx_messageInfo_LanguageCodeErrorEnum.Unmarshal(m, b)
  61. }
  62. func (m *LanguageCodeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  63. return xxx_messageInfo_LanguageCodeErrorEnum.Marshal(b, m, deterministic)
  64. }
  65. func (dst *LanguageCodeErrorEnum) XXX_Merge(src proto.Message) {
  66. xxx_messageInfo_LanguageCodeErrorEnum.Merge(dst, src)
  67. }
  68. func (m *LanguageCodeErrorEnum) XXX_Size() int {
  69. return xxx_messageInfo_LanguageCodeErrorEnum.Size(m)
  70. }
  71. func (m *LanguageCodeErrorEnum) XXX_DiscardUnknown() {
  72. xxx_messageInfo_LanguageCodeErrorEnum.DiscardUnknown(m)
  73. }
  74. var xxx_messageInfo_LanguageCodeErrorEnum proto.InternalMessageInfo
  75. func init() {
  76. proto.RegisterType((*LanguageCodeErrorEnum)(nil), "google.ads.googleads.v1.errors.LanguageCodeErrorEnum")
  77. proto.RegisterEnum("google.ads.googleads.v1.errors.LanguageCodeErrorEnum_LanguageCodeError", LanguageCodeErrorEnum_LanguageCodeError_name, LanguageCodeErrorEnum_LanguageCodeError_value)
  78. }
  79. func init() {
  80. proto.RegisterFile("google/ads/googleads/v1/errors/language_code_error.proto", fileDescriptor_language_code_error_b1c44d8be8fc9561)
  81. }
  82. var fileDescriptor_language_code_error_b1c44d8be8fc9561 = []byte{
  83. // 325 bytes of a gzipped FileDescriptorProto
  84. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4a, 0xc3, 0x40,
  85. 0x14, 0xc6, 0x4d, 0x0a, 0x0a, 0xd3, 0x85, 0x31, 0x50, 0xc5, 0x3f, 0x74, 0x91, 0x03, 0x4c, 0x08,
  86. 0x6e, 0x64, 0x5c, 0x4d, 0x9b, 0x34, 0x04, 0xcb, 0xa4, 0xa0, 0x89, 0x20, 0x81, 0x10, 0x3b, 0x61,
  87. 0x08, 0xb4, 0xf3, 0x4a, 0xa6, 0xed, 0x01, 0x3c, 0x8a, 0x4b, 0x8f, 0xe2, 0x51, 0xdc, 0x79, 0x03,
  88. 0x49, 0xa6, 0x0d, 0x48, 0xd1, 0x55, 0x3e, 0x5e, 0x7e, 0xdf, 0x9b, 0xf7, 0x7d, 0xe8, 0x4e, 0x00,
  89. 0x88, 0x45, 0xe9, 0x16, 0x5c, 0xb9, 0x5a, 0x36, 0x6a, 0xeb, 0xb9, 0x65, 0x5d, 0x43, 0xad, 0xdc,
  90. 0x45, 0x21, 0xc5, 0xa6, 0x10, 0x65, 0x3e, 0x07, 0x5e, 0xe6, 0xed, 0x10, 0xaf, 0x6a, 0x58, 0x83,
  91. 0x3d, 0xd4, 0x38, 0x2e, 0xb8, 0xc2, 0x9d, 0x13, 0x6f, 0x3d, 0xac, 0x9d, 0x57, 0x37, 0xfb, 0xcd,
  92. 0xab, 0xca, 0x2d, 0xa4, 0x84, 0x75, 0xb1, 0xae, 0x40, 0x2a, 0xed, 0x76, 0xde, 0x0c, 0x34, 0x98,
  93. 0xee, 0x76, 0x8f, 0x81, 0x97, 0x41, 0x63, 0x0a, 0xe4, 0x66, 0xe9, 0x54, 0xe8, 0xec, 0xe0, 0x87,
  94. 0x7d, 0x8a, 0xfa, 0x09, 0x7b, 0x9c, 0x05, 0xe3, 0x68, 0x12, 0x05, 0xbe, 0x75, 0x64, 0xf7, 0xd1,
  95. 0x49, 0xc2, 0x1e, 0x58, 0xfc, 0xcc, 0x2c, 0xc3, 0xbe, 0x46, 0x17, 0x53, 0xca, 0xc2, 0x84, 0x86,
  96. 0x41, 0x3e, 0x8e, 0xfd, 0x20, 0x67, 0xf1, 0x53, 0x3e, 0x89, 0x13, 0xe6, 0x5b, 0xa6, 0x7d, 0x89,
  97. 0x06, 0x11, 0x4b, 0xe9, 0x34, 0xf2, 0xf3, 0x5f, 0x90, 0xd5, 0x1b, 0x7d, 0x1b, 0xc8, 0x99, 0xc3,
  98. 0x12, 0xff, 0x9f, 0x64, 0x74, 0x7e, 0x70, 0xcf, 0xac, 0xc9, 0x30, 0x33, 0x5e, 0xfc, 0x9d, 0x53,
  99. 0x40, 0xd3, 0x13, 0x86, 0x5a, 0xb8, 0xa2, 0x94, 0x6d, 0xc2, 0x7d, 0x9b, 0xab, 0x4a, 0xfd, 0x55,
  100. 0xee, 0xbd, 0xfe, 0xbc, 0x9b, 0xbd, 0x90, 0xd2, 0x0f, 0x73, 0x18, 0xea, 0x65, 0x94, 0x2b, 0xac,
  101. 0x65, 0xa3, 0x52, 0x0f, 0xb7, 0x4f, 0xaa, 0xcf, 0x3d, 0x90, 0x51, 0xae, 0xb2, 0x0e, 0xc8, 0x52,
  102. 0x2f, 0xd3, 0xc0, 0x97, 0xe9, 0xe8, 0x29, 0x21, 0x94, 0x2b, 0x42, 0x3a, 0x84, 0x90, 0xd4, 0x23,
  103. 0x44, 0x43, 0xaf, 0xc7, 0xed, 0x75, 0xb7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x48, 0xef, 0x6d,
  104. 0x3e, 0xf9, 0x01, 0x00, 0x00,
  105. }