public static final class FeatureMap.FloatList extends GeneratedMessageV3 implements FeatureMap.FloatListOrBuilder
A list of float features.
Protobuf type google.cloud.recommendationengine.v1beta1.FeatureMap.FloatList
Static Fields
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static FeatureMap.FloatList getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static FeatureMap.FloatList.Builder newBuilder()
Returns
newBuilder(FeatureMap.FloatList prototype)
public static FeatureMap.FloatList.Builder newBuilder(FeatureMap.FloatList prototype)
Parameter
Returns
public static FeatureMap.FloatList parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FeatureMap.FloatList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FeatureMap.FloatList parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FeatureMap.FloatList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FeatureMap.FloatList parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FeatureMap.FloatList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FeatureMap.FloatList parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FeatureMap.FloatList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FeatureMap.FloatList parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FeatureMap.FloatList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FeatureMap.FloatList parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FeatureMap.FloatList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FeatureMap.FloatList> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public FeatureMap.FloatList getDefaultInstanceForType()
Returns
getParserForType()
public Parser<FeatureMap.FloatList> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValue(int index)
public float getValue(int index)
Float feature value.
repeated float value = 1;
Parameter
Name | Description |
index | int
The 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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public FeatureMap.FloatList.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FeatureMap.FloatList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public FeatureMap.FloatList.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions