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.v1p4beta1.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.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult>
|
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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2;
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.v1p4beta1.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.v1p4beta1.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
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.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;
Returns
getAnalysisQueryBuilder()
public IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder()
The analysis query.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;
Returns
getAnalysisQueryOrBuilder()
public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()
The analysis query.
.google.cloud.asset.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2;
Returns
Type |
Description |
List<? extends com.google.cloud.asset.v1p4beta1.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.
|
hasAnalysisQuery()
public boolean hasAnalysisQuery()
The analysis query.
.google.cloud.asset.v1p4beta1.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.v1p4beta1.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.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2;
Parameter
Name |
Description |
index |
int
|
Returns
setAnalysisQuery(IamPolicyAnalysisQuery value)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisQuery(IamPolicyAnalysisQuery value)
The analysis query.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;
Parameter
Returns
setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
The analysis query.
.google.cloud.asset.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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
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