Debian Codegraph @

talent/apiv4/talentpb/tenant.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/talent/v4/tenant.proto
20
21 package talentpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // A Tenant resource represents a tenant in the service. A tenant is a group or
39 // entity that shares common access with specific privileges for resources like
40 // jobs. Customer may create multiple tenants to provide data isolation for
41 // different groups.
42 type Tenant struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47 // Required during tenant update.
48 //
49 // The resource name for a tenant. This is generated by the service when a
50 // tenant is created.
51 //
52 // The format is "projects/{project_id}/tenants/{tenant_id}", for example,
53 // "projects/foo/tenants/bar".
54 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
55 // Required. Client side tenant identifier, used to uniquely identify the
56 // tenant.
57 //
58 // The maximum number of allowed characters is 255.
59 ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
60 }
61
62 func (x *Tenant) Reset() {
63 *x = Tenant{}
64 mi := &file_google_cloud_talent_v4_tenant_proto_msgTypes[0]
65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
66 ms.StoreMessageInfo(mi)
67 }
68
69 func (x *Tenant) String() string {
70 return protoimpl.X.MessageStringOf(x)
71 }
72
73 func (*Tenant) ProtoMessage() {}
74
75 func (x *Tenant) ProtoReflect() protoreflect.Message {
76 mi := &file_google_cloud_talent_v4_tenant_proto_msgTypes[0]
77 if x != nil {
78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79 if ms.LoadMessageInfo() == nil {
80 ms.StoreMessageInfo(mi)
81 }
82 return ms
83 }
84 return mi.MessageOf(x)
85 }
86
87 // Deprecated: Use Tenant.ProtoReflect.Descriptor instead.
88 func (*Tenant) Descriptor() ([]byte, []int) {
89 return file_google_cloud_talent_v4_tenant_proto_rawDescGZIP(), []int{0}
90 }
91
92 func (x *Tenant) GetName() string {
93 if x != nil {
94 return x.Name
95 }
96 return ""
97 }
98
99 func (x *Tenant) GetExternalId() string {
100 if x != nil {
101 return x.ExternalId
102 }
103 return ""
104 }
105
106 var File_google_cloud_talent_v4_tenant_proto protoreflect.FileDescriptor
107
108 var file_google_cloud_talent_v4_tenant_proto_rawDesc = []byte{
109 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74,
110 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x2e,
111 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
112 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x1a, 0x1f, 0x67,
113 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
114 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
115 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
116 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x06, 0x54, 0x65,
117 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
118 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65,
119 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
120 0x41, 0x02, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x3a, 0x44,
121 0xea, 0x41, 0x41, 0x0a, 0x1a, 0x6a, 0x6f, 0x62, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
122 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12,
123 0x23, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65,
124 0x63, 0x74, 0x7d, 0x2f, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x74, 0x65, 0x6e,
125 0x61, 0x6e, 0x74, 0x7d, 0x42, 0x65, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
126 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e,
127 0x76, 0x34, 0x42, 0x0b, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
128 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
129 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70,
130 0x69, 0x76, 0x34, 0x2f, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x3b, 0x74, 0x61, 0x6c,
131 0x65, 0x6e, 0x74, 0x70, 0x62, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f,
132 0x74, 0x6f, 0x33,
133 }
134
135 var (
136 file_google_cloud_talent_v4_tenant_proto_rawDescOnce sync.Once
137 file_google_cloud_talent_v4_tenant_proto_rawDescData = file_google_cloud_talent_v4_tenant_proto_rawDesc
138 )
139
140 func file_google_cloud_talent_v4_tenant_proto_rawDescGZIP() []byte {
141 file_google_cloud_talent_v4_tenant_proto_rawDescOnce.Do(func() {
142 file_google_cloud_talent_v4_tenant_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_talent_v4_tenant_proto_rawDescData)
143 })
144 return file_google_cloud_talent_v4_tenant_proto_rawDescData
145 }
146
147 var file_google_cloud_talent_v4_tenant_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
148 var file_google_cloud_talent_v4_tenant_proto_goTypes = []any{
149 (*Tenant)(nil), // 0: google.cloud.talent.v4.Tenant
150 }
151 var file_google_cloud_talent_v4_tenant_proto_depIdxs = []int32{
152 0, // [0:0] is the sub-list for method output_type
153 0, // [0:0] is the sub-list for method input_type
154 0, // [0:0] is the sub-list for extension type_name
155 0, // [0:0] is the sub-list for extension extendee
156 0, // [0:0] is the sub-list for field type_name
157 }
158
159 func init() { file_google_cloud_talent_v4_tenant_proto_init() }
160 func file_google_cloud_talent_v4_tenant_proto_init() {
161 if File_google_cloud_talent_v4_tenant_proto != nil {
162 return
163 }
164 type x struct{}
165 out := protoimpl.TypeBuilder{
166 File: protoimpl.DescBuilder{
167 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
168 RawDescriptor: file_google_cloud_talent_v4_tenant_proto_rawDesc,
169 NumEnums: 0,
170 NumMessages: 1,
171 NumExtensions: 0,
172 NumServices: 0,
173 },
174 GoTypes: file_google_cloud_talent_v4_tenant_proto_goTypes,
175 DependencyIndexes: file_google_cloud_talent_v4_tenant_proto_depIdxs,
176 MessageInfos: file_google_cloud_talent_v4_tenant_proto_msgTypes,
177 }.Build()
178 File_google_cloud_talent_v4_tenant_proto = out.File
179 file_google_cloud_talent_v4_tenant_proto_rawDesc = nil
180 file_google_cloud_talent_v4_tenant_proto_goTypes = nil
181 file_google_cloud_talent_v4_tenant_proto_depIdxs = nil
182 }