| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/resources/user_interest.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" |
| enums "google.golang.org/genproto/googleapis/ads/googleads/v2/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 |
| |
| // A user interest: a particular interest-based vertical to be targeted. |
| type UserInterest struct { |
| // Output only. The resource name of the user interest. |
| // User interest resource names have the form: |
| // |
| // `customers/{customer_id}/userInterests/{user_interest_id}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // Output only. Taxonomy type of the user interest. |
| TaxonomyType enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType `protobuf:"varint,2,opt,name=taxonomy_type,json=taxonomyType,proto3,enum=google.ads.googleads.v2.enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType" json:"taxonomy_type,omitempty"` |
| // Output only. The ID of the user interest. |
| UserInterestId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=user_interest_id,json=userInterestId,proto3" json:"user_interest_id,omitempty"` |
| // Output only. The name of the user interest. |
| Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` |
| // Output only. The parent of the user interest. |
| UserInterestParent *wrappers.StringValue `protobuf:"bytes,5,opt,name=user_interest_parent,json=userInterestParent,proto3" json:"user_interest_parent,omitempty"` |
| // Output only. True if the user interest is launched to all channels and locales. |
| LaunchedToAll *wrappers.BoolValue `protobuf:"bytes,6,opt,name=launched_to_all,json=launchedToAll,proto3" json:"launched_to_all,omitempty"` |
| // Output only. Availability information of the user interest. |
| Availabilities []*common.CriterionCategoryAvailability `protobuf:"bytes,7,rep,name=availabilities,proto3" json:"availabilities,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UserInterest) Reset() { *m = UserInterest{} } |
| func (m *UserInterest) String() string { return proto.CompactTextString(m) } |
| func (*UserInterest) ProtoMessage() {} |
| func (*UserInterest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_3f0e313311c98402, []int{0} |
| } |
| |
| func (m *UserInterest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UserInterest.Unmarshal(m, b) |
| } |
| func (m *UserInterest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UserInterest.Marshal(b, m, deterministic) |
| } |
| func (m *UserInterest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UserInterest.Merge(m, src) |
| } |
| func (m *UserInterest) XXX_Size() int { |
| return xxx_messageInfo_UserInterest.Size(m) |
| } |
| func (m *UserInterest) XXX_DiscardUnknown() { |
| xxx_messageInfo_UserInterest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UserInterest proto.InternalMessageInfo |
| |
| func (m *UserInterest) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *UserInterest) GetTaxonomyType() enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType { |
| if m != nil { |
| return m.TaxonomyType |
| } |
| return enums.UserInterestTaxonomyTypeEnum_UNSPECIFIED |
| } |
| |
| func (m *UserInterest) GetUserInterestId() *wrappers.Int64Value { |
| if m != nil { |
| return m.UserInterestId |
| } |
| return nil |
| } |
| |
| func (m *UserInterest) GetName() *wrappers.StringValue { |
| if m != nil { |
| return m.Name |
| } |
| return nil |
| } |
| |
| func (m *UserInterest) GetUserInterestParent() *wrappers.StringValue { |
| if m != nil { |
| return m.UserInterestParent |
| } |
| return nil |
| } |
| |
| func (m *UserInterest) GetLaunchedToAll() *wrappers.BoolValue { |
| if m != nil { |
| return m.LaunchedToAll |
| } |
| return nil |
| } |
| |
| func (m *UserInterest) GetAvailabilities() []*common.CriterionCategoryAvailability { |
| if m != nil { |
| return m.Availabilities |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*UserInterest)(nil), "google.ads.googleads.v2.resources.UserInterest") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/resources/user_interest.proto", fileDescriptor_3f0e313311c98402) |
| } |
| |
| var fileDescriptor_3f0e313311c98402 = []byte{ |
| // 606 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6f, 0xd3, 0x30, |
| 0x14, 0x55, 0x9a, 0x6d, 0x88, 0xec, 0x03, 0x88, 0x78, 0x08, 0x63, 0x82, 0x0e, 0x69, 0xa2, 0x2f, |
| 0xd8, 0x52, 0x60, 0x3c, 0x04, 0x21, 0x94, 0x0e, 0x34, 0x6d, 0x0f, 0x68, 0x2a, 0xa5, 0x0f, 0x50, |
| 0x11, 0xb9, 0x89, 0x97, 0x19, 0x39, 0x76, 0x64, 0x3b, 0x85, 0x6a, 0x2a, 0x3f, 0x86, 0x47, 0x7e, |
| 0x0a, 0xbf, 0x62, 0xcf, 0xfb, 0x07, 0xf0, 0x80, 0x50, 0x13, 0x27, 0x73, 0x99, 0x0a, 0xe3, 0xed, |
| 0xb6, 0xf7, 0x9c, 0x73, 0x4f, 0xce, 0xd5, 0xb5, 0xb3, 0x9b, 0x72, 0x9e, 0x52, 0x0c, 0x51, 0x22, |
| 0x61, 0x55, 0xce, 0xaa, 0xb1, 0x0f, 0x05, 0x96, 0xbc, 0x10, 0x31, 0x96, 0xb0, 0x90, 0x58, 0x44, |
| 0x84, 0x29, 0x2c, 0xb0, 0x54, 0x20, 0x17, 0x5c, 0x71, 0x77, 0xbb, 0xc2, 0x02, 0x94, 0x48, 0xd0, |
| 0xd0, 0xc0, 0xd8, 0x07, 0x0d, 0x6d, 0xf3, 0xe5, 0x22, 0xe5, 0x98, 0x67, 0x19, 0x67, 0x30, 0x16, |
| 0x44, 0x61, 0x41, 0x38, 0x8b, 0x62, 0xa4, 0x70, 0xca, 0xc5, 0x24, 0x42, 0x63, 0x44, 0x28, 0x1a, |
| 0x11, 0x4a, 0xd4, 0xa4, 0x1a, 0xb4, 0xf9, 0x62, 0x91, 0x0a, 0x66, 0x45, 0xf6, 0x87, 0xb7, 0x48, |
| 0xa1, 0xcf, 0x9c, 0xf1, 0x6c, 0x12, 0xa9, 0x49, 0x8e, 0xb5, 0xc0, 0xfd, 0x5a, 0x20, 0x27, 0xf0, |
| 0x98, 0x60, 0x9a, 0x44, 0x23, 0x7c, 0x82, 0xc6, 0x84, 0x0b, 0x0d, 0xb8, 0x63, 0x00, 0x6a, 0xf7, |
| 0xba, 0x75, 0x4f, 0xb7, 0xca, 0x5f, 0xa3, 0xe2, 0x18, 0x7e, 0x12, 0x28, 0xcf, 0xb1, 0x90, 0xba, |
| 0xbf, 0x65, 0x50, 0x11, 0x63, 0x5c, 0x21, 0x45, 0x38, 0xd3, 0xdd, 0x07, 0x3f, 0x96, 0x9d, 0xb5, |
| 0xb7, 0x12, 0x8b, 0x03, 0x6d, 0xcf, 0xed, 0x39, 0xeb, 0xf5, 0x80, 0x88, 0xa1, 0x0c, 0x7b, 0x56, |
| 0xdb, 0xea, 0x5c, 0xef, 0x3e, 0x3a, 0x0b, 0xed, 0x9f, 0xe1, 0x43, 0x67, 0xe7, 0x22, 0x48, 0x5d, |
| 0xe5, 0x44, 0x82, 0x98, 0x67, 0xd0, 0x54, 0xe9, 0xad, 0xd5, 0x1a, 0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