public static final class IamPolicyAnalysisResult.Access extends GeneratedMessageV3 implements IamPolicyAnalysisResult.AccessOrBuilder
A role or permission that appears in an access control list.
Protobuf type google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access
Static Fields
ANALYSIS_STATE_FIELD_NUMBER
public static final int ANALYSIS_STATE_FIELD_NUMBER
Field Value
PERMISSION_FIELD_NUMBER
public static final int PERMISSION_FIELD_NUMBER
Field Value
ROLE_FIELD_NUMBER
public static final int ROLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static IamPolicyAnalysisResult.Access getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IamPolicyAnalysisResult.Access.Builder newBuilder()
Returns
newBuilder(IamPolicyAnalysisResult.Access prototype)
public static IamPolicyAnalysisResult.Access.Builder newBuilder(IamPolicyAnalysisResult.Access prototype)
Parameter
Returns
public static IamPolicyAnalysisResult.Access parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IamPolicyAnalysisResult.Access parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IamPolicyAnalysisResult.Access parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IamPolicyAnalysisResult.Access parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IamPolicyAnalysisResult.Access parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IamPolicyAnalysisResult.Access parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IamPolicyAnalysisResult.Access parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IamPolicyAnalysisResult.Access parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IamPolicyAnalysisResult.Access parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IamPolicyAnalysisResult.Access parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IamPolicyAnalysisResult.Access parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IamPolicyAnalysisResult.Access parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IamPolicyAnalysisResult.Access> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAnalysisState()
public IamPolicyAnalysisResult.AnalysisState getAnalysisState()
The analysis state of this access node.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3;
Returns
getAnalysisStateOrBuilder()
public IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder()
The analysis state of this access node.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3;
Returns
getDefaultInstanceForType()
public IamPolicyAnalysisResult.Access getDefaultInstanceForType()
Returns
getOneofAccessCase()
public IamPolicyAnalysisResult.Access.OneofAccessCase getOneofAccessCase()
Returns
getParserForType()
public Parser<IamPolicyAnalysisResult.Access> getParserForType()
Returns
Overrides
getPermission()
public String getPermission()
The permission.
string permission = 2;
Returns
Type |
Description |
String |
The permission.
|
getPermissionBytes()
public ByteString getPermissionBytes()
The permission.
string permission = 2;
Returns
Type |
Description |
ByteString |
The bytes for permission.
|
getRole()
The role.
string role = 1;
Returns
Type |
Description |
String |
The role.
|
getRoleBytes()
public ByteString getRoleBytes()
The role.
string role = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAnalysisState()
public boolean hasAnalysisState()
The analysis state of this access node.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3;
Returns
Type |
Description |
boolean |
Whether the analysisState field is set.
|
hasPermission()
public boolean hasPermission()
The permission.
string permission = 2;
Returns
Type |
Description |
boolean |
Whether the permission field is set.
|
hasRole()
The role.
string role = 1;
Returns
Type |
Description |
boolean |
Whether the role field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public IamPolicyAnalysisResult.Access.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IamPolicyAnalysisResult.Access.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IamPolicyAnalysisResult.Access.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions