blob: bd788f055917e01c0410f172bfb7adcbdd87cdff [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/resources/product_bidding_category_constant.proto
package resources
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
enums "google.golang.org/genproto/googleapis/ads/googleads/v1/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 Product Bidding Category.
type ProductBiddingCategoryConstant struct {
// The resource name of the product bidding category.
// Product bidding category resource names have the form:
//
// `productBiddingCategoryConstants/{country_code}~{level}~{id}`
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// ID of the product bidding category.
//
// This ID is equivalent to the google_product_category ID as described in
// this article: https://support.google.com/merchants/answer/6324436.
Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Two-letter upper-case country code of the product bidding category.
CountryCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
// Resource name of the parent product bidding category.
ProductBiddingCategoryConstantParent *wrappers.StringValue `protobuf:"bytes,4,opt,name=product_bidding_category_constant_parent,json=productBiddingCategoryConstantParent,proto3" json:"product_bidding_category_constant_parent,omitempty"`
// Level of the product bidding category.
Level enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel `protobuf:"varint,5,opt,name=level,proto3,enum=google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel" json:"level,omitempty"`
// Status of the product bidding category.
Status enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus" json:"status,omitempty"`
// Language code of the product bidding category.
LanguageCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// Display value of the product bidding category localized according to
// language_code.
LocalizedName *wrappers.StringValue `protobuf:"bytes,8,opt,name=localized_name,json=localizedName,proto3" json:"localized_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProductBiddingCategoryConstant) Reset() { *m = ProductBiddingCategoryConstant{} }
func (m *ProductBiddingCategoryConstant) String() string { return proto.CompactTextString(m) }
func (*ProductBiddingCategoryConstant) ProtoMessage() {}
func (*ProductBiddingCategoryConstant) Descriptor() ([]byte, []int) {
return fileDescriptor_108bf531d72dd437, []int{0}
}
func (m *ProductBiddingCategoryConstant) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProductBiddingCategoryConstant.Unmarshal(m, b)
}
func (m *ProductBiddingCategoryConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProductBiddingCategoryConstant.Marshal(b, m, deterministic)
}
func (m *ProductBiddingCategoryConstant) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProductBiddingCategoryConstant.Merge(m, src)
}
func (m *ProductBiddingCategoryConstant) XXX_Size() int {
return xxx_messageInfo_ProductBiddingCategoryConstant.Size(m)
}
func (m *ProductBiddingCategoryConstant) XXX_DiscardUnknown() {
xxx_messageInfo_ProductBiddingCategoryConstant.DiscardUnknown(m)
}
var xxx_messageInfo_ProductBiddingCategoryConstant proto.InternalMessageInfo
func (m *ProductBiddingCategoryConstant) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func (m *ProductBiddingCategoryConstant) GetId() *wrappers.Int64Value {
if m != nil {
return m.Id
}
return nil
}
func (m *ProductBiddingCategoryConstant) GetCountryCode() *wrappers.StringValue {
if m != nil {
return m.CountryCode
}
return nil
}
func (m *ProductBiddingCategoryConstant) GetProductBiddingCategoryConstantParent() *wrappers.StringValue {
if m != nil {
return m.ProductBiddingCategoryConstantParent
}
return nil
}
func (m *ProductBiddingCategoryConstant) GetLevel() enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel {
if m != nil {
return m.Level
}
return enums.ProductBiddingCategoryLevelEnum_UNSPECIFIED
}
func (m *ProductBiddingCategoryConstant) GetStatus() enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus {
if m != nil {
return m.Status
}
return enums.ProductBiddingCategoryStatusEnum_UNSPECIFIED
}
func (m *ProductBiddingCategoryConstant) GetLanguageCode() *wrappers.StringValue {
if m != nil {
return m.LanguageCode
}
return nil
}
func (m *ProductBiddingCategoryConstant) GetLocalizedName() *wrappers.StringValue {
if m != nil {
return m.LocalizedName
}
return nil
}
func init() {
proto.RegisterType((*ProductBiddingCategoryConstant)(nil), "google.ads.googleads.v1.resources.ProductBiddingCategoryConstant")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/resources/product_bidding_category_constant.proto", fileDescriptor_108bf531d72dd437)
}
var fileDescriptor_108bf531d72dd437 = []byte{
// 510 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x41, 0x6b, 0xdb, 0x30,
0x14, 0xc7, 0xb1, 0xbb, 0x64, 0x9b, 0x9a, 0xf4, 0xe0, 0x93, 0xe9, 0x4a, 0x49, 0xd7, 0x15, 0x02,
0x03, 0x19, 0x77, 0x63, 0x07, 0xef, 0x30, 0x1c, 0x33, 0x4a, 0xc7, 0x18, 0xc1, 0x85, 0x1c, 0x8a,
0xc1, 0x28, 0x96, 0x26, 0x0c, 0xb6, 0x64, 0x24, 0x39, 0x63, 0xfb, 0x14, 0xbb, 0xee, 0xba, 0xe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