1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/ads/googleads/v6/resources/customer_manager_link.proto 20 21package resources 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 enums "google.golang.org/genproto/googleapis/ads/googleads/v6/enums" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 31 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// This is a compile-time assertion that a sufficiently up-to-date version 42// of the legacy proto package is being used. 43const _ = proto.ProtoPackageIsVersion4 44 45// Represents customer-manager link relationship. 46type CustomerManagerLink struct { 47 state protoimpl.MessageState 48 sizeCache protoimpl.SizeCache 49 unknownFields protoimpl.UnknownFields 50 51 // Immutable. Name of the resource. 52 // CustomerManagerLink resource names have the form: 53 // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` 54 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 55 // Output only. The manager customer linked to the customer. 56 ManagerCustomer *string `protobuf:"bytes,6,opt,name=manager_customer,json=managerCustomer,proto3,oneof" json:"manager_customer,omitempty"` 57 // Output only. ID of the customer-manager link. This field is read only. 58 ManagerLinkId *int64 `protobuf:"varint,7,opt,name=manager_link_id,json=managerLinkId,proto3,oneof" json:"manager_link_id,omitempty"` 59 // Status of the link between the customer and the manager. 60 Status enums.ManagerLinkStatusEnum_ManagerLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v6.enums.ManagerLinkStatusEnum_ManagerLinkStatus" json:"status,omitempty"` 61} 62 63func (x *CustomerManagerLink) Reset() { 64 *x = CustomerManagerLink{} 65 if protoimpl.UnsafeEnabled { 66 mi := &file_google_ads_googleads_v6_resources_customer_manager_link_proto_msgTypes[0] 67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 68 ms.StoreMessageInfo(mi) 69 } 70} 71 72func (x *CustomerManagerLink) String() string { 73 return protoimpl.X.MessageStringOf(x) 74} 75 76func (*CustomerManagerLink) ProtoMessage() {} 77 78func (x *CustomerManagerLink) ProtoReflect() protoreflect.Message { 79 mi := &file_google_ads_googleads_v6_resources_customer_manager_link_proto_msgTypes[0] 80 if protoimpl.UnsafeEnabled && x != nil { 81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 82 if ms.LoadMessageInfo() == nil { 83 ms.StoreMessageInfo(mi) 84 } 85 return ms 86 } 87 return mi.MessageOf(x) 88} 89 90// Deprecated: Use CustomerManagerLink.ProtoReflect.Descriptor instead. 91func (*CustomerManagerLink) Descriptor() ([]byte, []int) { 92 return file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDescGZIP(), []int{0} 93} 94 95func (x *CustomerManagerLink) GetResourceName() string { 96 if x != nil { 97 return x.ResourceName 98 } 99 return "" 100} 101 102func (x *CustomerManagerLink) GetManagerCustomer() string { 103 if x != nil && x.ManagerCustomer != nil { 104 return *x.ManagerCustomer 105 } 106 return "" 107} 108 109func (x *CustomerManagerLink) GetManagerLinkId() int64 { 110 if x != nil && x.ManagerLinkId != nil { 111 return *x.ManagerLinkId 112 } 113 return 0 114} 115 116func (x *CustomerManagerLink) GetStatus() enums.ManagerLinkStatusEnum_ManagerLinkStatus { 117 if x != nil { 118 return x.Status 119 } 120 return enums.ManagerLinkStatusEnum_UNSPECIFIED 121} 122 123var File_google_ads_googleads_v6_resources_customer_manager_link_proto protoreflect.FileDescriptor 124 125var file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDesc = []byte{ 126 0x0a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 127 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x36, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 128 0x63, 0x65, 0x73, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x6d, 0x61, 0x6e, 129 0x61, 0x67, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 130 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 131 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x36, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 132 0x65, 0x73, 0x1a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 133 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x36, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 134 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x73, 135 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 136 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 137 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 138 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 139 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 140 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 141 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x03, 0x0a, 0x13, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 142 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x59, 0x0a, 143 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 144 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x2e, 0x0a, 0x2c, 0x67, 0x6f, 145 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 146 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4d, 147 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 148 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x10, 0x6d, 0x61, 0x6e, 0x61, 149 0x67, 0x65, 0x72, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 150 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x0f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 151 0x65, 0x72, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 152 0x0f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 153 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x01, 0x52, 0x0d, 0x6d, 154 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 155 0x5e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 156 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 157 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x36, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 158 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 159 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x4c, 0x69, 0x6e, 160 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 161 0x88, 0x01, 0xea, 0x41, 0x84, 0x01, 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 162 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 163 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 164 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x54, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 165 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x63, 0x75, 166 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x4c, 0x69, 0x6e, 167 0x6b, 0x73, 0x2f, 0x7b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x63, 0x75, 0x73, 0x74, 168 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x7e, 0x7b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 169 0x72, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6d, 170 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x42, 171 0x12, 0x0a, 0x10, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 172 0x5f, 0x69, 0x64, 0x42, 0x85, 0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 173 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 174 0x2e, 0x76, 0x36, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x18, 0x43, 175 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x4c, 0x69, 176 0x6e, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 177 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 178 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 179 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 180 0x36, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3b, 0x72, 0x65, 0x73, 0x6f, 181 0x75, 0x72, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x21, 0x47, 0x6f, 182 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 183 0x64, 0x73, 0x2e, 0x56, 0x36, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xca, 184 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 185 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x36, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 186 0x63, 0x65, 0x73, 0xea, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 187 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x36, 188 0x3a, 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 189 0x74, 0x6f, 0x33, 190} 191 192var ( 193 file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDescOnce sync.Once 194 file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDescData = file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDesc 195) 196 197func file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDescGZIP() []byte { 198 file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDescOnce.Do(func() { 199 file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDescData) 200 }) 201 return file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDescData 202} 203 204var file_google_ads_googleads_v6_resources_customer_manager_link_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 205var file_google_ads_googleads_v6_resources_customer_manager_link_proto_goTypes = []interface{}{ 206 (*CustomerManagerLink)(nil), // 0: google.ads.googleads.v6.resources.CustomerManagerLink 207 (enums.ManagerLinkStatusEnum_ManagerLinkStatus)(0), // 1: google.ads.googleads.v6.enums.ManagerLinkStatusEnum.ManagerLinkStatus 208} 209var file_google_ads_googleads_v6_resources_customer_manager_link_proto_depIdxs = []int32{ 210 1, // 0: google.ads.googleads.v6.resources.CustomerManagerLink.status:type_name -> google.ads.googleads.v6.enums.ManagerLinkStatusEnum.ManagerLinkStatus 211 1, // [1:1] is the sub-list for method output_type 212 1, // [1:1] is the sub-list for method input_type 213 1, // [1:1] is the sub-list for extension type_name 214 1, // [1:1] is the sub-list for extension extendee 215 0, // [0:1] is the sub-list for field type_name 216} 217 218func init() { file_google_ads_googleads_v6_resources_customer_manager_link_proto_init() } 219func file_google_ads_googleads_v6_resources_customer_manager_link_proto_init() { 220 if File_google_ads_googleads_v6_resources_customer_manager_link_proto != nil { 221 return 222 } 223 if !protoimpl.UnsafeEnabled { 224 file_google_ads_googleads_v6_resources_customer_manager_link_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 225 switch v := v.(*CustomerManagerLink); i { 226 case 0: 227 return &v.state 228 case 1: 229 return &v.sizeCache 230 case 2: 231 return &v.unknownFields 232 default: 233 return nil 234 } 235 } 236 } 237 file_google_ads_googleads_v6_resources_customer_manager_link_proto_msgTypes[0].OneofWrappers = []interface{}{} 238 type x struct{} 239 out := protoimpl.TypeBuilder{ 240 File: protoimpl.DescBuilder{ 241 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 242 RawDescriptor: file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDesc, 243 NumEnums: 0, 244 NumMessages: 1, 245 NumExtensions: 0, 246 NumServices: 0, 247 }, 248 GoTypes: file_google_ads_googleads_v6_resources_customer_manager_link_proto_goTypes, 249 DependencyIndexes: file_google_ads_googleads_v6_resources_customer_manager_link_proto_depIdxs, 250 MessageInfos: file_google_ads_googleads_v6_resources_customer_manager_link_proto_msgTypes, 251 }.Build() 252 File_google_ads_googleads_v6_resources_customer_manager_link_proto = out.File 253 file_google_ads_googleads_v6_resources_customer_manager_link_proto_rawDesc = nil 254 file_google_ads_googleads_v6_resources_customer_manager_link_proto_goTypes = nil 255 file_google_ads_googleads_v6_resources_customer_manager_link_proto_depIdxs = nil 256} 257