1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/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/v1/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	//
32	// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}`
33	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
34	// The manager customer linked to the customer.
35	ManagerCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=manager_customer,json=managerCustomer,proto3" json:"manager_customer,omitempty"`
36	// ID of the customer-manager link. This field is read only.
37	ManagerLinkId *wrappers.Int64Value `protobuf:"bytes,4,opt,name=manager_link_id,json=managerLinkId,proto3" json:"manager_link_id,omitempty"`
38	// Status of the link between the customer and the manager.
39	Status               enums.ManagerLinkStatusEnum_ManagerLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.ManagerLinkStatusEnum_ManagerLinkStatus" json:"status,omitempty"`
40	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
41	XXX_unrecognized     []byte                                        `json:"-"`
42	XXX_sizecache        int32                                         `json:"-"`
43}
44
45func (m *CustomerManagerLink) Reset()         { *m = CustomerManagerLink{} }
46func (m *CustomerManagerLink) String() string { return proto.CompactTextString(m) }
47func (*CustomerManagerLink) ProtoMessage()    {}
48func (*CustomerManagerLink) Descriptor() ([]byte, []int) {
49	return fileDescriptor_7e3318e064b05720, []int{0}
50}
51
52func (m *CustomerManagerLink) XXX_Unmarshal(b []byte) error {
53	return xxx_messageInfo_CustomerManagerLink.Unmarshal(m, b)
54}
55func (m *CustomerManagerLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
56	return xxx_messageInfo_CustomerManagerLink.Marshal(b, m, deterministic)
57}
58func (m *CustomerManagerLink) XXX_Merge(src proto.Message) {
59	xxx_messageInfo_CustomerManagerLink.Merge(m, src)
60}
61func (m *CustomerManagerLink) XXX_Size() int {
62	return xxx_messageInfo_CustomerManagerLink.Size(m)
63}
64func (m *CustomerManagerLink) XXX_DiscardUnknown() {
65	xxx_messageInfo_CustomerManagerLink.DiscardUnknown(m)
66}
67
68var xxx_messageInfo_CustomerManagerLink proto.InternalMessageInfo
69
70func (m *CustomerManagerLink) GetResourceName() string {
71	if m != nil {
72		return m.ResourceName
73	}
74	return ""
75}
76
77func (m *CustomerManagerLink) GetManagerCustomer() *wrappers.StringValue {
78	if m != nil {
79		return m.ManagerCustomer
80	}
81	return nil
82}
83
84func (m *CustomerManagerLink) GetManagerLinkId() *wrappers.Int64Value {
85	if m != nil {
86		return m.ManagerLinkId
87	}
88	return nil
89}
90
91func (m *CustomerManagerLink) GetStatus() enums.ManagerLinkStatusEnum_ManagerLinkStatus {
92	if m != nil {
93		return m.Status
94	}
95	return enums.ManagerLinkStatusEnum_UNSPECIFIED
96}
97
98func init() {
99	proto.RegisterType((*CustomerManagerLink)(nil), "google.ads.googleads.v1.resources.CustomerManagerLink")
100}
101
102func init() {
103	proto.RegisterFile("google/ads/googleads/v1/resources/customer_manager_link.proto", fileDescriptor_7e3318e064b05720)
104}
105
106var fileDescriptor_7e3318e064b05720 = []byte{
107	// 408 bytes of a gzipped FileDescriptorProto
108	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xd1, 0xca, 0xd3, 0x30,
109	0x14, 0xa6, 0xfd, 0xf5, 0x07, 0xab, 0x73, 0x52, 0x6f, 0xca, 0x1c, 0xb2, 0x29, 0x83, 0x5d, 0x25,
110	0x74, 0x8a, 0x42, 0xc4, 0x8b, 0x6e, 0xe8, 0x98, 0xa8, 0x8c, 0x0e, 0x7a, 0x21, 0xc5, 0x92, 0xad,
111	0x31, 0x94, 0x35, 0x49, 0x49, 0xd2, 0xf9, 0x04, 0xbe, 0x88, 0x57, 0xe2, 0xa3, 0xf8, 0x28, 0x3e,
112	0x85, 0xac, 0x69, 0xea, 0x64, 0x4e, 0xef, 0x4e, 0x73, 0xbe, 0xef, 0x3b, 0xdf, 0x77, 0x4e, 0xbd,
113	0x97, 0x54, 0x08, 0x5a, 0x12, 0x88, 0x73, 0x05, 0x4d, 0x79, 0xac, 0x0e, 0x21, 0x94, 0x44, 0x89,
114	0x5a, 0xee, 0x88, 0x82, 0xbb, 0x5a, 0x69, 0xc1, 0x88, 0xcc, 0x18, 0xe6, 0x98, 0x12, 0x99, 0x95,
115	0x05, 0xdf, 0x83, 0x4a, 0x0a, 0x2d, 0xfc, 0xb1, 0xe1, 0x00, 0x9c, 0x2b, 0xd0, 0xd1, 0xc1, 0x21,
116	0x04, 0x1d, 0x7d, 0xf0, 0xfc, 0xd2, 0x04, 0xc2, 0x6b, 0xa6, 0xe0, 0xa9, 0x68, 0xa6, 0x34, 0xd6,
117	0xb5, 0x32, 0xda, 0x83, 0xa1, 0x25, 0x56, 0x05, 0xc4, 0x9c, 0x0b, 0x8d, 0x75, 0x21, 0xb8, 0xed,
118	0x3e, 0x6c, 0xbb, 0xcd, 0xd7, 0xb6, 0xfe, 0x04, 0x3f, 0x4b, 0x5c, 0x55, 0x44, 0xb6, 0xfd, 0x47,
119	0xdf, 0x5c, 0xef, 0xfe, 0xa2, 0x75, 0xfe, 0xce, 0xcc, 0x78, 0x5b, 0xf0, 0xbd, 0xff, 0xd8,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 0x9a, 0x84, 0x69, 0x87, 0xf9, 0xe9, 0x4e, 0x4c, 0x03, 0xa1, 0x28, 0x57, 0x08, 0x75, 0x28,
132	0x84, 0x92, 0x10, 0xa1, 0x0e, 0xb7, 0xbd, 0x6e, 0xcc, 0x3e, 0xf9, 0x15, 0x00, 0x00, 0xff, 0xff,
133	0x95, 0x5f, 0x95, 0x56, 0x14, 0x03, 0x00, 0x00,
134}
135