...

Source file src/cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go

Documentation: cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb

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

View as plain text