Debian Codegraph @

resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go

raw symbols SCIP
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/resourcemanager/v3/organizations.proto
20
21 package resourcemanagerpb
22
23 import (
24 iampb "cloud.google.com/go/iam/apiv1/iampb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // Organization lifecycle states.
45 type Organization_State int32
46
47 const (
48 // Unspecified state. This is only useful for distinguishing unset values.
49 Organization_STATE_UNSPECIFIED Organization_State = 0
50 // The normal and active state.
51 Organization_ACTIVE Organization_State = 1
52 // The organization has been marked for deletion by the user.
53 Organization_DELETE_REQUESTED Organization_State = 2
54 )
55
56 // Enum value maps for Organization_State.
57 var (
58 Organization_State_name = map[int32]string{
59 0: "STATE_UNSPECIFIED",
60 1: "ACTIVE",
61 2: "DELETE_REQUESTED",
62 }
63 Organization_State_value = map[string]int32{
64 "STATE_UNSPECIFIED": 0,
65 "ACTIVE": 1,
66 "DELETE_REQUESTED": 2,
67 }
68 )
69
70 func (x Organization_State) Enum() *Organization_State {
71 p := new(Organization_State)
72 *p = x
73 return p
74 }
75
76 func (x Organization_State) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (Organization_State) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_cloud_resourcemanager_v3_organizations_proto_enumTypes[0].Descriptor()
82 }
83
84 func (Organization_State) Type() protoreflect.EnumType {
85 return &file_google_cloud_resourcemanager_v3_organizations_proto_enumTypes[0]
86 }
87
88 func (x Organization_State) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92 // Deprecated: Use Organization_State.Descriptor instead.
93 func (Organization_State) EnumDescriptor() ([]byte, []int) {
94 return file_google_cloud_resourcemanager_v3_organizations_proto_rawDescGZIP(), []int{0, 0}
95 }
96
97 // The root node in the resource hierarchy to which a particular entity's
98 // (a company, for example) resources belong.
99 type Organization struct {
100 state protoimpl.MessageState
101 sizeCache protoimpl.SizeCache
102 unknownFields protoimpl.UnknownFields
103
104 // Output only. The resource name of the organization. This is the
105 // organization's relative path in the API. Its format is
106 // "organizations/[organization_id]". For example, "organizations/1234".
107 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
108 // Output only. A human-readable string that refers to the organization in the
109 // Google Cloud Console. This string is set by the server and cannot be
110 // changed. The string will be set to the primary domain (for example,
111 // "google.com") of the Google Workspace customer that owns the organization.
112 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
113 // The owner of this organization. The owner should be specified on
114 // creation. Once set, it cannot be changed.
115 //
116 // The lifetime of the organization and all of its descendants are bound to
117 // the owner. If the owner is deleted, the organization and all its
118 // descendants will be deleted.
119 //
120 // Types that are assignable to Owner:
121 //
122 // *Organization_DirectoryCustomerId
123 Owner isOrganization_Owner `protobuf_oneof:"owner"`
124 // Output only. The organization's current lifecycle state.
125 State Organization_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.resourcemanager.v3.Organization_State" json:"state,omitempty"`
126 // Output only. Timestamp when the Organization was created.
127 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
128 // Output only. Timestamp when the Organization was last modified.
129 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
130 // Output only. Timestamp when the Organization was requested for deletion.
131 DeleteTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
132 // Output only. A checksum computed by the server based on the current value
133 // of the Organization resource. This may be sent on update and delete
134 // requests to ensure the client has an up-to-date value before proceeding.
135 Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
136 }
137
138 func (x *Organization) Reset() {
139 *x = Organization{}
140 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[0]
141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142 ms.StoreMessageInfo(mi)
143 }
144
145 func (x *Organization) String() string {
146 return protoimpl.X.MessageStringOf(x)
147 }
148
149 func (*Organization) ProtoMessage() {}
150
151 func (x *Organization) ProtoReflect() protoreflect.Message {
152 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[0]
153 if x != nil {
154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
155 if ms.LoadMessageInfo() == nil {
156 ms.StoreMessageInfo(mi)
157 }
158 return ms
159 }
160 return mi.MessageOf(x)
161 }
162
163 // Deprecated: Use Organization.ProtoReflect.Descriptor instead.
164 func (*Organization) Descriptor() ([]byte, []int) {
165 return file_google_cloud_resourcemanager_v3_organizations_proto_rawDescGZIP(), []int{0}
166 }
167
168 func (x *Organization) GetName() string {
169 if x != nil {
170 return x.Name
171 }
172 return ""
173 }
174
175 func (x *Organization) GetDisplayName() string {
176 if x != nil {
177 return x.DisplayName
178 }
179 return ""
180 }
181
182 func (m *Organization) GetOwner() isOrganization_Owner {
183 if m != nil {
184 return m.Owner
185 }
186 return nil
187 }
188
189 func (x *Organization) GetDirectoryCustomerId() string {
190 if x, ok := x.GetOwner().(*Organization_DirectoryCustomerId); ok {
191 return x.DirectoryCustomerId
192 }
193 return ""
194 }
195
196 func (x *Organization) GetState() Organization_State {
197 if x != nil {
198 return x.State
199 }
200 return Organization_STATE_UNSPECIFIED
201 }
202
203 func (x *Organization) GetCreateTime() *timestamppb.Timestamp {
204 if x != nil {
205 return x.CreateTime
206 }
207 return nil
208 }
209
210 func (x *Organization) GetUpdateTime() *timestamppb.Timestamp {
211 if x != nil {
212 return x.UpdateTime
213 }
214 return nil
215 }
216
217 func (x *Organization) GetDeleteTime() *timestamppb.Timestamp {
218 if x != nil {
219 return x.DeleteTime
220 }
221 return nil
222 }
223
224 func (x *Organization) GetEtag() string {
225 if x != nil {
226 return x.Etag
227 }
228 return ""
229 }
230
231 type isOrganization_Owner interface {
232 isOrganization_Owner()
233 }
234
235 type Organization_DirectoryCustomerId struct {
236 // Immutable. The G Suite / Workspace customer id used in the Directory API.
237 DirectoryCustomerId string `protobuf:"bytes,3,opt,name=directory_customer_id,json=directoryCustomerId,proto3,oneof"`
238 }
239
240 func (*Organization_DirectoryCustomerId) isOrganization_Owner() {}
241
242 // The request sent to the `GetOrganization` method. The `name` field is
243 // required. `organization_id` is no longer accepted.
244 type GetOrganizationRequest struct {
245 state protoimpl.MessageState
246 sizeCache protoimpl.SizeCache
247 unknownFields protoimpl.UnknownFields
248
249 // Required. The resource name of the Organization to fetch. This is the
250 // organization's relative path in the API, formatted as
251 // "organizations/[organizationId]". For example, "organizations/1234".
252 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
253 }
254
255 func (x *GetOrganizationRequest) Reset() {
256 *x = GetOrganizationRequest{}
257 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[1]
258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
259 ms.StoreMessageInfo(mi)
260 }
261
262 func (x *GetOrganizationRequest) String() string {
263 return protoimpl.X.MessageStringOf(x)
264 }
265
266 func (*GetOrganizationRequest) ProtoMessage() {}
267
268 func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message {
269 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[1]
270 if x != nil {
271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
272 if ms.LoadMessageInfo() == nil {
273 ms.StoreMessageInfo(mi)
274 }
275 return ms
276 }
277 return mi.MessageOf(x)
278 }
279
280 // Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead.
281 func (*GetOrganizationRequest) Descriptor() ([]byte, []int) {
282 return file_google_cloud_resourcemanager_v3_organizations_proto_rawDescGZIP(), []int{1}
283 }
284
285 func (x *GetOrganizationRequest) GetName() string {
286 if x != nil {
287 return x.Name
288 }
289 return ""
290 }
291
292 // The request sent to the `SearchOrganizations` method.
293 type SearchOrganizationsRequest struct {
294 state protoimpl.MessageState
295 sizeCache protoimpl.SizeCache
296 unknownFields protoimpl.UnknownFields
297
298 // Optional. The maximum number of organizations to return in the response.
299 // The server can return fewer organizations than requested. If unspecified,
300 // server picks an appropriate default.
301 PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
302 // Optional. A pagination token returned from a previous call to
303 // `SearchOrganizations` that indicates from where listing should continue.
304 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
305 // Optional. An optional query string used to filter the Organizations to
306 // return in the response. Query rules are case-insensitive.
307 //
308 // ```
309 // | Field | Description |
310 // |------------------|--------------------------------------------|
311 // | directoryCustomerId, owner.directoryCustomerId | Filters by directory
312 // customer id. |
313 // | domain | Filters by domain. |
314 // ```
315 //
316 // Organizations may be queried by `directoryCustomerId` or by
317 // `domain`, where the domain is a G Suite domain, for example:
318 //
319 // * Query `directorycustomerid:123456789` returns Organization
320 // resources with `owner.directory_customer_id` equal to `123456789`.
321 // * Query `domain:google.com` returns Organization resources corresponding
322 // to the domain `google.com`.
323 Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
324 }
325
326 func (x *SearchOrganizationsRequest) Reset() {
327 *x = SearchOrganizationsRequest{}
328 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[2]
329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330 ms.StoreMessageInfo(mi)
331 }
332
333 func (x *SearchOrganizationsRequest) String() string {
334 return protoimpl.X.MessageStringOf(x)
335 }
336
337 func (*SearchOrganizationsRequest) ProtoMessage() {}
338
339 func (x *SearchOrganizationsRequest) ProtoReflect() protoreflect.Message {
340 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[2]
341 if x != nil {
342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
343 if ms.LoadMessageInfo() == nil {
344 ms.StoreMessageInfo(mi)
345 }
346 return ms
347 }
348 return mi.MessageOf(x)
349 }
350
351 // Deprecated: Use SearchOrganizationsRequest.ProtoReflect.Descriptor instead.
352 func (*SearchOrganizationsRequest) Descriptor() ([]byte, []int) {
353 return file_google_cloud_resourcemanager_v3_organizations_proto_rawDescGZIP(), []int{2}
354 }
355
356 func (x *SearchOrganizationsRequest) GetPageSize() int32 {
357 if x != nil {
358 return x.PageSize
359 }
360 return 0
361 }
362
363 func (x *SearchOrganizationsRequest) GetPageToken() string {
364 if x != nil {
365 return x.PageToken
366 }
367 return ""
368 }
369
370 func (x *SearchOrganizationsRequest) GetQuery() string {
371 if x != nil {
372 return x.Query
373 }
374 return ""
375 }
376
377 // The response returned from the `SearchOrganizations` method.
378 type SearchOrganizationsResponse struct {
379 state protoimpl.MessageState
380 sizeCache protoimpl.SizeCache
381 unknownFields protoimpl.UnknownFields
382
383 // The list of Organizations that matched the search query, possibly
384 // paginated.
385 Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
386 // A pagination token to be used to retrieve the next page of results. If the
387 // result is too large to fit within the page size specified in the request,
388 // this field will be set with a token that can be used to fetch the next page
389 // of results. If this field is empty, it indicates that this response
390 // contains the last page of results.
391 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
392 }
393
394 func (x *SearchOrganizationsResponse) Reset() {
395 *x = SearchOrganizationsResponse{}
396 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[3]
397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398 ms.StoreMessageInfo(mi)
399 }
400
401 func (x *SearchOrganizationsResponse) String() string {
402 return protoimpl.X.MessageStringOf(x)
403 }
404
405 func (*SearchOrganizationsResponse) ProtoMessage() {}
406
407 func (x *SearchOrganizationsResponse) ProtoReflect() protoreflect.Message {
408 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[3]
409 if x != nil {
410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
411 if ms.LoadMessageInfo() == nil {
412 ms.StoreMessageInfo(mi)
413 }
414 return ms
415 }
416 return mi.MessageOf(x)
417 }
418
419 // Deprecated: Use SearchOrganizationsResponse.ProtoReflect.Descriptor instead.
420 func (*SearchOrganizationsResponse) Descriptor() ([]byte, []int) {
421 return file_google_cloud_resourcemanager_v3_organizations_proto_rawDescGZIP(), []int{3}
422 }
423
424 func (x *SearchOrganizationsResponse) GetOrganizations() []*Organization {
425 if x != nil {
426 return x.Organizations
427 }
428 return nil
429 }
430
431 func (x *SearchOrganizationsResponse) GetNextPageToken() string {
432 if x != nil {
433 return x.NextPageToken
434 }
435 return ""
436 }
437
438 // A status object which is used as the `metadata` field for the operation
439 // returned by DeleteOrganization.
440 type DeleteOrganizationMetadata struct {
441 state protoimpl.MessageState
442 sizeCache protoimpl.SizeCache
443 unknownFields protoimpl.UnknownFields
444 }
445
446 func (x *DeleteOrganizationMetadata) Reset() {
447 *x = DeleteOrganizationMetadata{}
448 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[4]
449 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
450 ms.StoreMessageInfo(mi)
451 }
452
453 func (x *DeleteOrganizationMetadata) String() string {
454 return protoimpl.X.MessageStringOf(x)
455 }
456
457 func (*DeleteOrganizationMetadata) ProtoMessage() {}
458
459 func (x *DeleteOrganizationMetadata) ProtoReflect() protoreflect.Message {
460 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[4]
461 if x != nil {
462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
463 if ms.LoadMessageInfo() == nil {
464 ms.StoreMessageInfo(mi)
465 }
466 return ms
467 }
468 return mi.MessageOf(x)
469 }
470
471 // Deprecated: Use DeleteOrganizationMetadata.ProtoReflect.Descriptor instead.
472 func (*DeleteOrganizationMetadata) Descriptor() ([]byte, []int) {
473 return file_google_cloud_resourcemanager_v3_organizations_proto_rawDescGZIP(), []int{4}
474 }
475
476 // A status object which is used as the `metadata` field for the Operation
477 // returned by UndeleteOrganization.
478 type UndeleteOrganizationMetadata struct {
479 state protoimpl.MessageState
480 sizeCache protoimpl.SizeCache
481 unknownFields protoimpl.UnknownFields
482 }
483
484 func (x *UndeleteOrganizationMetadata) Reset() {
485 *x = UndeleteOrganizationMetadata{}
486 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[5]
487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
488 ms.StoreMessageInfo(mi)
489 }
490
491 func (x *UndeleteOrganizationMetadata) String() string {
492 return protoimpl.X.MessageStringOf(x)
493 }
494
495 func (*UndeleteOrganizationMetadata) ProtoMessage() {}
496
497 func (x *UndeleteOrganizationMetadata) ProtoReflect() protoreflect.Message {
498 mi := &file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[5]
499 if x != nil {
500 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
501 if ms.LoadMessageInfo() == nil {
502 ms.StoreMessageInfo(mi)
503 }
504 return ms
505 }
506 return mi.MessageOf(x)
507 }
508
509 // Deprecated: Use UndeleteOrganizationMetadata.ProtoReflect.Descriptor instead.
510 func (*UndeleteOrganizationMetadata) Descriptor() ([]byte, []int) {
511 return file_google_cloud_resourcemanager_v3_organizations_proto_rawDescGZIP(), []int{5}
512 }
513
514 var File_google_cloud_resourcemanager_v3_organizations_proto protoreflect.FileDescriptor
515
516 var file_google_cloud_resourcemanager_v3_organizations_proto_rawDesc = []byte{
517 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
518 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76,
519 0x33, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
520 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
521 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,
522 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
523 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
524 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
525 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
526 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
527 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
528 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
529 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
530 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c,
531 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
532 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
533 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
534 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
535 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x04, 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e,
536 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
537 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
538 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
539 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x64, 0x69, 0x73,
540 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x15, 0x64, 0x69, 0x72, 0x65,
541 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69,
542 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x13,
543 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
544 0x72, 0x49, 0x64, 0x12, 0x4e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01,
545 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
546 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
547 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
548 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74,
549 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
550 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
551 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
552 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
553 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
554 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
555 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
556 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64,
557 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74,
558 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
559 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
560 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x64,
561 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61,
562 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x65, 0x74,
563 0x61, 0x67, 0x22, 0x40, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53,
564 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
565 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x14,
566 0x0a, 0x10, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54,
567 0x45, 0x44, 0x10, 0x02, 0x3a, 0x56, 0xea, 0x41, 0x53, 0x0a, 0x30, 0x63, 0x6c, 0x6f, 0x75, 0x64,
568 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e,
569 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f,
570 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x6f, 0x72, 0x67,
571 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61,
572 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x52, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05,
573 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x66, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61,
574 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
575 0x4c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x38, 0xe0,
576 0x41, 0x02, 0xfa, 0x41, 0x32, 0x0a, 0x30, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f,
577 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
578 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x72, 0x67, 0x61, 0x6e,
579 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7d, 0x0a,
580 0x1a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74,
581 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70,
582 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03,
583 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a,
584 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
585 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
586 0x6e, 0x12, 0x19, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
587 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x9a, 0x01, 0x0a,
588 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74,
589 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0d,
590 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20,
591 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
592 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
593 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
594 0x6f, 0x6e, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
595 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
596 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,
597 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c,
598 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
599 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x6e, 0x64, 0x65, 0x6c,
600 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
601 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0xe5, 0x07, 0x0a, 0x0d, 0x4f, 0x72, 0x67, 0x61,
602 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xa4, 0x01, 0x0a, 0x0f, 0x47, 0x65,
603 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e,
604 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73,
605 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e,
606 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
607 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
608 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61,
609 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
610 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x29, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,
611 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
612 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,
613 0x12, 0xba, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e,
614 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
615 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
616 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63,
617 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
618 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
619 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e,
620 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x72,
621 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
622 0x6e, 0x73, 0x65, 0x22, 0x28, 0xda, 0x41, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x82, 0xd3, 0xe4,
623 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x76, 0x33, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
624 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x8c, 0x01,
625 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22,
626 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47,
627 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
628 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
629 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x41, 0xda, 0x41, 0x08, 0x72, 0x65,
630 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22,
631 0x2b, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x6f,
632 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
633 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x8c, 0x01, 0x0a,
634 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e,
635 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
636 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
637 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76,
638 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x41, 0xda, 0x41, 0x08, 0x72, 0x65, 0x73,
639 0x6f, 0x75, 0x72, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b,
640 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x6f, 0x72,
641 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73,
642 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xbe, 0x01, 0x0a, 0x12,
643 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
644 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
645 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
646 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67,
647 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73,
648 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52,
649 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0xda, 0x41, 0x14, 0x72, 0x65, 0x73, 0x6f,
650 0x75, 0x72, 0x63, 0x65, 0x2c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
651 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x01, 0x2a, 0x22, 0x31, 0x2f, 0x76, 0x33, 0x2f, 0x7b,
652 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
653 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61,
654 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x90, 0x01, 0xca,
655 0x41, 0x23, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d,
656 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
657 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x67, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
658 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
659 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c,
660 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77,
661 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
662 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61,
663 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x42,
664 0xf3, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
665 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e,
666 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x12, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
667 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63,
668 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
669 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
670 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
671 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75,
672 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47,
673 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x6f,
674 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x56, 0x33, 0xca, 0x02,
675 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65,
676 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5c, 0x56, 0x33,
677 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
678 0x3a, 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65,
679 0x72, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
680 }
681
682 var (
683 file_google_cloud_resourcemanager_v3_organizations_proto_rawDescOnce sync.Once
684 file_google_cloud_resourcemanager_v3_organizations_proto_rawDescData = file_google_cloud_resourcemanager_v3_organizations_proto_rawDesc
685 )
686
687 func file_google_cloud_resourcemanager_v3_organizations_proto_rawDescGZIP() []byte {
688 file_google_cloud_resourcemanager_v3_organizations_proto_rawDescOnce.Do(func() {
689 file_google_cloud_resourcemanager_v3_organizations_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_resourcemanager_v3_organizations_proto_rawDescData)
690 })
691 return file_google_cloud_resourcemanager_v3_organizations_proto_rawDescData
692 }
693
694 var file_google_cloud_resourcemanager_v3_organizations_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
695 var file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
696 var file_google_cloud_resourcemanager_v3_organizations_proto_goTypes = []any{
697 (Organization_State)(0), // 0: google.cloud.resourcemanager.v3.Organization.State
698 (*Organization)(nil), // 1: google.cloud.resourcemanager.v3.Organization
699 (*GetOrganizationRequest)(nil), // 2: google.cloud.resourcemanager.v3.GetOrganizationRequest
700 (*SearchOrganizationsRequest)(nil), // 3: google.cloud.resourcemanager.v3.SearchOrganizationsRequest
701 (*SearchOrganizationsResponse)(nil), // 4: google.cloud.resourcemanager.v3.SearchOrganizationsResponse
702 (*DeleteOrganizationMetadata)(nil), // 5: google.cloud.resourcemanager.v3.DeleteOrganizationMetadata
703 (*UndeleteOrganizationMetadata)(nil), // 6: google.cloud.resourcemanager.v3.UndeleteOrganizationMetadata
704 (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
705 (*iampb.GetIamPolicyRequest)(nil), // 8: google.iam.v1.GetIamPolicyRequest
706 (*iampb.SetIamPolicyRequest)(nil), // 9: google.iam.v1.SetIamPolicyRequest
707 (*iampb.TestIamPermissionsRequest)(nil), // 10: google.iam.v1.TestIamPermissionsRequest
708 (*iampb.Policy)(nil), // 11: google.iam.v1.Policy
709 (*iampb.TestIamPermissionsResponse)(nil), // 12: google.iam.v1.TestIamPermissionsResponse
710 }
711 var file_google_cloud_resourcemanager_v3_organizations_proto_depIdxs = []int32{
712 0, // 0: google.cloud.resourcemanager.v3.Organization.state:type_name -> google.cloud.resourcemanager.v3.Organization.State
713 7, // 1: google.cloud.resourcemanager.v3.Organization.create_time:type_name -> google.protobuf.Timestamp
714 7, // 2: google.cloud.resourcemanager.v3.Organization.update_time:type_name -> google.protobuf.Timestamp
715 7, // 3: google.cloud.resourcemanager.v3.Organization.delete_time:type_name -> google.protobuf.Timestamp
716 1, // 4: google.cloud.resourcemanager.v3.SearchOrganizationsResponse.organizations:type_name -> google.cloud.resourcemanager.v3.Organization
717 2, // 5: google.cloud.resourcemanager.v3.Organizations.GetOrganization:input_type -> google.cloud.resourcemanager.v3.GetOrganizationRequest
718 3, // 6: google.cloud.resourcemanager.v3.Organizations.SearchOrganizations:input_type -> google.cloud.resourcemanager.v3.SearchOrganizationsRequest
719 8, // 7: google.cloud.resourcemanager.v3.Organizations.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest
720 9, // 8: google.cloud.resourcemanager.v3.Organizations.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest
721 10, // 9: google.cloud.resourcemanager.v3.Organizations.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest
722 1, // 10: google.cloud.resourcemanager.v3.Organizations.GetOrganization:output_type -> google.cloud.resourcemanager.v3.Organization
723 4, // 11: google.cloud.resourcemanager.v3.Organizations.SearchOrganizations:output_type -> google.cloud.resourcemanager.v3.SearchOrganizationsResponse
724 11, // 12: google.cloud.resourcemanager.v3.Organizations.GetIamPolicy:output_type -> google.iam.v1.Policy
725 11, // 13: google.cloud.resourcemanager.v3.Organizations.SetIamPolicy:output_type -> google.iam.v1.Policy
726 12, // 14: google.cloud.resourcemanager.v3.Organizations.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse
727 10, // [10:15] is the sub-list for method output_type
728 5, // [5:10] is the sub-list for method input_type
729 5, // [5:5] is the sub-list for extension type_name
730 5, // [5:5] is the sub-list for extension extendee
731 0, // [0:5] is the sub-list for field type_name
732 }
733
734 func init() { file_google_cloud_resourcemanager_v3_organizations_proto_init() }
735 func file_google_cloud_resourcemanager_v3_organizations_proto_init() {
736 if File_google_cloud_resourcemanager_v3_organizations_proto != nil {
737 return
738 }
739 file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes[0].OneofWrappers = []any{
740 (*Organization_DirectoryCustomerId)(nil),
741 }
742 type x struct{}
743 out := protoimpl.TypeBuilder{
744 File: protoimpl.DescBuilder{
745 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
746 RawDescriptor: file_google_cloud_resourcemanager_v3_organizations_proto_rawDesc,
747 NumEnums: 1,
748 NumMessages: 6,
749 NumExtensions: 0,
750 NumServices: 1,
751 },
752 GoTypes: file_google_cloud_resourcemanager_v3_organizations_proto_goTypes,
753 DependencyIndexes: file_google_cloud_resourcemanager_v3_organizations_proto_depIdxs,
754 EnumInfos: file_google_cloud_resourcemanager_v3_organizations_proto_enumTypes,
755 MessageInfos: file_google_cloud_resourcemanager_v3_organizations_proto_msgTypes,
756 }.Build()
757 File_google_cloud_resourcemanager_v3_organizations_proto = out.File
758 file_google_cloud_resourcemanager_v3_organizations_proto_rawDesc = nil
759 file_google_cloud_resourcemanager_v3_organizations_proto_goTypes = nil
760 file_google_cloud_resourcemanager_v3_organizations_proto_depIdxs = nil
761 }
762
763 // Reference imports to suppress errors if they are not otherwise used.
764 var _ context.Context
765 var _ grpc.ClientConnInterface
766
767 // This is a compile-time assertion to ensure that this generated file
768 // is compatible with the grpc package it is being compiled against.
769 const _ = grpc.SupportPackageIsVersion6
770
771 // OrganizationsClient is the client API for Organizations service.
772 //
773 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
774 type OrganizationsClient interface {
775 // Fetches an organization resource identified by the specified resource name.
776 GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*Organization, error)
777 // Searches organization resources that are visible to the user and satisfy
778 // the specified filter. This method returns organizations in an unspecified
779 // order. New organizations do not necessarily appear at the end of the
780 // results, and may take a small amount of time to appear.
781 //
782 // Search will only return organizations on which the user has the permission
783 // `resourcemanager.organizations.get`
784 SearchOrganizations(ctx context.Context, in *SearchOrganizationsRequest, opts ...grpc.CallOption) (*SearchOrganizationsResponse, error)
785 // Gets the access control policy for an organization resource. The policy may
786 // be empty if no such policy or resource exists. The `resource` field should
787 // be the organization's resource name, for example: "organizations/123".
788 //
789 // Authorization requires the IAM permission
790 // `resourcemanager.organizations.getIamPolicy` on the specified organization.
791 GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
792 // Sets the access control policy on an organization resource. Replaces any
793 // existing policy. The `resource` field should be the organization's resource
794 // name, for example: "organizations/123".
795 //
796 // Authorization requires the IAM permission
797 // `resourcemanager.organizations.setIamPolicy` on the specified organization.
798 SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
799 // Returns the permissions that a caller has on the specified organization.
800 // The `resource` field should be the organization's resource name,
801 // for example: "organizations/123".
802 //
803 // There are no permissions required for making this API call.
804 TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
805 }
806
807 type organizationsClient struct {
808 cc grpc.ClientConnInterface
809 }
810
811 func NewOrganizationsClient(cc grpc.ClientConnInterface) OrganizationsClient {
812 return &organizationsClient{cc}
813 }
814
815 func (c *organizationsClient) GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*Organization, error) {
816 out := new(Organization)
817 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.Organizations/GetOrganization", in, out, opts...)
818 if err != nil {
819 return nil, err
820 }
821 return out, nil
822 }
823
824 func (c *organizationsClient) SearchOrganizations(ctx context.Context, in *SearchOrganizationsRequest, opts ...grpc.CallOption) (*SearchOrganizationsResponse, error) {
825 out := new(SearchOrganizationsResponse)
826 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.Organizations/SearchOrganizations", in, out, opts...)
827 if err != nil {
828 return nil, err
829 }
830 return out, nil
831 }
832
833 func (c *organizationsClient) GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
834 out := new(iampb.Policy)
835 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.Organizations/GetIamPolicy", in, out, opts...)
836 if err != nil {
837 return nil, err
838 }
839 return out, nil
840 }
841
842 func (c *organizationsClient) SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
843 out := new(iampb.Policy)
844 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.Organizations/SetIamPolicy", in, out, opts...)
845 if err != nil {
846 return nil, err
847 }
848 return out, nil
849 }
850
851 func (c *organizationsClient) TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) {
852 out := new(iampb.TestIamPermissionsResponse)
853 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.Organizations/TestIamPermissions", in, out, opts...)
854 if err != nil {
855 return nil, err
856 }
857 return out, nil
858 }
859
860 // OrganizationsServer is the server API for Organizations service.
861 type OrganizationsServer interface {
862 // Fetches an organization resource identified by the specified resource name.
863 GetOrganization(context.Context, *GetOrganizationRequest) (*Organization, error)
864 // Searches organization resources that are visible to the user and satisfy
865 // the specified filter. This method returns organizations in an unspecified
866 // order. New organizations do not necessarily appear at the end of the
867 // results, and may take a small amount of time to appear.
868 //
869 // Search will only return organizations on which the user has the permission
870 // `resourcemanager.organizations.get`
871 SearchOrganizations(context.Context, *SearchOrganizationsRequest) (*SearchOrganizationsResponse, error)
872 // Gets the access control policy for an organization resource. The policy may
873 // be empty if no such policy or resource exists. The `resource` field should
874 // be the organization's resource name, for example: "organizations/123".
875 //
876 // Authorization requires the IAM permission
877 // `resourcemanager.organizations.getIamPolicy` on the specified organization.
878 GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
879 // Sets the access control policy on an organization resource. Replaces any
880 // existing policy. The `resource` field should be the organization's resource
881 // name, for example: "organizations/123".
882 //
883 // Authorization requires the IAM permission
884 // `resourcemanager.organizations.setIamPolicy` on the specified organization.
885 SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
886 // Returns the permissions that a caller has on the specified organization.
887 // The `resource` field should be the organization's resource name,
888 // for example: "organizations/123".
889 //
890 // There are no permissions required for making this API call.
891 TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
892 }
893
894 // UnimplementedOrganizationsServer can be embedded to have forward compatible implementations.
895 type UnimplementedOrganizationsServer struct {
896 }
897
898 func (*UnimplementedOrganizationsServer) GetOrganization(context.Context, *GetOrganizationRequest) (*Organization, error) {
899 return nil, status.Errorf(codes.Unimplemented, "method GetOrganization not implemented")
900 }
901 func (*UnimplementedOrganizationsServer) SearchOrganizations(context.Context, *SearchOrganizationsRequest) (*SearchOrganizationsResponse, error) {
902 return nil, status.Errorf(codes.Unimplemented, "method SearchOrganizations not implemented")
903 }
904 func (*UnimplementedOrganizationsServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) {
905 return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
906 }
907 func (*UnimplementedOrganizationsServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) {
908 return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
909 }
910 func (*UnimplementedOrganizationsServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) {
911 return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
912 }
913
914 func RegisterOrganizationsServer(s *grpc.Server, srv OrganizationsServer) {
915 s.RegisterService(&_Organizations_serviceDesc, srv)
916 }
917
918 func _Organizations_GetOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
919 in := new(GetOrganizationRequest)
920 if err := dec(in); err != nil {
921 return nil, err
922 }
923 if interceptor == nil {
924 return srv.(OrganizationsServer).GetOrganization(ctx, in)
925 }
926 info := &grpc.UnaryServerInfo{
927 Server: srv,
928 FullMethod: "/google.cloud.resourcemanager.v3.Organizations/GetOrganization",
929 }
930 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
931 return srv.(OrganizationsServer).GetOrganization(ctx, req.(*GetOrganizationRequest))
932 }
933 return interceptor(ctx, in, info, handler)
934 }
935
936 func _Organizations_SearchOrganizations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
937 in := new(SearchOrganizationsRequest)
938 if err := dec(in); err != nil {
939 return nil, err
940 }
941 if interceptor == nil {
942 return srv.(OrganizationsServer).SearchOrganizations(ctx, in)
943 }
944 info := &grpc.UnaryServerInfo{
945 Server: srv,
946 FullMethod: "/google.cloud.resourcemanager.v3.Organizations/SearchOrganizations",
947 }
948 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
949 return srv.(OrganizationsServer).SearchOrganizations(ctx, req.(*SearchOrganizationsRequest))
950 }
951 return interceptor(ctx, in, info, handler)
952 }
953
954 func _Organizations_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
955 in := new(iampb.GetIamPolicyRequest)
956 if err := dec(in); err != nil {
957 return nil, err
958 }
959 if interceptor == nil {
960 return srv.(OrganizationsServer).GetIamPolicy(ctx, in)
961 }
962 info := &grpc.UnaryServerInfo{
963 Server: srv,
964 FullMethod: "/google.cloud.resourcemanager.v3.Organizations/GetIamPolicy",
965 }
966 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
967 return srv.(OrganizationsServer).GetIamPolicy(ctx, req.(*iampb.GetIamPolicyRequest))
968 }
969 return interceptor(ctx, in, info, handler)
970 }
971
972 func _Organizations_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
973 in := new(iampb.SetIamPolicyRequest)
974 if err := dec(in); err != nil {
975 return nil, err
976 }
977 if interceptor == nil {
978 return srv.(OrganizationsServer).SetIamPolicy(ctx, in)
979 }
980 info := &grpc.UnaryServerInfo{
981 Server: srv,
982 FullMethod: "/google.cloud.resourcemanager.v3.Organizations/SetIamPolicy",
983 }
984 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
985 return srv.(OrganizationsServer).SetIamPolicy(ctx, req.(*iampb.SetIamPolicyRequest))
986 }
987 return interceptor(ctx, in, info, handler)
988 }
989
990 func _Organizations_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
991 in := new(iampb.TestIamPermissionsRequest)
992 if err := dec(in); err != nil {
993 return nil, err
994 }
995 if interceptor == nil {
996 return srv.(OrganizationsServer).TestIamPermissions(ctx, in)
997 }
998 info := &grpc.UnaryServerInfo{
999 Server: srv,
1000 FullMethod: "/google.cloud.resourcemanager.v3.Organizations/TestIamPermissions",
1001 }
1002 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1003 return srv.(OrganizationsServer).TestIamPermissions(ctx, req.(*iampb.TestIamPermissionsRequest))
1004 }
1005 return interceptor(ctx, in, info, handler)
1006 }
1007
1008 var _Organizations_serviceDesc = grpc.ServiceDesc{
1009 ServiceName: "google.cloud.resourcemanager.v3.Organizations",
1010 HandlerType: (*OrganizationsServer)(nil),
1011 Methods: []grpc.MethodDesc{
1012 {
1013 MethodName: "GetOrganization",
1014 Handler: _Organizations_GetOrganization_Handler,
1015 },
1016 {
1017 MethodName: "SearchOrganizations",
1018 Handler: _Organizations_SearchOrganizations_Handler,
1019 },
1020 {
1021 MethodName: "GetIamPolicy",
1022 Handler: _Organizations_GetIamPolicy_Handler,
1023 },
1024 {
1025 MethodName: "SetIamPolicy",
1026 Handler: _Organizations_SetIamPolicy_Handler,
1027 },
1028 {
1029 MethodName: "TestIamPermissions",
1030 Handler: _Organizations_TestIamPermissions_Handler,
1031 },
1032 },
1033 Streams: []grpc.StreamDesc{},
1034 Metadata: "google/cloud/resourcemanager/v3/organizations.proto",
1035 }