// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/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/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 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.v2.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.v2.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_61549db8736ae5cd, []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.v2.resources.ProductBiddingCategoryConstant")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v2/resources/product_bidding_category_constant.proto", fileDescriptor_61549db8736ae5cd)
}

var fileDescriptor_61549db8736ae5cd = []byte{
	// 509 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x41, 0x8b, 0xd3, 0x40,
	0x14, 0xc7, 0x49, 0xd6, 0x56, 0x9d, 0x6d, 0xf7, 0x90, 0x53, 0x58, 0x97, 0xa5, 0xeb, 0xba, 0x50,
	0x10, 0x26, 0x10, 0xc5, 0x43, 0x3c, 0x48, 0x1a, 0x64, 0x59, 0x11, 0x29, 0x59, 0xe8, 0x61, 0x09,
	0x84, 0x69, 0x66, 0x1c, 0x02, 0xc9, 0x4c, 0x98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