You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

166 lines
8.0 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/user_interest.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v1/resources"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  8. import common "google.golang.org/genproto/googleapis/ads/googleads/v1/common"
  9. import enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  10. import _ "google.golang.org/genproto/googleapis/api/annotations"
  11. // Reference imports to suppress errors if they are not otherwise used.
  12. var _ = proto.Marshal
  13. var _ = fmt.Errorf
  14. var _ = math.Inf
  15. // This is a compile-time assertion to ensure that this generated file
  16. // is compatible with the proto package it is being compiled against.
  17. // A compilation error at this line likely means your copy of the
  18. // proto package needs to be updated.
  19. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  20. // A user interest: a particular interest-based vertical to be targeted.
  21. type UserInterest struct {
  22. // The resource name of the user interest.
  23. // User interest resource names have the form:
  24. //
  25. // `customers/{customer_id}/userInterests/{user_interest_id}`
  26. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  27. // Taxonomy type of the user interest.
  28. 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"`
  29. // The ID of the user interest.
  30. UserInterestId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=user_interest_id,json=userInterestId,proto3" json:"user_interest_id,omitempty"`
  31. // The name of the user interest.
  32. Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  33. // The parent of the user interest.
  34. UserInterestParent *wrappers.StringValue `protobuf:"bytes,5,opt,name=user_interest_parent,json=userInterestParent,proto3" json:"user_interest_parent,omitempty"`
  35. // True if the user interest is launched to all channels and locales.
  36. LaunchedToAll *wrappers.BoolValue `protobuf:"bytes,6,opt,name=launched_to_all,json=launchedToAll,proto3" json:"launched_to_all,omitempty"`
  37. // Availability information of the user interest.
  38. Availabilities []*common.CriterionCategoryAvailability `protobuf:"bytes,7,rep,name=availabilities,proto3" json:"availabilities,omitempty"`
  39. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  40. XXX_unrecognized []byte `json:"-"`
  41. XXX_sizecache int32 `json:"-"`
  42. }
  43. func (m *UserInterest) Reset() { *m = UserInterest{} }
  44. func (m *UserInterest) String() string { return proto.CompactTextString(m) }
  45. func (*UserInterest) ProtoMessage() {}
  46. func (*UserInterest) Descriptor() ([]byte, []int) {
  47. return fileDescriptor_user_interest_2ea4a1d7cac754bb, []int{0}
  48. }
  49. func (m *UserInterest) XXX_Unmarshal(b []byte) error {
  50. return xxx_messageInfo_UserInterest.Unmarshal(m, b)
  51. }
  52. func (m *UserInterest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  53. return xxx_messageInfo_UserInterest.Marshal(b, m, deterministic)
  54. }
  55. func (dst *UserInterest) XXX_Merge(src proto.Message) {
  56. xxx_messageInfo_UserInterest.Merge(dst, src)
  57. }
  58. func (m *UserInterest) XXX_Size() int {
  59. return xxx_messageInfo_UserInterest.Size(m)
  60. }
  61. func (m *UserInterest) XXX_DiscardUnknown() {
  62. xxx_messageInfo_UserInterest.DiscardUnknown(m)
  63. }
  64. var xxx_messageInfo_UserInterest proto.InternalMessageInfo
  65. func (m *UserInterest) GetResourceName() string {
  66. if m != nil {
  67. return m.ResourceName
  68. }
  69. return ""
  70. }
  71. func (m *UserInterest) GetTaxonomyType() enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType {
  72. if m != nil {
  73. return m.TaxonomyType
  74. }
  75. return enums.UserInterestTaxonomyTypeEnum_UNSPECIFIED
  76. }
  77. func (m *UserInterest) GetUserInterestId() *wrappers.Int64Value {
  78. if m != nil {
  79. return m.UserInterestId
  80. }
  81. return nil
  82. }
  83. func (m *UserInterest) GetName() *wrappers.StringValue {
  84. if m != nil {
  85. return m.Name
  86. }
  87. return nil
  88. }
  89. func (m *UserInterest) GetUserInterestParent() *wrappers.StringValue {
  90. if m != nil {
  91. return m.UserInterestParent
  92. }
  93. return nil
  94. }
  95. func (m *UserInterest) GetLaunchedToAll() *wrappers.BoolValue {
  96. if m != nil {
  97. return m.LaunchedToAll
  98. }
  99. return nil
  100. }
  101. func (m *UserInterest) GetAvailabilities() []*common.CriterionCategoryAvailability {
  102. if m != nil {
  103. return m.Availabilities
  104. }
  105. return nil
  106. }
  107. func init() {
  108. proto.RegisterType((*UserInterest)(nil), "google.ads.googleads.v1.resources.UserInterest")
  109. }
  110. func init() {
  111. proto.RegisterFile("google/ads/googleads/v1/resources/user_interest.proto", fileDescriptor_user_interest_2ea4a1d7cac754bb)
  112. }
  113. var fileDescriptor_user_interest_2ea4a1d7cac754bb = []byte{
  114. // 519 bytes of a gzipped FileDescriptorProto
  115. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdd, 0x8a, 0xd3, 0x40,
  116. 0x14, 0x26, 0x6d, 0x5d, 0x31, 0xdb, 0x56, 0x0d, 0x5e, 0x84, 0xba, 0x48, 0x57, 0x59, 0xe8, 0xd5,
  117. 0xc4, 0xd6, 0x9f, 0x8b, 0x88, 0x48, 0xba, 0x2e, 0x4b, 0xbd, 0x58, 0x4a, 0xad, 0xbd, 0x90, 0x42,
  118. 0x98, 0x26, 0xc7, 0x38, 0x30, 0x99, 0x13, 0x66, 0x26, 0xd5, 0xbc, 0xce, 0x5e, 0xfa, 0x28, 0x3e,
  119. 0x8a, 0x0f, 0x21, 0xd2, 0xfc, 0x91, 0xee, 0x52, 0xf5, 0xee, 0x24, 0xe7, 0xfb, 0x39, 0x67, 0xe6,
  120. 0x1b, 0xf3, 0x55, 0x84, 0x18, 0x71, 0x70, 0x68, 0xa8, 0x9c, 0xa2, 0xdc, 0x55, 0xdb, 0xb1, 0x23,
  121. 0x41, 0x61, 0x2a, 0x03, 0x50, 0x4e, 0xaa, 0x40, 0xfa, 0x4c, 0x68, 0x90, 0xa0, 0x34, 0x49, 0x24,
  122. 0x6a, 0xb4, 0x4e, 0x0b, 0x2c, 0xa1, 0xa1, 0x22, 0x35, 0x8d, 0x6c, 0xc7, 0xa4, 0xa6, 0x0d, 0xde,
  123. 0x1f, 0x52, 0x0e, 0x30, 0x8e, 0x51, 0x38, 0x81, 0x64, 0x1a, 0x24, 0x43, 0xe1, 0x07, 0x54, 0x43,
  124. 0x84, 0x32, 0xf3, 0xe9, 0x96, 0x32, 0x4e, 0x37, 0x8c, 0x33, 0x9d, 0x15, 0x46, 0x83, 0x77, 0x87,
  125. 0x54, 0x40, 0xa4, 0xf1, 0x8d, 0xd9, 0x7c, 0x4d, 0xbf, 0xa3, 0xc0, 0x38, 0xf3, 0x75, 0x96, 0x40,
  126. 0x29, 0xf0, 0xa4, 0x14, 0xc8, 0xbf, 0x36, 0xe9, 0x17, 0xe7, 0x9b, 0xa4, 0x49, 0x02, 0x52, 0x95,
  127. 0xfd, 0x93, 0xca, 0x20, 0x61, 0x0e, 0x15, 0x02, 0x35, 0xd5, 0x0c, 0x45, 0xd9, 0x7d, 0x7a, 0xdd,
  128. 0x31, 0xbb, 0x9f, 0x14, 0xc8, 0x59, 0x69, 0x61, 0x3d, 0x33, 0x7b, 0xd5, 0x8a, 0xbe, 0xa0, 0x31,
  129. 0xd8, 0xc6, 0xd0, 0x18, 0xdd, 0x5b, 0x74, 0xab, 0x9f, 0x57, 0x34, 0x06, 0x2b, 0x33, 0x7b, 0x7b,
  130. 0xa3, 0xd8, 0xad, 0xa1, 0x31, 0xea, 0x4f, 0x96, 0xe4, 0xd0, 0xa9, 0xe5, 0xc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, 0x90, 0x53, 0x11, 0x11, 0x94,
  142. 0x91, 0x13, 0x81, 0xc8, 0xb7, 0xab, 0x22, 0x9f, 0x30, 0xf5, 0x97, 0x17, 0xfa, 0xa6, 0xae, 0xae,
  143. 0x5b, 0xed, 0x4b, 0xcf, 0xfb, 0xd1, 0x3a, 0xbd, 0x2c, 0x24, 0xbd, 0x50, 0x91, 0xa2, 0xdc, 0x55,
  144. 0xab, 0x31, 0x59, 0x54, 0xc8, 0x9f, 0x15, 0x66, 0xed, 0x85, 0x6a, 0x5d, 0x63, 0xd6, 0xab, 0xf1,
  145. 0xba, 0xc6, 0xfc, 0x6a, 0x9d, 0x15, 0x0d, 0xd7, 0xf5, 0x42, 0xe5, 0xba, 0x35, 0xca, 0x75, 0x57,
  146. 0x63, 0xd7, 0xad, 0x71, 0x9b, 0xa3, 0x7c, 0xd8, 0x17, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xda,
  147. 0xa5, 0x56, 0xfb, 0x4d, 0x04, 0x00, 0x00,
  148. }