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