Class AggregateAssetsValuesResponse.Builder (0.14.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.AggregationResult>
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResults(AggregationResult value)

public AggregateAssetsValuesResponse.Builder addResults(AggregationResult value)

The aggregation results.

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

Parameter
NameDescription
valueAggregationResult
Returns
TypeDescription
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
NameDescription
builderForValueAggregationResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAggregationResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAggregationResult.Builder
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder

addResultsBuilder()

public AggregationResult.Builder addResultsBuilder()

The aggregation results.

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

Returns
TypeDescription
AggregationResult.Builder

addResultsBuilder(int index)

public AggregationResult.Builder addResultsBuilder(int index)

The aggregation results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationResult.Builder

build()

public AggregateAssetsValuesResponse build()
Returns
TypeDescription
AggregateAssetsValuesResponse

buildPartial()

public AggregateAssetsValuesResponse buildPartial()
Returns
TypeDescription
AggregateAssetsValuesResponse

clear()

public AggregateAssetsValuesResponse.Builder clear()
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AggregateAssetsValuesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResults()

public AggregateAssetsValuesResponse.Builder clearResults()

The aggregation results.

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

Returns
TypeDescription
AggregateAssetsValuesResponse.Builder

clone()

public AggregateAssetsValuesResponse.Builder clone()
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder
Overrides

getDefaultInstanceForType()

public AggregateAssetsValuesResponse getDefaultInstanceForType()
Returns
TypeDescription
AggregateAssetsValuesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResults(int index)

public AggregationResult getResults(int index)

The aggregation results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationResult

getResultsBuilder(int index)

public AggregationResult.Builder getResultsBuilder(int index)

The aggregation results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationResult.Builder

getResultsBuilderList()

public List<AggregationResult.Builder> getResultsBuilderList()

The aggregation results.

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

Returns
TypeDescription
List<Builder>

getResultsCount()

public int getResultsCount()

The aggregation results.

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

Returns
TypeDescription
int

getResultsList()

public List<AggregationResult> getResultsList()

The aggregation results.

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

Returns
TypeDescription
List<AggregationResult>

getResultsOrBuilder(int index)

public AggregationResultOrBuilder getResultsOrBuilder(int index)

The aggregation results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationResultOrBuilder

getResultsOrBuilderList()

public List<? extends AggregationResultOrBuilder> getResultsOrBuilderList()

The aggregation results.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AggregateAssetsValuesResponse other)

public AggregateAssetsValuesResponse.Builder mergeFrom(AggregateAssetsValuesResponse other)
Parameter
NameDescription
otherAggregateAssetsValuesResponse
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AggregateAssetsValuesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder
Overrides

removeResults(int index)

public AggregateAssetsValuesResponse.Builder removeResults(int index)

The aggregation results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AggregateAssetsValuesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder
Overrides

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

public AggregateAssetsValuesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueAggregationResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAggregationResult.Builder
Returns
TypeDescription
AggregateAssetsValuesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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