Class AnalyzeIamPolicyResponse.IamPolicyAnalysis (3.26.0)

public static final class AnalyzeIamPolicyResponse.IamPolicyAnalysis extends GeneratedMessageV3 implements AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder

An analysis message to group the query and results.

Protobuf type google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzeIamPolicyResponse.IamPolicyAnalysis

Static Fields

ANALYSIS_QUERY_FIELD_NUMBER

public static final int ANALYSIS_QUERY_FIELD_NUMBER
Field Value
Type Description
int

ANALYSIS_RESULTS_FIELD_NUMBER

public static final int ANALYSIS_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

FULLY_EXPLORED_FIELD_NUMBER

public static final int FULLY_EXPLORED_FIELD_NUMBER
Field Value
Type Description
int

NON_CRITICAL_ERRORS_FIELD_NUMBER

public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstance()
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis

getDescriptor()

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

newBuilder()

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

newBuilder(AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAnalysisQuery()

public IamPolicyAnalysisQuery getAnalysisQuery()

The analysis query.

.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;

Returns
Type Description
IamPolicyAnalysisQuery

The analysisQuery.

getAnalysisQueryOrBuilder()

public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()

The analysis query.

.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;

Returns
Type Description
IamPolicyAnalysisQueryOrBuilder

getAnalysisResults(int index)

public IamPolicyAnalysisResult getAnalysisResults(int index)

A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult

getAnalysisResultsCount()

public int getAnalysisResultsCount()

A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;

Returns
Type Description
int

getAnalysisResultsList()

public List<IamPolicyAnalysisResult> getAnalysisResultsList()

A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;

Returns
Type Description
List<IamPolicyAnalysisResult>

getAnalysisResultsOrBuilder(int index)

public IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrBuilder(int index)

A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResultOrBuilder

getAnalysisResultsOrBuilderList()

public List<? extends IamPolicyAnalysisResultOrBuilder> getAnalysisResultsOrBuilderList()

A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;

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

getDefaultInstanceForType()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType()
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis

getFullyExplored()

public boolean getFullyExplored()

Represents whether all entries in the analysis_results have been fully explored to answer the query.

bool fully_explored = 3;

Returns
Type Description
boolean

The fullyExplored.

getNonCriticalErrors(int index)

public IamPolicyAnalysisState getNonCriticalErrors(int index)

A list of non-critical errors happened during the query handling.

repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisState

getNonCriticalErrorsCount()

public int getNonCriticalErrorsCount()

A list of non-critical errors happened during the query handling.

repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;

Returns
Type Description
int

getNonCriticalErrorsList()

public List<IamPolicyAnalysisState> getNonCriticalErrorsList()

A list of non-critical errors happened during the query handling.

repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;

Returns
Type Description
List<IamPolicyAnalysisState>

getNonCriticalErrorsOrBuilder(int index)

public IamPolicyAnalysisStateOrBuilder getNonCriticalErrorsOrBuilder(int index)

A list of non-critical errors happened during the query handling.

repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisStateOrBuilder

getNonCriticalErrorsOrBuilderList()

public List<? extends IamPolicyAnalysisStateOrBuilder> getNonCriticalErrorsOrBuilderList()

A list of non-critical errors happened during the query handling.

repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAnalysisQuery()

public boolean hasAnalysisQuery()

The analysis query.

.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.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.IamPolicyAnalysis.Builder toBuilder()
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

writeTo(CodedOutputStream output)

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