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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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>
|
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;
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;
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;
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;
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;
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
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis build()
buildPartial()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis buildPartial()
clear()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clear()
Overrides
clearAnalysisQuery()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearAnalysisQuery()
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
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;
clearField(Descriptors.FieldDescriptor field)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearField(Descriptors.FieldDescriptor field)
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;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clone()
Overrides
getAnalysisQuery()
public IamPolicyAnalysisQuery getAnalysisQuery()
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
getAnalysisQueryBuilder()
public IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder()
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
|
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
|
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;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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> |
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAnalysisQuery(IamPolicyAnalysisQuery value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeAnalysisQuery(IamPolicyAnalysisQuery value)
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
mergeFrom(AnalyzeIamPolicyResponse.IamPolicyAnalysis other)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(AnalyzeIamPolicyResponse.IamPolicyAnalysis other)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
setAnalysisQuery(IamPolicyAnalysisQuery value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisQuery(IamPolicyAnalysisQuery value)
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
The analysis query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides