Class FeatureMap.FloatList (0.11.0)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static FeatureMap.FloatList getDefaultInstance()
Returns
TypeDescription
FeatureMap.FloatList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FeatureMap.FloatList.Builder newBuilder()
Returns
TypeDescription
FeatureMap.FloatList.Builder

newBuilder(FeatureMap.FloatList prototype)

public static FeatureMap.FloatList.Builder newBuilder(FeatureMap.FloatList prototype)
Parameter
NameDescription
prototypeFeatureMap.FloatList
Returns
TypeDescription
FeatureMap.FloatList.Builder

parseDelimitedFrom(InputStream input)

public static FeatureMap.FloatList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureMap.FloatList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FeatureMap.FloatList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureMap.FloatList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureMap.FloatList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureMap.FloatList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureMap.FloatList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureMap.FloatList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FeatureMap.FloatList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureMap.FloatList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FeatureMap.FloatList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureMap.FloatList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureMap.FloatList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FeatureMap.FloatList> parser()
Returns
TypeDescription
Parser<FloatList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FeatureMap.FloatList getDefaultInstanceForType()
Returns
TypeDescription
FeatureMap.FloatList

getParserForType()

public Parser<FeatureMap.FloatList> getParserForType()
Returns
TypeDescription
Parser<FloatList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue(int index)

public float getValue(int index)

Float feature value.

repeated float value = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
float

The value at the given index.

getValueCount()

public int getValueCount()

Float feature value.

repeated float value = 1;

Returns
TypeDescription
int

The count of value.

getValueList()

public List<Float> getValueList()

Float feature value.

repeated float value = 1;

Returns
TypeDescription
List<Float>

A list containing the value.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FeatureMap.FloatList.Builder newBuilderForType()
Returns
TypeDescription
FeatureMap.FloatList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureMap.FloatList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FeatureMap.FloatList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FeatureMap.FloatList.Builder toBuilder()
Returns
TypeDescription
FeatureMap.FloatList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException