1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v3/resources/custom_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	enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27// A custom interest. This is a list of users by interest.
28type CustomInterest struct {
29	// Immutable. The resource name of the custom interest.
30	// Custom interest resource names have the form:
31	//
32	// `customers/{customer_id}/customInterests/{custom_interest_id}`
33	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
34	// Output only. Id of the custom interest.
35	Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
36	// Status of this custom interest. Indicates whether the custom interest is
37	// enabled or removed.
38	Status enums.CustomInterestStatusEnum_CustomInterestStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.CustomInterestStatusEnum_CustomInterestStatus" json:"status,omitempty"`
39	// Name of the custom interest. It should be unique across the same custom
40	// affinity audience.
41	// This field is required for create operations.
42	Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
43	// Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT.
44	// By default the type is set to CUSTOM_AFFINITY.
45	Type enums.CustomInterestTypeEnum_CustomInterestType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v3.enums.CustomInterestTypeEnum_CustomInterestType" json:"type,omitempty"`
46	// Description of this custom interest audience.
47	Description *wrappers.StringValue `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
48	// List of custom interest members that this custom interest is composed of.
49	// Members can be added during CustomInterest creation. If members are
50	// presented in UPDATE operation, existing members will be overridden.
51	Members              []*CustomInterestMember `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"`
52	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
53	XXX_unrecognized     []byte                  `json:"-"`
54	XXX_sizecache        int32                   `json:"-"`
55}
56
57func (m *CustomInterest) Reset()         { *m = CustomInterest{} }
58func (m *CustomInterest) String() string { return proto.CompactTextString(m) }
59func (*CustomInterest) ProtoMessage()    {}
60func (*CustomInterest) Descriptor() ([]byte, []int) {
61	return fileDescriptor_440649afc3ab8fa9, []int{0}
62}
63
64func (m *CustomInterest) XXX_Unmarshal(b []byte) error {
65	return xxx_messageInfo_CustomInterest.Unmarshal(m, b)
66}
67func (m *CustomInterest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
68	return xxx_messageInfo_CustomInterest.Marshal(b, m, deterministic)
69}
70func (m *CustomInterest) XXX_Merge(src proto.Message) {
71	xxx_messageInfo_CustomInterest.Merge(m, src)
72}
73func (m *CustomInterest) XXX_Size() int {
74	return xxx_messageInfo_CustomInterest.Size(m)
75}
76func (m *CustomInterest) XXX_DiscardUnknown() {
77	xxx_messageInfo_CustomInterest.DiscardUnknown(m)
78}
79
80var xxx_messageInfo_CustomInterest proto.InternalMessageInfo
81
82func (m *CustomInterest) GetResourceName() string {
83	if m != nil {
84		return m.ResourceName
85	}
86	return ""
87}
88
89func (m *CustomInterest) GetId() *wrappers.Int64Value {
90	if m != nil {
91		return m.Id
92	}
93	return nil
94}
95
96func (m *CustomInterest) GetStatus() enums.CustomInterestStatusEnum_CustomInterestStatus {
97	if m != nil {
98		return m.Status
99	}
100	return enums.CustomInterestStatusEnum_UNSPECIFIED
101}
102
103func (m *CustomInterest) GetName() *wrappers.StringValue {
104	if m != nil {
105		return m.Name
106	}
107	return nil
108}
109
110func (m *CustomInterest) GetType() enums.CustomInterestTypeEnum_CustomInterestType {
111	if m != nil {
112		return m.Type
113	}
114	return enums.CustomInterestTypeEnum_UNSPECIFIED
115}
116
117func (m *CustomInterest) GetDescription() *wrappers.StringValue {
118	if m != nil {
119		return m.Description
120	}
121	return nil
122}
123
124func (m *CustomInterest) GetMembers() []*CustomInterestMember {
125	if m != nil {
126		return m.Members
127	}
128	return nil
129}
130
131// A member of custom interest audience. A member can be a keyword or url.
132// It is immutable, that is, it can only be created or removed but not changed.
133type CustomInterestMember struct {
134	// The type of custom interest member, KEYWORD or URL.
135	MemberType enums.CustomInterestMemberTypeEnum_CustomInterestMemberType `protobuf:"varint,1,opt,name=member_type,json=memberType,proto3,enum=google.ads.googleads.v3.enums.CustomInterestMemberTypeEnum_CustomInterestMemberType" json:"member_type,omitempty"`
136	// Keyword text when member_type is KEYWORD or URL string when
137	// member_type is URL.
138	Parameter            *wrappers.StringValue `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"`
139	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
140	XXX_unrecognized     []byte                `json:"-"`
141	XXX_sizecache        int32                 `json:"-"`
142}
143
144func (m *CustomInterestMember) Reset()         { *m = CustomInterestMember{} }
145func (m *CustomInterestMember) String() string { return proto.CompactTextString(m) }
146func (*CustomInterestMember) ProtoMessage()    {}
147func (*CustomInterestMember) Descriptor() ([]byte, []int) {
148	return fileDescriptor_440649afc3ab8fa9, []int{1}
149}
150
151func (m *CustomInterestMember) XXX_Unmarshal(b []byte) error {
152	return xxx_messageInfo_CustomInterestMember.Unmarshal(m, b)
153}
154func (m *CustomInterestMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
155	return xxx_messageInfo_CustomInterestMember.Marshal(b, m, deterministic)
156}
157func (m *CustomInterestMember) XXX_Merge(src proto.Message) {
158	xxx_messageInfo_CustomInterestMember.Merge(m, src)
159}
160func (m *CustomInterestMember) XXX_Size() int {
161	return xxx_messageInfo_CustomInterestMember.Size(m)
162}
163func (m *CustomInterestMember) XXX_DiscardUnknown() {
164	xxx_messageInfo_CustomInterestMember.DiscardUnknown(m)
165}
166
167var xxx_messageInfo_CustomInterestMember proto.InternalMessageInfo
168
169func (m *CustomInterestMember) GetMemberType() enums.CustomInterestMemberTypeEnum_CustomInterestMemberType {
170	if m != nil {
171		return m.MemberType
172	}
173	return enums.CustomInterestMemberTypeEnum_UNSPECIFIED
174}
175
176func (m *CustomInterestMember) GetParameter() *wrappers.StringValue {
177	if m != nil {
178		return m.Parameter
179	}
180	return nil
181}
182
183func init() {
184	proto.RegisterType((*CustomInterest)(nil), "google.ads.googleads.v3.resources.CustomInterest")
185	proto.RegisterType((*CustomInterestMember)(nil), "google.ads.googleads.v3.resources.CustomInterestMember")
186}
187
188func init() {
189	proto.RegisterFile("google/ads/googleads/v3/resources/custom_interest.proto", fileDescriptor_440649afc3ab8fa9)
190}
191
192var fileDescriptor_440649afc3ab8fa9 = []byte{
193	// 599 bytes of a gzipped FileDescriptorProto
194	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x6e, 0xd3, 0x40,
195	0x10, 0x95, 0x9d, 0x26, 0x55, 0x37, 0x90, 0x83, 0xe1, 0x60, 0x4a, 0x05, 0x69, 0xa5, 0x8a, 0x70,
196	0x59, 0x57, 0x31, 0x6a, 0x91, 0x91, 0x40, 0x0e, 0x42, 0xa5, 0x08, 0x50, 0x71, 0xa3, 0x1c, 0x50,
197	0xa4, 0x68, 0x13, 0x6f, 0x8d, 0xa5, 0x78, 0xd7, 0xda, 0x5d, 0x07, 0x55, 0xa8, 0x12, 0x37, 0xfe,
198	0x83, 0x23, 0x7f, 0x02, 0x5f, 0xd1, 0x73, 0x3f, 0x81, 0x13, 0xf2, 0x7a, 0xd7, 0x49, 0x68, 0xd2,
199	0x36, 0xb7, 0xd7, 0xce, 0x7b, 0x6f, 0x9e, 0x67, 0x66, 0x03, 0x0e, 0x22, 0x4a, 0xa3, 0x31, 0x76,
200	0x50, 0xc8, 0x9d, 0x02, 0xe6, 0x68, 0xe2, 0x3a, 0x0c, 0x73, 0x9a, 0xb1, 0x11, 0xe6, 0xce, 0x28,
201	0xe3, 0x82, 0x26, 0x83, 0x98, 0x08, 0xcc, 0x30, 0x17, 0x30, 0x65, 0x54, 0x50, 0x6b, 0xbb, 0x60,
202	0x43, 0x14, 0x72, 0x58, 0x0a, 0xe1, 0xc4, 0x85, 0xa5, 0x70, 0xf3, 0xd5, 0x32, 0x6f, 0x4c, 0xb2,
203	0xe4, 0x8a, 0xef, 0x20, 0xc1, 0xc9, 0x10, 0xb3, 0x81, 0x38, 0x4b, 0x71, 0xd1, 0x63, 0xd3, 0x5b,
204	0xcd, 0x80, 0x0b, 0x24, 0x32, 0xae, 0xb4, 0xcf, 0x57, 0xd3, 0xce, 0x74, 0x7d, 0xac, 0x95, 0x69,
205	0xec, 0x9c, 0xc6, 0x78, 0x1c, 0x0e, 0x86, 0xf8, 0x0b, 0x9a, 0xc4, 0x94, 0x29, 0xc2, 0x83, 0x19,
206	0x82, 0xfe, 0x5a, 0x55, 0x7a, 0xa4, 0x4a, 0xf2, 0xaf, 0x61, 0x76, 0xea, 0x7c, 0x65, 0x28, 0x4d,
207	0x31, 0xd3, 0xa9, 0xb6, 0x66, 0xa4, 0x88, 0x10, 0x2a, 0x90, 0x88, 0x29, 0x51, 0xd5, 0x9d, 0x1f,
208	0x55, 0xd0, 0x78, 0x2d, 0x83, 0x1d, 0xa9, 0x5c, 0x56, 0x17, 0xdc, 0xd5, 0x2d, 0x06, 0x04, 0x25,
209	0xd8, 0x36, 0x9a, 0x46, 0x6b, 0xa3, 0xe3, 0x5c, 0xf8, 0xd5, 0xbf, 0xfe, 0x53, 0xf0, 0x64, 0x3a,
210	0x7a, 0x85, 0xd2, 0x98, 0xc3, 0x11, 0x4d, 0x9c, 0x79, 0x9f, 0xe0, 0x8e, 0x76, 0xf9, 0x88, 0x12,
211	0x6c, 0xed, 0x01, 0x33, 0x0e, 0x6d, 0xb3, 0x69, 0xb4, 0xea, 0xed, 0x87, 0x4a, 0x09, 0x75, 0x66,
212	0x78, 0x44, 0xc4, 0xfe, 0xb3, 0x1e, 0x1a, 0x67, 0xb8, 0x53, 0xb9, 0xf0, 0x2b, 0x81, 0x19, 0x87,
213	0x56, 0x08, 0x6a, 0xc5, 0x78, 0xed, 0x4a, 0xd3, 0x68, 0x35, 0xda, 0xef, 0xe1, 0xb2, 0xfd, 0xcb,
214	0xf9, 0xc2, 0xf9, 0xf6, 0x27, 0x52, 0xfa, 0x86, 0x64, 0xc9, 0xc2, 0x42, 0xa0, 0xbc, 0xad, 0x3d,
215	0xb0, 0x26, 0x3f, 0x72, 0x4d, 0x26, 0xdb, 0xba, 0x92, 0xec, 0x44, 0xb0, 0x98, 0x44, 0x32, 0x5a,
216	0x20, 0x99, 0x56, 0x1f, 0xac, 0xe5, 0xab, 0xb3, 0xab, 0x32, 0xd5, 0xdb, 0x95, 0x52, 0x75, 0xcf,
217	0x52, 0xbc, 0x20, 0x53, 0xfe, 0xef, 0x40, 0xba, 0x5a, 0x2f, 0x41, 0x3d, 0xc4, 0x7c, 0xc4, 0xe2,
218	0x34, 0x5f, 0x93, 0x5d, 0xbb, 0x45, 0xac, 0x59, 0x81, 0xf5, 0x09, 0xac, 0x17, 0x57, 0xcd, 0xed,
219	0xf5, 0x66, 0xa5, 0x55, 0x6f, 0x1f, 0xc0, 0x1b, 0x9f, 0xcd, 0x7f, 0x69, 0x3e, 0x48, 0x7d, 0xa0,
220	0x7d, 0xbc, 0xf0, 0xd2, 0x47, 0xb7, 0x5e, 0xbb, 0xb5, 0x5f, 0xdc, 0x39, 0x66, 0xdc, 0xf9, 0xa6,
221	0xe1, 0xb9, 0x3a, 0x7e, 0x4d, 0x2a, 0x4b, 0xe5, 0x6b, 0x38, 0xdf, 0xf9, 0x6d, 0x80, 0xfb, 0x8b,
222	0x72, 0x58, 0x19, 0xa8, 0xcf, 0xbc, 0x53, 0x79, 0x8d, 0x8d, 0x76, 0x77, 0xa5, 0xb1, 0x17, 0x4e,
223	0x4b, 0x86, 0x3f, 0x2d, 0x06, 0x20, 0x29, 0xb1, 0xe5, 0x81, 0x8d, 0x14, 0x31, 0x94, 0x60, 0x81,
224	0x99, 0xba, 0xdb, 0xeb, 0xd7, 0x30, 0xa5, 0x77, 0xbe, 0x9b, 0x60, 0x77, 0x44, 0x93, 0x9b, 0x27,
225	0xdf, 0xb9, 0x37, 0x9f, 0xe5, 0x38, 0x37, 0x3e, 0x36, 0x3e, 0xbf, 0x53, 0xca, 0x88, 0x8e, 0x11,
226	0x89, 0x20, 0x65, 0x91, 0x13, 0x61, 0x22, 0xdb, 0x3a, 0xd3, 0xf1, 0x5f, 0xf3, 0x13, 0xfa, 0xa2,
227	0x44, 0x3f, 0xcd, 0xca, 0xa1, 0xef, 0xff, 0x32, 0xb7, 0x0f, 0x0b, 0x4b, 0x3f, 0xe4, 0xb0, 0x80,
228	0x39, 0xea, 0xb9, 0x30, 0xd0, 0xcc, 0x3f, 0x9a, 0xd3, 0xf7, 0x43, 0xde, 0x2f, 0x39, 0xfd, 0x9e,
229	0xdb, 0x2f, 0x39, 0x97, 0xe6, 0x6e, 0x51, 0xf0, 0x3c, 0x3f, 0xe4, 0x9e, 0x57, 0xb2, 0x3c, 0xaf,
230	0xe7, 0x7a, 0x5e, 0xc9, 0x1b, 0xd6, 0x64, 0x58, 0xf7, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd7,
231	0x5c, 0x77, 0x49, 0xee, 0x05, 0x00, 0x00,
232}
233