Top Description Inners Fields Constructors Methods
com.google.protobuf

public final Class ListValue

extends GeneratedMessageV3
implements ListValueOrBuilder
Class Inheritance
All Implemented Interfaces
com.google.protobuf.ListValueOrBuilder, com.google.protobuf.MessageOrBuilder, com.google.protobuf.MessageLiteOrBuilder

`ListValue` is a wrapper around a repeated field of values.
The JSON representation for `ListValue` is JSON array.
Protobuf type google.protobuf.ListValue

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
ListValue.Builder

`ListValue` is a wrapper around a repeated field of values.

Field Summary

Modifier and TypeField and Description
private static final ListValue
private byte
private static final Parser<ListValue>
private static final long
private List<Value>
public static final int
Inherited from com.google.protobuf.GeneratedMessageV3:
alwaysUseFieldBuildersunknownFields

Constructor Summary

AccessConstructor and Description
private
private
private

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(final Object
object to be compared for equality with this message
obj
)

Overrides com.google.protobuf.AbstractMessage.equals.

Implements com.google.protobuf.Message.equals.

Compares the specified object with this message for equality.
public static ListValue
public ListValue
public static final Descriptors.Descriptor
public Parser<ListValue>
public int
getSerializedSize()

Overrides com.google.protobuf.GeneratedMessageV3.getSerializedSize.

Implements com.google.protobuf.MessageLite.getSerializedSize.

Get the number of bytes required to encode this message.
public final UnknownFieldSet
public Value
getValues(int index)

Implements com.google.protobuf.ListValueOrBuilder.getValues.

Repeated field of dynamically typed values.
public int
getValuesCount()

Implements com.google.protobuf.ListValueOrBuilder.getValuesCount.

Repeated field of dynamically typed values.
public List<Value>
getValuesList()

Implements com.google.protobuf.ListValueOrBuilder.getValuesList.

Repeated field of dynamically typed values.
public ValueOrBuilder
getValuesOrBuilder(int index)

Implements com.google.protobuf.ListValueOrBuilder.getValuesOrBuilder.

Repeated field of dynamically typed values.
public List<? extends ValueOrBuilder>
getValuesOrBuilderList()

Implements com.google.protobuf.ListValueOrBuilder.getValuesOrBuilderList.

Repeated field of dynamically typed values.
public int
hashCode()

Overrides com.google.protobuf.AbstractMessage.hashCode.

Implements com.google.protobuf.Message.hashCode.

Returns the hash code value for this message.
protected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()

Implements abstract com.google.protobuf.GeneratedMessageV3.internalGetFieldAccessorTable.

Get the FieldAccessorTable for this type.
public final boolean
isInitialized()

Overrides com.google.protobuf.GeneratedMessageV3.isInitialized.

Implements com.google.protobuf.MessageLiteOrBuilder.isInitialized.

Returns true if all required fields in the message and all embedded messages are set, false otherwise.
public static ListValue.Builder
public static ListValue.Builder
newBuilder(ListValue prototype)

public ListValue.Builder
newBuilderForType()

Implements com.google.protobuf.Message.newBuilderForType, com.google.protobuf.MessageLite.newBuilderForType.

Constructs a new builder for a message of the same type as this message.
protected ListValue.Builder
newBuilderForType(GeneratedMessageV3.BuilderParent parent)

Implements abstract com.google.protobuf.GeneratedMessageV3.newBuilderForType.

TODO(xiaofeng): remove this together with GeneratedMessageV3.BuilderParent.
public static ListValue
public static ListValue
public static ListValue
public static ListValue
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListValue
public static ListValue
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListValue
parseFrom(byte[] data)

public static ListValue
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListValue
public static ListValue
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListValue
public static ListValue
public static Parser<ListValue>
public ListValue.Builder
toBuilder()

Implements com.google.protobuf.Message.toBuilder, com.google.protobuf.MessageLite.toBuilder.

Constructs a builder initialized with the current message.
public void
writeTo(CodedOutputStream output)

Overrides com.google.protobuf.GeneratedMessageV3.writeTo.

Implements com.google.protobuf.MessageLite.writeTo.

Serializes the message and writes it to output.
Inherited from com.google.protobuf.GeneratedMessageV3:
canUseUnsafecomputeStringSizecomputeStringSizeNoTagemptyBooleanListemptyDoubleListemptyFloatListemptyIntListemptyLongListenableAlwaysUseFieldBuildersForTestinggetAllFieldsgetAllFieldsRawgetDescriptorForTypegetFieldgetFieldRawgetOneofFieldDescriptorgetRepeatedFieldgetRepeatedFieldCounthasFieldhasOneofinternalGetMapFieldmakeExtensionsImmutablemutableCopymutableCopymutableCopymutableCopymutableCopynewBooleanListnewBuilderForTypenewDoubleListnewFloatListnewIntListnewLongListparseDelimitedWithIOExceptionparseDelimitedWithIOExceptionparseUnknownFieldparseUnknownFieldProto3parseWithIOExceptionparseWithIOExceptionparseWithIOExceptionparseWithIOExceptionserializeBooleanMapToserializeIntegerMapToserializeLongMapToserializeStringMapTowriteReplacewriteStringwriteStringNoTag