| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/invoice_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 invoice errors. |
| type InvoiceErrorEnum_InvoiceError int32 |
| |
| const ( |
| // Enum unspecified. |
| InvoiceErrorEnum_UNSPECIFIED InvoiceErrorEnum_InvoiceError = 0 |
| // The received error code is not known in this version. |
| InvoiceErrorEnum_UNKNOWN InvoiceErrorEnum_InvoiceError = 1 |
| // Cannot request invoices issued before 2019-01-01. |
| InvoiceErrorEnum_YEAR_MONTH_TOO_OLD InvoiceErrorEnum_InvoiceError = 2 |
| // Cannot request invoices for customer who doesn't receive invoices. |
| InvoiceErrorEnum_NOT_INVOICED_CUSTOMER InvoiceErrorEnum_InvoiceError = 3 |
| ) |
| |
| var InvoiceErrorEnum_InvoiceError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "YEAR_MONTH_TOO_OLD", |
| 3: "NOT_INVOICED_CUSTOMER", |
| } |
| |
| var InvoiceErrorEnum_InvoiceError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "YEAR_MONTH_TOO_OLD": 2, |
| "NOT_INVOICED_CUSTOMER": 3, |
| } |
| |
| func (x InvoiceErrorEnum_InvoiceError) String() string { |
| return proto.EnumName(InvoiceErrorEnum_InvoiceError_name, int32(x)) |
| } |
| |
| func (InvoiceErrorEnum_InvoiceError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_971f5ea52cc1e028, []int{0, 0} |
| } |
| |
| // Container for enum describing possible invoice errors. |
| type InvoiceErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *InvoiceErrorEnum) Reset() { *m = InvoiceErrorEnum{} } |
| func (m *InvoiceErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*InvoiceErrorEnum) ProtoMessage() {} |
| func (*InvoiceErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_971f5ea52cc1e028, []int{0} |
| } |
| |
| func (m *InvoiceErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_InvoiceErrorEnum.Unmarshal(m, b) |
| } |
| func (m *InvoiceErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_InvoiceErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (m *InvoiceErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_InvoiceErrorEnum.Merge(m, src) |
| } |
| func (m *InvoiceErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_InvoiceErrorEnum.Size(m) |
| } |
| func (m *InvoiceErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_InvoiceErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_InvoiceErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.errors.InvoiceErrorEnum_InvoiceError", InvoiceErrorEnum_InvoiceError_name, InvoiceErrorEnum_InvoiceError_value) |
| proto.RegisterType((*InvoiceErrorEnum)(nil), "google.ads.googleads.v3.errors.InvoiceErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/invoice_error.proto", fileDescriptor_971f5ea52cc1e028) |
| } |
| |
| var fileDescriptor_971f5ea52cc1e028 = []byte{ |
| // 318 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, |
| 0x1c, 0xc5, 0xbf, 0x75, 0xf0, 0x09, 0x99, 0x60, 0x2d, 0x28, 0x28, 0xb2, 0x8b, 0x3e, 0x40, 0x02, |
| 0xe6, 0x2e, 0x5e, 0x65, 0x6b, 0x9c, 0x45, 0x97, 0x8c, 0xad, 0xab, 0x28, 0x85, 0x50, 0xd7, 0x12, |
| 0x0a, 0x5b, 0x32, 0x9a, 0xb9, 0x07, 0xf2, 0xd2, 0x47, 0xf1, 0x51, 0xc4, 0x87, 0x90, 0x36, 0x6e, |
| 0xec, 0x46, 0xaf, 0x72, 0xf2, 0xe7, 0x77, 0x4e, 0x4e, 0xfe, 0xe0, 0x5a, 0x19, 0xa3, 0x96, 0x25, |
| 0xca, 0x0b, 0x8b, 0x9c, 0x6c, 0xd4, 0x16, 0xa3, 0xb2, 0xae, 0x4d, 0x6d, 0x51, 0xa5, 0xb7, 0xa6, |
| 0x5a, 0x94, 0xb2, 0xbd, 0xc2, 0x75, 0x6d, 0x36, 0x26, 0xe8, 0x3b, 0x10, 0xe6, 0x85, 0x85, 0x7b, |
| 0x0f, 0xdc, 0x62, 0xe8, 0x3c, 0x97, 0x57, 0xbb, 0xcc, 0x75, 0x85, 0x72, 0xad, 0xcd, 0x26, 0xdf, |
| 0x54, 0x46, 0x5b, 0xe7, 0x0e, 0x2d, 0xf0, 0x63, 0x17, 0xca, 0x1a, 0x9c, 0xe9, 0xd7, 0x55, 0x28, |
| 0xc1, 0xf1, 0xe1, 0x2c, 0x38, 0x01, 0xbd, 0x39, 0x9f, 0x4d, 0xd8, 0x30, 0xbe, 0x8d, 0x59, 0xe4, |
| 0xff, 0x0b, 0x7a, 0xe0, 0x68, 0xce, 0xef, 0xb9, 0x78, 0xe4, 0x7e, 0x27, 0x38, 0x07, 0xc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