Class AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder (3.4.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult>
Returns
TypeDescription
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
NameDescription
valueIamPolicyAnalysisResult
Returns
TypeDescription
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
NameDescription
builderForValueIamPolicyAnalysisResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueIamPolicyAnalysisResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

build()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis build()
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis

buildPartial()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis buildPartial()
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis

clear()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clear()
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

clearAnalysisQuery()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearAnalysisQuery()

The analysis query.

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

Returns
TypeDescription
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
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

clone()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder clone()
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

getAnalysisQuery()

public IamPolicyAnalysisQuery getAnalysisQuery()

The analysis query.

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

Returns
TypeDescription
IamPolicyAnalysisQuery

The analysisQuery.

getAnalysisQueryBuilder()

public IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder()

The analysis query.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

getAnalysisQueryOrBuilder()

public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()

The analysis query.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder>

getDefaultInstanceForType()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The fullyExplored.

hasAnalysisQuery()

public boolean hasAnalysisQuery()

The analysis query.

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

Returns
TypeDescription
boolean

Whether the analysisQuery field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAnalysisQuery(IamPolicyAnalysisQuery value)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeAnalysisQuery(IamPolicyAnalysisQuery value)

The analysis query.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

mergeFrom(AnalyzeIamPolicyResponse.IamPolicyAnalysis other)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(AnalyzeIamPolicyResponse.IamPolicyAnalysis other)
Parameter
NameDescription
otherAnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueIamPolicyAnalysisQuery
Returns
TypeDescription
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
NameDescription
builderForValueIamPolicyAnalysisQuery.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueIamPolicyAnalysisResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.Builder
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The fullyExplored to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Overrides