|
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/ads/googleads/v1/resources/customer_label.proto
-
- package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v1/resources"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import wrappers "github.com/golang/protobuf/ptypes/wrappers"
- import _ "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.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // Represents a relationship between a customer and a label. This customer may
- // not have access to all the labels attached to it. Additional CustomerLabels
- // may be returned by increasing permissions with login-customer-id.
- type CustomerLabel struct {
- // Name of the resource.
- // Customer label resource names have the form:
- // `customers/{customer_id}/customerLabels/{label_id}`
- ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
- // The resource name of the customer to which the label is attached.
- // Read only.
- Customer *wrappers.StringValue `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"`
- // The resource name of the label assigned to the customer.
- //
- // Note: the Customer ID portion of the label resource name is not
- // validated when creating a new CustomerLabel.
- Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *CustomerLabel) Reset() { *m = CustomerLabel{} }
- func (m *CustomerLabel) String() string { return proto.CompactTextString(m) }
- func (*CustomerLabel) ProtoMessage() {}
- func (*CustomerLabel) Descriptor() ([]byte, []int) {
- return fileDescriptor_customer_label_7ce4f5a277d32dfa, []int{0}
- }
- func (m *CustomerLabel) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CustomerLabel.Unmarshal(m, b)
- }
- func (m *CustomerLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CustomerLabel.Marshal(b, m, deterministic)
- }
- func (dst *CustomerLabel) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CustomerLabel.Merge(dst, src)
- }
- func (m *CustomerLabel) XXX_Size() int {
- return xxx_messageInfo_CustomerLabel.Size(m)
- }
- func (m *CustomerLabel) XXX_DiscardUnknown() {
- xxx_messageInfo_CustomerLabel.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_CustomerLabel proto.InternalMessageInfo
-
- func (m *CustomerLabel) GetResourceName() string {
- if m != nil {
- return m.ResourceName
- }
- return ""
- }
-
- func (m *CustomerLabel) GetCustomer() *wrappers.StringValue {
- if m != nil {
- return m.Customer
- }
- return nil
- }
-
- func (m *CustomerLabel) GetLabel() *wrappers.StringValue {
- if m != nil {
- return m.Label
- }
- return nil
- }
-
- func init() {
- proto.RegisterType((*CustomerLabel)(nil), "google.ads.googleads.v1.resources.CustomerLabel")
- }
-
- func init() {
- proto.RegisterFile("google/ads/googleads/v1/resources/customer_label.proto", fileDescriptor_customer_label_7ce4f5a277d32dfa)
- }
-
- var fileDescriptor_customer_label_7ce4f5a277d32dfa = []byte{
- // 322 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x4a, 0xc3, 0x30,
- 0x00, 0xc6, 0x49, 0x87, 0xa2, 0xd1, 0x5d, 0x7a, 0x1a, 0x63, 0xc8, 0xa6, 0x0c, 0x76, 0x4a, 0xe8,
- 0x04, 0x91, 0x78, 0xea, 0x3c, 0x0c, 0x44, 0x64, 0x4c, 0xe8, 0x41, 0x0a, 0x23, 0x6d, 0x63, 0x28,
- 0xb4, 0x49, 0x49, 0xda, 0xf9, 0x3e, 0x3b, 0xfa, 0x28, 0x3e, 0x8a, 0x2f, 0xa1, 0x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