1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v3/resources/customer_label.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 _ "google.golang.org/genproto/googleapis/api/annotations" 13) 14 15// Reference imports to suppress errors if they are not otherwise used. 16var _ = proto.Marshal 17var _ = fmt.Errorf 18var _ = math.Inf 19 20// This is a compile-time assertion to ensure that this generated file 21// is compatible with the proto package it is being compiled against. 22// A compilation error at this line likely means your copy of the 23// proto package needs to be updated. 24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 25 26// Represents a relationship between a customer and a label. This customer may 27// not have access to all the labels attached to it. Additional CustomerLabels 28// may be returned by increasing permissions with login-customer-id. 29type CustomerLabel struct { 30 // Immutable. Name of the resource. 31 // Customer label resource names have the form: 32 // `customers/{customer_id}/customerLabels/{label_id}` 33 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 34 // Output only. The resource name of the customer to which the label is attached. 35 // Read only. 36 Customer *wrappers.StringValue `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` 37 // Output only. The resource name of the label assigned to the customer. 38 // 39 // Note: the Customer ID portion of the label resource name is not 40 // validated when creating a new CustomerLabel. 41 Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` 42 XXX_NoUnkeyedLiteral struct{} `json:"-"` 43 XXX_unrecognized []byte `json:"-"` 44 XXX_sizecache int32 `json:"-"` 45} 46 47func (m *CustomerLabel) Reset() { *m = CustomerLabel{} } 48func (m *CustomerLabel) String() string { return proto.CompactTextString(m) } 49func (*CustomerLabel) ProtoMessage() {} 50func (*CustomerLabel) Descriptor() ([]byte, []int) { 51 return fileDescriptor_cb93c66565bf0f10, []int{0} 52} 53 54func (m *CustomerLabel) XXX_Unmarshal(b []byte) error { 55 return xxx_messageInfo_CustomerLabel.Unmarshal(m, b) 56} 57func (m *CustomerLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 58 return xxx_messageInfo_CustomerLabel.Marshal(b, m, deterministic) 59} 60func (m *CustomerLabel) XXX_Merge(src proto.Message) { 61 xxx_messageInfo_CustomerLabel.Merge(m, src) 62} 63func (m *CustomerLabel) XXX_Size() int { 64 return xxx_messageInfo_CustomerLabel.Size(m) 65} 66func (m *CustomerLabel) XXX_DiscardUnknown() { 67 xxx_messageInfo_CustomerLabel.DiscardUnknown(m) 68} 69 70var xxx_messageInfo_CustomerLabel proto.InternalMessageInfo 71 72func (m *CustomerLabel) GetResourceName() string { 73 if m != nil { 74 return m.ResourceName 75 } 76 return "" 77} 78 79func (m *CustomerLabel) GetCustomer() *wrappers.StringValue { 80 if m != nil { 81 return m.Customer 82 } 83 return nil 84} 85 86func (m *CustomerLabel) GetLabel() *wrappers.StringValue { 87 if m != nil { 88 return m.Label 89 } 90 return nil 91} 92 93func init() { 94 proto.RegisterType((*CustomerLabel)(nil), "google.ads.googleads.v3.resources.CustomerLabel") 95} 96 97func init() { 98 proto.RegisterFile("google/ads/googleads/v3/resources/customer_label.proto", fileDescriptor_cb93c66565bf0f10) 99} 100 101var fileDescriptor_cb93c66565bf0f10 = []byte{ 102 // 402 bytes of a gzipped FileDescriptorProto 103 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0xaa, 0xd3, 0x40, 104 0x18, 0xc5, 0x49, 0x42, 0x45, 0xa3, 0xdd, 0x64, 0x55, 0x4b, 0xd1, 0x56, 0xa8, 0x74, 0x35, 0x03, 105 0x46, 0x14, 0x46, 0x5c, 0x4c, 0x5c, 0x14, 0x44, 0xa4, 0xb4, 0x90, 0x85, 0x04, 0xcb, 0x24, 0x99, 106 0xc6, 0x40, 0x92, 0x09, 0x33, 0x49, 0x5d, 0x48, 0x5f, 0xc6, 0xa5, 0x2f, 0xe1, 0xde, 0xa7, 0xe8, 107 0xba, 0x8f, 0xe0, 0x46, 0x49, 0xe6, 0x4f, 0xdb, 0xcd, 0xbd, 0xdd, 0x9d, 0x70, 0x7e, 0xe7, 0x9b, 108 0x33, 0xf3, 0xc5, 0x7d, 0x93, 0x31, 0x96, 0x15, 0x14, 0x92, 0x54, 0x40, 0x29, 0x3b, 0xb5, 0xf7, 109 0x21, 0xa7, 0x82, 0xb5, 0x3c, 0xa1, 0x02, 0x26, 0xad, 0x68, 0x58, 0x49, 0xf9, 0xb6, 0x20, 0x31, 110 0x2d, 0x40, 0xcd, 0x59, 0xc3, 0xbc, 0x99, 0x84, 0x01, 0x49, 0x05, 0x30, 0x39, 0xb0, 0xf7, 0x81, 111 0xc9, 0x8d, 0x9f, 0xeb, 0xd1, 0x75, 0x0e, 0x77, 0x39, 0x2d, 0xd2, 0x6d, 0x4c, 0xbf, 0x91, 0x7d, 112 0xce, 0xb8, 0x9c, 0x31, 0x7e, 0x7a, 0x01, 0xe8, 0x98, 0xb2, 0x9e, 0x29, 0xab, 0xff, 0x8a, 0xdb, 113 0x1d, 0xfc, 0xce, 0x49, 0x5d, 0x53, 0x2e, 0x94, 0x3f, 0xb9, 0x88, 0x92, 0xaa, 0x62, 0x0d, 0x69, 114 0x72, 0x56, 0x29, 0xf7, 0xc5, 0x6f, 0xdb, 0x1d, 0x7e, 0x50, 0xad, 0x3f, 0x75, 0xa5, 0xbd, 0x8d, 115 0x3b, 0xd4, 0x27, 0x6c, 0x2b, 0x52, 0xd2, 0x91, 0x35, 0xb5, 0x16, 0x8f, 0x02, 0x70, 0xc4, 0x83, 116 0xbf, 0x78, 0xe1, 0xbe, 0x3c, 0x5f, 0x41, 0xa9, 0x3a, 0x17, 0x20, 0x61, 0x25, 0xbc, 0x1a, 0xb3, 117 0x7e, 0xa2, 0x87, 0x7c, 0x26, 0x25, 0xf5, 0xde, 0xbb, 0x0f, 0xf5, 0xdb, 0x8c, 0xec, 0xa9, 0xb5, 118 0x78, 0xfc, 0x6a, 0xa2, 0xe2, 0x40, 0xf7, 0x06, 0x9b, 0x86, 0xe7, 0x55, 0x16, 0x92, 0xa2, 0xa5, 119 0x81, 0x73, 0xc4, 0xce, 0xda, 0x44, 0xbc, 0xb7, 0xee, 0xa0, 0x7f, 0xd1, 0x91, 0x73, 0x6b, 0x56, 120 0xf2, 0x88, 0x9c, 0xf0, 0xd7, 0x5b, 0x2b, 0x7b, 0xaf, 0xf5, 0x79, 0x02, 0xfe, 0xd0, 0xf2, 0x60, 121 0x76, 0xda, 0x33, 0x17, 0x8e, 0xdc, 0xf1, 0x21, 0xf8, 0x67, 0xb9, 0xf3, 0x84, 0x95, 0xe0, 0xde, 122 0x2d, 0x07, 0xde, 0xd5, 0x71, 0xab, 0xae, 0xfb, 0xca, 0xfa, 0xf2, 0x51, 0x05, 0x33, 0x56, 0x90, 123 0x2a, 0x03, 0x8c, 0x67, 0x30, 0xa3, 0x55, 0x7f, 0x33, 0x78, 0xae, 0x7b, 0xc7, 0x5f, 0xf7, 0xce, 124 0xa8, 0x9f, 0xb6, 0xb3, 0xc4, 0xf8, 0x97, 0x3d, 0x5b, 0xca, 0x91, 0x38, 0x15, 0x40, 0xca, 0x4e, 125 0x85, 0x3e, 0x58, 0x6b, 0xf2, 0x8f, 0x66, 0x22, 0x9c, 0x8a, 0xc8, 0x30, 0x51, 0xe8, 0x47, 0x86, 126 0x39, 0xd9, 0x73, 0x69, 0x20, 0x84, 0x53, 0x81, 0x90, 0xa1, 0x10, 0x0a, 0x7d, 0x84, 0x0c, 0x17, 127 0x3f, 0xe8, 0xcb, 0xfa, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xb0, 0x23, 0xfc, 0x21, 0x03, 128 0x00, 0x00, 129} 130