Class AggregateAssetsValuesRequest.Builder (0.27.0)

public static final class AggregateAssetsValuesRequest.Builder extends GeneratedMessageV3.Builder<AggregateAssetsValuesRequest.Builder> implements AggregateAssetsValuesRequestOrBuilder

A request to aggregate one or more values.

Protobuf type google.cloud.migrationcenter.v1.AggregateAssetsValuesRequest

Static Methods

getDescriptor()

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

Methods

addAggregations(Aggregation value)

public AggregateAssetsValuesRequest.Builder addAggregations(Aggregation value)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameter
Name Description
value Aggregation
Returns
Type Description
AggregateAssetsValuesRequest.Builder

addAggregations(Aggregation.Builder builderForValue)

public AggregateAssetsValuesRequest.Builder addAggregations(Aggregation.Builder builderForValue)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameter
Name Description
builderForValue Aggregation.Builder
Returns
Type Description
AggregateAssetsValuesRequest.Builder

addAggregations(int index, Aggregation value)

public AggregateAssetsValuesRequest.Builder addAggregations(int index, Aggregation value)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameters
Name Description
index int
value Aggregation
Returns
Type Description
AggregateAssetsValuesRequest.Builder

addAggregations(int index, Aggregation.Builder builderForValue)

public AggregateAssetsValuesRequest.Builder addAggregations(int index, Aggregation.Builder builderForValue)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameters
Name Description
index int
builderForValue Aggregation.Builder
Returns
Type Description
AggregateAssetsValuesRequest.Builder

addAggregationsBuilder()

public Aggregation.Builder addAggregationsBuilder()

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Returns
Type Description
Aggregation.Builder

addAggregationsBuilder(int index)

public Aggregation.Builder addAggregationsBuilder(int index)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameter
Name Description
index int
Returns
Type Description
Aggregation.Builder

addAllAggregations(Iterable<? extends Aggregation> values)

public AggregateAssetsValuesRequest.Builder addAllAggregations(Iterable<? extends Aggregation> values)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AggregateAssetsValuesRequest build()
Returns
Type Description
AggregateAssetsValuesRequest

buildPartial()

public AggregateAssetsValuesRequest buildPartial()
Returns
Type Description
AggregateAssetsValuesRequest

clear()

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

clearAggregations()

public AggregateAssetsValuesRequest.Builder clearAggregations()

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Returns
Type Description
AggregateAssetsValuesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public AggregateAssetsValuesRequest.Builder clearFilter()

The aggregation will be performed on assets that match the provided filter.

string filter = 3;

Returns
Type Description
AggregateAssetsValuesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public AggregateAssetsValuesRequest.Builder clearParent()

Required. Parent value for AggregateAssetsValuesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AggregateAssetsValuesRequest.Builder

This builder for chaining.

clone()

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

getAggregations(int index)

public Aggregation getAggregations(int index)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameter
Name Description
index int
Returns
Type Description
Aggregation

getAggregationsBuilder(int index)

public Aggregation.Builder getAggregationsBuilder(int index)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameter
Name Description
index int
Returns
Type Description
Aggregation.Builder

getAggregationsBuilderList()

public List<Aggregation.Builder> getAggregationsBuilderList()

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Returns
Type Description
List<Builder>

getAggregationsCount()

public int getAggregationsCount()

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Returns
Type Description
int

getAggregationsList()

public List<Aggregation> getAggregationsList()

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Returns
Type Description
List<Aggregation>

getAggregationsOrBuilder(int index)

public AggregationOrBuilder getAggregationsOrBuilder(int index)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameter
Name Description
index int
Returns
Type Description
AggregationOrBuilder

getAggregationsOrBuilderList()

public List<? extends AggregationOrBuilder> getAggregationsOrBuilderList()

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

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

getDefaultInstanceForType()

public AggregateAssetsValuesRequest getDefaultInstanceForType()
Returns
Type Description
AggregateAssetsValuesRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

The aggregation will be performed on assets that match the provided filter.

string filter = 3;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

The aggregation will be performed on assets that match the provided filter.

string filter = 3;

Returns
Type Description
ByteString

The bytes for filter.

getParent()

public String getParent()

Required. Parent value for AggregateAssetsValuesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent value for AggregateAssetsValuesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AggregateAssetsValuesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAggregations(int index)

public AggregateAssetsValuesRequest.Builder removeAggregations(int index)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameter
Name Description
index int
Returns
Type Description
AggregateAssetsValuesRequest.Builder

setAggregations(int index, Aggregation value)

public AggregateAssetsValuesRequest.Builder setAggregations(int index, Aggregation value)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameters
Name Description
index int
value Aggregation
Returns
Type Description
AggregateAssetsValuesRequest.Builder

setAggregations(int index, Aggregation.Builder builderForValue)

public AggregateAssetsValuesRequest.Builder setAggregations(int index, Aggregation.Builder builderForValue)

Array of aggregations to perform. Up to 25 aggregations can be defined.

repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;

Parameters
Name Description
index int
builderForValue Aggregation.Builder
Returns
Type Description
AggregateAssetsValuesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public AggregateAssetsValuesRequest.Builder setFilter(String value)

The aggregation will be performed on assets that match the provided filter.

string filter = 3;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
AggregateAssetsValuesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public AggregateAssetsValuesRequest.Builder setFilterBytes(ByteString value)

The aggregation will be performed on assets that match the provided filter.

string filter = 3;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
AggregateAssetsValuesRequest.Builder

This builder for chaining.

setParent(String value)

public AggregateAssetsValuesRequest.Builder setParent(String value)

Required. Parent value for AggregateAssetsValuesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
AggregateAssetsValuesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public AggregateAssetsValuesRequest.Builder setParentBytes(ByteString value)

Required. Parent value for AggregateAssetsValuesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
AggregateAssetsValuesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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