blob: fcb68510fbb1f01930ec416b06892f955757e206 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/date_error.proto
package errors
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Enum describing possible date errors.
type DateErrorEnum_DateError int32
const (
// Enum unspecified.
DateErrorEnum_UNSPECIFIED DateErrorEnum_DateError = 0
// The received error code is not known in this version.
DateErrorEnum_UNKNOWN DateErrorEnum_DateError = 1
// Given field values do not correspond to a valid date.
DateErrorEnum_INVALID_FIELD_VALUES_IN_DATE DateErrorEnum_DateError = 2
// Given field values do not correspond to a valid date time.
DateErrorEnum_INVALID_FIELD_VALUES_IN_DATE_TIME DateErrorEnum_DateError = 3
// The string date's format should be yyyy-mm-dd.
DateErrorEnum_INVALID_STRING_DATE DateErrorEnum_DateError = 4
// The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss.
DateErrorEnum_INVALID_STRING_DATE_TIME_MICROS DateErrorEnum_DateError = 6
// The string date time's format should be yyyy-mm-dd hh:mm:ss.
DateErrorEnum_INVALID_STRING_DATE_TIME_SECONDS DateErrorEnum_DateError = 11
// The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm.
DateErrorEnum_INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET DateErrorEnum_DateError = 12
// Date is before allowed minimum.
DateErrorEnum_EARLIER_THAN_MINIMUM_DATE DateErrorEnum_DateError = 7
// Date is after allowed maximum.
DateErrorEnum_LATER_THAN_MAXIMUM_DATE DateErrorEnum_DateError = 8
// Date range bounds are not in order.
DateErrorEnum_DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE DateErrorEnum_DateError = 9
// Both dates in range are null.
DateErrorEnum_DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL DateErrorEnum_DateError = 10
)
var DateErrorEnum_DateError_name = map[int32]string{
0: "UNSPECIFIED",
1: "UNKNOWN",
2: "INVALID_FIELD_VALUES_IN_DATE",
3: "INVALID_FIELD_VALUES_IN_DATE_TIME",
4: "INVALID_STRING_DATE",
6: "INVALID_STRING_DATE_TIME_MICROS",
11: "INVALID_STRING_DATE_TIME_SECONDS",
12: "INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET",
7: "EARLIER_THAN_MINIMUM_DATE",
8: "LATER_THAN_MAXIMUM_DATE",
9: "DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE",
10: "DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL",
}
var DateErrorEnum_DateError_value = map[string]int32{
"UNSPECIFIED": 0,
"UNKNOWN": 1,
"INVALID_FIELD_VALUES_IN_DATE": 2,
"INVALID_FIELD_VALUES_IN_DATE_TIME": 3,
"INVALID_STRING_DATE": 4,
"INVALID_STRING_DATE_TIME_MICROS": 6,
"INVALID_STRING_DATE_TIME_SECONDS": 11,
"INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET": 12,
"EARLIER_THAN_MINIMUM_DATE": 7,
"LATER_THAN_MAXIMUM_DATE": 8,
"DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE": 9,
"DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL": 10,
}
func (x DateErrorEnum_DateError) String() string {
return proto.EnumName(DateErrorEnum_DateError_name, int32(x))
}
func (DateErrorEnum_DateError) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_81086e3ecaa52885, []int{0, 0}
}
// Container for enum describing possible date errors.
type DateErrorEnum struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DateErrorEnum) Reset() { *m = DateErrorEnum{} }
func (m *DateErrorEnum) String() string { return proto.CompactTextString(m) }
func (*DateErrorEnum) ProtoMessage() {}
func (*DateErrorEnum) Descriptor() ([]byte, []int) {
return fileDescriptor_81086e3ecaa52885, []int{0}
}
func (m *DateErrorEnum) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DateErrorEnum.Unmarshal(m, b)
}
func (m *DateErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DateErrorEnum.Marshal(b, m, deterministic)
}
func (m *DateErrorEnum) XXX_Merge(src proto.Message) {
xxx_messageInfo_DateErrorEnum.Merge(m, src)
}
func (m *DateErrorEnum) XXX_Size() int {
return xxx_messageInfo_DateErrorEnum.Size(m)
}
func (m *DateErrorEnum) XXX_DiscardUnknown() {
xxx_messageInfo_DateErrorEnum.DiscardUnknown(m)
}
var xxx_messageInfo_DateErrorEnum proto.InternalMessageInfo
func init() {
proto.RegisterEnum("google.ads.googleads.v3.errors.DateErrorEnum_DateError", DateErrorEnum_DateError_name, DateErrorEnum_DateError_value)
proto.RegisterType((*DateErrorEnum)(nil), "google.ads.googleads.v3.errors.DateErrorEnum")
}
func init() {
proto.RegisterFile("google/ads/googleads/v3/errors/date_error.proto", fileDescriptor_81086e3ecaa52885)
}
var fileDescriptor_81086e3ecaa52885 = []byte{
// 446 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0x6f, 0xd3, 0x30,
0x18, 0xc6, 0x69, 0x8b, 0x36, 0xf6, 0x96, 0x3f, 0x91, 0x39, 0x4c, 0xc0, 0x18, 0xa3, 0xc0, 0x0d,
0x39, 0x88, 0xdc, 0xc2, 0xc9, 0x6d, 0xdc, 0xd6, 0x22, 0x71, 0xaa, 0xc4, 0xc9, 0x10, 0xaa, 0x64,
0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