Class AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder (3.3.1)

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
Type Description
Descriptor

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
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

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
Name Description
value IamPolicyAnalysisResult
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

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
Name Description
builderForValue IamPolicyAnalysisResult.Builder
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

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
Name Description
index int
value IamPolicyAnalysisResult
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

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
Name Description
index int
builderForValue IamPolicyAnalysisResult.Builder
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

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
Type Description
IamPolicyAnalysisResult.Builder

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
Type Description
IamPolicyAnalysisResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

build()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis build()
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis

buildPartial()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis buildPartial()
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis

clear()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clear()
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

clearAnalysisQuery()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearAnalysisQuery()

The analysis query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;

Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

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
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
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
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

clone()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clone()
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

getAnalysisQuery()

public IamPolicyAnalysisQuery getAnalysisQuery()

The analysis query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;

Returns
Type Description
IamPolicyAnalysisQuery

The analysisQuery.

getAnalysisQueryBuilder()

public IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder()

The analysis query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;

Returns
Type Description
IamPolicyAnalysisQuery.Builder

getAnalysisQueryOrBuilder()

public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()

The analysis query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;

Returns
Type Description
IamPolicyAnalysisQueryOrBuilder

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
Type Description
IamPolicyAnalysisResult

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
Type Description
IamPolicyAnalysisResult.Builder

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
Type Description
List<Builder>

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
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.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2;

Returns
Type Description
List<IamPolicyAnalysisResult>

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
Type Description
IamPolicyAnalysisResultOrBuilder

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
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnalysisQuery(IamPolicyAnalysisQuery value)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeAnalysisQuery(IamPolicyAnalysisQuery value)

The analysis query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;

Parameter
Name Description
value IamPolicyAnalysisQuery
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

mergeFrom(AnalyzeIamPolicyResponse.IamPolicyAnalysis other)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(AnalyzeIamPolicyResponse.IamPolicyAnalysis other)
Parameter
Name Description
other AnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
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
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

setAnalysisQuery(IamPolicyAnalysisQuery value)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisQuery(IamPolicyAnalysisQuery value)

The analysis query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;

Parameter
Name Description
value IamPolicyAnalysisQuery
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)

The analysis query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1;

Parameter
Name Description
builderForValue IamPolicyAnalysisQuery.Builder
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

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
Name Description
index int
value IamPolicyAnalysisResult
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

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
Name Description
index int
builderForValue IamPolicyAnalysisResult.Builder
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
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
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides