Class FeatureMap.StringList (0.40.0)

public static final class FeatureMap.StringList extends GeneratedMessageV3 implements FeatureMap.StringListOrBuilder

A list of string features.

Protobuf type google.cloud.recommendationengine.v1beta1.FeatureMap.StringList

Static Fields

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(FeatureMap.StringList prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getValue(int index)

public String getValue(int index)

String feature value with a length limit of 128 bytes.

repeated string value = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The value at the given index.

getValueBytes(int index)

public ByteString getValueBytes(int index)

String feature value with a length limit of 128 bytes.

repeated string value = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the value at the given index.

getValueCount()

public int getValueCount()

String feature value with a length limit of 128 bytes.

repeated string value = 1;

Returns
TypeDescription
int

The count of value.

getValueList()

public ProtocolStringList getValueList()

String feature value with a length limit of 128 bytes.

repeated string value = 1;

Returns
TypeDescription
ProtocolStringList

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.StringList.Builder newBuilderForType()
Returns
TypeDescription
FeatureMap.StringList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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