Class AnalyzeIamPolicyResponse (3.59.0)

public final class AnalyzeIamPolicyResponse extends GeneratedMessageV3 implements AnalyzeIamPolicyResponseOrBuilder

A response message for AssetService.AnalyzeIamPolicy.

Protobuf type google.cloud.asset.v1.AnalyzeIamPolicyResponse

Static Fields

FULLY_EXPLORED_FIELD_NUMBER

public static final int FULLY_EXPLORED_FIELD_NUMBER
Field Value
Type Description
int

MAIN_ANALYSIS_FIELD_NUMBER

public static final int MAIN_ANALYSIS_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalyzeIamPolicyResponse getDefaultInstance()
Returns
Type Description
AnalyzeIamPolicyResponse

getDescriptor()

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

newBuilder()

public static AnalyzeIamPolicyResponse.Builder newBuilder()
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

newBuilder(AnalyzeIamPolicyResponse prototype)

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

parseDelimitedFrom(InputStream input)

public static AnalyzeIamPolicyResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeIamPolicyResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AnalyzeIamPolicyResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalyzeIamPolicyResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AnalyzeIamPolicyResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalyzeIamPolicyResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AnalyzeIamPolicyResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeIamPolicyResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AnalyzeIamPolicyResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalyzeIamPolicyResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AnalyzeIamPolicyResponse> parser()
Returns
Type Description
Parser<AnalyzeIamPolicyResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AnalyzeIamPolicyResponse getDefaultInstanceForType()
Returns
Type Description
AnalyzeIamPolicyResponse

getFullyExplored()

public boolean getFullyExplored()

Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.

bool fully_explored = 3;

Returns
Type Description
boolean

The fullyExplored.

getMainAnalysis()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis()

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis

The mainAnalysis.

getMainAnalysisOrBuilder()

public AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder()

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder

getParserForType()

public Parser<AnalyzeIamPolicyResponse> getParserForType()
Returns
Type Description
Parser<AnalyzeIamPolicyResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceAccountImpersonationAnalysis(int index)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis

getServiceAccountImpersonationAnalysisCount()

public int getServiceAccountImpersonationAnalysisCount()

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type Description
int

getServiceAccountImpersonationAnalysisList()

public List<AnalyzeIamPolicyResponse.IamPolicyAnalysis> getServiceAccountImpersonationAnalysisList()

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type Description
List<IamPolicyAnalysis>

getServiceAccountImpersonationAnalysisOrBuilder(int index)

public AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder(int index)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder

getServiceAccountImpersonationAnalysisOrBuilderList()

public List<? extends AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisOrBuilderList()

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>

hasMainAnalysis()

public boolean hasMainAnalysis()

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Returns
Type Description
boolean

Whether the mainAnalysis 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 AnalyzeIamPolicyResponse.Builder newBuilderForType()
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AnalyzeIamPolicyResponse.Builder toBuilder()
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

writeTo(CodedOutputStream output)

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