File: customer_manager_link.pb.go

package info (click to toggle)
golang-google-genproto 0.0~git20200413.b5235f6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports, experimental
  • size: 50,816 kB
  • sloc: sh: 49; makefile: 12
file content (138 lines) | stat: -rw-r--r-- 7,060 bytes parent folder | download | duplicates (2)
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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/resources/customer_manager_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

// Represents customer-manager link relationship.
type CustomerManagerLink struct {
	// Immutable. Name of the resource.
	// CustomerManagerLink resource names have the form:
	// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}`
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Output only. The manager customer linked to the customer.
	ManagerCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=manager_customer,json=managerCustomer,proto3" json:"manager_customer,omitempty"`
	// Output only. ID of the customer-manager link. This field is read only.
	ManagerLinkId *wrappers.Int64Value `protobuf:"bytes,4,opt,name=manager_link_id,json=managerLinkId,proto3" json:"manager_link_id,omitempty"`
	// Status of the link between the customer and the manager.
	Status               enums.ManagerLinkStatusEnum_ManagerLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.ManagerLinkStatusEnum_ManagerLinkStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

func (m *CustomerManagerLink) Reset()         { *m = CustomerManagerLink{} }
func (m *CustomerManagerLink) String() string { return proto.CompactTextString(m) }
func (*CustomerManagerLink) ProtoMessage()    {}
func (*CustomerManagerLink) Descriptor() ([]byte, []int) {
	return fileDescriptor_7e3318e064b05720, []int{0}
}

func (m *CustomerManagerLink) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CustomerManagerLink.Unmarshal(m, b)
}
func (m *CustomerManagerLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CustomerManagerLink.Marshal(b, m, deterministic)
}
func (m *CustomerManagerLink) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CustomerManagerLink.Merge(m, src)
}
func (m *CustomerManagerLink) XXX_Size() int {
	return xxx_messageInfo_CustomerManagerLink.Size(m)
}
func (m *CustomerManagerLink) XXX_DiscardUnknown() {
	xxx_messageInfo_CustomerManagerLink.DiscardUnknown(m)
}

var xxx_messageInfo_CustomerManagerLink proto.InternalMessageInfo

func (m *CustomerManagerLink) GetResourceName() string {
	if m != nil {
		return m.ResourceName
	}
	return ""
}

func (m *CustomerManagerLink) GetManagerCustomer() *wrappers.StringValue {
	if m != nil {
		return m.ManagerCustomer
	}
	return nil
}

func (m *CustomerManagerLink) GetManagerLinkId() *wrappers.Int64Value {
	if m != nil {
		return m.ManagerLinkId
	}
	return nil
}

func (m *CustomerManagerLink) GetStatus() enums.ManagerLinkStatusEnum_ManagerLinkStatus {
	if m != nil {
		return m.Status
	}
	return enums.ManagerLinkStatusEnum_UNSPECIFIED
}

func init() {
	proto.RegisterType((*CustomerManagerLink)(nil), "google.ads.googleads.v1.resources.CustomerManagerLink")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v1/resources/customer_manager_link.proto", fileDescriptor_7e3318e064b05720)
}

var fileDescriptor_7e3318e064b05720 = []byte{
	// 489 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x41, 0x6b, 0xd4, 0x40,
	0x14, 0x26, 0x1b, 0x5b, 0x30, 0x5a, 0x2b, 0xf1, 0x12, 0x6b, 0xd1, 0xad, 0x50, 0xd8, 0x83, 0xcc,
	0x90, 0x5a, 0x14, 0x46, 0x3c, 0xcc, 0x8a, 0xd6, 0x4a, 0x95, 0xb2, 0x85, 0x05, 0x65, 0x31, 0xcc,
	0x26, 0xd3, 0x38, 0x34, 0x33, 0x13, 0x67, 0x26, 0xeb, 0x41, 0x7a, 0xf4, 0x8f, 0x78, 0xf4, 0xa7,
	0xf8, 0x23, 0xa4, 0xe7, 0xfe, 0x04, 0x4f, 0xb2, 0xc9, 0x4c, 0x36, 0xa5, 0x5d, 0xc5, 0xdb, 0xb7,
	0xfb, 0xbe, 0xef, 0x7b, 0xef, 0x7d, 0xf3, 0x12, 0x3c, 0xcf, 0xa5, 0xcc, 0x0b, 0x0a, 0x49, 0xa6,
	0x61, 0x03, 0xe7, 0x68, 0x16, 0x43, 0x45, 0xb5, 0xac, 0x54, 0x4a, 0x35, 0x4c, 0x2b, 0x6d, 0x24,
	0xa7, 0x2a, 0xe1, 0x44, 0x90, 0x9c, 0xaa, 0xa4, 0x60, 0xe2, 0x04, 0x94, 0x4a, 0x1a, 0x19, 0x6e,
	0x35, 0x1a, 0x40, 0x32, 0x0d, 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