public static final class DoubleList.Builder extends GeneratedMessageV3.Builder<DoubleList.Builder> implements DoubleListOrBuilder
Double list.
Protobuf type google.cloud.discoveryengine.v1alpha.DoubleList
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllValues(Iterable<? extends Double> values)
public DoubleList.Builder addAllValues(Iterable<? extends Double> values)
Double values.
repeated double values = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends java.lang.Double>
The values to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DoubleList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addValues(double value)
public DoubleList.Builder addValues(double value)
Double values.
repeated double values = 1;
Parameter |
Name |
Description |
value |
double
The values to add.
|
build()
public DoubleList build()
buildPartial()
public DoubleList buildPartial()
clear()
public DoubleList.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DoubleList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DoubleList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValues()
public DoubleList.Builder clearValues()
Double values.
repeated double values = 1;
clone()
public DoubleList.Builder clone()
Overrides
getDefaultInstanceForType()
public DoubleList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getValues(int index)
public double getValues(int index)
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()
Double values.
repeated double values = 1;
Returns |
Type |
Description |
int |
The count of values.
|
getValuesList()
public List<Double> getValuesList()
Double values.
repeated double values = 1;
Returns |
Type |
Description |
List<Double> |
A list containing the values.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DoubleList other)
public DoubleList.Builder mergeFrom(DoubleList other)
public DoubleList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DoubleList.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DoubleList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DoubleList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DoubleList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DoubleList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValues(int index, double value)
public DoubleList.Builder setValues(int index, double value)
Double values.
repeated double values = 1;
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
double
The values to set.
|