1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v3/resources/merchant_center_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/v3/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// A data sharing connection, proposed or in use,
28// between a Google Ads Customer and a Merchant Center account.
29type MerchantCenterLink struct {
30	// Immutable. The resource name of the merchant center link.
31	// Merchant center link resource names have the form:
32	//
33	// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}`
34	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
35	// Output only. The ID of the Merchant Center account.
36	// This field is readonly.
37	Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
38	// Output only. The name of the Merchant Center account.
39	// This field is readonly.
40	MerchantCenterAccountName *wrappers.StringValue `protobuf:"bytes,4,opt,name=merchant_center_account_name,json=merchantCenterAccountName,proto3" json:"merchant_center_account_name,omitempty"`
41	// The status of the link.
42	Status               enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus" json:"status,omitempty"`
43	XXX_NoUnkeyedLiteral struct{}                                                    `json:"-"`
44	XXX_unrecognized     []byte                                                      `json:"-"`
45	XXX_sizecache        int32                                                       `json:"-"`
46}
47
48func (m *MerchantCenterLink) Reset()         { *m = MerchantCenterLink{} }
49func (m *MerchantCenterLink) String() string { return proto.CompactTextString(m) }
50func (*MerchantCenterLink) ProtoMessage()    {}
51func (*MerchantCenterLink) Descriptor() ([]byte, []int) {
52	return fileDescriptor_5922ba0a523027c6, []int{0}
53}
54
55func (m *MerchantCenterLink) XXX_Unmarshal(b []byte) error {
56	return xxx_messageInfo_MerchantCenterLink.Unmarshal(m, b)
57}
58func (m *MerchantCenterLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
59	return xxx_messageInfo_MerchantCenterLink.Marshal(b, m, deterministic)
60}
61func (m *MerchantCenterLink) XXX_Merge(src proto.Message) {
62	xxx_messageInfo_MerchantCenterLink.Merge(m, src)
63}
64func (m *MerchantCenterLink) XXX_Size() int {
65	return xxx_messageInfo_MerchantCenterLink.Size(m)
66}
67func (m *MerchantCenterLink) XXX_DiscardUnknown() {
68	xxx_messageInfo_MerchantCenterLink.DiscardUnknown(m)
69}
70
71var xxx_messageInfo_MerchantCenterLink proto.InternalMessageInfo
72
73func (m *MerchantCenterLink) GetResourceName() string {
74	if m != nil {
75		return m.ResourceName
76	}
77	return ""
78}
79
80func (m *MerchantCenterLink) GetId() *wrappers.Int64Value {
81	if m != nil {
82		return m.Id
83	}
84	return nil
85}
86
87func (m *MerchantCenterLink) GetMerchantCenterAccountName() *wrappers.StringValue {
88	if m != nil {
89		return m.MerchantCenterAccountName
90	}
91	return nil
92}
93
94func (m *MerchantCenterLink) GetStatus() enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus {
95	if m != nil {
96		return m.Status
97	}
98	return enums.MerchantCenterLinkStatusEnum_UNSPECIFIED
99}
100
101func init() {
102	proto.RegisterType((*MerchantCenterLink)(nil), "google.ads.googleads.v3.resources.MerchantCenterLink")
103}
104
105func init() {
106	proto.RegisterFile("google/ads/googleads/v3/resources/merchant_center_link.proto", fileDescriptor_5922ba0a523027c6)
107}
108
109var fileDescriptor_5922ba0a523027c6 = []byte{
110	// 489 bytes of a gzipped FileDescriptorProto
111	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcd, 0x6a, 0xd4, 0x40,
112	0x1c, 0x27, 0x89, 0x2d, 0x18, 0x3f, 0x0e, 0xb9, 0xb8, 0xad, 0x8b, 0x6e, 0x85, 0xc2, 0x82, 0x38,
113	0x23, 0x8d, 0x78, 0x88, 0x42, 0x99, 0x15, 0x29, 0x8a, 0x4a, 0xd9, 0xca, 0x22, 0xb2, 0x10, 0x66,
114	0x93, 0x69, 0x3a, 0x34, 0x33, 0x13, 0x67, 0x26, 0xeb, 0xa1, 0xf4, 0xe6, 0x93, 0x78, 0xf4, 0x51,
115	0x7c, 0x8a, 0x5e, 0xbc, 0xf4, 0x11, 0x3c, 0xc9, 0x66, 0x66, 0xd2, 0xd5, 0xec, 0x2a, 0xde, 0x7e,
116	0xe1, 0xff, 0xfb, 0x9a, 0xff, 0x4c, 0xc2, 0xe7, 0x85, 0x10, 0x45, 0x49, 0x20, 0xce, 0x15, 0x34,
117	0x70, 0x81, 0xe6, 0x31, 0x94, 0x44, 0x89, 0x5a, 0x66, 0x44, 0x41, 0x46, 0x64, 0x76, 0x82, 0xb9,
118	0x4e, 0x33, 0xc2, 0x35, 0x91, 0x69, 0x49, 0xf9, 0x29, 0xa8, 0xa4, 0xd0, 0x22, 0xda, 0x31, 0x12,
119	0x80, 0x73, 0x05, 0x5a, 0x35, 0x98, 0xc7, 0xa0, 0x55, 0x6f, 0xef, 0xaf, 0x0b, 0x20, 0xbc, 0x66,
120	0xab, 0xcd, 0x53, 0xa5, 0xb1, 0xae, 0x95, 0xc9, 0xd8, 0xbe, 0xef, 0x0c, 0x2a, 0x0a, 0x8f, 0x29,
121	0x29, 0xf3, 0x74, 0x46, 0x4e, 0xf0, 0x9c, 0x0a, 0x69, 0x09, 0x5b, 0x4b, 0x04, 0x97, 0x6b, 0x47,
122	0xf7, 0xec, 0xa8, 0xf9, 0x9a, 0xd5, 0xc7, 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0x18, 0x91, 0x0a, 0x9e, 0x39, 0x78,
134	0x0e, 0x59, 0x87, 0xa8, 0xe0, 0xd9, 0xaa, 0xd7, 0x76, 0x3e, 0xfa, 0xe2, 0x87, 0xbb, 0x99, 0x60,
135	0xe0, 0x9f, 0x8f, 0x79, 0x74, 0xa7, 0x1b, 0x7f, 0xb8, 0x58, 0xe9, 0xa1, 0xf7, 0xf1, 0xb5, 0x55,
136	0x17, 0xa2, 0xc4, 0xbc, 0x00, 0x42, 0x16, 0xb0, 0x20, 0xbc, 0x59, 0x38, 0xbc, 0x3a, 0xc3, 0x5f,
137	0xfe, 0xb3, 0x67, 0x2d, 0xfa, 0xea, 0x07, 0x07, 0x08, 0x7d, 0xf3, 0x77, 0x0e, 0x8c, 0x25, 0xca,
138	0x15, 0x30, 0x70, 0x81, 0x26, 0x31, 0x18, 0x3b, 0xe6, 0x77, 0xc7, 0x99, 0xa2, 0x5c, 0x4d, 0x5b,
139	0xce, 0x74, 0x12, 0x4f, 0x5b, 0xce, 0xa5, 0xbf, 0x6b, 0x06, 0x49, 0x82, 0x72, 0x95, 0x24, 0x2d,
140	0x2b, 0x49, 0x26, 0x71, 0x92, 0xb4, 0xbc, 0xd9, 0x66, 0x53, 0x36, 0xfe, 0x15, 0x00, 0x00, 0xff,
141	0xff, 0xce, 0x41, 0x67, 0x82, 0x13, 0x04, 0x00, 0x00,
142}
143