@Generated public final class Value extends com.google.protobuf.GeneratedMessage implements ValueOrBuilder
`Value` represents a dynamically typed value. The typed fields in `Value` are used as a transport encoding for the actual value (which may be of a more complex type). See the documentation of the `Type` message for more details.Protobuf type
google.bigtable.v2.Value| Modifier and Type | Class and Description |
|---|---|
static class |
Value.Builder
`Value` represents a dynamically typed value.
|
static class |
Value.KindCase |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_VALUE_FIELD_NUMBER |
static int |
BOOL_VALUE_FIELD_NUMBER |
static int |
BYTES_VALUE_FIELD_NUMBER |
static int |
DATE_VALUE_FIELD_NUMBER |
static int |
FLOAT_VALUE_FIELD_NUMBER |
static int |
INT_VALUE_FIELD_NUMBER |
static int |
RAW_TIMESTAMP_MICROS_FIELD_NUMBER |
static int |
RAW_VALUE_FIELD_NUMBER |
static int |
STRING_VALUE_FIELD_NUMBER |
static int |
TIMESTAMP_VALUE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ArrayValue |
getArrayValue()
Represents a typed value transported as a sequence of values.
|
ArrayValueOrBuilder |
getArrayValueOrBuilder()
Represents a typed value transported as a sequence of values.
|
boolean |
getBoolValue()
Represents a typed value transported as a boolean.
|
com.google.protobuf.ByteString |
getBytesValue()
Represents a typed value transported as a byte sequence.
|
com.google.type.Date |
getDateValue()
Represents a typed value transported as a date.
|
com.google.type.DateOrBuilder |
getDateValueOrBuilder()
Represents a typed value transported as a date.
|
static Value |
getDefaultInstance() |
Value |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getFloatValue()
Represents a typed value transported as a floating point number.
|
long |
getIntValue()
Represents a typed value transported as an integer.
|
Value.KindCase |
getKindCase() |
com.google.protobuf.Parser<Value> |
getParserForType() |
long |
getRawTimestampMicros()
Represents a raw cell timestamp with no type information.
|
com.google.protobuf.ByteString |
getRawValue()
Represents a raw byte sequence with no type information.
|
int |
getSerializedSize() |
String |
getStringValue()
Represents a typed value transported as a string.
|
com.google.protobuf.ByteString |
getStringValueBytes()
Represents a typed value transported as a string.
|
com.google.protobuf.Timestamp |
getTimestampValue()
Represents a typed value transported as a timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampValueOrBuilder()
Represents a typed value transported as a timestamp.
|
Type |
getType()
The verified `Type` of this `Value`, if it cannot be inferred.
|
TypeOrBuilder |
getTypeOrBuilder()
The verified `Type` of this `Value`, if it cannot be inferred.
|
boolean |
hasArrayValue()
Represents a typed value transported as a sequence of values.
|
boolean |
hasBoolValue()
Represents a typed value transported as a boolean.
|
boolean |
hasBytesValue()
Represents a typed value transported as a byte sequence.
|
boolean |
hasDateValue()
Represents a typed value transported as a date.
|
boolean |
hasFloatValue()
Represents a typed value transported as a floating point number.
|
int |
hashCode() |
boolean |
hasIntValue()
Represents a typed value transported as an integer.
|
boolean |
hasRawTimestampMicros()
Represents a raw cell timestamp with no type information.
|
boolean |
hasRawValue()
Represents a raw byte sequence with no type information.
|
boolean |
hasStringValue()
Represents a typed value transported as a string.
|
boolean |
hasTimestampValue()
Represents a typed value transported as a timestamp.
|
boolean |
hasType()
The verified `Type` of this `Value`, if it cannot be inferred.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Value.Builder |
newBuilder() |
static Value.Builder |
newBuilder(Value prototype) |
Value.Builder |
newBuilderForType() |
protected Value.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static Value |
parseDelimitedFrom(InputStream input) |
static Value |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(byte[] data) |
static Value |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(ByteBuffer data) |
static Value |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(com.google.protobuf.ByteString data) |
static Value |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Value |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(InputStream input) |
static Value |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Value> |
parser() |
Value.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPE_FIELD_NUMBER
public static final int RAW_VALUE_FIELD_NUMBER
public static final int RAW_TIMESTAMP_MICROS_FIELD_NUMBER
public static final int BYTES_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
public static final int INT_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER
public static final int TIMESTAMP_VALUE_FIELD_NUMBER
public static final int DATE_VALUE_FIELD_NUMBER
public static final int ARRAY_VALUE_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic Value.KindCase getKindCase()
getKindCase in interface ValueOrBuilderpublic boolean hasType()
The verified `Type` of this `Value`, if it cannot be inferred. Read results will never specify the encoding for `type` since the value will already have been decoded by the server. Furthermore, the `type` will be omitted entirely if it can be inferred from a previous response. The exact semantics for inferring `type` will vary, and are therefore documented separately for each read method. When using composite types (Struct, Array, Map) only the outermost `Value` will specify the `type`. This top-level `type` will define the types for any nested `Struct' fields, `Array` elements, or `Map` key/value pairs. If a nested `Value` provides a `type` on write, the request will be rejected with INVALID_ARGUMENT.
.google.bigtable.v2.Type type = 7;hasType in interface ValueOrBuilderpublic Type getType()
The verified `Type` of this `Value`, if it cannot be inferred. Read results will never specify the encoding for `type` since the value will already have been decoded by the server. Furthermore, the `type` will be omitted entirely if it can be inferred from a previous response. The exact semantics for inferring `type` will vary, and are therefore documented separately for each read method. When using composite types (Struct, Array, Map) only the outermost `Value` will specify the `type`. This top-level `type` will define the types for any nested `Struct' fields, `Array` elements, or `Map` key/value pairs. If a nested `Value` provides a `type` on write, the request will be rejected with INVALID_ARGUMENT.
.google.bigtable.v2.Type type = 7;getType in interface ValueOrBuilderpublic TypeOrBuilder getTypeOrBuilder()
The verified `Type` of this `Value`, if it cannot be inferred. Read results will never specify the encoding for `type` since the value will already have been decoded by the server. Furthermore, the `type` will be omitted entirely if it can be inferred from a previous response. The exact semantics for inferring `type` will vary, and are therefore documented separately for each read method. When using composite types (Struct, Array, Map) only the outermost `Value` will specify the `type`. This top-level `type` will define the types for any nested `Struct' fields, `Array` elements, or `Map` key/value pairs. If a nested `Value` provides a `type` on write, the request will be rejected with INVALID_ARGUMENT.
.google.bigtable.v2.Type type = 7;getTypeOrBuilder in interface ValueOrBuilderpublic boolean hasRawValue()
Represents a raw byte sequence with no type information. The `type` field must be omitted.
bytes raw_value = 8;hasRawValue in interface ValueOrBuilderpublic com.google.protobuf.ByteString getRawValue()
Represents a raw byte sequence with no type information. The `type` field must be omitted.
bytes raw_value = 8;getRawValue in interface ValueOrBuilderpublic boolean hasRawTimestampMicros()
Represents a raw cell timestamp with no type information. The `type` field must be omitted.
int64 raw_timestamp_micros = 9;hasRawTimestampMicros in interface ValueOrBuilderpublic long getRawTimestampMicros()
Represents a raw cell timestamp with no type information. The `type` field must be omitted.
int64 raw_timestamp_micros = 9;getRawTimestampMicros in interface ValueOrBuilderpublic boolean hasBytesValue()
Represents a typed value transported as a byte sequence.
bytes bytes_value = 2;hasBytesValue in interface ValueOrBuilderpublic com.google.protobuf.ByteString getBytesValue()
Represents a typed value transported as a byte sequence.
bytes bytes_value = 2;getBytesValue in interface ValueOrBuilderpublic boolean hasStringValue()
Represents a typed value transported as a string.
string string_value = 3;hasStringValue in interface ValueOrBuilderpublic String getStringValue()
Represents a typed value transported as a string.
string string_value = 3;getStringValue in interface ValueOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
Represents a typed value transported as a string.
string string_value = 3;getStringValueBytes in interface ValueOrBuilderpublic boolean hasIntValue()
Represents a typed value transported as an integer.
int64 int_value = 6;hasIntValue in interface ValueOrBuilderpublic long getIntValue()
Represents a typed value transported as an integer.
int64 int_value = 6;getIntValue in interface ValueOrBuilderpublic boolean hasBoolValue()
Represents a typed value transported as a boolean.
bool bool_value = 10;hasBoolValue in interface ValueOrBuilderpublic boolean getBoolValue()
Represents a typed value transported as a boolean.
bool bool_value = 10;getBoolValue in interface ValueOrBuilderpublic boolean hasFloatValue()
Represents a typed value transported as a floating point number. Does not support NaN or infinities.
double float_value = 11;hasFloatValue in interface ValueOrBuilderpublic double getFloatValue()
Represents a typed value transported as a floating point number. Does not support NaN or infinities.
double float_value = 11;getFloatValue in interface ValueOrBuilderpublic boolean hasTimestampValue()
Represents a typed value transported as a timestamp.
.google.protobuf.Timestamp timestamp_value = 12;hasTimestampValue in interface ValueOrBuilderpublic com.google.protobuf.Timestamp getTimestampValue()
Represents a typed value transported as a timestamp.
.google.protobuf.Timestamp timestamp_value = 12;getTimestampValue in interface ValueOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()
Represents a typed value transported as a timestamp.
.google.protobuf.Timestamp timestamp_value = 12;getTimestampValueOrBuilder in interface ValueOrBuilderpublic boolean hasDateValue()
Represents a typed value transported as a date.
.google.type.Date date_value = 13;hasDateValue in interface ValueOrBuilderpublic com.google.type.Date getDateValue()
Represents a typed value transported as a date.
.google.type.Date date_value = 13;getDateValue in interface ValueOrBuilderpublic com.google.type.DateOrBuilder getDateValueOrBuilder()
Represents a typed value transported as a date.
.google.type.Date date_value = 13;getDateValueOrBuilder in interface ValueOrBuilderpublic boolean hasArrayValue()
Represents a typed value transported as a sequence of values. To differentiate between `Struct`, `Array`, and `Map`, the outermost `Value` must provide an explicit `type` on write. This `type` will apply recursively to the nested `Struct` fields, `Array` elements, or `Map` key/value pairs, which *must not* supply their own `type`.
.google.bigtable.v2.ArrayValue array_value = 4;hasArrayValue in interface ValueOrBuilderpublic ArrayValue getArrayValue()
Represents a typed value transported as a sequence of values. To differentiate between `Struct`, `Array`, and `Map`, the outermost `Value` must provide an explicit `type` on write. This `type` will apply recursively to the nested `Struct` fields, `Array` elements, or `Map` key/value pairs, which *must not* supply their own `type`.
.google.bigtable.v2.ArrayValue array_value = 4;getArrayValue in interface ValueOrBuilderpublic ArrayValueOrBuilder getArrayValueOrBuilder()
Represents a typed value transported as a sequence of values. To differentiate between `Struct`, `Array`, and `Map`, the outermost `Value` must provide an explicit `type` on write. This `type` will apply recursively to the nested `Struct` fields, `Array` elements, or `Map` key/value pairs, which *must not* supply their own `type`.
.google.bigtable.v2.ArrayValue array_value = 4;getArrayValueOrBuilder in interface ValueOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Value parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(InputStream input) throws IOException
IOExceptionpublic static Value parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Value parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Value parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Value parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Value.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Value.Builder newBuilder()
public static Value.Builder newBuilder(Value prototype)
public Value.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Value.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static Value getDefaultInstance()
public static com.google.protobuf.Parser<Value> parser()
public com.google.protobuf.Parser<Value> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Value getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.