Class DoubleArray.Builder (3.46.0)

public static final class DoubleArray.Builder extends GeneratedMessageV3.Builder<DoubleArray.Builder> implements DoubleArrayOrBuilder

A list of double values.

Protobuf type google.cloud.aiplatform.v1.DoubleArray

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends Double> values)

public DoubleArray.Builder addAllValues(Iterable<? extends Double> values)

A list of double values.

repeated double values = 1;

Parameter
Name Description
values Iterable<? extends java.lang.Double>

The values to add.

Returns
Type Description
DoubleArray.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(double value)

public DoubleArray.Builder addValues(double value)

A list of double values.

repeated double values = 1;

Parameter
Name Description
value double

The values to add.

Returns
Type Description
DoubleArray.Builder

This builder for chaining.

build()

public DoubleArray build()
Returns
Type Description
DoubleArray

buildPartial()

public DoubleArray buildPartial()
Returns
Type Description
DoubleArray

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValues()

public DoubleArray.Builder clearValues()

A list of double values.

repeated double values = 1;

Returns
Type Description
DoubleArray.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DoubleArray getDefaultInstanceForType()
Returns
Type Description
DoubleArray

getDescriptorForType()

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

getValues(int index)

public double getValues(int index)

A list of double values.

repeated double values = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
double

The values at the given index.

getValuesCount()

public int getValuesCount()

A list of double values.

repeated double values = 1;

Returns
Type Description
int

The count of values.

getValuesList()

public List<Double> getValuesList()

A list of double values.

repeated double values = 1;

Returns
Type Description
List<Double>

A list containing the values.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DoubleArray other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValues(int index, double value)

public DoubleArray.Builder setValues(int index, double value)

A list of double values.

repeated double values = 1;

Parameters
Name Description
index int

The index to set the value at.

value double

The values to set.

Returns
Type Description
DoubleArray.Builder

This builder for chaining.