1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v3/resources/product_bidding_category_constant.proto
3
4package resources
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	wrappers "github.com/golang/protobuf/ptypes/wrappers"
12	enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27// A Product Bidding Category.
28type ProductBiddingCategoryConstant struct {
29	// Output only. The resource name of the product bidding category.
30	// Product bidding category resource names have the form:
31	//
32	// `productBiddingCategoryConstants/{country_code}~{level}~{id}`
33	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
34	// Output only. ID of the product bidding category.
35	//
36	// This ID is equivalent to the google_product_category ID as described in
37	// this article: https://support.google.com/merchants/answer/6324436.
38	Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
39	// Output only. Two-letter upper-case country code of the product bidding category.
40	CountryCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
41	// Output only. Resource name of the parent product bidding category.
42	ProductBiddingCategoryConstantParent *wrappers.StringValue `protobuf:"bytes,4,opt,name=product_bidding_category_constant_parent,json=productBiddingCategoryConstantParent,proto3" json:"product_bidding_category_constant_parent,omitempty"`
43	// Output only. Level of the product bidding category.
44	Level enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel `protobuf:"varint,5,opt,name=level,proto3,enum=google.ads.googleads.v3.enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel" json:"level,omitempty"`
45	// Output only. Status of the product bidding category.
46	Status enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus" json:"status,omitempty"`
47	// Output only. Language code of the product bidding category.
48	LanguageCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
49	// Output only. Display value of the product bidding category localized according to
50	// language_code.
51	LocalizedName        *wrappers.StringValue `protobuf:"bytes,8,opt,name=localized_name,json=localizedName,proto3" json:"localized_name,omitempty"`
52	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
53	XXX_unrecognized     []byte                `json:"-"`
54	XXX_sizecache        int32                 `json:"-"`
55}
56
57func (m *ProductBiddingCategoryConstant) Reset()         { *m = ProductBiddingCategoryConstant{} }
58func (m *ProductBiddingCategoryConstant) String() string { return proto.CompactTextString(m) }
59func (*ProductBiddingCategoryConstant) ProtoMessage()    {}
60func (*ProductBiddingCategoryConstant) Descriptor() ([]byte, []int) {
61	return fileDescriptor_52fb4d93554a21c8, []int{0}
62}
63
64func (m *ProductBiddingCategoryConstant) XXX_Unmarshal(b []byte) error {
65	return xxx_messageInfo_ProductBiddingCategoryConstant.Unmarshal(m, b)
66}
67func (m *ProductBiddingCategoryConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
68	return xxx_messageInfo_ProductBiddingCategoryConstant.Marshal(b, m, deterministic)
69}
70func (m *ProductBiddingCategoryConstant) XXX_Merge(src proto.Message) {
71	xxx_messageInfo_ProductBiddingCategoryConstant.Merge(m, src)
72}
73func (m *ProductBiddingCategoryConstant) XXX_Size() int {
74	return xxx_messageInfo_ProductBiddingCategoryConstant.Size(m)
75}
76func (m *ProductBiddingCategoryConstant) XXX_DiscardUnknown() {
77	xxx_messageInfo_ProductBiddingCategoryConstant.DiscardUnknown(m)
78}
79
80var xxx_messageInfo_ProductBiddingCategoryConstant proto.InternalMessageInfo
81
82func (m *ProductBiddingCategoryConstant) GetResourceName() string {
83	if m != nil {
84		return m.ResourceName
85	}
86	return ""
87}
88
89func (m *ProductBiddingCategoryConstant) GetId() *wrappers.Int64Value {
90	if m != nil {
91		return m.Id
92	}
93	return nil
94}
95
96func (m *ProductBiddingCategoryConstant) GetCountryCode() *wrappers.StringValue {
97	if m != nil {
98		return m.CountryCode
99	}
100	return nil
101}
102
103func (m *ProductBiddingCategoryConstant) GetProductBiddingCategoryConstantParent() *wrappers.StringValue {
104	if m != nil {
105		return m.ProductBiddingCategoryConstantParent
106	}
107	return nil
108}
109
110func (m *ProductBiddingCategoryConstant) GetLevel() enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel {
111	if m != nil {
112		return m.Level
113	}
114	return enums.ProductBiddingCategoryLevelEnum_UNSPECIFIED
115}
116
117func (m *ProductBiddingCategoryConstant) GetStatus() enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus {
118	if m != nil {
119		return m.Status
120	}
121	return enums.ProductBiddingCategoryStatusEnum_UNSPECIFIED
122}
123
124func (m *ProductBiddingCategoryConstant) GetLanguageCode() *wrappers.StringValue {
125	if m != nil {
126		return m.LanguageCode
127	}
128	return nil
129}
130
131func (m *ProductBiddingCategoryConstant) GetLocalizedName() *wrappers.StringValue {
132	if m != nil {
133		return m.LocalizedName
134	}
135	return nil
136}
137
138func init() {
139	proto.RegisterType((*ProductBiddingCategoryConstant)(nil), "google.ads.googleads.v3.resources.ProductBiddingCategoryConstant")
140}
141
142func init() {
143	proto.RegisterFile("google/ads/googleads/v3/resources/product_bidding_category_constant.proto", fileDescriptor_52fb4d93554a21c8)
144}
145
146var fileDescriptor_52fb4d93554a21c8 = []byte{
147	// 590 bytes of a gzipped FileDescriptorProto
148	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x4f, 0x6b, 0xd4, 0x4c,
149	0x18, 0x27, 0xd9, 0xb7, 0xed, 0xeb, 0xb4, 0xdb, 0x43, 0x4e, 0xb1, 0x96, 0xba, 0x55, 0x0b, 0x7b,
150	0x9a, 0x48, 0x23, 0x8a, 0xf1, 0x20, 0xc9, 0xaa, 0xb5, 0x22, 0xb2, 0x6c, 0x61, 0x0f, 0x65, 0x21,
151	0xcc, 0x66, 0xa6, 0x31, 0x90, 0xcc, 0x84, 0xcc, 0x64, 0xa5, 0x8a, 0x82, 0xdf, 0xc0, 0xcf, 0xe0,
152	0xd1, 0xbb, 0x57, 0x3f, 0x80, 0x9f, 0xa2, 0xe7, 0x7e, 0x04, 0x4f, 0x92, 0x99, 0x49, 0xba, 0xa0,
153	0xcd, 0x2e, 0xeb, 0xed, 0x09, 0xcf, 0xef, 0xcf, 0x33, 0xcf, 0xf3, 0x23, 0xe0, 0x38, 0x66, 0x2c,
154	0x4e, 0x89, 0x83, 0x30, 0x77, 0x54, 0x59, 0x55, 0x33, 0xd7, 0x29, 0x08, 0x67, 0x65, 0x11, 0x11,
155	0xee, 0xe4, 0x05, 0xc3, 0x65, 0x24, 0xc2, 0x69, 0x82, 0x71, 0x42, 0xe3, 0x30, 0x42, 0x82, 0xc4,
156	0xac, 0x38, 0x0f, 0x23, 0x46, 0xb9, 0x40, 0x54, 0xc0, 0xbc, 0x60, 0x82, 0x59, 0xfb, 0x8a, 0x0f,
157	0x11, 0xe6, 0xb0, 0x91, 0x82, 0x33, 0x17, 0x36, 0x52, 0x3b, 0xc1, 0x75, 0x6e, 0x84, 0x96, 0x59,
158	0x8b, 0x53, 0x4a, 0x66, 0x24, 0x55, 0x36, 0x3b, 0x83, 0x15, 0x35, 0xb8, 0x40, 0xa2, 0xe4, 0x5a,
159	0xe4, 0x76, 0x2d, 0x92, 0x27, 0xce, 0x59, 0x42, 0x52, 0x1c, 0x4e, 0xc9, 0x5b, 0x34, 0x4b, 0x58,
160	0xa1, 0x01, 0x37, 0xe7, 0x00, 0xf5, 0xfc, 0xba, 0xb5, 0xa7, 0x5b, 0xf2, 0x6b, 0x5a, 0x9e, 0x39,
161	0xef, 0x0a, 0x94, 0xe7, 0xa4, 0xa8, 0xb5, 0x77, 0xe7, 0xa8, 0x88, 0x52, 0x26, 0x90, 0x48, 0x18,
162	0xd5, 0xdd, 0x3b, 0x3f, 0x36, 0xc0, 0xde, 0x50, 0xcd, 0x18, 0xa8, 0x11, 0x07, 0x7a, 0xc2, 0x81,
163	0x5e, 0xa7, 0x85, 0x41, 0xb7, 0xb6, 0x0c, 0x29, 0xca, 0x88, 0x6d, 0xf4, 0x8c, 0xfe, 0x8d, 0xe0,
164	0xe9, 0x85, 0xdf, 0xf9, 0xe5, 0x3f, 0x06, 0x8f, 0xae, 0x96, 0xab, 0xab, 0x3c, 0xe1, 0x30, 0x62,
165	0x99, 0xd3, 0xae, 0x3b, 0xda, 0xaa, 0x55, 0xdf, 0xa0, 0x8c, 0x58, 0xf7, 0x81, 0x99, 0x60, 0xdb,
166	0xec, 0x19, 0xfd, 0xcd, 0xc3, 0x5b, 0x5a, 0x09, 0xd6, 0x6f, 0x82, 0xc7, 0x54, 0x3c, 0x7c, 0x30,
167	0x46, 0x69, 0x49, 0x82, 0xce, 0x85, 0xdf, 0x19, 0x99, 0x09, 0xb6, 0x9e, 0x81, 0xad, 0x88, 0x95,
168	0x54, 0xc8, 0xd3, 0x63, 0x62, 0x77, 0x24, 0x77, 0xf7, 0x0f, 0xee, 0x89, 0x28, 0x12, 0x1a, 0xcf,
169	0x91, 0x37, 0x35, 0x6d, 0xc0, 0x30, 0xb1, 0xbe, 0x1b, 0xa0, 0xbf, 0x30, 0x52, 0x61, 0x8e, 0x0a,
170	0x42, 0x85, 0xfd, 0xdf, 0x12, 0x16, 0xff, 0xbc, 0x97, 0x7b, 0x79, 0x6b, 0x7f, 0x28, 0x47, 0xb1,
171	0x4a, 0xb0, 0x26, 0x63, 0x68, 0xaf, 0xf5, 0x8c, 0xfe, 0xf6, 0xe1, 0x29, 0xbc, 0x2e, 0xee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9, 0xe7, 0x35, 0x28, 0xcf, 0x1b, 0xbb, 0x9e, 0xd7, 0xe0, 0xa6, 0xeb, 0x72, 0x58, 0xf7,
184	0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x28, 0xdd, 0x23, 0x4d, 0x06, 0x00, 0x00,
185}
186