Class IamPolicyAnalysisQuery.IdentitySelector (3.4.1)

public static final class IamPolicyAnalysisQuery.IdentitySelector extends GeneratedMessageV3 implements IamPolicyAnalysisQuery.IdentitySelectorOrBuilder

Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.

Protobuf type google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IamPolicyAnalysisQuery.IdentitySelector

Static Fields

IDENTITY_FIELD_NUMBER

public static final int IDENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IamPolicyAnalysisQuery.IdentitySelector getDefaultInstance()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector

getDescriptor()

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

newBuilder()

public static IamPolicyAnalysisQuery.IdentitySelector.Builder newBuilder()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder

newBuilder(IamPolicyAnalysisQuery.IdentitySelector prototype)

public static IamPolicyAnalysisQuery.IdentitySelector.Builder newBuilder(IamPolicyAnalysisQuery.IdentitySelector prototype)
Parameter
NameDescription
prototypeIamPolicyAnalysisQuery.IdentitySelector
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder

parseDelimitedFrom(InputStream input)

public static IamPolicyAnalysisQuery.IdentitySelector parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static IamPolicyAnalysisQuery.IdentitySelector parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static IamPolicyAnalysisQuery.IdentitySelector parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static IamPolicyAnalysisQuery.IdentitySelector parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static IamPolicyAnalysisQuery.IdentitySelector parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<IamPolicyAnalysisQuery.IdentitySelector> parser()
Returns
TypeDescription
Parser<IdentitySelector>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector

getIdentity()

public String getIdentity()

Required. The identity appear in the form of members in IAM policy binding.

string identity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The identity.

getIdentityBytes()

public ByteString getIdentityBytes()

Required. The identity appear in the form of members in IAM policy binding.

string identity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for identity.

getParserForType()

public Parser<IamPolicyAnalysisQuery.IdentitySelector> getParserForType()
Returns
TypeDescription
Parser<IdentitySelector>
Overrides

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 IamPolicyAnalysisQuery.IdentitySelector.Builder newBuilderForType()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public IamPolicyAnalysisQuery.IdentitySelector.Builder toBuilder()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder

writeTo(CodedOutputStream output)

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