| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/common/criterion_category_availability.proto |
| |
| package common |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" |
| _ "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 |
| |
| // Information of category availability, per advertising channel. |
| type CriterionCategoryAvailability struct { |
| // Channel types and subtypes that are available to the category. |
| Channel *CriterionCategoryChannelAvailability `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` |
| // Locales that are available to the category for the channel. |
| Locale []*CriterionCategoryLocaleAvailability `protobuf:"bytes,2,rep,name=locale,proto3" json:"locale,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CriterionCategoryAvailability) Reset() { *m = CriterionCategoryAvailability{} } |
| func (m *CriterionCategoryAvailability) String() string { return proto.CompactTextString(m) } |
| func (*CriterionCategoryAvailability) ProtoMessage() {} |
| func (*CriterionCategoryAvailability) Descriptor() ([]byte, []int) { |
| return fileDescriptor_241d9930057f9832, []int{0} |
| } |
| |
| func (m *CriterionCategoryAvailability) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CriterionCategoryAvailability.Unmarshal(m, b) |
| } |
| func (m *CriterionCategoryAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CriterionCategoryAvailability.Marshal(b, m, deterministic) |
| } |
| func (m *CriterionCategoryAvailability) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CriterionCategoryAvailability.Merge(m, src) |
| } |
| func (m *CriterionCategoryAvailability) XXX_Size() int { |
| return xxx_messageInfo_CriterionCategoryAvailability.Size(m) |
| } |
| func (m *CriterionCategoryAvailability) XXX_DiscardUnknown() { |
| xxx_messageInfo_CriterionCategoryAvailability.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CriterionCategoryAvailability proto.InternalMessageInfo |
| |
| func (m *CriterionCategoryAvailability) GetChannel() *CriterionCategoryChannelAvailability { |
| if m != nil { |
| return m.Channel |
| } |
| return nil |
| } |
| |
| func (m *CriterionCategoryAvailability) GetLocale() []*CriterionCategoryLocaleAvailability { |
| if m != nil { |
| return m.Locale |
| } |
| return nil |
| } |
| |
| // Information of advertising channel type and subtypes a category is available |
| // in. |
| type CriterionCategoryChannelAvailability struct { |
| // Format of the channel availability. Can be ALL_CHANNELS (the rest of the |
| // fields will not be set), CHANNEL_TYPE (only advertising_channel_type type |
| // will be set, the category is available to all sub types under it) or |
| // CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, |
| // advertising_channel_sub_type, and include_default_channel_sub_type will all |
| // be set). |
| AvailabilityMode enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode `protobuf:"varint,1,opt,name=availability_mode,json=availabilityMode,proto3,enum=google.ads.googleads.v1.enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode" json:"availability_mode,omitempty"` |
| // Channel type the category is available to. |
| AdvertisingChannelType enums.AdvertisingChannelTypeEnum_AdvertisingChannelType `protobuf:"varint,2,opt,name=advertising_channel_type,json=advertisingChannelType,proto3,enum=google.ads.googleads.v1.enums.AdvertisingChannelTypeEnum_AdvertisingChannelType" json:"advertising_channel_type,omitempty"` |
| // Channel subtypes under the channel type the category is available to. |
| AdvertisingChannelSubType []enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType `protobuf:"varint,3,rep,packed,name=advertising_channel_sub_type,json=advertisingChannelSubType,proto3,enum=google.ads.googleads.v1.enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType" json:"advertising_channel_sub_type,omitempty"` |
| // Whether default channel sub type is included. For example, |
| // advertising_channel_type being DISPLAY and include_default_channel_sub_type |
| // being false means that the default display campaign where channel sub type |
| // is not set is not included in this availability configuration. |
| IncludeDefaultChannelSubType *wrappers.BoolValue `protobuf:"bytes,4,opt,name=include_default_channel_sub_type,json=includeDefaultChannelSubType,proto3" json:"include_default_channel_sub_type,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CriterionCategoryChannelAvailability) Reset() { *m = CriterionCategoryChannelAvailability{} } |
| func (m *CriterionCategoryChannelAvailability) String() string { return proto.CompactTextString(m) } |
| func (*CriterionCategoryChannelAvailability) ProtoMessage() {} |
| func (*CriterionCategoryChannelAvailability) Descriptor() ([]byte, []int) { |
| return fileDescriptor_241d9930057f9832, []int{1} |
| } |
| |
| func (m *CriterionCategoryChannelAvailability) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CriterionCategoryChannelAvailability.Unmarshal(m, b) |
| } |
| func (m *CriterionCategoryChannelAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CriterionCategoryChannelAvailability.Marshal(b, m, deterministic) |
| } |
| func (m *CriterionCategoryChannelAvailability) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CriterionCategoryChannelAvailability.Merge(m, src) |
| } |
| func (m *CriterionCategoryChannelAvailability) XXX_Size() int { |
| return xxx_messageInfo_CriterionCategoryChannelAvailability.Size(m) |
| } |
| func (m *CriterionCategoryChannelAvailability) XXX_DiscardUnknown() { |
| xxx_messageInfo_CriterionCategoryChannelAvailability.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CriterionCategoryChannelAvailability proto.InternalMessageInfo |
| |
| func (m *CriterionCategoryChannelAvailability) GetAvailabilityMode() enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode { |
| if m != nil { |
| return m.AvailabilityMode |
| } |
| return enums.CriterionCategoryChannelAvailabilityModeEnum_UNSPECIFIED |
| } |
| |
| func (m *CriterionCategoryChannelAvailability) GetAdvertisingChannelType() enums.AdvertisingChannelTypeEnum_AdvertisingChannelType { |
| if m != nil { |
| return m.AdvertisingChannelType |
| } |
| return enums.AdvertisingChannelTypeEnum_UNSPECIFIED |
| } |
| |
| func (m *CriterionCategoryChannelAvailability) GetAdvertisingChannelSubType() []enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType { |
| if m != nil { |
| return m.AdvertisingChannelSubType |
| } |
| return nil |
| } |
| |
| func (m *CriterionCategoryChannelAvailability) GetIncludeDefaultChannelSubType() *wrappers.BoolValue { |
| if m != nil { |
| return m.IncludeDefaultChannelSubType |
| } |
| return nil |
| } |
| |
| // Information about which locales a category is available in. |
| type CriterionCategoryLocaleAvailability struct { |
| // Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and |
| // language will be empty), COUNTRY (only country will be set), LANGUAGE (only |
| // language wil be set), COUNTRY_AND_LANGUAGE (both country and language will |
| // be set). |
| AvailabilityMode enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode `protobuf:"varint,1,opt,name=availability_mode,json=availabilityMode,proto3,enum=google.ads.googleads.v1.enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode" json:"availability_mode,omitempty"` |
| // Code of the country. |
| CountryCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` |
| // Code of the language. |
| LanguageCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CriterionCategoryLocaleAvailability) Reset() { *m = CriterionCategoryLocaleAvailability{} } |
| func (m *CriterionCategoryLocaleAvailability) String() string { return proto.CompactTextString(m) } |
| func (*CriterionCategoryLocaleAvailability) ProtoMessage() {} |
| func (*CriterionCategoryLocaleAvailability) Descriptor() ([]byte, []int) { |
| return fileDescriptor_241d9930057f9832, []int{2} |
| } |
| |
| func (m *CriterionCategoryLocaleAvailability) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CriterionCategoryLocaleAvailability.Unmarshal(m, b) |
| } |
| func (m *CriterionCategoryLocaleAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CriterionCategoryLocaleAvailability.Marshal(b, m, deterministic) |
| } |
| func (m *CriterionCategoryLocaleAvailability) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CriterionCategoryLocaleAvailability.Merge(m, src) |
| } |
| func (m *CriterionCategoryLocaleAvailability) XXX_Size() int { |
| return xxx_messageInfo_CriterionCategoryLocaleAvailability.Size(m) |
| } |
| func (m *CriterionCategoryLocaleAvailability) XXX_DiscardUnknown() { |
| xxx_messageInfo_CriterionCategoryLocaleAvailability.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CriterionCategoryLocaleAvailability proto.InternalMessageInfo |
| |
| func (m *CriterionCategoryLocaleAvailability) GetAvailabilityMode() enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode { |
| if m != nil { |
| return m.AvailabilityMode |
| } |
| return enums.CriterionCategoryLocaleAvailabilityModeEnum_UNSPECIFIED |
| } |
| |
| func (m *CriterionCategoryLocaleAvailability) GetCountryCode() *wrappers.StringValue { |
| if m != nil { |
| return m.CountryCode |
| } |
| return nil |
| } |
| |
| func (m *CriterionCategoryLocaleAvailability) GetLanguageCode() *wrappers.StringValue { |
| if m != nil { |
| return m.LanguageCode |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*CriterionCategoryAvailability)(nil), "google.ads.googleads.v1.common.CriterionCategoryAvailability") |
| proto.RegisterType((*CriterionCategoryChannelAvailability)(nil), "google.ads.googleads.v1.common.CriterionCategoryChannelAvailability") |
| proto.RegisterType((*CriterionCategoryLocaleAvailability)(nil), "google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/common/criterion_category_availability.proto", fileDescriptor_241d9930057f9832) |
| } |
| |
| var fileDescriptor_241d9930057f9832 = []byte{ |
| // 609 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0xc1, 0x8e, 0xd3, 0x30, |
| 0x10, 0x86, 0x95, 0x74, 0xb5, 0x48, 0xee, 0xb2, 0x82, 0x1c, 0x50, 0xa9, 0xca, 0xaa, 0x0a, 0x1c, |
| 0x7a, 0x72, 0xd4, 0x72, 0x0b, 0x48, 0x90, 0xa6, 0x68, 0x2f, 0x20, 0xaa, 0x2e, 0xea, 0x01, 0x2a, |
| 0x22, 0x27, 0xf1, 0x06, 0x4b, 0x8e, 0x1d, 0x25, 0x4e, 0x51, 0x5f, 0x81, 0x17, 0xe0, 0x88, 0xe0, |
| 0xc8, 0xa3, 0xc0, 0x99, 0x1b, 0x4f, 0xc0, 0x3b, 0x20, 0xa1, 0xc4, 0x4e, 0xe9, 0x6e, 0x9b, 0x6c, |
| 0x7b, 0xaa, 0xeb, 0x99, 0xf9, 0xe6, 0x9f, 0xc9, 0xd8, 0x06, 0x93, 0x88, 0xf3, 0x88, 0x62, 0x0b, |
| 0x85, 0x99, 0x25, 0x97, 0xc5, 0x6a, 0x39, 0xb4, 0x02, 0x1e, 0xc7, 0x9c, 0x59, 0x41, 0x4a, 0x04, |
| 0x4e, 0x09, 0x67, 0x5e, 0x80, 0x04, 0x8e,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