Class AnalyzeIamPolicyResponse (3.4.1)

public final class AnalyzeIamPolicyResponse extends GeneratedMessageV3 implements AnalyzeIamPolicyResponseOrBuilder

A response message for AssetService.AnalyzeIamPolicy.

Protobuf type google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse

Static Fields

FULLY_EXPLORED_FIELD_NUMBER

public static final int FULLY_EXPLORED_FIELD_NUMBER
Field Value
TypeDescription
int

MAIN_ANALYSIS_FIELD_NUMBER

public static final int MAIN_ANALYSIS_FIELD_NUMBER
Field Value
TypeDescription
int

NON_CRITICAL_ERRORS_FIELD_NUMBER

public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalyzeIamPolicyResponse getDefaultInstance()
Returns
TypeDescription
AnalyzeIamPolicyResponse

getDescriptor()

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

newBuilder()

public static AnalyzeIamPolicyResponse.Builder newBuilder()
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

newBuilder(AnalyzeIamPolicyResponse prototype)

public static AnalyzeIamPolicyResponse.Builder newBuilder(AnalyzeIamPolicyResponse prototype)
Parameter
NameDescription
prototypeAnalyzeIamPolicyResponse
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzeIamPolicyResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeIamPolicyResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AnalyzeIamPolicyResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnalyzeIamPolicyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AnalyzeIamPolicyResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnalyzeIamPolicyResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AnalyzeIamPolicyResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeIamPolicyResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AnalyzeIamPolicyResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnalyzeIamPolicyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AnalyzeIamPolicyResponse> parser()
Returns
TypeDescription
Parser<AnalyzeIamPolicyResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AnalyzeIamPolicyResponse getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
boolean

The fullyExplored.

getMainAnalysis()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis()

The main analysis that matches the original request.

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

Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis

The mainAnalysis.

getMainAnalysisOrBuilder()

public AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder()

The main analysis that matches the original request.

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

Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder

getNonCriticalErrors(int index)

public IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors(int index)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisState

getNonCriticalErrorsCount()

public int getNonCriticalErrorsCount()

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Returns
TypeDescription
int

getNonCriticalErrorsList()

public List<IamPolicyAnalysisResult.AnalysisState> getNonCriticalErrorsList()

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Returns
TypeDescription
List<AnalysisState>

getNonCriticalErrorsOrBuilder(int index)

public IamPolicyAnalysisResult.AnalysisStateOrBuilder getNonCriticalErrorsOrBuilder(int index)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisStateOrBuilder

getNonCriticalErrorsOrBuilderList()

public List<? extends IamPolicyAnalysisResult.AnalysisStateOrBuilder> getNonCriticalErrorsOrBuilderList()

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>

getParserForType()

public Parser<AnalyzeIamPolicyResponse> getParserForType()
Returns
TypeDescription
Parser<AnalyzeIamPolicyResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis

getServiceAccountImpersonationAnalysisCount()

public int getServiceAccountImpersonationAnalysisCount()

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

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

Returns
TypeDescription
int

getServiceAccountImpersonationAnalysisList()

public List<AnalyzeIamPolicyResponse.IamPolicyAnalysis> getServiceAccountImpersonationAnalysisList()

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

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

Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasMainAnalysis()

public boolean hasMainAnalysis()

The main analysis that matches the original request.

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

Returns
TypeDescription
boolean

Whether the mainAnalysis field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AnalyzeIamPolicyResponse.Builder toBuilder()
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

writeTo(CodedOutputStream output)

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