|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/ads/googleads/v1/errors/date_range_error.proto
-
- package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v1/errors"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "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.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // Enum describing possible date range errors.
- type DateRangeErrorEnum_DateRangeError int32
-
- const (
- // Enum unspecified.
- DateRangeErrorEnum_UNSPECIFIED DateRangeErrorEnum_DateRangeError = 0
- // The received error code is not known in this version.
- DateRangeErrorEnum_UNKNOWN DateRangeErrorEnum_DateRangeError = 1
- // Invalid date.
- DateRangeErrorEnum_INVALID_DATE DateRangeErrorEnum_DateRangeError = 2
- // The start date was after the end date.
- DateRangeErrorEnum_START_DATE_AFTER_END_DATE DateRangeErrorEnum_DateRangeError = 3
- // Cannot set date to past time
- DateRangeErrorEnum_CANNOT_SET_DATE_TO_PAST DateRangeErrorEnum_DateRangeError = 4
- // A date was used that is past the system "last" date.
- DateRangeErrorEnum_AFTER_MAXIMUM_ALLOWABLE_DATE DateRangeErrorEnum_DateRangeError = 5
- // Trying to change start date on a campaign that has started.
- DateRangeErrorEnum_CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED DateRangeErrorEnum_DateRangeError = 6
- )
-
- var DateRangeErrorEnum_DateRangeError_name = map[int32]string{
- 0: "UNSPECIFIED",
- 1: "UNKNOWN",
- 2: "INVALID_DATE",
- 3: "START_DATE_AFTER_END_DATE",
- 4: "CANNOT_SET_DATE_TO_PAST",
- 5: "AFTER_MAXIMUM_ALLOWABLE_DATE",
- 6: "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED",
- }
- var DateRangeErrorEnum_DateRangeError_value = map[string]int32{
- "UNSPECIFIED": 0,
- "UNKNOWN": 1,
- "INVALID_DATE": 2,
- "START_DATE_AFTER_END_DATE": 3,
- "CANNOT_SET_DATE_TO_PAST": 4,
- "AFTER_MAXIMUM_ALLOWABLE_DATE": 5,
- "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED": 6,
- }
-
- func (x DateRangeErrorEnum_DateRangeError) String() string {
- return proto.EnumName(DateRangeErrorEnum_DateRangeError_name, int32(x))
- }
- func (DateRangeErrorEnum_DateRangeError) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_date_range_error_e9f9bd3a0926e1b8, []int{0, 0}
- }
-
- // Container for enum describing possible date range errors.
- type DateRangeErrorEnum struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *DateRangeErrorEnum) Reset() { *m = DateRangeErrorEnum{} }
- func (m *DateRangeErrorEnum) String() string { return proto.CompactTextString(m) }
- func (*DateRangeErrorEnum) ProtoMessage() {}
- func (*DateRangeErrorEnum) Descriptor() ([]byte, []int) {
- return fileDescriptor_date_range_error_e9f9bd3a0926e1b8, []int{0}
- }
- func (m *DateRangeErrorEnum) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DateRangeErrorEnum.Unmarshal(m, b)
- }
- func (m *DateRangeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DateRangeErrorEnum.Marshal(b, m, deterministic)
- }
- func (dst *DateRangeErrorEnum) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DateRangeErrorEnum.Merge(dst, src)
- }
- func (m *DateRangeErrorEnum) XXX_Size() int {
- return xxx_messageInfo_DateRangeErrorEnum.Size(m)
- }
- func (m *DateRangeErrorEnum) XXX_DiscardUnknown() {
- xxx_messageInfo_DateRangeErrorEnum.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_DateRangeErrorEnum proto.InternalMessageInfo
-
- func init() {
- proto.RegisterType((*DateRangeErrorEnum)(nil), "google.ads.googleads.v1.errors.DateRangeErrorEnum")
- proto.RegisterEnum("google.ads.googleads.v1.errors.DateRangeErrorEnum_DateRangeError", DateRangeErrorEnum_DateRangeError_name, DateRangeErrorEnum_DateRangeError_value)
- }
-
- func init() {
- proto.RegisterFile("google/ads/googleads/v1/errors/date_range_error.proto", fileDescriptor_date_range_error_e9f9bd3a0926e1b8)
- }
-
- var fileDescriptor_date_range_error_e9f9bd3a0926e1b8 = []byte{
- // 391 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x8e, 0x95, 0x30,
- 0x14, 0x86, 0xe5, 0x8e, 0x8e, 0x49, 0xc7, 0x28, 0xa9, 0x0b, 0xa3, 0x8e, 0x13, 0xc3, 0xd6, 0xa4,
- 0x84, 0x18, 0x37, 0x75, 0x75, 0xee, 0xb4, 0x4c, 0x88, 0x50, 0x08, 0x70, 0x19, 0x35, 0x24, 0x4d,
- 0x15, 0x42, 0x6e, 0x32, 0x43, 0x6f, 0x28, 0xce, 0x03, 0xb9, 0xf4, 0x51, 0xdc, 0xf8, 0x16, 0x2e,
- 0x5c, 0xf8, 0x0c, 0x06, 0xca, 0xbd, 0x71, 0x16, 0xba, 0xe2, 0xe7, 0xef, 0xff, 0x9d, 0xd3, 0x9e,
- 0x83, 0xde, 0x74, 0x5a, 0x77, 0x57, 0xad, 0xaf, 0x1a, 0xe3, 0x5b, 0x39, 0xa9, 0x9b, 0xc0, 0x6f,
- 0x87, 0x41, 0x0f, 0xc6, 0x6f, 0xd4, 0xd8, 0xca, 0x41, 0x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