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.
 
 
 

119 lines
5.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/string_length_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 string length errors.
  18. type StringLengthErrorEnum_StringLengthError int32
  19. const (
  20. // Enum unspecified.
  21. StringLengthErrorEnum_UNSPECIFIED StringLengthErrorEnum_StringLengthError = 0
  22. // The received error code is not known in this version.
  23. StringLengthErrorEnum_UNKNOWN StringLengthErrorEnum_StringLengthError = 1
  24. // Too short.
  25. StringLengthErrorEnum_TOO_SHORT StringLengthErrorEnum_StringLengthError = 2
  26. // Too long.
  27. StringLengthErrorEnum_TOO_LONG StringLengthErrorEnum_StringLengthError = 3
  28. )
  29. var StringLengthErrorEnum_StringLengthError_name = map[int32]string{
  30. 0: "UNSPECIFIED",
  31. 1: "UNKNOWN",
  32. 2: "TOO_SHORT",
  33. 3: "TOO_LONG",
  34. }
  35. var StringLengthErrorEnum_StringLengthError_value = map[string]int32{
  36. "UNSPECIFIED": 0,
  37. "UNKNOWN": 1,
  38. "TOO_SHORT": 2,
  39. "TOO_LONG": 3,
  40. }
  41. func (x StringLengthErrorEnum_StringLengthError) String() string {
  42. return proto.EnumName(StringLengthErrorEnum_StringLengthError_name, int32(x))
  43. }
  44. func (StringLengthErrorEnum_StringLengthError) EnumDescriptor() ([]byte, []int) {
  45. return fileDescriptor_string_length_error_e0580fd39f78f99f, []int{0, 0}
  46. }
  47. // Container for enum describing possible string length errors.
  48. type StringLengthErrorEnum struct {
  49. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  50. XXX_unrecognized []byte `json:"-"`
  51. XXX_sizecache int32 `json:"-"`
  52. }
  53. func (m *StringLengthErrorEnum) Reset() { *m = StringLengthErrorEnum{} }
  54. func (m *StringLengthErrorEnum) String() string { return proto.CompactTextString(m) }
  55. func (*StringLengthErrorEnum) ProtoMessage() {}
  56. func (*StringLengthErrorEnum) Descriptor() ([]byte, []int) {
  57. return fileDescriptor_string_length_error_e0580fd39f78f99f, []int{0}
  58. }
  59. func (m *StringLengthErrorEnum) XXX_Unmarshal(b []byte) error {
  60. return xxx_messageInfo_StringLengthErrorEnum.Unmarshal(m, b)
  61. }
  62. func (m *StringLengthErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  63. return xxx_messageInfo_StringLengthErrorEnum.Marshal(b, m, deterministic)
  64. }
  65. func (dst *StringLengthErrorEnum) XXX_Merge(src proto.Message) {
  66. xxx_messageInfo_StringLengthErrorEnum.Merge(dst, src)
  67. }
  68. func (m *StringLengthErrorEnum) XXX_Size() int {
  69. return xxx_messageInfo_StringLengthErrorEnum.Size(m)
  70. }
  71. func (m *StringLengthErrorEnum) XXX_DiscardUnknown() {
  72. xxx_messageInfo_StringLengthErrorEnum.DiscardUnknown(m)
  73. }
  74. var xxx_messageInfo_StringLengthErrorEnum proto.InternalMessageInfo
  75. func init() {
  76. proto.RegisterType((*StringLengthErrorEnum)(nil), "google.ads.googleads.v1.errors.StringLengthErrorEnum")
  77. proto.RegisterEnum("google.ads.googleads.v1.errors.StringLengthErrorEnum_StringLengthError", StringLengthErrorEnum_StringLengthError_name, StringLengthErrorEnum_StringLengthError_value)
  78. }
  79. func init() {
  80. proto.RegisterFile("google/ads/googleads/v1/errors/string_length_error.proto", fileDescriptor_string_length_error_e0580fd39f78f99f)
  81. }
  82. var fileDescriptor_string_length_error_e0580fd39f78f99f = []byte{
  83. // 309 bytes of a gzipped FileDescriptorProto
  84. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4e, 0x84, 0x30,
  85. 0x14, 0xc6, 0x85, 0x49, 0xfc, 0xd3, 0xd1, 0x88, 0x24, 0xba, 0x30, 0x66, 0x16, 0x1c, 0xa0, 0x0d,
  86. 0x71, 0x63, 0xea, 0x8a, 0x71, 0x10, 0x27, 0x4e, 0x0a, 0x91, 0x19, 0x4c, 0x0c, 0x09, 0x41, 0x21,
  87. 0x95, 0x84, 0x69, 0x49, 0x8b, 0x73, 0x20, 0x97, 0x1e, 0xc5, 0xa3, 0xb8, 0xf3, 0x06, 0x86, 0x56,
  88. 0xd8, 0x4c, 0x74, 0xd5, 0xaf, 0xaf, 0xbf, 0xef, 0x7b, 0xaf, 0x0f, 0x5c, 0x51, 0xce, 0x69, 0x5d,
  89. 0xa2, 0xbc, 0x90, 0x48, 0xcb, 0x4e, 0x6d, 0x5c, 0x54, 0x0a, 0xc1, 0x85, 0x44, 0xb2, 0x15, 0x15,
  90. 0xa3, 0x59, 0x5d, 0x32, 0xda, 0xbe, 0x66, 0xaa, 0x08, 0x1b, 0xc1, 0x5b, 0x6e, 0x4f, 0x34, 0x0e,
  91. 0xf3, 0x42, 0xc2, 0xc1, 0x09, 0x37, 0x2e, 0xd4, 0xce, 0xf3, 0x8b, 0x3e, 0xb9, 0xa9, 0x50, 0xce,
  92. 0x18, 0x6f, 0xf3, 0xb6, 0xe2, 0x4c, 0x6a, 0xb7, 0x43, 0xc1, 0x69, 0xac, 0xa2, 0x17, 0x2a, 0xd9,
  93. 0xef, 0x3c, 0x3e, 0x7b, 0x5b, 0x3b, 0x04, 0x9c, 0x6c, 0x3d, 0xd8, 0xc7, 0x60, 0xbc, 0x22, 0x71,
  94. 0xe4, 0xdf, 0xcc, 0x6f, 0xe7, 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