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/v3/resources/merchant_center_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/v3/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 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 33) 34 35const ( 36 // Verify that this generated code is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 38 // Verify that runtime/protoimpl is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 40) 41 42// This is a compile-time assertion that a sufficiently up-to-date version 43// of the legacy proto package is being used. 44const _ = proto.ProtoPackageIsVersion4 45 46// A data sharing connection, proposed or in use, 47// between a Google Ads Customer and a Merchant Center account. 48type MerchantCenterLink struct { 49 state protoimpl.MessageState 50 sizeCache protoimpl.SizeCache 51 unknownFields protoimpl.UnknownFields 52 53 // Immutable. The resource name of the merchant center link. 54 // Merchant center link resource names have the form: 55 // 56 // `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` 57 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 58 // Output only. The ID of the Merchant Center account. 59 // This field is readonly. 60 Id *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` 61 // Output only. The name of the Merchant Center account. 62 // This field is readonly. 63 MerchantCenterAccountName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=merchant_center_account_name,json=merchantCenterAccountName,proto3" json:"merchant_center_account_name,omitempty"` 64 // The status of the link. 65 Status enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus" json:"status,omitempty"` 66} 67 68func (x *MerchantCenterLink) Reset() { 69 *x = MerchantCenterLink{} 70 if protoimpl.UnsafeEnabled { 71 mi := &file_google_ads_googleads_v3_resources_merchant_center_link_proto_msgTypes[0] 72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 73 ms.StoreMessageInfo(mi) 74 } 75} 76 77func (x *MerchantCenterLink) String() string { 78 return protoimpl.X.MessageStringOf(x) 79} 80 81func (*MerchantCenterLink) ProtoMessage() {} 82 83func (x *MerchantCenterLink) ProtoReflect() protoreflect.Message { 84 mi := &file_google_ads_googleads_v3_resources_merchant_center_link_proto_msgTypes[0] 85 if protoimpl.UnsafeEnabled && x != nil { 86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 87 if ms.LoadMessageInfo() == nil { 88 ms.StoreMessageInfo(mi) 89 } 90 return ms 91 } 92 return mi.MessageOf(x) 93} 94 95// Deprecated: Use MerchantCenterLink.ProtoReflect.Descriptor instead. 96func (*MerchantCenterLink) Descriptor() ([]byte, []int) { 97 return file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDescGZIP(), []int{0} 98} 99 100func (x *MerchantCenterLink) GetResourceName() string { 101 if x != nil { 102 return x.ResourceName 103 } 104 return "" 105} 106 107func (x *MerchantCenterLink) GetId() *wrapperspb.Int64Value { 108 if x != nil { 109 return x.Id 110 } 111 return nil 112} 113 114func (x *MerchantCenterLink) GetMerchantCenterAccountName() *wrapperspb.StringValue { 115 if x != nil { 116 return x.MerchantCenterAccountName 117 } 118 return nil 119} 120 121func (x *MerchantCenterLink) GetStatus() enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus { 122 if x != nil { 123 return x.Status 124 } 125 return enums.MerchantCenterLinkStatusEnum_UNSPECIFIED 126} 127 128var File_google_ads_googleads_v3_resources_merchant_center_link_proto protoreflect.FileDescriptor 129 130var file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDesc = []byte{ 131 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 132 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 133 0x63, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5f, 0x63, 0x65, 0x6e, 134 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 135 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 136 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 137 0x73, 0x1a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 138 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 139 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 140 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 141 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 142 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 143 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 144 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 145 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 146 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 147 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 148 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe5, 0x03, 0x0a, 149 0x12, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x4c, 150 0x69, 0x6e, 0x6b, 0x12, 0x58, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 151 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x05, 0xfa, 152 0x41, 0x2d, 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 153 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x65, 0x72, 154 0x63, 0x68, 0x61, 0x6e, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 155 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 156 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 157 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 158 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 159 0x62, 0x0a, 0x1c, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5f, 0x63, 0x65, 0x6e, 0x74, 160 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 161 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 162 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 163 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x19, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 164 0x6e, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 165 0x61, 0x6d, 0x65, 0x12, 0x6c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 166 0x01, 0x28, 0x0e, 0x32, 0x54, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 167 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x65, 0x6e, 168 0x75, 0x6d, 0x73, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x43, 0x65, 0x6e, 0x74, 169 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d, 170 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x4c, 171 0x69, 0x6e, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 172 0x73, 0x3a, 0x71, 0xea, 0x41, 0x6e, 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 173 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 174 0x2f, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x4c, 175 0x69, 0x6e, 0x6b, 0x12, 0x3f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x7b, 176 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x7d, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 177 0x6e, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x2f, 0x7b, 0x6d, 178 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x6c, 179 0x69, 0x6e, 0x6b, 0x7d, 0x42, 0x84, 0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 180 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 181 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x17, 182 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x69, 183 0x6e, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 184 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 185 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 186 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 187 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3b, 0x72, 0x65, 0x73, 0x6f, 188 0x75, 0x72, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x21, 0x47, 0x6f, 189 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 190 0x64, 0x73, 0x2e, 0x56, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xca, 191 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 192 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x33, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 193 0x63, 0x65, 0x73, 0xea, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 194 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x33, 195 0x3a, 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 196 0x74, 0x6f, 0x33, 197} 198 199var ( 200 file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDescOnce sync.Once 201 file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDescData = file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDesc 202) 203 204func file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDescGZIP() []byte { 205 file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDescOnce.Do(func() { 206 file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDescData) 207 }) 208 return file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDescData 209} 210 211var file_google_ads_googleads_v3_resources_merchant_center_link_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 212var file_google_ads_googleads_v3_resources_merchant_center_link_proto_goTypes = []interface{}{ 213 (*MerchantCenterLink)(nil), // 0: google.ads.googleads.v3.resources.MerchantCenterLink 214 (*wrapperspb.Int64Value)(nil), // 1: google.protobuf.Int64Value 215 (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue 216 (enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus)(0), // 3: google.ads.googleads.v3.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus 217} 218var file_google_ads_googleads_v3_resources_merchant_center_link_proto_depIdxs = []int32{ 219 1, // 0: google.ads.googleads.v3.resources.MerchantCenterLink.id:type_name -> google.protobuf.Int64Value 220 2, // 1: google.ads.googleads.v3.resources.MerchantCenterLink.merchant_center_account_name:type_name -> google.protobuf.StringValue 221 3, // 2: google.ads.googleads.v3.resources.MerchantCenterLink.status:type_name -> google.ads.googleads.v3.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus 222 3, // [3:3] is the sub-list for method output_type 223 3, // [3:3] is the sub-list for method input_type 224 3, // [3:3] is the sub-list for extension type_name 225 3, // [3:3] is the sub-list for extension extendee 226 0, // [0:3] is the sub-list for field type_name 227} 228 229func init() { file_google_ads_googleads_v3_resources_merchant_center_link_proto_init() } 230func file_google_ads_googleads_v3_resources_merchant_center_link_proto_init() { 231 if File_google_ads_googleads_v3_resources_merchant_center_link_proto != nil { 232 return 233 } 234 if !protoimpl.UnsafeEnabled { 235 file_google_ads_googleads_v3_resources_merchant_center_link_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 236 switch v := v.(*MerchantCenterLink); i { 237 case 0: 238 return &v.state 239 case 1: 240 return &v.sizeCache 241 case 2: 242 return &v.unknownFields 243 default: 244 return nil 245 } 246 } 247 } 248 type x struct{} 249 out := protoimpl.TypeBuilder{ 250 File: protoimpl.DescBuilder{ 251 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 252 RawDescriptor: file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDesc, 253 NumEnums: 0, 254 NumMessages: 1, 255 NumExtensions: 0, 256 NumServices: 0, 257 }, 258 GoTypes: file_google_ads_googleads_v3_resources_merchant_center_link_proto_goTypes, 259 DependencyIndexes: file_google_ads_googleads_v3_resources_merchant_center_link_proto_depIdxs, 260 MessageInfos: file_google_ads_googleads_v3_resources_merchant_center_link_proto_msgTypes, 261 }.Build() 262 File_google_ads_googleads_v3_resources_merchant_center_link_proto = out.File 263 file_google_ads_googleads_v3_resources_merchant_center_link_proto_rawDesc = nil 264 file_google_ads_googleads_v3_resources_merchant_center_link_proto_goTypes = nil 265 file_google_ads_googleads_v3_resources_merchant_center_link_proto_depIdxs = nil 266} 267