public static final class IamPolicyAnalysisResult.Identity extends GeneratedMessageV3 implements IamPolicyAnalysisResult.IdentityOrBuilder
An identity under analysis.
Protobuf type google.cloud.asset.v1.IamPolicyAnalysisResult.Identity
Static Fields
ANALYSIS_STATE_FIELD_NUMBER
public static final int ANALYSIS_STATE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static IamPolicyAnalysisResult.Identity getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IamPolicyAnalysisResult.Identity.Builder newBuilder()
Returns
newBuilder(IamPolicyAnalysisResult.Identity prototype)
public static IamPolicyAnalysisResult.Identity.Builder newBuilder(IamPolicyAnalysisResult.Identity prototype)
Parameter
Returns
public static IamPolicyAnalysisResult.Identity parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IamPolicyAnalysisResult.Identity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IamPolicyAnalysisResult.Identity parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IamPolicyAnalysisResult.Identity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IamPolicyAnalysisResult.Identity parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IamPolicyAnalysisResult.Identity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IamPolicyAnalysisResult.Identity parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IamPolicyAnalysisResult.Identity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IamPolicyAnalysisResult.Identity parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IamPolicyAnalysisResult.Identity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IamPolicyAnalysisResult.Identity parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IamPolicyAnalysisResult.Identity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IamPolicyAnalysisResult.Identity> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAnalysisState()
public IamPolicyAnalysisState getAnalysisState()
The analysis state of this identity.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;
Returns
getAnalysisStateOrBuilder()
public IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder()
The analysis state of this identity.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;
Returns
getDefaultInstanceForType()
public IamPolicyAnalysisResult.Identity getDefaultInstanceForType()
Returns
getName()
The identity name in any form of members appear in
IAM policy
binding, such
as:
- user:foo@google.com
- group:group1@google.com
- serviceAccount:s1@prj1.iam.gserviceaccount.com
- projectOwner:some_project_id
- domain:google.com
- allUsers
- etc.
string name = 1;
Returns
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
The identity name in any form of members appear in
IAM policy
binding, such
as:
- user:foo@google.com
- group:group1@google.com
- serviceAccount:s1@prj1.iam.gserviceaccount.com
- projectOwner:some_project_id
- domain:google.com
- allUsers
- etc.
string name = 1;
Returns
getParserForType()
public Parser<IamPolicyAnalysisResult.Identity> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public IamPolicyAnalysisResult.Identity.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IamPolicyAnalysisResult.Identity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IamPolicyAnalysisResult.Identity.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions