public static final class FeatureMap.FloatList.Builder extends GeneratedMessage.Builder<FeatureMap.FloatList.Builder> implements FeatureMap.FloatListOrBuilderA list of float features.
Protobuf type google.cloud.recommendationengine.v1beta1.FeatureMap.FloatList
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FeatureMap.FloatList.BuilderImplements
FeatureMap.FloatListOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends java.lang.Float>The value to add. |
| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList.Builder |
This builder for chaining. |
addValue(float value)
public FeatureMap.FloatList.Builder addValue(float value)Float feature value.
repeated float value = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe value to add. |
| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList.Builder |
This builder for chaining. |
build()
public FeatureMap.FloatList build()| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList |
|
buildPartial()
public FeatureMap.FloatList buildPartial()| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList |
|
clear()
public FeatureMap.FloatList.Builder clear()| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList.Builder |
|
clearValue()
public FeatureMap.FloatList.Builder clearValue()Float feature value.
repeated float value = 1;
| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FeatureMap.FloatList getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getValue(int index)
public float getValue(int index)Float feature value.
repeated float value = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
float |
The value at the given index. |
getValueCount()
public int getValueCount()Float feature value.
repeated float value = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of value. |
getValueList()
public List<Float> getValueList()Float feature value.
repeated float value = 1;
| Returns | |
|---|---|
| Type | Description |
List<Float> |
A list containing the value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FeatureMap.FloatList other)
public FeatureMap.FloatList.Builder mergeFrom(FeatureMap.FloatList other)| Parameter | |
|---|---|
| Name | Description |
other |
FeatureMap.FloatList |
| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FeatureMap.FloatList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FeatureMap.FloatList.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
floatThe value to set. |
| Returns | |
|---|---|
| Type | Description |
FeatureMap.FloatList.Builder |
This builder for chaining. |