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
Static Fields
ANALYSIS_QUERY_FIELD_NUMBER
public static final int ANALYSIS_QUERY_FIELD_NUMBER
Field Value
ANALYSIS_RESULTS_FIELD_NUMBER
public static final int ANALYSIS_RESULTS_FIELD_NUMBER
Field Value
FULLY_EXPLORED_FIELD_NUMBER
public static final int FULLY_EXPLORED_FIELD_NUMBER
Field Value
NON_CRITICAL_ERRORS_FIELD_NUMBER
public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder newBuilder()
Returns
newBuilder(AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype)
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder newBuilder(AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype)
Parameter
Returns
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AnalyzeIamPolicyResponse.IamPolicyAnalysis> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAnalysisQuery()
public IamPolicyAnalysisQuery getAnalysisQuery()
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
Returns
getAnalysisQueryOrBuilder()
public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
Returns
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
Returns
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
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
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
Returns
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
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
Returns
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
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
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
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions