1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v2/resources/customer_manager_link.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/v2/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// Represents customer-manager link relationship. 28type CustomerManagerLink struct { 29 // Name of the resource. 30 // CustomerManagerLink resource names have the form: 31 // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` 32 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 33 // The manager customer linked to the customer. 34 ManagerCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=manager_customer,json=managerCustomer,proto3" json:"manager_customer,omitempty"` 35 // ID of the customer-manager link. This field is read only. 36 ManagerLinkId *wrappers.Int64Value `protobuf:"bytes,4,opt,name=manager_link_id,json=managerLinkId,proto3" json:"manager_link_id,omitempty"` 37 // Status of the link between the customer and the manager. 38 Status enums.ManagerLinkStatusEnum_ManagerLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.ManagerLinkStatusEnum_ManagerLinkStatus" json:"status,omitempty"` 39 XXX_NoUnkeyedLiteral struct{} `json:"-"` 40 XXX_unrecognized []byte `json:"-"` 41 XXX_sizecache int32 `json:"-"` 42} 43 44func (m *CustomerManagerLink) Reset() { *m = CustomerManagerLink{} } 45func (m *CustomerManagerLink) String() string { return proto.CompactTextString(m) } 46func (*CustomerManagerLink) ProtoMessage() {} 47func (*CustomerManagerLink) Descriptor() ([]byte, []int) { 48 return fileDescriptor_660308d23b11f4b7, []int{0} 49} 50 51func (m *CustomerManagerLink) XXX_Unmarshal(b []byte) error { 52 return xxx_messageInfo_CustomerManagerLink.Unmarshal(m, b) 53} 54func (m *CustomerManagerLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 55 return xxx_messageInfo_CustomerManagerLink.Marshal(b, m, deterministic) 56} 57func (m *CustomerManagerLink) XXX_Merge(src proto.Message) { 58 xxx_messageInfo_CustomerManagerLink.Merge(m, src) 59} 60func (m *CustomerManagerLink) XXX_Size() int { 61 return xxx_messageInfo_CustomerManagerLink.Size(m) 62} 63func (m *CustomerManagerLink) XXX_DiscardUnknown() { 64 xxx_messageInfo_CustomerManagerLink.DiscardUnknown(m) 65} 66 67var xxx_messageInfo_CustomerManagerLink proto.InternalMessageInfo 68 69func (m *CustomerManagerLink) GetResourceName() string { 70 if m != nil { 71 return m.ResourceName 72 } 73 return "" 74} 75 76func (m *CustomerManagerLink) GetManagerCustomer() *wrappers.StringValue { 77 if m != nil { 78 return m.ManagerCustomer 79 } 80 return nil 81} 82 83func (m *CustomerManagerLink) GetManagerLinkId() *wrappers.Int64Value { 84 if m != nil { 85 return m.ManagerLinkId 86 } 87 return nil 88} 89 90func (m *CustomerManagerLink) GetStatus() enums.ManagerLinkStatusEnum_ManagerLinkStatus { 91 if m != nil { 92 return m.Status 93 } 94 return enums.ManagerLinkStatusEnum_UNSPECIFIED 95} 96 97func init() { 98 proto.RegisterType((*CustomerManagerLink)(nil), "google.ads.googleads.v2.resources.CustomerManagerLink") 99} 100 101func init() { 102 proto.RegisterFile("google/ads/googleads/v2/resources/customer_manager_link.proto", fileDescriptor_660308d23b11f4b7) 103} 104 105var fileDescriptor_660308d23b11f4b7 = []byte{ 106 // 406 bytes of a gzipped FileDescriptorProto 107 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xd1, 0x0a, 0xd3, 0x30, 108 0x14, 0xa5, 0x9d, 0x0e, 0xac, 0xce, 0x49, 0x7d, 0x29, 0x73, 0xc8, 0xa6, 0x0c, 0xf6, 0x94, 0x40, 109 0x15, 0x85, 0x88, 0x0f, 0xdd, 0xd0, 0x31, 0x51, 0x19, 0x1d, 0xf4, 0x41, 0x8a, 0x25, 0x5b, 0x63, 110 0x28, 0x6b, 0x92, 0x92, 0xa4, 0xf3, 0x0b, 0xfc, 0x11, 0x9f, 0xc4, 0x4f, 0xf1, 0x53, 0xfc, 0x0a, 111 0x59, 0xd3, 0xd4, 0xc9, 0x9c, 0xbe, 0x9d, 0x26, 0xe7, 0x9c, 0x7b, 0xce, 0x4d, 0xbd, 0x97, 0x54, 112 0x08, 0x5a, 0x12, 0x88, 0x73, 0x05, 0x0d, 0x3c, 0xa1, 0x63, 0x08, 0x25, 0x51, 0xa2, 0x96, 0x7b, 113 0xa2, 0xe0, 0xbe, 0x56, 0x5a, 0x30, 0x22, 0x33, 0x86, 0x39, 0xa6, 0x44, 0x66, 0x65, 0xc1, 0x0f, 114 0xa0, 0x92, 0x42, 0x0b, 0x7f, 0x6a, 0x34, 0x00, 0xe7, 0x0a, 0x74, 0x72, 0x70, 0x0c, 0x41, 0x27, 115 0x1f, 0x3d, 0xbf, 0x36, 0x81, 0xf0, 0x9a, 0x29, 0x78, 0x6e, 0x9a, 0x29, 0x8d, 0x75, 0xad, 0x8c, 116 0xf7, 0xe8, 0x61, 0x2b, 0x6c, 0xbe, 0x76, 0xf5, 0x27, 0xf8, 0x59, 0xe2, 0xaa, 0x22, 0xd2, 0xde, 117 0x8f, 0xad, 0x71, 0x55, 0x40, 0xcc, 0xb9, 0xd0, 0x58, 0x17, 0x82, 0xb7, 0xb7, 0x8f, 0xbe, 0xb9, 118 0xde, 0xfd, 0x65, 0x9b, 0xfc, 0x9d, 0x99, 0xf1, 0xb6, 0xe0, 0x07, 0xff, 0xb1, 0x37, 0xb0, 0xd9, 119 0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, 0x77, 0x66, 0x2e, 0x10, 0x8a, 0x72, 0x85, 0x50, 0xc7, 0x42, 0x28, 0x09, 131 0x11, 0xea, 0x78, 0xbb, 0x7e, 0x13, 0xf6, 0xc9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x26, 0x11, 132 0x1c, 0x90, 0x14, 0x03, 0x00, 0x00, 133} 134