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.
 
 
 

152 lines
7.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/errors/date_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 date errors.
  17. type DateErrorEnum_DateError int32
  18. const (
  19. // Enum unspecified.
  20. DateErrorEnum_UNSPECIFIED DateErrorEnum_DateError = 0
  21. // The received error code is not known in this version.
  22. DateErrorEnum_UNKNOWN DateErrorEnum_DateError = 1
  23. // Given field values do not correspond to a valid date.
  24. DateErrorEnum_INVALID_FIELD_VALUES_IN_DATE DateErrorEnum_DateError = 2
  25. // Given field values do not correspond to a valid date time.
  26. DateErrorEnum_INVALID_FIELD_VALUES_IN_DATE_TIME DateErrorEnum_DateError = 3
  27. // The string date's format should be yyyy-mm-dd.
  28. DateErrorEnum_INVALID_STRING_DATE DateErrorEnum_DateError = 4
  29. // The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss.
  30. DateErrorEnum_INVALID_STRING_DATE_TIME_MICROS DateErrorEnum_DateError = 6
  31. // The string date time's format should be yyyy-mm-dd hh:mm:ss.
  32. DateErrorEnum_INVALID_STRING_DATE_TIME_SECONDS DateErrorEnum_DateError = 11
  33. // Date is before allowed minimum.
  34. DateErrorEnum_EARLIER_THAN_MINIMUM_DATE DateErrorEnum_DateError = 7
  35. // Date is after allowed maximum.
  36. DateErrorEnum_LATER_THAN_MAXIMUM_DATE DateErrorEnum_DateError = 8
  37. // Date range bounds are not in order.
  38. DateErrorEnum_DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE DateErrorEnum_DateError = 9
  39. // Both dates in range are null.
  40. DateErrorEnum_DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL DateErrorEnum_DateError = 10
  41. )
  42. var DateErrorEnum_DateError_name = map[int32]string{
  43. 0: "UNSPECIFIED",
  44. 1: "UNKNOWN",
  45. 2: "INVALID_FIELD_VALUES_IN_DATE",
  46. 3: "INVALID_FIELD_VALUES_IN_DATE_TIME",
  47. 4: "INVALID_STRING_DATE",
  48. 6: "INVALID_STRING_DATE_TIME_MICROS",
  49. 11: "INVALID_STRING_DATE_TIME_SECONDS",
  50. 7: "EARLIER_THAN_MINIMUM_DATE",
  51. 8: "LATER_THAN_MAXIMUM_DATE",
  52. 9: "DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE",
  53. 10: "DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL",
  54. }
  55. var DateErrorEnum_DateError_value = map[string]int32{
  56. "UNSPECIFIED": 0,
  57. "UNKNOWN": 1,
  58. "INVALID_FIELD_VALUES_IN_DATE": 2,
  59. "INVALID_FIELD_VALUES_IN_DATE_TIME": 3,
  60. "INVALID_STRING_DATE": 4,
  61. "INVALID_STRING_DATE_TIME_MICROS": 6,
  62. "INVALID_STRING_DATE_TIME_SECONDS": 11,
  63. "EARLIER_THAN_MINIMUM_DATE": 7,
  64. "LATER_THAN_MAXIMUM_DATE": 8,
  65. "DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE": 9,
  66. "DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL": 10,
  67. }
  68. func (x DateErrorEnum_DateError) String() string {
  69. return proto.EnumName(DateErrorEnum_DateError_name, int32(x))
  70. }
  71. func (DateErrorEnum_DateError) EnumDescriptor() ([]byte, []int) {
  72. return fileDescriptor_date_error_04d689f0bf984a6b, []int{0, 0}
  73. }
  74. // Container for enum describing possible date errors.
  75. type DateErrorEnum struct {
  76. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  77. XXX_unrecognized []byte `json:"-"`
  78. XXX_sizecache int32 `json:"-"`
  79. }
  80. func (m *DateErrorEnum) Reset() { *m = DateErrorEnum{} }
  81. func (m *DateErrorEnum) String() string { return proto.CompactTextString(m) }
  82. func (*DateErrorEnum) ProtoMessage() {}
  83. func (*DateErrorEnum) Descriptor() ([]byte, []int) {
  84. return fileDescriptor_date_error_04d689f0bf984a6b, []int{0}
  85. }
  86. func (m *DateErrorEnum) XXX_Unmarshal(b []byte) error {
  87. return xxx_messageInfo_DateErrorEnum.Unmarshal(m, b)
  88. }
  89. func (m *DateErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  90. return xxx_messageInfo_DateErrorEnum.Marshal(b, m, deterministic)
  91. }
  92. func (dst *DateErrorEnum) XXX_Merge(src proto.Message) {
  93. xxx_messageInfo_DateErrorEnum.Merge(dst, src)
  94. }
  95. func (m *DateErrorEnum) XXX_Size() int {
  96. return xxx_messageInfo_DateErrorEnum.Size(m)
  97. }
  98. func (m *DateErrorEnum) XXX_DiscardUnknown() {
  99. xxx_messageInfo_DateErrorEnum.DiscardUnknown(m)
  100. }
  101. var xxx_messageInfo_DateErrorEnum proto.InternalMessageInfo
  102. func init() {
  103. proto.RegisterType((*DateErrorEnum)(nil), "google.ads.googleads.v0.errors.DateErrorEnum")
  104. proto.RegisterEnum("google.ads.googleads.v0.errors.DateErrorEnum_DateError", DateErrorEnum_DateError_name, DateErrorEnum_DateError_value)
  105. }
  106. func init() {
  107. proto.RegisterFile("google/ads/googleads/v0/errors/date_error.proto", fileDescriptor_date_error_04d689f0bf984a6b)
  108. }
  109. var fileDescriptor_date_error_04d689f0bf984a6b = []byte{
  110. // 413 bytes of a gzipped FileDescriptorProto
  111. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdf, 0x6e, 0xd3, 0x30,
  112. 0x14, 0x87, 0x69, 0x8a, 0x36, 0x76, 0x2a, 0x20, 0x32, 0x17, 0x13, 0x02, 0xc6, 0x28, 0x70, 0xeb,
  113. 0x44, 0xec, 0xce, 0x5c, 0xb9, 0xb5, 0xd7, 0x59, 0x24, 0x4e, 0x95, 0x7f, 0x20, 0x14, 0xc9, 0x0a,
  114. 0x24, 0x8a, 0x90, 0xb6, 0x7a, 0x8a, 0xcb, 0xde, 0x82, 0x97, 0xe0, 0x92, 0x47, 0xe1, 0x4d, 0xe0,
  115. 0x15, 0xb8, 0x41, 0x89, 0xd7, 0x4c, 0x93, 0xd6, 0x5e, 0xe5, 0x17, 0x9f, 0xef, 0xf3, 0xb1, 0x74,
  116. 0x0e, 0x78, 0x8d, 0xd6, 0xcd, 0x79, 0xed, 0x95, 0x95, 0xb9, 0x8e, 0x5d, 0xba, 0xf2, 0xbd, 0xba,
  117. 0x6d, 0x75, 0x6b, 0xbc, 0xaa, 0x5c, 0xd7, 0xaa, 0xcf, 0xf8, 0xb2, 0xd5, 0x6b, 0x8d, 0x8e, 0x2c,
  118. 0x85, 0xcb, 0xca, 0xe0, 0x41, 0xc0, 0x57, 0x3e, 0xb6, 0xc2, 0xf4, 0xc7, 0x18, 0x1e, 0xb2, 0x72,
  119. 0x5d, 0xf3, 0xee, 0x97, 0xaf, 0xbe, 0x5f, 0x4c, 0xff, 0x39, 0x70, 0x30, 0x9c, 0xa0, 0xc7, 0x30,
  120. 0xc9, 0x64, 0xb2, 0xe4, 0x73, 0x71, 0x2a, 0x38, 0x73, 0xef, 0xa1, 0x09, 0xec, 0x67, 0xf2, 0x83,
  121. 0x8c, 0x3e, 0x4a, 0x77, 0x84, 0x8e, 0xe1, 0xb9, 0x90, 0x39, 0x0d, 0x04, 0x53, 0xa7, 0x82, 0x07,
  122. 0x4c, 0xe5, 0x34, 0xc8, 0x78, 0xa2, 0x84, 0x54, 0x8c, 0xa6, 0xdc, 0x75, 0xd0, 0x5b, 0x78, 0xb5,
  123. 0x8b, 0x50, 0xa9, 0x08, 0xb9, 0x3b, 0x46, 0x87, 0xf0, 0x64, 0x83, 0x25, 0x69, 0x2c, 0xe4, 0xc2,
  124. 0xfa, 0xf7, 0xd1, 0x6b, 0x78, 0x79, 0x47, 0xa1, 0xd7, 0x54, 0x28, 0xe6, 0x71, 0x94, 0xb8, 0x7b,
  125. 0xe8, 0x0d, 0x1c, 0x6f, 0x85, 0x12, 0x3e, 0x8f, 0x24, 0x4b, 0xdc, 0x09, 0x7a, 0x01, 0x4f, 0x39,
  126. 0x8d, 0x03, 0xc1, 0x63, 0x95, 0x9e, 0x51, 0xa9, 0x42, 0x21, 0x45, 0x98, 0x85, 0xb6, 0xd3, 0x3e,
  127. 0x7a, 0x06, 0x87, 0x01, 0x4d, 0x87, 0x22, 0xfd, 0x74, 0x53, 0x7c, 0x80, 0x4e, 0xc0, 0xeb, 0xaf,
  128. 0x8c, 0xa9, 0x5c, 0xf0, 0x5b, 0xa6, 0xda, 0x26, 0x1d, 0xa0, 0x77, 0x80, 0xef, 0x90, 0xa8, 0x64,
  129. 0xb7, 0xc0, 0x44, 0xcd, 0xa2, 0xf4, 0x4c, 0xc9, 0x2c, 0x08, 0x5c, 0x98, 0xfd, 0x19, 0xc1, 0xf4,
  130. 0xab, 0xbe, 0xc0, 0xbb, 0xc7, 0x36, 0x7b, 0x34, 0x4c, 0x68, 0xd9, 0x8d, 0x79, 0x39, 0xfa, 0xcc,
  131. 0xae, 0x8d, 0x46, 0x9f, 0x97, 0xab, 0x06, 0xeb, 0xb6, 0xf1, 0x9a, 0x7a, 0xd5, 0x2f, 0xc1, 0x66,
  132. 0x53, 0x2e, 0xbf, 0x99, 0x6d, 0x8b, 0xf3, 0xde, 0x7e, 0x7e, 0x3a, 0xe3, 0x05, 0xa5, 0xbf, 0x9c,
  133. 0xa3, 0x85, 0xbd, 0x8c, 0x56, 0x06, 0xdb, 0xd8, 0xa5, 0xdc, 0xc7, 0x7d, 0x4b, 0xf3, 0x7b, 0x03,
  134. 0x14, 0xb4, 0x32, 0xc5, 0x00, 0x14, 0xb9, 0x5f, 0x58, 0xe0, 0xaf, 0x33, 0xb5, 0xa7, 0x84, 0xd0,
  135. 0xca, 0x10, 0x32, 0x20, 0x84, 0xe4, 0x3e, 0x21, 0x16, 0xfa, 0xb2, 0xd7, 0xbf, 0xee, 0xe4, 0x7f,
  136. 0x00, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xe7, 0x23, 0x23, 0xd5, 0x02, 0x00, 0x00,
  137. }