| // 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 { |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. Language code of the product bidding category. |
| LanguageCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| // Output only. 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{ |
| // 589 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcf, 0x6a, 0xd4, 0x40, |
| 0x18, 0x27, 0x59, 0xdb, 0xea, 0x74, 0xb7, 0x87, 0x9c, 0x62, 0x2d, 0x75, 0xab, 0x16, 0xf6, 0x34, |
| 0x71, 0xab, 0x28, 0xc6, 0x83, 0x24, 0xab, 0xd6, 0x8a, 0xc8, 0xb2, 0x85, 0x3d, 0x94, 0x85, 0x30, |
| 0x9b, 0x99, 0xc6, 0x40, 0x32, 0x13, 0x32, 0x93, 0x95, 0x2a, 0x0a, 0xbe, 0x81, 0xcf, 0xe0, 0xd1, |
| 0xbb, 0x57, 0x1f, 0xc0, 0xa7, 0xe8, 0xb9, 0x8f, 0xe0, 0x49, 0x32, 0x33, 0x49, 0x17, 0xb4, 0xd9, |
| 0x65, 0xbd, 0x7d, 0xe1, 0xfb, 0xfd, 0xf9, 0xe6, 0xfb, 0x7e, 0x04, 0x1c, 0x45, 0x8c, 0x45, 0x09, |
| 0x71, 0x10, 0xe6, 0x8e, 0x2a, 0xcb, 0x6a, 0xd6, 0x77, 0x72, 0xc2, 0x59, 0x91, 0x87, 0x84, 0x3b, |
| 0x59, 0xce, 0x70, 0x11, 0x8a, 0x60, 0x1a, 0x63, 0x1c, 0xd3, 0x28, 0x08, 0x91, 0x20, 0x11, 0xcb, |
| 0xcf, 0x82, 0x90, 0x51, 0x2e, 0x10, 0x15, 0x30, 0xcb, 0x99, 0x60, 0xd6, 0x9e, 0xe2, 0x43, 0x84, |
| 0x39, 0xac, 0xa5, 0xe0, 0xac, 0x0f, 0x6b, 0xa9, 0x6d, 0xff, 0x2a, 0x37, 0x42, 0x8b, 0xb4, 0xc1, |
| 0x29, 0x21, 0x33, 0x92, 0x28, 0x9b, 0xed, 0xc1, 0x8a, 0x1a, 0x5c, 0x20, 0x51, 0x70, 0x2d, 0x72, |
| 0xbb, 0x12, 0xc9, 0x62, 0xe7, 0x34, 0x26, 0x09, 0x0e, 0xa6, 0xe4, 0x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