| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/country_code_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 country code errors. |
| type CountryCodeErrorEnum_CountryCodeError int32 |
| |
| const ( |
| // Enum unspecified. |
| CountryCodeErrorEnum_UNSPECIFIED CountryCodeErrorEnum_CountryCodeError = 0 |
| // The received error code is not known in this version. |
| CountryCodeErrorEnum_UNKNOWN CountryCodeErrorEnum_CountryCodeError = 1 |
| // The country code is invalid. |
| CountryCodeErrorEnum_INVALID_COUNTRY_CODE CountryCodeErrorEnum_CountryCodeError = 2 |
| ) |
| |
| var CountryCodeErrorEnum_CountryCodeError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "INVALID_COUNTRY_CODE", |
| } |
| |
| var CountryCodeErrorEnum_CountryCodeError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "INVALID_COUNTRY_CODE": 2, |
| } |
| |
| func (x CountryCodeErrorEnum_CountryCodeError) String() string { |
| return proto.EnumName(CountryCodeErrorEnum_CountryCodeError_name, int32(x)) |
| } |
| |
| func (CountryCodeErrorEnum_CountryCodeError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_c64e23a252258a7c, []int{0, 0} |
| } |
| |
| // Container for enum describing country code errors. |
| type CountryCodeErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CountryCodeErrorEnum) Reset() { *m = CountryCodeErrorEnum{} } |
| func (m *CountryCodeErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*CountryCodeErrorEnum) ProtoMessage() {} |
| func (*CountryCodeErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c64e23a252258a7c, []int{0} |
| } |
| |
| func (m *CountryCodeErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CountryCodeErrorEnum.Unmarshal(m, b) |
| } |
| func (m *CountryCodeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CountryCodeErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (m *CountryCodeErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CountryCodeErrorEnum.Merge(m, src) |
| } |
| func (m *CountryCodeErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_CountryCodeErrorEnum.Size(m) |
| } |
| func (m *CountryCodeErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_CountryCodeErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CountryCodeErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.errors.CountryCodeErrorEnum_CountryCodeError", CountryCodeErrorEnum_CountryCodeError_name, CountryCodeErrorEnum_CountryCodeError_value) |
| proto.RegisterType((*CountryCodeErrorEnum)(nil), "google.ads.googleads.v3.errors.CountryCodeErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/country_code_error.proto", fileDescriptor_c64e23a252258a7c) |
| } |
| |
| var fileDescriptor_c64e23a252258a7c = []byte{ |
| // 307 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30,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