- 0.60.0 (latest)
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.4
- 0.8.10
public static final class FeatureMap.FloatList.Builder extends GeneratedMessageV3.Builder<FeatureMap.FloatList.Builder> implements FeatureMap.FloatListOrBuilder
A list of float features.
Protobuf type google.cloud.recommendationengine.v1beta1.FeatureMap.FloatList
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FeatureMap.FloatList.BuilderImplements
FeatureMap.FloatListOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllValue(Iterable<? extends Float> values)
public FeatureMap.FloatList.Builder addAllValue(Iterable<? extends Float> values)
Float feature value.
repeated float value = 1;
Name | Description |
values | Iterable<? extends java.lang.Float> The value to add. |
Type | Description |
FeatureMap.FloatList.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FeatureMap.FloatList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FeatureMap.FloatList.Builder |
addValue(float value)
public FeatureMap.FloatList.Builder addValue(float value)
Float feature value.
repeated float value = 1;
Name | Description |
value | float The value to add. |
Type | Description |
FeatureMap.FloatList.Builder | This builder for chaining. |
build()
public FeatureMap.FloatList build()
Type | Description |
FeatureMap.FloatList |
buildPartial()
public FeatureMap.FloatList buildPartial()
Type | Description |
FeatureMap.FloatList |
clear()
public FeatureMap.FloatList.Builder clear()
Type | Description |
FeatureMap.FloatList.Builder |
clearField(Descriptors.FieldDescriptor field)
public FeatureMap.FloatList.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
FeatureMap.FloatList.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public FeatureMap.FloatList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
FeatureMap.FloatList.Builder |
clearValue()
public FeatureMap.FloatList.Builder clearValue()
Float feature value.
repeated float value = 1;
Type | Description |
FeatureMap.FloatList.Builder | This builder for chaining. |
clone()
public FeatureMap.FloatList.Builder clone()
Type | Description |
FeatureMap.FloatList.Builder |
getDefaultInstanceForType()
public FeatureMap.FloatList getDefaultInstanceForType()
Type | Description |
FeatureMap.FloatList |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getValue(int index)
public float getValue(int index)
Float feature value.
repeated float value = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
float | The value at the given index. |
getValueCount()
public int getValueCount()
Float feature value.
repeated float value = 1;
Type | Description |
int | The count of value. |
getValueList()
public List<Float> getValueList()
Float feature value.
repeated float value = 1;
Type | Description |
List<Float> | A list containing the value. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(FeatureMap.FloatList other)
public FeatureMap.FloatList.Builder mergeFrom(FeatureMap.FloatList other)
Name | Description |
other | FeatureMap.FloatList |
Type | Description |
FeatureMap.FloatList.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FeatureMap.FloatList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FeatureMap.FloatList.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public FeatureMap.FloatList.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
FeatureMap.FloatList.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FeatureMap.FloatList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FeatureMap.FloatList.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FeatureMap.FloatList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FeatureMap.FloatList.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FeatureMap.FloatList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
FeatureMap.FloatList.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FeatureMap.FloatList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FeatureMap.FloatList.Builder |
setValue(int index, float value)
public FeatureMap.FloatList.Builder setValue(int index, float value)
Float feature value.
repeated float value = 1;
Name | Description |
index | int The index to set the value at. |
value | float The value to set. |
Type | Description |
FeatureMap.FloatList.Builder | This builder for chaining. |