Class DoubleArray.Builder (1.13.0)

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

A list of double values.

Protobuf type google.cloud.vertexai.v1.DoubleArray

Static Methods

getDescriptor()

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

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

  public 
  
 DoubleArray 
 . 
 Builder 
  
 addRepeatedField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
value
Returns
Type
Description
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

This builder for chaining.

build()

  public 
  
 DoubleArray 
  
 build 
 () 
 
Returns
Type
Description

buildPartial()

  public 
  
 DoubleArray 
  
 buildPartial 
 () 
 
Returns
Type
Description

clear()

  public 
  
 DoubleArray 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type
Description
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValues()

  public 
  
 DoubleArray 
 . 
 Builder 
  
 clearValues 
 () 
 

A list of double values.

repeated double values = 1;

Returns
Type
Description

This builder for chaining.

clone()

  public 
  
 DoubleArray 
 . 
 Builder 
  
 clone 
 () 
 
Returns
Type
Description
Overrides

getDefaultInstanceForType()

  public 
  
 DoubleArray 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDescriptorForType()

  public 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptorForType 
 () 
 
Returns
Type
Description
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

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
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

mergeFrom(DoubleArray other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 DoubleArray 
 . 
 Builder 
  
 setUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name
Description
unknownFields
Returns
Type
Description
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

This builder for chaining.