public static final class TestIamPermissionsRequest.Builder extends GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder> implements TestIamPermissionsRequestOrBuilder
Request message for `TestIamPermissions` method.Protobuf type
google.iam.v1.TestIamPermissionsRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public TestIamPermissionsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public TestIamPermissionsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public TestIamPermissionsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest.Builder mergeFrom(TestIamPermissionsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public TestIamPermissionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<TestIamPermissionsRequest.Builder>
java.io.IOException
public java.lang.String getResource()
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1;
getResource
in interface TestIamPermissionsRequestOrBuilder
public ByteString getResourceBytes()
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1;
getResourceBytes
in interface TestIamPermissionsRequestOrBuilder
public TestIamPermissionsRequest.Builder setResource(java.lang.String value)
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1;
public TestIamPermissionsRequest.Builder clearResource()
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1;
public TestIamPermissionsRequest.Builder setResourceBytes(ByteString value)
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1;
public ProtocolStringList getPermissionsList()
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2;
getPermissionsList
in interface TestIamPermissionsRequestOrBuilder
public int getPermissionsCount()
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2;
getPermissionsCount
in interface TestIamPermissionsRequestOrBuilder
public java.lang.String getPermissions(int index)
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2;
getPermissions
in interface TestIamPermissionsRequestOrBuilder
public ByteString getPermissionsBytes(int index)
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2;
getPermissionsBytes
in interface TestIamPermissionsRequestOrBuilder
public TestIamPermissionsRequest.Builder setPermissions(int index, java.lang.String value)
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2;
public TestIamPermissionsRequest.Builder addPermissions(java.lang.String value)
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2;
public TestIamPermissionsRequest.Builder addAllPermissions(java.lang.Iterable<java.lang.String> values)
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2;
public TestIamPermissionsRequest.Builder clearPermissions()
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2;
public TestIamPermissionsRequest.Builder addPermissionsBytes(ByteString value)
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2;
public final TestIamPermissionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>
public final TestIamPermissionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder>