| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/enums/criterion_category_locale_availability_mode.proto |
| |
| package enums |
| |
| 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 containing the possible CriterionCategoryLocaleAvailabilityMode. |
| type CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode int32 |
| |
| const ( |
| // Not specified. |
| CriterionCategoryLocaleAvailabilityModeEnum_UNSPECIFIED CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 0 |
| // Used for return value only. Represents value unknown in this version. |
| CriterionCategoryLocaleAvailabilityModeEnum_UNKNOWN CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 1 |
| // The category is available to campaigns of all locales. |
| CriterionCategoryLocaleAvailabilityModeEnum_ALL_LOCALES CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 2 |
| // The category is available to campaigns within a list of countries, |
| // regardless of language. |
| CriterionCategoryLocaleAvailabilityModeEnum_COUNTRY_AND_ALL_LANGUAGES CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 3 |
| // The category is available to campaigns within a list of languages, |
| // regardless of country. |
| CriterionCategoryLocaleAvailabilityModeEnum_LANGUAGE_AND_ALL_COUNTRIES CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 4 |
| // The category is available to campaigns within a list of country, language |
| // pairs. |
| CriterionCategoryLocaleAvailabilityModeEnum_COUNTRY_AND_LANGUAGE CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 5 |
| ) |
| |
| var CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "ALL_LOCALES", |
| 3: "COUNTRY_AND_ALL_LANGUAGES", |
| 4: "LANGUAGE_AND_ALL_COUNTRIES", |
| 5: "COUNTRY_AND_LANGUAGE", |
| } |
| |
| var CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "ALL_LOCALES": 2, |
| "COUNTRY_AND_ALL_LANGUAGES": 3, |
| "LANGUAGE_AND_ALL_COUNTRIES": 4, |
| "COUNTRY_AND_LANGUAGE": 5, |
| } |
| |
| func (x CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode) String() string { |
| return proto.EnumName(CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_name, int32(x)) |
| } |
| |
| func (CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_8b49eae87de90e5a, []int{0, 0} |
| } |
| |
| // Describes locale availability mode for a criterion availability - whether |
| // it's available globally, or a particular country with all languages, or a |
| // particular language with all countries, or a country-language pair. |
| type CriterionCategoryLocaleAvailabilityModeEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CriterionCategoryLocaleAvailabilityModeEnum) Reset() { |
| *m = CriterionCategoryLocaleAvailabilityModeEnum{} |
| } |
| func (m *CriterionCategoryLocaleAvailabilityModeEnum) String() string { |
| return proto.CompactTextString(m) |
| } |
| func (*CriterionCategoryLocaleAvailabilityModeEnum) ProtoMessage() {} |
| func (*CriterionCategoryLocaleAvailabilityModeEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_8b49eae87de90e5a, []int{0} |
| } |
| |
| func (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Unmarshal(m, b) |
| } |
| func (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Marshal(b, m, deterministic) |
| } |
| func (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Merge(m, src) |
| } |
| func (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Size() int { |
| return xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Size(m) |
| } |
| func (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode", CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_name, CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_value) |
| proto.RegisterType((*CriterionCategoryLocaleAvailabilityModeEnum)(nil), "google.ads.googleads.v3.enums.CriterionCategoryLocaleAvailabilityModeEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/enums/criterion_category_locale_availability_mode.proto", fileDescriptor_8b49eae87de90e5a) |
| } |
| |
| var fileDescriptor_8b49eae87de90e5a = []byte{ |
| // 381 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0x4f, 0x8b, 0x9b, 0x40, |
| 0x1c, 0xad, 0xa6, 0x7f, 0x60, 0x72, 0xa8, 0x48, 0x0f, 0x6d, 0x68, 0x0a, 0xc9, 0xa5, 0x87, 0x96, |
| 0xf1, 0xe0, 0x6d, 0x7a, 0x9a, 0x18, 0x2b, 0xa1, 0x56, 0x43, 0xad, 0x29, 0x5d, 0x04, 0x99, 0xe8, |
| 0x20, 0x03, 0x3a, 0x13, 0x1c, 0x13, 0xc8, 0x71, 0xbf, 0xca, 0x1e, 0xf7, 0xb6, 0x5f, 0x63, 0xbf, |
| 0xc5, 0x5e, 0xf7, 0x53, 0x2c, 0x8e, 0x51, 0x72, 0xd9, 0x25, 0x17, 0x79, 0xce, 0x7b, 0xbf, 0xf7, |
| 0x66, 0xde, 0x0f, 0x84, 0x85, 0x10, 0x45, 0x49, 0x2d, 0x92, 0x4b, 0xab, 0x83, 0x2d, 0x3a, 0xd8, |
| 0x16, 0xe5, 0xfb, 0x4a, 0x5a, 0x59, 0xcd, 0x1a, 0x5a, 0x33, 0xc1, 0xd3, 0x8c, 0x34, 0xb4, 0x10, |
| 0xf5, 0x31, 0x2d, 0x45, 0x46, 0x4a, 0x9a, 0x92, 0x03, 0x61, 0x25, 0xd9, 0xb2, 0x92, 0x35, 0xc7, |
| 0xb4, 0x12, 0x39, 0x85, 0xbb, 0x5a, 0x34, 0xc2, 0x9c, 0x76, 0x2e, 0x90, 0xe4, 0x12, 0x0e, 0x86, |
| 0xf0, 0x60, 0x43, 0x65, 0x38, 0xf9, 0xdc, 0xe7, 0xed, 0x98, 0x45, 0x38, 0x17, 0x0d, 0x69, 0x98, |
| 0xe0, 0xb2, 0x1b, 0x9e, 0x3f, 0x68, 0xe0, 0x9b, 0xd3, 0x47, 0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