Class TestIamPermissionsResponse (1.19.0)

public final class TestIamPermissionsResponse extends GeneratedMessageV3 implements TestIamPermissionsResponseOrBuilder

Response message for TestIamPermissions method.

Protobuf type google.iam.v1.TestIamPermissionsResponse

Static Fields

PERMISSIONS_FIELD_NUMBER

public static final int PERMISSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TestIamPermissionsResponse getDefaultInstance()
Returns
TypeDescription
TestIamPermissionsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TestIamPermissionsResponse.Builder newBuilder()
Returns
TypeDescription
TestIamPermissionsResponse.Builder

newBuilder(TestIamPermissionsResponse prototype)

public static TestIamPermissionsResponse.Builder newBuilder(TestIamPermissionsResponse prototype)
Parameter
NameDescription
prototypeTestIamPermissionsResponse
Returns
TypeDescription
TestIamPermissionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static TestIamPermissionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestIamPermissionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TestIamPermissionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestIamPermissionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestIamPermissionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestIamPermissionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestIamPermissionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestIamPermissionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TestIamPermissionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestIamPermissionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TestIamPermissionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestIamPermissionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestIamPermissionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TestIamPermissionsResponse> parser()
Returns
TypeDescription
Parser<TestIamPermissionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TestIamPermissionsResponse getDefaultInstanceForType()
Returns
TypeDescription
TestIamPermissionsResponse

getParserForType()

public Parser<TestIamPermissionsResponse> getParserForType()
Returns
TypeDescription
Parser<TestIamPermissionsResponse>
Overrides

getPermissions(int index)

public String getPermissions(int index)

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The permissions at the given index.

getPermissionsBytes(int index)

public ByteString getPermissionsBytes(int index)

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the permissions at the given index.

getPermissionsCount()

public int getPermissionsCount()

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 1;

Returns
TypeDescription
int

The count of permissions.

getPermissionsList()

public ProtocolStringList getPermissionsList()

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the permissions.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TestIamPermissionsResponse.Builder newBuilderForType()
Returns
TypeDescription
TestIamPermissionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestIamPermissionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TestIamPermissionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TestIamPermissionsResponse.Builder toBuilder()
Returns
TypeDescription
TestIamPermissionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException