| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/resources/customer_label.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| _ "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 |
| |
| // 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 { |
| // Immutable. 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"` |
| // Output only. 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"` |
| // Output only. 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_cb93c66565bf0f10, []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 (m *CustomerLabel) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CustomerLabel.Merge(m, 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.v3.resources.CustomerLabel") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/resources/customer_label.proto", fileDescriptor_cb93c66565bf0f10) |
| } |
| |
| var fileDescriptor_cb93c66565bf0f10 = []byte{ |
| // 402 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0xaa, 0xd3, 0x40, |
| 0x18, 0xc5, 0x49, 0x42, 0x45, 0xa3, 0xdd, 0x64, 0x55, 0x4b, 0xd1, 0x56, 0xa8, 0x74, 0x35, 0x03, |
| 0x46, 0x14, 0x46, 0x5c, 0x4c, 0x5c, 0x14, 0x44, 0xa4, 0xb4, 0x90, 0x85, 0x04, 0xcb, 0x24, 0x99, |
| 0xc6, 0x40,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26, 0x25, 0xf5, 0xde, 0xbb, 0x0f, 0xf5, 0xdb, 0x8c, 0xec, 0xa9, 0xb5, |
| 0x78, 0xfc, 0x6a, 0xa2, 0xe2, 0x40, 0xf7, 0x06, 0x9b, 0x86, 0xe7, 0x55, 0x16, 0x92, 0xa2, 0xa5, |
| 0x81, 0x73, 0xc4, 0xce, 0xda, 0x44, 0xbc, 0xb7, 0xee, 0xa0, 0x7f, 0xd1, 0x91, 0x73, 0x6b, 0x56, |
| 0xf2, 0x88, 0x9c, 0xf0, 0xd7, 0x5b, 0x2b, 0x7b, 0xaf, 0xf5, 0x79, 0x02, 0xfe, 0xd0, 0xf2, 0x60, |
| 0x76, 0xda, 0x33, 0x17, 0x8e, 0xdc, 0xf1, 0x21, 0xf8, 0x67, 0xb9, 0xf3, 0x84, 0x95, 0xe0, 0xde, |
| 0x2d, 0x07, 0xde, 0xd5, 0x71, 0xab, 0xae, 0xfb, 0xca, 0xfa, 0xf2, 0x51, 0x05, 0x33, 0x56, 0x90, |
| 0x2a, 0x03, 0x8c, 0x67, 0x30, 0xa3, 0x55, 0x7f, 0x33, 0x78, 0xae, 0x7b, 0xc7, 0x5f, 0xf7, 0xce, |
| 0xa8, 0x9f, 0xb6, 0xb3, 0xc4, 0xf8, 0x97, 0x3d, 0x5b, 0xca, 0x91, 0x38, 0x15, 0x40, 0xca, 0x4e, |
| 0x85, 0x3e, 0x58, 0x6b, 0xf2, 0x8f, 0x66, 0x22, 0x9c, 0x8a, 0xc8, 0x30, 0x51, 0xe8, 0x47, 0x86, |
| 0x39, 0xd9, 0x73, 0x69, 0x20, 0x84, 0x53, 0x81, 0x90, 0xa1, 0x10, 0x0a, 0x7d, 0x84, 0x0c, 0x17, |
| 0x3f, 0xe8, 0xcb, 0xfa, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xb0, 0x23, 0xfc, 0x21, 0x03, |
| 0x00, 0x00, |
| } |