1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/resources/user_interest.proto
3
4package resources
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	wrappers "github.com/golang/protobuf/ptypes/wrappers"
12	common "google.golang.org/genproto/googleapis/ads/googleads/v1/common"
13	enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
14	_ "google.golang.org/genproto/googleapis/api/annotations"
15)
16
17// Reference imports to suppress errors if they are not otherwise used.
18var _ = proto.Marshal
19var _ = fmt.Errorf
20var _ = math.Inf
21
22// This is a compile-time assertion to ensure that this generated file
23// is compatible with the proto package it is being compiled against.
24// A compilation error at this line likely means your copy of the
25// proto package needs to be updated.
26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
27
28// A user interest: a particular interest-based vertical to be targeted.
29type UserInterest struct {
30	// Output only. The resource name of the user interest.
31	// User interest resource names have the form:
32	//
33	// `customers/{customer_id}/userInterests/{user_interest_id}`
34	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
35	// Output only. Taxonomy type of the user interest.
36	TaxonomyType enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType `protobuf:"varint,2,opt,name=taxonomy_type,json=taxonomyType,proto3,enum=google.ads.googleads.v1.enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType" json:"taxonomy_type,omitempty"`
37	// Output only. The ID of the user interest.
38	UserInterestId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=user_interest_id,json=userInterestId,proto3" json:"user_interest_id,omitempty"`
39	// Output only. The name of the user interest.
40	Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
41	// Output only. The parent of the user interest.
42	UserInterestParent *wrappers.StringValue `protobuf:"bytes,5,opt,name=user_interest_parent,json=userInterestParent,proto3" json:"user_interest_parent,omitempty"`
43	// Output only. True if the user interest is launched to all channels and locales.
44	LaunchedToAll *wrappers.BoolValue `protobuf:"bytes,6,opt,name=launched_to_all,json=launchedToAll,proto3" json:"launched_to_all,omitempty"`
45	// Output only. Availability information of the user interest.
46	Availabilities       []*common.CriterionCategoryAvailability `protobuf:"bytes,7,rep,name=availabilities,proto3" json:"availabilities,omitempty"`
47	XXX_NoUnkeyedLiteral struct{}                                `json:"-"`
48	XXX_unrecognized     []byte                                  `json:"-"`
49	XXX_sizecache        int32                                   `json:"-"`
50}
51
52func (m *UserInterest) Reset()         { *m = UserInterest{} }
53func (m *UserInterest) String() string { return proto.CompactTextString(m) }
54func (*UserInterest) ProtoMessage()    {}
55func (*UserInterest) Descriptor() ([]byte, []int) {
56	return fileDescriptor_01746905ff80465b, []int{0}
57}
58
59func (m *UserInterest) XXX_Unmarshal(b []byte) error {
60	return xxx_messageInfo_UserInterest.Unmarshal(m, b)
61}
62func (m *UserInterest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
63	return xxx_messageInfo_UserInterest.Marshal(b, m, deterministic)
64}
65func (m *UserInterest) XXX_Merge(src proto.Message) {
66	xxx_messageInfo_UserInterest.Merge(m, src)
67}
68func (m *UserInterest) XXX_Size() int {
69	return xxx_messageInfo_UserInterest.Size(m)
70}
71func (m *UserInterest) XXX_DiscardUnknown() {
72	xxx_messageInfo_UserInterest.DiscardUnknown(m)
73}
74
75var xxx_messageInfo_UserInterest proto.InternalMessageInfo
76
77func (m *UserInterest) GetResourceName() string {
78	if m != nil {
79		return m.ResourceName
80	}
81	return ""
82}
83
84func (m *UserInterest) GetTaxonomyType() enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType {
85	if m != nil {
86		return m.TaxonomyType
87	}
88	return enums.UserInterestTaxonomyTypeEnum_UNSPECIFIED
89}
90
91func (m *UserInterest) GetUserInterestId() *wrappers.Int64Value {
92	if m != nil {
93		return m.UserInterestId
94	}
95	return nil
96}
97
98func (m *UserInterest) GetName() *wrappers.StringValue {
99	if m != nil {
100		return m.Name
101	}
102	return nil
103}
104
105func (m *UserInterest) GetUserInterestParent() *wrappers.StringValue {
106	if m != nil {
107		return m.UserInterestParent
108	}
109	return nil
110}
111
112func (m *UserInterest) GetLaunchedToAll() *wrappers.BoolValue {
113	if m != nil {
114		return m.LaunchedToAll
115	}
116	return nil
117}
118
119func (m *UserInterest) GetAvailabilities() []*common.CriterionCategoryAvailability {
120	if m != nil {
121		return m.Availabilities
122	}
123	return nil
124}
125
126func init() {
127	proto.RegisterType((*UserInterest)(nil), "google.ads.googleads.v1.resources.UserInterest")
128}
129
130func init() {
131	proto.RegisterFile("google/ads/googleads/v1/resources/user_interest.proto", fileDescriptor_01746905ff80465b)
132}
133
134var fileDescriptor_01746905ff80465b = []byte{
135	// 607 bytes of a gzipped FileDescriptorProto
136	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6f, 0xd3, 0x30,
137	0x14, 0x55, 0x9a, 0x6d, 0x88, 0xec, 0x03, 0x88, 0x78, 0x08, 0x63, 0x82, 0x0e, 0x69, 0xa2, 0x2f,
138	0xd8, 0x6a, 0x61, 0x3c, 0x04, 0x21, 0x94, 0x0e, 0x34, 0x6d, 0x0f, 0x68, 0x2a, 0xa5, 0x0f, 0x50,
139	0x11, 0xb9, 0x89, 0x97, 0x19, 0x39, 0x76, 0x64, 0x3b, 0x85, 0x6a, 0x2a, 0x3f, 0x86, 0x47, 0x7e,
140	0x0a, 0xbf, 0x62, 0xcf, 0xfb, 0x07, 0xf0, 0x80, 0x50, 0x13, 0x27, 0x73, 0x99, 0x0a, 0xe3, 0xed,
141	0xb6, 0xf7, 0x9c, 0x73, 0x4f, 0xce, 0xd5, 0xb5, 0xb3, 0x9b, 0x70, 0x9e, 0x50, 0x0c, 0x51, 0x2c,
142	0x61, 0x59, 0xce, 0xaa, 0x71, 0x1b, 0x0a, 0x2c, 0x79, 0x2e, 0x22, 0x2c, 0x61, 0x2e, 0xb1, 0x08,
143	0x09, 0x53, 0x58, 0x60, 0xa9, 0x40, 0x26, 0xb8, 0xe2, 0xee, 0x76, 0x89, 0x05, 0x28, 0x96, 0xa0,
144	0xa6, 0x81, 0x71, 0x1b, 0xd4, 0xb4, 0xcd, 0x97, 0x8b, 0x94, 0x23, 0x9e, 0xa6, 0x9c, 0xc1, 0x48,
145	0x10, 0x85, 0x05, 0xe1, 0x2c, 0x8c, 0x90, 0xc2, 0x09, 0x17, 0x93, 0x10, 0x8d, 0x11, 0xa1, 0x68,
146	0x44, 0x28, 0x51, 0x93, 0x72, 0xd0, 0xe6, 0x8b, 0x45, 0x2a, 0x98, 0xe5, 0xe9, 0x1f, 0xde, 0x42,
147	0x85, 0x3e, 0x73, 0xc6, 0xd3, 0x49, 0xa8, 0x26, 0x19, 0xd6, 0x02, 0xf7, 0x2b, 0x81, 0x8c, 0xc0,
148	0x63, 0x82, 0x69, 0x1c, 0x8e, 0xf0, 0x09, 0x1a, 0x13, 0x2e, 0x34, 0xe0, 0x8e, 0x01, 0xa8, 0xdc,
149	0xeb, 0xd6, 0x3d, 0xdd, 0x2a, 0x7e, 0x8d, 0xf2, 0x63, 0xf8, 0x49, 0xa0, 0x2c, 0xc3, 0x42, 0xea,
150	0xfe, 0x96, 0x41, 0x45, 0x8c, 0x71, 0x85, 0x14, 0xe1, 0x4c, 0x77, 0x1f, 0xfc, 0x58, 0x76, 0xd6,
151	0xde, 0x4a, 0x2c, 0x0e, 0xb4, 0x3d, 0xb7, 0xe7, 0xac, 0x57, 0x03, 0x42, 0x86, 0x52, 0xec, 0x59,
152	0x4d, 0xab, 0x75, 0xbd, 0xfb, 0xe8, 0x2c, 0xb0, 0x7f, 0x06, 0x0f, 0x9d, 0x9d, 0x8b, 0x20, 0x75,
153	0x95, 0x11, 0x09, 0x22, 0x9e, 0x42, 0x53, 0xa5, 0xb7, 0x56, 0x69, 0xbc, 0x46, 0x29, 0x76, 0xbf,
154	0x38, 0xeb, 0x73, 0x5f, 0xed, 0x35, 0x9a, 0x56, 0x6b, 0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x8a, 0xa7, 0x58,
166	0x48, 0x78, 0x5a, 0x95, 0x53, 0x68, 0x26, 0x21, 0xe1, 0xe9, 0xdc, 0x06, 0xa6, 0xdd, 0x5f, 0x96,
167	0xb3, 0x13, 0xf1, 0x14, 0xfc, 0xf3, 0x99, 0xe8, 0xde, 0x32, 0x67, 0x1d, 0xcd, 0x92, 0x3a, 0xb2,
168	0xde, 0x1d, 0x6a, 0x5e, 0xc2, 0x29, 0x62, 0x09, 0xe0, 0x22, 0x81, 0x09, 0x66, 0x45, 0x8e, 0xf0,
169	0xc2, 0xea, 0x5f, 0x1e, 0xad, 0x67, 0x75, 0xf5, 0xb5, 0x61, 0xef, 0x07, 0xc1, 0xb7, 0xc6, 0xf6,
170	0x7e, 0x29, 0x19, 0xc4, 0x12, 0x94, 0xe5, 0xac, 0x1a, 0xb4, 0x41, 0xaf, 0x42, 0x7e, 0xaf, 0x30,
171	0xc3, 0x20, 0x96, 0xc3, 0x1a, 0x33, 0x1c, 0xb4, 0x87, 0x35, 0xe6, 0xbc, 0xb1, 0x53, 0x36, 0x7c,
172	0x3f, 0x88, 0xa5, 0xef, 0xd7, 0x28, 0xdf, 0x1f, 0xb4, 0x7d, 0xbf, 0xc6, 0x8d, 0x56, 0x0a, 0xb3,
173	0x8f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x45, 0xb6, 0xad, 0x60, 0x05, 0x00, 0x00,
174}
175