Class AggregateAssetsValuesRequest.Builder (0.10.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
TypeDescription
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
NameDescription
valueAggregation
Returns
TypeDescription
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
NameDescription
builderForValueAggregation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAggregation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAggregation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.Aggregation>
Returns
TypeDescription
AggregateAssetsValuesRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AggregateAssetsValuesRequest build()
Returns
TypeDescription
AggregateAssetsValuesRequest

buildPartial()

public AggregateAssetsValuesRequest buildPartial()
Returns
TypeDescription
AggregateAssetsValuesRequest

clear()

public AggregateAssetsValuesRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
AggregateAssetsValuesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public AggregateAssetsValuesRequest.Builder clearFilter()

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

string filter = 3;

Returns
TypeDescription
AggregateAssetsValuesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public AggregateAssetsValuesRequest.Builder clearParent()

Required. Parent value for AggregateAssetsValuesRequest.

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

Returns
TypeDescription
AggregateAssetsValuesRequest.Builder

This builder for chaining.

clone()

public AggregateAssetsValuesRequest.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.AggregationOrBuilder>

getDefaultInstanceForType()

public AggregateAssetsValuesRequest getDefaultInstanceForType()
Returns
TypeDescription
AggregateAssetsValuesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

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

string filter = 3;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

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

string filter = 3;

Returns
TypeDescription
ByteString

The bytes for filter.

getParent()

public String getParent()

Required. Parent value for AggregateAssetsValuesRequest.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent value for AggregateAssetsValuesRequest.

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

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AggregateAssetsValuesRequest other)

public AggregateAssetsValuesRequest.Builder mergeFrom(AggregateAssetsValuesRequest other)
Parameter
NameDescription
otherAggregateAssetsValuesRequest
Returns
TypeDescription
AggregateAssetsValuesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AggregateAssetsValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAggregation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAggregation.Builder
Returns
TypeDescription
AggregateAssetsValuesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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