1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/resources/merchant_center_link.proto
package resources
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// A data sharing connection, proposed or in use,
// between a Google Ads Customer and a Merchant Center account.
type MerchantCenterLink struct {
// Immutable. The resource name of the merchant center link.
// Merchant center link resource names have the form:
//
// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}`
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// Output only. The ID of the Merchant Center account.
// This field is readonly.
Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// Output only. The name of the Merchant Center account.
// This field is readonly.
MerchantCenterAccountName *wrappers.StringValue `protobuf:"bytes,4,opt,name=merchant_center_account_name,json=merchantCenterAccountName,proto3" json:"merchant_center_account_name,omitempty"`
// The status of the link.
Status enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MerchantCenterLink) Reset() { *m = MerchantCenterLink{} }
func (m *MerchantCenterLink) String() string { return proto.CompactTextString(m) }
func (*MerchantCenterLink) ProtoMessage() {}
func (*MerchantCenterLink) Descriptor() ([]byte, []int) {
return fileDescriptor_068c27e743addf15, []int{0}
}
func (m *MerchantCenterLink) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MerchantCenterLink.Unmarshal(m, b)
}
func (m *MerchantCenterLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MerchantCenterLink.Marshal(b, m, deterministic)
}
func (m *MerchantCenterLink) XXX_Merge(src proto.Message) {
xxx_messageInfo_MerchantCenterLink.Merge(m, src)
}
func (m *MerchantCenterLink) XXX_Size() int {
return xxx_messageInfo_MerchantCenterLink.Size(m)
}
func (m *MerchantCenterLink) XXX_DiscardUnknown() {
xxx_messageInfo_MerchantCenterLink.DiscardUnknown(m)
}
var xxx_messageInfo_MerchantCenterLink proto.InternalMessageInfo
func (m *MerchantCenterLink) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func (m *MerchantCenterLink) GetId() *wrappers.Int64Value {
if m != nil {
return m.Id
}
return nil
}
func (m *MerchantCenterLink) GetMerchantCenterAccountName() *wrappers.StringValue {
if m != nil {
return m.MerchantCenterAccountName
}
return nil
}
func (m *MerchantCenterLink) GetStatus() enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus {
if m != nil {
return m.Status
}
return enums.MerchantCenterLinkStatusEnum_UNSPECIFIED
}
func init() {
proto.RegisterType((*MerchantCenterLink)(nil), "google.ads.googleads.v1.resources.MerchantCenterLink")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/resources/merchant_center_link.proto", fileDescriptor_068c27e743addf15)
}
var fileDescriptor_068c27e743addf15 = []byte{
// 490 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcd, 0x6a, 0xd4, 0x40,
0x1c, 0x27, 0x89, 0x2d, 0x18, 0x3f, 0x0e, 0xb9, 0xb8, 0xad, 0x8b, 0x6e, 0x85, 0xc2, 0x82, 0x38,
0x63, 0x5a, 0xf1, 0x10, 0x85, 0x32, 0x2b, 0x52, 0x14, 0x95, 0xb2, 0x95, 0x45, 0x64, 0x21, 0xcc,
0x26, 0xd3, 0x74, 0x68, 0x66, 0x26, 0xce, 0x4c, 0xd6, 0x43, 0xe9, 0xcd, 0x27, 0xf1, 0xe8, 0xa3,
0xf8, 0x14, 0xbd, 0x78, 0xe9, 0x23, 0x78, 0x92, 0xcd, 0xcc, 0xa4, 0xab, 0xe9, 0x2a, 0xde, 0x7e,
0xe1, 0xff, 0xfb, 0x9a, 0xff, 0x4c, 0xc2, 0xe7, 0x85, 0x10, 0x45, 0x49, 0x20, 0xce, 0x15, 0x34,
0x70, 0x81, 0xe6, 0x31, 0x94, 0x44, 0x89, 0x5a, 0x66, 0x44, 0x41, 0x46, 0x64, 0x76, 0x8c, 0xb9,
0x4e, 0x33, 0xc2, 0x35, 0x91, 0x69, 0x49, 0xf9, 0x09, 0xa8, 0xa4, 0xd0, 0x22, 0xda, 0x32, 0x12,
0x80, 0x73, 0x05, 0x5a, 0x35, 0x98, 0xc7, 0xa0, 0x55, 0x6f, 0xee, 0xad, 0x0a, 0x20, 0xbc, 0x66,
0x57, 0x9b, 0xa7, 0x4a, 0x63, 0x5d, 0x2b, 0x93, 0xb1, 0x79, 0xdf, 0x19, 0x54, 0x14, 0x1e, 0x51,
0x52, 0xe6, 0xe9, 0x8c, 0x1c, 0xe3, 0x39, 0x15, 0xd2, 0x12, 0x36, 0x96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