| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/geo_target_constant_suggestion_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 geo target constant suggestion errors. |
| type GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError int32 |
| |
| const ( |
| // Enum unspecified. |
| GeoTargetConstantSuggestionErrorEnum_UNSPECIFIED GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 0 |
| // The received error code is not known in this version. |
| GeoTargetConstantSuggestionErrorEnum_UNKNOWN GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 1 |
| // A location name cannot be greater than 300 characters. |
| GeoTargetConstantSuggestionErrorEnum_LOCATION_NAME_SIZE_LIMIT GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 2 |
| // At most 25 location names can be specified in a SuggestGeoTargetConstants |
| // method. |
| GeoTargetConstantSuggestionErrorEnum_LOCATION_NAME_LIMIT GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 3 |
| // The country code is invalid. |
| GeoTargetConstantSuggestionErrorEnum_INVALID_COUNTRY_CODE GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 4 |
| // Geo target constant resource names or location names must be provided in |
| // the request. |
| GeoTargetConstantSuggestionErrorEnum_REQUEST_PARAMETERS_UNSET GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 5 |
| ) |
| |
| var GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "LOCATION_NAME_SIZE_LIMIT", |
| 3: "LOCATION_NAME_LIMIT", |
| 4: "INVALID_COUNTRY_CODE", |
| 5: "REQUEST_PARAMETERS_UNSET", |
| } |
| |
| var GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "LOCATION_NAME_SIZE_LIMIT": 2, |
| "LOCATION_NAME_LIMIT": 3, |
| "INVALID_COUNTRY_CODE": 4, |
| "REQUEST_PARAMETERS_UNSET": 5, |
| } |
| |
| func (x GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError) String() string { |
| return proto.EnumName(GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name, int32(x)) |
| } |
| |
| func (GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_15abcc5da870aafb, []int{0, 0} |
| } |
| |
| // Container for enum describing possible geo target constant suggestion errors. |
| type GeoTargetConstantSuggestionErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GeoTargetConstantSuggestionErrorEnum) Reset() { *m = GeoTargetConstantSuggestionErrorEnum{} } |
| func (m *GeoTargetConstantSuggestionErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*GeoTargetConstantSuggestionErrorEnum) ProtoMessage() {} |
| func (*GeoTargetConstantSuggestionErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_15abcc5da870aafb, []int{0} |
| } |
| |
| func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Unmarshal(m, b) |
| } |
| func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Merge(m, src) |
| } |
| func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Size(m) |
| } |
| func (m *GeoTargetConstantSuggestionErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.errors.GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError", GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name, GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_value) |
| proto.RegisterType((*GeoTargetConstantSuggestionErrorEnum)(nil), "google.ads.googleads.v3.errors.GeoTargetConstantSuggestionErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/geo_target_constant_suggestion_error.proto", fileDescriptor_15abcc5da870aafb) |
| } |
| |
| var fileDescriptor_15abcc5da870aafb = []byte{ |
| // 386 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0xaa, 0xd4, 0x30, |
| 0x14, 0xc6, 0x6d, 0xaf, 0x7f, 0x20, 0x77, 0x61, 0xa9, 0x82, 0x17, 0xb9, 0x0c, 0x52, 0x74, 0x9b, |
| 0x2e, 0xba, 0x8b, 0xab, 0x4c, 0x1b, 0x87, 0xe0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