Class AnalyzeIamPolicyResponse.IamPolicyAnalysis (3.4.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
TypeDescription
int

ANALYSIS_RESULTS_FIELD_NUMBER

public static final int ANALYSIS_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

FULLY_EXPLORED_FIELD_NUMBER

public static final int FULLY_EXPLORED_FIELD_NUMBER
Field Value
TypeDescription
int

NON_CRITICAL_ERRORS_FIELD_NUMBER

public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstance()
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis

getDescriptor()

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

newBuilder()

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

newBuilder(AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAnalysisQuery()

public IamPolicyAnalysisQuery getAnalysisQuery()

The analysis query.

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

Returns
TypeDescription
IamPolicyAnalysisQuery

The analysisQuery.

getAnalysisQueryOrBuilder()

public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()

The analysis query.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder>

getDefaultInstanceForType()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAnalysisQuery()

public boolean hasAnalysisQuery()

The analysis query.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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