Class AggregateAssetsValuesResponse.Builder (0.24.0)

public static final class AggregateAssetsValuesResponse.Builder extends GeneratedMessageV3.Builder<AggregateAssetsValuesResponse.Builder> implements AggregateAssetsValuesResponseOrBuilder

A response to a request to aggregated assets values.

Protobuf type google.cloud.migrationcenter.v1.AggregateAssetsValuesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResults(Iterable<? extends AggregationResult> values)

public AggregateAssetsValuesResponse.Builder addAllResults(Iterable<? extends AggregationResult> values)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.AggregationResult>
Returns
Type Description
AggregateAssetsValuesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResults(AggregationResult value)

public AggregateAssetsValuesResponse.Builder addResults(AggregationResult value)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameter
Name Description
value AggregationResult
Returns
Type Description
AggregateAssetsValuesResponse.Builder

addResults(AggregationResult.Builder builderForValue)

public AggregateAssetsValuesResponse.Builder addResults(AggregationResult.Builder builderForValue)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameter
Name Description
builderForValue AggregationResult.Builder
Returns
Type Description
AggregateAssetsValuesResponse.Builder

addResults(int index, AggregationResult value)

public AggregateAssetsValuesResponse.Builder addResults(int index, AggregationResult value)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameters
Name Description
index int
value AggregationResult
Returns
Type Description
AggregateAssetsValuesResponse.Builder

addResults(int index, AggregationResult.Builder builderForValue)

public AggregateAssetsValuesResponse.Builder addResults(int index, AggregationResult.Builder builderForValue)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameters
Name Description
index int
builderForValue AggregationResult.Builder
Returns
Type Description
AggregateAssetsValuesResponse.Builder

addResultsBuilder()

public AggregationResult.Builder addResultsBuilder()

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Returns
Type Description
AggregationResult.Builder

addResultsBuilder(int index)

public AggregationResult.Builder addResultsBuilder(int index)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
AggregationResult.Builder

build()

public AggregateAssetsValuesResponse build()
Returns
Type Description
AggregateAssetsValuesResponse

buildPartial()

public AggregateAssetsValuesResponse buildPartial()
Returns
Type Description
AggregateAssetsValuesResponse

clear()

public AggregateAssetsValuesResponse.Builder clear()
Returns
Type Description
AggregateAssetsValuesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AggregateAssetsValuesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AggregateAssetsValuesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResults()

public AggregateAssetsValuesResponse.Builder clearResults()

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Returns
Type Description
AggregateAssetsValuesResponse.Builder

clone()

public AggregateAssetsValuesResponse.Builder clone()
Returns
Type Description
AggregateAssetsValuesResponse.Builder
Overrides

getDefaultInstanceForType()

public AggregateAssetsValuesResponse getDefaultInstanceForType()
Returns
Type Description
AggregateAssetsValuesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getResults(int index)

public AggregationResult getResults(int index)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
AggregationResult

getResultsBuilder(int index)

public AggregationResult.Builder getResultsBuilder(int index)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
AggregationResult.Builder

getResultsBuilderList()

public List<AggregationResult.Builder> getResultsBuilderList()

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Returns
Type Description
List<Builder>

getResultsCount()

public int getResultsCount()

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Returns
Type Description
int

getResultsList()

public List<AggregationResult> getResultsList()

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Returns
Type Description
List<AggregationResult>

getResultsOrBuilder(int index)

public AggregationResultOrBuilder getResultsOrBuilder(int index)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
AggregationResultOrBuilder

getResultsOrBuilderList()

public List<? extends AggregationResultOrBuilder> getResultsOrBuilderList()

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.AggregationResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AggregateAssetsValuesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AggregateAssetsValuesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AggregateAssetsValuesResponse.Builder
Overrides

removeResults(int index)

public AggregateAssetsValuesResponse.Builder removeResults(int index)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
AggregateAssetsValuesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AggregateAssetsValuesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AggregateAssetsValuesResponse.Builder
Overrides

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

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

setResults(int index, AggregationResult value)

public AggregateAssetsValuesResponse.Builder setResults(int index, AggregationResult value)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameters
Name Description
index int
value AggregationResult
Returns
Type Description
AggregateAssetsValuesResponse.Builder

setResults(int index, AggregationResult.Builder builderForValue)

public AggregateAssetsValuesResponse.Builder setResults(int index, AggregationResult.Builder builderForValue)

The aggregation results.

repeated .google.cloud.migrationcenter.v1.AggregationResult results = 1;

Parameters
Name Description
index int
builderForValue AggregationResult.Builder
Returns
Type Description
AggregateAssetsValuesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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