Class ArrayValue (3.12.1)

public final class ArrayValue extends GeneratedMessageV3 implements ArrayValueOrBuilder

An array value.

Protobuf type google.firestore.v1.ArrayValue

Implements

ArrayValueOrBuilder

Static Fields

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ArrayValue getDefaultInstance()
Returns
TypeDescription
ArrayValue

getDescriptor()

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

newBuilder()

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

newBuilder(ArrayValue prototype)

public static ArrayValue.Builder newBuilder(ArrayValue prototype)
Parameter
NameDescription
prototypeArrayValue
Returns
TypeDescription
ArrayValue.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ArrayValue getDefaultInstanceForType()
Returns
TypeDescription
ArrayValue

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValues(int index)

public Value getValues(int index)

Values in the array.

repeated .google.firestore.v1.Value values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Value

getValuesCount()

public int getValuesCount()

Values in the array.

repeated .google.firestore.v1.Value values = 1;

Returns
TypeDescription
int

getValuesList()

public List<Value> getValuesList()

Values in the array.

repeated .google.firestore.v1.Value values = 1;

Returns
TypeDescription
List<Value>

getValuesOrBuilder(int index)

public ValueOrBuilder getValuesOrBuilder(int index)

Values in the array.

repeated .google.firestore.v1.Value values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValueOrBuilder

getValuesOrBuilderList()

public List<? extends ValueOrBuilder> getValuesOrBuilderList()

Values in the array.

repeated .google.firestore.v1.Value values = 1;

Returns
TypeDescription
List<? extends com.google.firestore.v1.ValueOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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