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.
 
 
 

177 lines
9.1 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/product_bidding_category_constant.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 enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  19. // A Product Bidding Category.
  20. type ProductBiddingCategoryConstant struct {
  21. // The resource name of the product bidding category.
  22. // Product bidding category resource names have the form:
  23. //
  24. // `productBiddingCategoryConstants/{country_code}~{level}~{id}`
  25. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  26. // ID of the product bidding category.
  27. //
  28. // This ID is equivalent to the google_product_category ID as described in
  29. // this article: https://support.google.com/merchants/answer/6324436.
  30. Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  31. // Two-letter upper-case country code of the product bidding category.
  32. CountryCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
  33. // Resource name of the parent product bidding category.
  34. ProductBiddingCategoryConstantParent *wrappers.StringValue `protobuf:"bytes,4,opt,name=product_bidding_category_constant_parent,json=productBiddingCategoryConstantParent,proto3" json:"product_bidding_category_constant_parent,omitempty"`
  35. // Level of the product bidding category.
  36. Level enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel `protobuf:"varint,5,opt,name=level,proto3,enum=google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel" json:"level,omitempty"`
  37. // Status of the product bidding category.
  38. Status enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus" json:"status,omitempty"`
  39. // Language code of the product bidding category.
  40. LanguageCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
  41. // Display value of the product bidding category localized according to
  42. // language_code.
  43. LocalizedName *wrappers.StringValue `protobuf:"bytes,8,opt,name=localized_name,json=localizedName,proto3" json:"localized_name,omitempty"`
  44. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  45. XXX_unrecognized []byte `json:"-"`
  46. XXX_sizecache int32 `json:"-"`
  47. }
  48. func (m *ProductBiddingCategoryConstant) Reset() { *m = ProductBiddingCategoryConstant{} }
  49. func (m *ProductBiddingCategoryConstant) String() string { return proto.CompactTextString(m) }
  50. func (*ProductBiddingCategoryConstant) ProtoMessage() {}
  51. func (*ProductBiddingCategoryConstant) Descriptor() ([]byte, []int) {
  52. return fileDescriptor_product_bidding_category_constant_04b25bad4e60ce43, []int{0}
  53. }
  54. func (m *ProductBiddingCategoryConstant) XXX_Unmarshal(b []byte) error {
  55. return xxx_messageInfo_ProductBiddingCategoryConstant.Unmarshal(m, b)
  56. }
  57. func (m *ProductBiddingCategoryConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  58. return xxx_messageInfo_ProductBiddingCategoryConstant.Marshal(b, m, deterministic)
  59. }
  60. func (dst *ProductBiddingCategoryConstant) XXX_Merge(src proto.Message) {
  61. xxx_messageInfo_ProductBiddingCategoryConstant.Merge(dst, src)
  62. }
  63. func (m *ProductBiddingCategoryConstant) XXX_Size() int {
  64. return xxx_messageInfo_ProductBiddingCategoryConstant.Size(m)
  65. }
  66. func (m *ProductBiddingCategoryConstant) XXX_DiscardUnknown() {
  67. xxx_messageInfo_ProductBiddingCategoryConstant.DiscardUnknown(m)
  68. }
  69. var xxx_messageInfo_ProductBiddingCategoryConstant proto.InternalMessageInfo
  70. func (m *ProductBiddingCategoryConstant) GetResourceName() string {
  71. if m != nil {
  72. return m.ResourceName
  73. }
  74. return ""
  75. }
  76. func (m *ProductBiddingCategoryConstant) GetId() *wrappers.Int64Value {
  77. if m != nil {
  78. return m.Id
  79. }
  80. return nil
  81. }
  82. func (m *ProductBiddingCategoryConstant) GetCountryCode() *wrappers.StringValue {
  83. if m != nil {
  84. return m.CountryCode
  85. }
  86. return nil
  87. }
  88. func (m *ProductBiddingCategoryConstant) GetProductBiddingCategoryConstantParent() *wrappers.StringValue {
  89. if m != nil {
  90. return m.ProductBiddingCategoryConstantParent
  91. }
  92. return nil
  93. }
  94. func (m *ProductBiddingCategoryConstant) GetLevel() enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel {
  95. if m != nil {
  96. return m.Level
  97. }
  98. return enums.ProductBiddingCategoryLevelEnum_UNSPECIFIED
  99. }
  100. func (m *ProductBiddingCategoryConstant) GetStatus() enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus {
  101. if m != nil {
  102. return m.Status
  103. }
  104. return enums.ProductBiddingCategoryStatusEnum_UNSPECIFIED
  105. }
  106. func (m *ProductBiddingCategoryConstant) GetLanguageCode() *wrappers.StringValue {
  107. if m != nil {
  108. return m.LanguageCode
  109. }
  110. return nil
  111. }
  112. func (m *ProductBiddingCategoryConstant) GetLocalizedName() *wrappers.StringValue {
  113. if m != nil {
  114. return m.LocalizedName
  115. }
  116. return nil
  117. }
  118. func init() {
  119. proto.RegisterType((*ProductBiddingCategoryConstant)(nil), "google.ads.googleads.v1.resources.ProductBiddingCategoryConstant")
  120. }
  121. func init() {
  122. proto.RegisterFile("google/ads/googleads/v1/resources/product_bidding_category_constant.proto", fileDescriptor_product_bidding_category_constant_04b25bad4e60ce43)
  123. }
  124. var fileDescriptor_product_bidding_category_constant_04b25bad4e60ce43 = []byte{
  125. // 507 bytes of a gzipped FileDescriptorProto
  126. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x6a, 0xd4, 0x40,
  127. 0x18, 0x27, 0xa9, 0xbb, 0xea, 0x74, 0xb7, 0x87, 0x9c, 0x42, 0x2d, 0x65, 0x6b, 0x15, 0x16, 0x84,
  128. 0x09, 0xa9, 0xe2, 0x21, 0x1e, 0x24, 0x1b, 0xa4, 0x54, 0x44, 0x96, 0x14, 0xf6, 0x50, 0x02, 0x61,
  129. 0x36, 0x33, 0x0e, 0x81, 0x64, 0x26, 0xcc, 0x4c, 0x56, 0xf4, 0x19, 0x7c, 0x01, 0xaf, 0x1e, 0x7d,
  130. 0x14, 0x1f, 0xc5, 0xa7, 0x90, 0xcc, 0x64, 0x72, 0xb1, 0x4d, 0x97, 0xde, 0xbe, 0x64, 0x7e, 0x7f,
  131. 0xbe, 0x7c, 0xbf, 0x6f, 0x02, 0xae, 0x28, 0xe7, 0xb4, 0x22, 0x01, 0xc2, 0x32, 0x30, 0x65, 0x57,
  132. 0xed, 0xc2, 0x40, 0x10, 0xc9, 0x5b, 0x51, 0x10, 0x19, 0x34, 0x82, 0xe3, 0xb6, 0x50, 0xf9, 0xb6,
  133. 0xc4, 0xb8, 0x64, 0x34, 0x2f, 0x90, 0x22, 0x94, 0x8b, 0x6f, 0x79, 0xc1, 0x99, 0x54, 0x88, 0x29,
  134. 0xd8, 0x08, 0xae, 0xb8, 0x77, 0x66, 0xf8, 0x10, 0x61, 0x09, 0x07, 0x29, 0xb8, 0x0b, 0xe1, 0x20,
  135. 0x75, 0xbc, 0xba, 0xcb, 0x8d, 0xb0, 0xb6, 0x1e, 0x71, 0xaa, 0xc8, 0x8e, 0x54, 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, 0xb0, 0xb6, 0x1e, 0x3b,
  147. 0x4f, 0x8d, 0x91, 0xa7, 0xc0, 0xd4, 0x64, 0xed, 0x4f, 0xb5, 0x65, 0xf6, 0x20, 0xcb, 0x6b, 0x2d,
  148. 0x31, 0xe2, 0x69, 0x00, 0x69, 0xef, 0xe5, 0xc5, 0x60, 0x5e, 0x21, 0x46, 0x5b, 0x44, 0x89, 0xc9,
  149. 0xe7, 0xf1, 0x1e, 0x23, 0x9c, 0x59, 0x8a, 0x0e, 0x28, 0x01, 0x47, 0x15, 0x2f, 0x50, 0x55, 0x7e,
  150. 0x27, 0xd8, 0x2c, 0xcd, 0x93, 0x3d, 0x34, 0xe6, 0x03, 0xa7, 0xdb, 0xa9, 0xd5, 0x0f, 0x17, 0xbc,
  151. 0x2c, 0x78, 0x0d, 0xef, 0xbd, 0x8c, 0xab, 0xf3, 0xf1, 0x15, 0x5e, 0x77, 0x66, 0x6b, 0xe7, 0xe6,
  152. 0x63, 0xaf, 0x44, 0x79, 0xd7, 0x2c, 0xe4, 0x82, 0x06, 0x94, 0x30, 0xdd, 0x8a, 0xbd, 0x7f, 0x4d,
  153. 0x29, 0x47, 0x7e, 0x20, 0xef, 0x86, 0xea, 0x97, 0x7b, 0x70, 0x19, 0xc7, 0xbf, 0xdd, 0xb3, 0x4b,
  154. 0x23, 0x19, 0x63, 0x09, 0x4d, 0xd9, 0x55, 0x9b, 0x10, 0xa6, 0x16, 0xf9, 0xc7, 0x62, 0xb2, 0x18,
  155. 0xcb, 0x6c, 0xc0, 0x64, 0x9b, 0x30, 0x1b, 0x30, 0x7f, 0x2d, 0x26, 0x8a, 0x62, 0x2c, 0xa3, 0x68,
  156. 0x40, 0x45, 0xd1, 0x26, 0x8c, 0xa2, 0x2e, 0x3a, 0xb9, 0x9d, 0xea, 0x46, 0x5f, 0xff, 0x0b, 0x00,
  157. 0x00, 0xff, 0xff, 0x28, 0xfe, 0x4a, 0x49, 0xe8, 0x04, 0x00, 0x00,
  158. }