Class IamPolicySearchResult.Explanation.Permissions (3.4.0)

public static final class IamPolicySearchResult.Explanation.Permissions extends GeneratedMessageV3 implements IamPolicySearchResult.Explanation.PermissionsOrBuilder

IAM permissions

Protobuf type google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IamPolicySearchResult.Explanation.Permissions

Static Fields

PERMISSIONS_FIELD_NUMBER

public static final int PERMISSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IamPolicySearchResult.Explanation.Permissions getDefaultInstance()
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions

getDescriptor()

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

newBuilder()

public static IamPolicySearchResult.Explanation.Permissions.Builder newBuilder()
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions.Builder

newBuilder(IamPolicySearchResult.Explanation.Permissions prototype)

public static IamPolicySearchResult.Explanation.Permissions.Builder newBuilder(IamPolicySearchResult.Explanation.Permissions prototype)
Parameter
NameDescription
prototypeIamPolicySearchResult.Explanation.Permissions
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions.Builder

parseDelimitedFrom(InputStream input)

public static IamPolicySearchResult.Explanation.Permissions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicySearchResult.Explanation.Permissions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IamPolicySearchResult.Explanation.Permissions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static IamPolicySearchResult.Explanation.Permissions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IamPolicySearchResult.Explanation.Permissions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IamPolicySearchResult.Explanation.Permissions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicySearchResult.Explanation.Permissions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IamPolicySearchResult.Explanation.Permissions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicySearchResult.Explanation.Permissions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IamPolicySearchResult.Explanation.Permissions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IamPolicySearchResult.Explanation.Permissions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IamPolicySearchResult.Explanation.Permissions> parser()
Returns
TypeDescription
Parser<Permissions>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public IamPolicySearchResult.Explanation.Permissions getDefaultInstanceForType()
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions

getParserForType()

public Parser<IamPolicySearchResult.Explanation.Permissions> getParserForType()
Returns
TypeDescription
Parser<Permissions>
Overrides

getPermissions(int index)

public String getPermissions(int index)

A list of permissions. A sample permission string: compute.disk.get.

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 list of permissions. A sample permission string: compute.disk.get.

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 list of permissions. A sample permission string: compute.disk.get.

repeated string permissions = 1;

Returns
TypeDescription
int

The count of permissions.

getPermissionsList()

public ProtocolStringList getPermissionsList()

A list of permissions. A sample permission string: compute.disk.get.

repeated string permissions = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the permissions.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 IamPolicySearchResult.Explanation.Permissions.Builder newBuilderForType()
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IamPolicySearchResult.Explanation.Permissions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public IamPolicySearchResult.Explanation.Permissions.Builder toBuilder()
Returns
TypeDescription
IamPolicySearchResult.Explanation.Permissions.Builder

writeTo(CodedOutputStream output)

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