- 3.48.0 (latest)
- 3.47.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.0.0
- 1.2.5
- 1.1.8
- 0.2.0
public static final class QueryGrantableRolesRequest.Builder extends GeneratedMessageV3.Builder<QueryGrantableRolesRequest.Builder> implements QueryGrantableRolesRequestOrBuilder
The grantable role query request.
Protobuf type google.iam.admin.v1.QueryGrantableRolesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QueryGrantableRolesRequest.BuilderImplements
QueryGrantableRolesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryGrantableRolesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
build()
public QueryGrantableRolesRequest build()
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest |
buildPartial()
public QueryGrantableRolesRequest buildPartial()
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest |
clear()
public QueryGrantableRolesRequest.Builder clear()
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public QueryGrantableRolesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
clearFullResourceName()
public QueryGrantableRolesRequest.Builder clearFullResourceName()
Required. The full resource name to query from the list of grantable roles.
The name follows the Google Cloud Platform resource format.
For example, a Cloud Platform project with id my-project
will be named
//cloudresourcemanager.googleapis.com/projects/my-project
.
string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryGrantableRolesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
clearPageSize()
public QueryGrantableRolesRequest.Builder clearPageSize()
Optional limit on the number of roles to include in the response.
The default is 300, and the maximum is 1,000.
int32 page_size = 3;
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
clearPageToken()
public QueryGrantableRolesRequest.Builder clearPageToken()
Optional pagination token returned in an earlier QueryGrantableRolesResponse.
string page_token = 4;
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
clearView()
public QueryGrantableRolesRequest.Builder clearView()
.google.iam.admin.v1.RoleView view = 2;
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
clone()
public QueryGrantableRolesRequest.Builder clone()
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
getDefaultInstanceForType()
public QueryGrantableRolesRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFullResourceName()
public String getFullResourceName()
Required. The full resource name to query from the list of grantable roles.
The name follows the Google Cloud Platform resource format.
For example, a Cloud Platform project with id my-project
will be named
//cloudresourcemanager.googleapis.com/projects/my-project
.
string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The fullResourceName. |
getFullResourceNameBytes()
public ByteString getFullResourceNameBytes()
Required. The full resource name to query from the list of grantable roles.
The name follows the Google Cloud Platform resource format.
For example, a Cloud Platform project with id my-project
will be named
//cloudresourcemanager.googleapis.com/projects/my-project
.
string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for fullResourceName. |
getPageSize()
public int getPageSize()
Optional limit on the number of roles to include in the response.
The default is 300, and the maximum is 1,000.
int32 page_size = 3;
Returns | |
---|---|
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
Optional pagination token returned in an earlier QueryGrantableRolesResponse.
string page_token = 4;
Returns | |
---|---|
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
Optional pagination token returned in an earlier QueryGrantableRolesResponse.
string page_token = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for pageToken. |
getView()
public RoleView getView()
.google.iam.admin.v1.RoleView view = 2;
Returns | |
---|---|
Type | Description |
RoleView | The view. |
getViewValue()
public int getViewValue()
.google.iam.admin.v1.RoleView view = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for view. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(QueryGrantableRolesRequest other)
public QueryGrantableRolesRequest.Builder mergeFrom(QueryGrantableRolesRequest other)
Parameter | |
---|---|
Name | Description |
other | QueryGrantableRolesRequest |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryGrantableRolesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public QueryGrantableRolesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryGrantableRolesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QueryGrantableRolesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
setFullResourceName(String value)
public QueryGrantableRolesRequest.Builder setFullResourceName(String value)
Required. The full resource name to query from the list of grantable roles.
The name follows the Google Cloud Platform resource format.
For example, a Cloud Platform project with id my-project
will be named
//cloudresourcemanager.googleapis.com/projects/my-project
.
string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The fullResourceName to set. |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
setFullResourceNameBytes(ByteString value)
public QueryGrantableRolesRequest.Builder setFullResourceNameBytes(ByteString value)
Required. The full resource name to query from the list of grantable roles.
The name follows the Google Cloud Platform resource format.
For example, a Cloud Platform project with id my-project
will be named
//cloudresourcemanager.googleapis.com/projects/my-project
.
string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for fullResourceName to set. |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
setPageSize(int value)
public QueryGrantableRolesRequest.Builder setPageSize(int value)
Optional limit on the number of roles to include in the response.
The default is 300, and the maximum is 1,000.
int32 page_size = 3;
Parameter | |
---|---|
Name | Description |
value | int The pageSize to set. |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
setPageToken(String value)
public QueryGrantableRolesRequest.Builder setPageToken(String value)
Optional pagination token returned in an earlier QueryGrantableRolesResponse.
string page_token = 4;
Parameter | |
---|---|
Name | Description |
value | String The pageToken to set. |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public QueryGrantableRolesRequest.Builder setPageTokenBytes(ByteString value)
Optional pagination token returned in an earlier QueryGrantableRolesResponse.
string page_token = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryGrantableRolesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryGrantableRolesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder |
setView(RoleView value)
public QueryGrantableRolesRequest.Builder setView(RoleView value)
.google.iam.admin.v1.RoleView view = 2;
Parameter | |
---|---|
Name | Description |
value | RoleView The view to set. |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |
setViewValue(int value)
public QueryGrantableRolesRequest.Builder setViewValue(int value)
.google.iam.admin.v1.RoleView view = 2;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for view to set. |
Returns | |
---|---|
Type | Description |
QueryGrantableRolesRequest.Builder | This builder for chaining. |