Class IamPolicyAnalysisResult.Identity (3.40.0)

public static final class IamPolicyAnalysisResult.Identity extends GeneratedMessageV3 implements IamPolicyAnalysisResult.IdentityOrBuilder

An identity under analysis.

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisResult.Identity

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IamPolicyAnalysisResult.Identity

Static Fields

ANALYSIS_STATE_FIELD_NUMBER

public static final int ANALYSIS_STATE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IamPolicyAnalysisResult.Identity getDefaultInstance()
Returns
Type Description
IamPolicyAnalysisResult.Identity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IamPolicyAnalysisResult.Identity.Builder newBuilder()
Returns
Type Description
IamPolicyAnalysisResult.Identity.Builder

newBuilder(IamPolicyAnalysisResult.Identity prototype)

public static IamPolicyAnalysisResult.Identity.Builder newBuilder(IamPolicyAnalysisResult.Identity prototype)
Parameter
Name Description
prototype IamPolicyAnalysisResult.Identity
Returns
Type Description
IamPolicyAnalysisResult.Identity.Builder

parseDelimitedFrom(InputStream input)

public static IamPolicyAnalysisResult.Identity parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult.Identity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IamPolicyAnalysisResult.Identity parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult.Identity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IamPolicyAnalysisResult.Identity parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult.Identity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IamPolicyAnalysisResult.Identity parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult.Identity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IamPolicyAnalysisResult.Identity parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult.Identity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IamPolicyAnalysisResult.Identity parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult.Identity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IamPolicyAnalysisResult.Identity> parser()
Returns
Type Description
Parser<Identity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnalysisState()

public IamPolicyAnalysisState getAnalysisState()

The analysis state of this identity.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;

Returns
Type Description
IamPolicyAnalysisState

The analysisState.

getAnalysisStateOrBuilder()

public IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder()

The analysis state of this identity.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;

Returns
Type Description
IamPolicyAnalysisStateOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisResult.Identity getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisResult.Identity

getName()

public String getName()

The identity of members, formatted as appear in an IAM policy binding. For example, they might be formatted like the following:

  • user:foo@google.com
  • group:group1@google.com
  • serviceAccount:s1@prj1.iam.gserviceaccount.com
  • projectOwner:some_project_id
  • domain:google.com
  • allUsers

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The identity of members, formatted as appear in an IAM policy binding. For example, they might be formatted like the following:

  • user:foo@google.com
  • group:group1@google.com
  • serviceAccount:s1@prj1.iam.gserviceaccount.com
  • projectOwner:some_project_id
  • domain:google.com
  • allUsers

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<IamPolicyAnalysisResult.Identity> getParserForType()
Returns
Type Description
Parser<Identity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAnalysisState()

public boolean hasAnalysisState()

The analysis state of this identity.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;

Returns
Type Description
boolean

Whether the analysisState field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IamPolicyAnalysisResult.Identity.Builder newBuilderForType()
Returns
Type Description
IamPolicyAnalysisResult.Identity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IamPolicyAnalysisResult.Identity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IamPolicyAnalysisResult.Identity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IamPolicyAnalysisResult.Identity.Builder toBuilder()
Returns
Type Description
IamPolicyAnalysisResult.Identity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException