public static final class AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder extends GeneratedMessageV3.Builder<AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder> implements AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder
An analysis message to group the query and results.
Protobuf type google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllAnalysisResults(Iterable<? extends IamPolicyAnalysisResult> values)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addAllAnalysisResults(Iterable<? extends IamPolicyAnalysisResult> values)
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 |
values |
Iterable<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult>
|
Returns
addAllNonCriticalErrors(Iterable<? extends IamPolicyAnalysisState> values)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addAllNonCriticalErrors(Iterable<? extends IamPolicyAnalysisState> values)
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.IamPolicyAnalysisState>
|
Returns
addAnalysisResults(IamPolicyAnalysisResult value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addAnalysisResults(IamPolicyAnalysisResult value)
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
addAnalysisResults(IamPolicyAnalysisResult.Builder builderForValue)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addAnalysisResults(IamPolicyAnalysisResult.Builder builderForValue)
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
addAnalysisResults(int index, IamPolicyAnalysisResult value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addAnalysisResults(int index, IamPolicyAnalysisResult value)
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;
Parameters
Returns
addAnalysisResults(int index, IamPolicyAnalysisResult.Builder builderForValue)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addAnalysisResults(int index, IamPolicyAnalysisResult.Builder builderForValue)
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;
Parameters
Returns
addAnalysisResultsBuilder()
public IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder()
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
addAnalysisResultsBuilder(int index)
public IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder(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
addNonCriticalErrors(IamPolicyAnalysisState value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addNonCriticalErrors(IamPolicyAnalysisState value)
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
Parameter
Returns
addNonCriticalErrors(IamPolicyAnalysisState.Builder builderForValue)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addNonCriticalErrors(IamPolicyAnalysisState.Builder builderForValue)
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
Parameter
Returns
addNonCriticalErrors(int index, IamPolicyAnalysisState value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addNonCriticalErrors(int index, IamPolicyAnalysisState value)
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
Parameters
Returns
addNonCriticalErrors(int index, IamPolicyAnalysisState.Builder builderForValue)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addNonCriticalErrors(int index, IamPolicyAnalysisState.Builder builderForValue)
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
Parameters
Returns
addNonCriticalErrorsBuilder()
public IamPolicyAnalysisState.Builder addNonCriticalErrorsBuilder()
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
Returns
addNonCriticalErrorsBuilder(int index)
public IamPolicyAnalysisState.Builder addNonCriticalErrorsBuilder(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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis build()
Returns
buildPartial()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis buildPartial()
Returns
clear()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clear()
Returns
Overrides
clearAnalysisQuery()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearAnalysisQuery()
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
Returns
clearAnalysisResults()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearAnalysisResults()
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
clearField(Descriptors.FieldDescriptor field)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFullyExplored()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearFullyExplored()
Represents whether all entries in the analysis_results have been
fully explored to answer the query.
bool fully_explored = 3;
Returns
clearNonCriticalErrors()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearNonCriticalErrors()
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clone()
Returns
Overrides
getAnalysisQuery()
public IamPolicyAnalysisQuery getAnalysisQuery()
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
Returns
getAnalysisQueryBuilder()
public IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder()
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
Name |
Description |
index |
int
|
Returns
getAnalysisResultsBuilder(int index)
public IamPolicyAnalysisResult.Builder getAnalysisResultsBuilder(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
getAnalysisResultsBuilderList()
public List<IamPolicyAnalysisResult.Builder> getAnalysisResultsBuilderList()
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
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
Name |
Description |
index |
int
|
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getNonCriticalErrorsBuilder(int index)
public IamPolicyAnalysisState.Builder getNonCriticalErrorsBuilder(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
getNonCriticalErrorsBuilderList()
public List<IamPolicyAnalysisState.Builder> getNonCriticalErrorsBuilderList()
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
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
Name |
Description |
index |
int
|
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> |
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAnalysisQuery(IamPolicyAnalysisQuery value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeAnalysisQuery(IamPolicyAnalysisQuery value)
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
Parameter
Returns
mergeFrom(AnalyzeIamPolicyResponse.IamPolicyAnalysis other)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(AnalyzeIamPolicyResponse.IamPolicyAnalysis other)
Parameter
Returns
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAnalysisResults(int index)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder removeAnalysisResults(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
removeNonCriticalErrors(int index)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder removeNonCriticalErrors(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
setAnalysisQuery(IamPolicyAnalysisQuery value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisQuery(IamPolicyAnalysisQuery value)
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
Parameter
Returns
setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
Parameter
Returns
setAnalysisResults(int index, IamPolicyAnalysisResult value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisResults(int index, IamPolicyAnalysisResult value)
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;
Parameters
Returns
setAnalysisResults(int index, IamPolicyAnalysisResult.Builder builderForValue)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisResults(int index, IamPolicyAnalysisResult.Builder builderForValue)
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFullyExplored(boolean value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setFullyExplored(boolean value)
Represents whether all entries in the analysis_results have been
fully explored to answer the query.
bool fully_explored = 3;
Parameter
Name |
Description |
value |
boolean
The fullyExplored to set.
|
Returns
setNonCriticalErrors(int index, IamPolicyAnalysisState value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setNonCriticalErrors(int index, IamPolicyAnalysisState value)
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
Parameters
Returns
setNonCriticalErrors(int index, IamPolicyAnalysisState.Builder builderForValue)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setNonCriticalErrors(int index, IamPolicyAnalysisState.Builder builderForValue)
A list of non-critical errors happened during the query handling.
repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides