Package com.google.iam.admin.v1
Class QueryTestablePermissionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryTestablePermissionsRequest.Builder>
com.google.iam.admin.v1.QueryTestablePermissionsRequest.Builder
- All Implemented Interfaces:
QueryTestablePermissionsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QueryTestablePermissionsRequest
public static final class QueryTestablePermissionsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QueryTestablePermissionsRequest.Builder>
implements QueryTestablePermissionsRequestOrBuilder
A request to get permissions which can be tested on a resource.Protobuf type
google.iam.admin.v1.QueryTestablePermissionsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Optional limit on the number of permissions to include in the response.Optional pagination token returned in an earlier QueryTestablePermissionsRequest.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.intOptional limit on the number of permissions to include in the response.Optional pagination token returned in an earlier QueryTestablePermissionsRequest.com.google.protobuf.ByteStringOptional pagination token returned in an earlier QueryTestablePermissionsRequest.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setFullResourceName(String value) Required.setFullResourceNameBytes(com.google.protobuf.ByteString value) Required.setPageSize(int value) Optional limit on the number of permissions to include in the response.setPageToken(String value) Optional pagination token returned in an earlier QueryTestablePermissionsRequest.setPageTokenBytes(com.google.protobuf.ByteString value) Optional pagination token returned in an earlier QueryTestablePermissionsRequest.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QueryTestablePermissionsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QueryTestablePermissionsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QueryTestablePermissionsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryTestablePermissionsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QueryTestablePermissionsRequest.Builder>
-
mergeFrom
public QueryTestablePermissionsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryTestablePermissionsRequest.Builder>- Throws:
IOException
-
getFullResourceName
Required. The full resource name to query from the list of testable permissions. 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;- Specified by:
getFullResourceNamein interfaceQueryTestablePermissionsRequestOrBuilder- Returns:
- The fullResourceName.
-
getFullResourceNameBytes
public com.google.protobuf.ByteString getFullResourceNameBytes()Required. The full resource name to query from the list of testable permissions. 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;- Specified by:
getFullResourceNameBytesin interfaceQueryTestablePermissionsRequestOrBuilder- Returns:
- The bytes for fullResourceName.
-
setFullResourceName
Required. The full resource name to query from the list of testable permissions. 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;- Parameters:
value- The fullResourceName to set.- Returns:
- This builder for chaining.
-
clearFullResourceName
Required. The full resource name to query from the list of testable permissions. 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;- Returns:
- This builder for chaining.
-
setFullResourceNameBytes
public QueryTestablePermissionsRequest.Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) Required. The full resource name to query from the list of testable permissions. 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;- Parameters:
value- The bytes for fullResourceName to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()Optional limit on the number of permissions to include in the response. The default is 100, and the maximum is 1,000.
int32 page_size = 2;- Specified by:
getPageSizein interfaceQueryTestablePermissionsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
Optional limit on the number of permissions to include in the response. The default is 100, and the maximum is 1,000.
int32 page_size = 2;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Optional limit on the number of permissions to include in the response. The default is 100, and the maximum is 1,000.
int32 page_size = 2;- Returns:
- This builder for chaining.
-
getPageToken
Optional pagination token returned in an earlier QueryTestablePermissionsRequest.
string page_token = 3;- Specified by:
getPageTokenin interfaceQueryTestablePermissionsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Optional pagination token returned in an earlier QueryTestablePermissionsRequest.
string page_token = 3;- Specified by:
getPageTokenBytesin interfaceQueryTestablePermissionsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
Optional pagination token returned in an earlier QueryTestablePermissionsRequest.
string page_token = 3;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Optional pagination token returned in an earlier QueryTestablePermissionsRequest.
string page_token = 3;- Returns:
- This builder for chaining.
-
setPageTokenBytes
public QueryTestablePermissionsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value) Optional pagination token returned in an earlier QueryTestablePermissionsRequest.
string page_token = 3;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-