Class StringArray (3.18.0)

public final class StringArray extends GeneratedMessageV3 implements StringArrayOrBuilder

A list of string values.

Protobuf type google.cloud.aiplatform.v1.StringArray

Static Fields

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StringArray getDefaultInstance()
Returns
TypeDescription
StringArray

getDescriptor()

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

newBuilder()

public static StringArray.Builder newBuilder()
Returns
TypeDescription
StringArray.Builder

newBuilder(StringArray prototype)

public static StringArray.Builder newBuilder(StringArray prototype)
Parameter
NameDescription
prototypeStringArray
Returns
TypeDescription
StringArray.Builder

parseDelimitedFrom(InputStream input)

public static StringArray parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StringArray
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static StringArray parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StringArray
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static StringArray parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StringArray
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static StringArray parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StringArray
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static StringArray parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StringArray
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<StringArray> parser()
Returns
TypeDescription
Parser<StringArray>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StringArray getDefaultInstanceForType()
Returns
TypeDescription
StringArray

getParserForType()

public Parser<StringArray> getParserForType()
Returns
TypeDescription
Parser<StringArray>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValues(int index)

public String getValues(int index)

A list of string values.

repeated string values = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The values at the given index.

getValuesBytes(int index)

public ByteString getValuesBytes(int index)

A list of string values.

repeated string values = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the values at the given index.

getValuesCount()

public int getValuesCount()

A list of string values.

repeated string values = 1;

Returns
TypeDescription
int

The count of values.

getValuesList()

public ProtocolStringList getValuesList()

A list of string values.

repeated string values = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the values.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public StringArray.Builder toBuilder()
Returns
TypeDescription
StringArray.Builder

writeTo(CodedOutputStream output)

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