public final class ArrayValue extends GeneratedMessageV3 implements ArrayValueOrBuilder
An array value.
Protobuf type google.datastore.v1.ArrayValue
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ArrayValueImplements
ArrayValueOrBuilderStatic Fields
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ArrayValue getDefaultInstance()
Returns | |
---|---|
Type | Description |
ArrayValue |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ArrayValue.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
newBuilder(ArrayValue prototype)
public static ArrayValue.Builder newBuilder(ArrayValue prototype)
Parameter | |
---|---|
Name | Description |
prototype | ArrayValue |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
parseDelimitedFrom(InputStream input)
public static ArrayValue parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ArrayValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ArrayValue parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ArrayValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ArrayValue parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ArrayValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ArrayValue parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ArrayValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ArrayValue parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ArrayValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ArrayValue parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ArrayValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ArrayValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ArrayValue> parser()
Returns | |
---|---|
Type | Description |
Parser<ArrayValue> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ArrayValue getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ArrayValue |
getParserForType()
public Parser<ArrayValue> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ArrayValue> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getValues(int index)
public Value getValues(int index)
Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Value |
getValuesCount()
public int getValuesCount()
Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Returns | |
---|---|
Type | Description |
int |
getValuesList()
public List<Value> getValuesList()
Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Returns | |
---|---|
Type | Description |
List<Value> |
getValuesOrBuilder(int index)
public ValueOrBuilder getValuesOrBuilder(int index)
Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ValueOrBuilder |
getValuesOrBuilderList()
public List<? extends ValueOrBuilder> getValuesOrBuilderList()
Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.datastore.v1.ValueOrBuilder> |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ArrayValue.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ArrayValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ArrayValue.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |