Package com.google.bigtable.v2
Class Value
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.v2.Value
- All Implemented Interfaces:
ValueOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
`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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class`Value` represents a dynamically typed value.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanRepresents a typed value transported as a sequence of values.Represents a typed value transported as a sequence of values.booleanRepresents a typed value transported as a boolean.com.google.protobuf.ByteStringRepresents a typed value transported as a byte sequence.com.google.type.DateRepresents a typed value transported as a date.com.google.type.DateOrBuilderRepresents a typed value transported as a date.static Valuestatic final com.google.protobuf.Descriptors.DescriptordoubleRepresents a typed value transported as a floating point number.longRepresents a typed value transported as an integer.com.google.protobuf.Parser<Value>longRepresents a raw cell timestamp with no type information.com.google.protobuf.ByteStringRepresents a raw byte sequence with no type information.intRepresents a typed value transported as a string.com.google.protobuf.ByteStringRepresents a typed value transported as a string.com.google.protobuf.TimestampRepresents a typed value transported as a timestamp.com.google.protobuf.TimestampOrBuilderRepresents a typed value transported as a timestamp.getType()The verified `Type` of this `Value`, if it cannot be inferred.The verified `Type` of this `Value`, if it cannot be inferred.booleanRepresents a typed value transported as a sequence of values.booleanRepresents a typed value transported as a boolean.booleanRepresents a typed value transported as a byte sequence.booleanRepresents a typed value transported as a date.booleanRepresents a typed value transported as a floating point number.inthashCode()booleanRepresents a typed value transported as an integer.booleanRepresents a raw cell timestamp with no type information.booleanRepresents a raw byte sequence with no type information.booleanRepresents a typed value transported as a string.booleanRepresents a typed value transported as a timestamp.booleanhasType()The verified `Type` of this `Value`, if it cannot be inferred.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Value.Builderstatic Value.BuildernewBuilder(Value prototype) protected Value.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ValueparseDelimitedFrom(InputStream input) static ValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(byte[] data) static ValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(com.google.protobuf.ByteString data) static ValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(com.google.protobuf.CodedInputStream input) static ValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(InputStream input) static ValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(ByteBuffer data) static ValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Value>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
RAW_VALUE_FIELD_NUMBER
public static final int RAW_VALUE_FIELD_NUMBER- See Also:
-
RAW_TIMESTAMP_MICROS_FIELD_NUMBER
public static final int RAW_TIMESTAMP_MICROS_FIELD_NUMBER- See Also:
-
BYTES_VALUE_FIELD_NUMBER
public static final int BYTES_VALUE_FIELD_NUMBER- See Also:
-
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER- See Also:
-
INT_VALUE_FIELD_NUMBER
public static final int INT_VALUE_FIELD_NUMBER- See Also:
-
BOOL_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER- See Also:
-
FLOAT_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER- See Also:
-
TIMESTAMP_VALUE_FIELD_NUMBER
public static final int TIMESTAMP_VALUE_FIELD_NUMBER- See Also:
-
DATE_VALUE_FIELD_NUMBER
public static final int DATE_VALUE_FIELD_NUMBER- See Also:
-
ARRAY_VALUE_FIELD_NUMBER
public static final int ARRAY_VALUE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getKindCase
- Specified by:
getKindCasein interfaceValueOrBuilder
-
hasType
public 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;- Specified by:
hasTypein interfaceValueOrBuilder- Returns:
- Whether the type field is set.
-
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;- Specified by:
getTypein interfaceValueOrBuilder- Returns:
- The type.
-
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;- Specified by:
getTypeOrBuilderin interfaceValueOrBuilder
-
hasRawValue
public boolean hasRawValue()Represents a raw byte sequence with no type information. The `type` field must be omitted.
bytes raw_value = 8;- Specified by:
hasRawValuein interfaceValueOrBuilder- Returns:
- Whether the rawValue field is set.
-
getRawValue
public com.google.protobuf.ByteString getRawValue()Represents a raw byte sequence with no type information. The `type` field must be omitted.
bytes raw_value = 8;- Specified by:
getRawValuein interfaceValueOrBuilder- Returns:
- The rawValue.
-
hasRawTimestampMicros
public boolean hasRawTimestampMicros()Represents a raw cell timestamp with no type information. The `type` field must be omitted.
int64 raw_timestamp_micros = 9;- Specified by:
hasRawTimestampMicrosin interfaceValueOrBuilder- Returns:
- Whether the rawTimestampMicros field is set.
-
getRawTimestampMicros
public long getRawTimestampMicros()Represents a raw cell timestamp with no type information. The `type` field must be omitted.
int64 raw_timestamp_micros = 9;- Specified by:
getRawTimestampMicrosin interfaceValueOrBuilder- Returns:
- The rawTimestampMicros.
-
hasBytesValue
public boolean hasBytesValue()Represents a typed value transported as a byte sequence.
bytes bytes_value = 2;- Specified by:
hasBytesValuein interfaceValueOrBuilder- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
public com.google.protobuf.ByteString getBytesValue()Represents a typed value transported as a byte sequence.
bytes bytes_value = 2;- Specified by:
getBytesValuein interfaceValueOrBuilder- Returns:
- The bytesValue.
-
hasStringValue
public boolean hasStringValue()Represents a typed value transported as a string.
string string_value = 3;- Specified by:
hasStringValuein interfaceValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
Represents a typed value transported as a string.
string string_value = 3;- Specified by:
getStringValuein interfaceValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()Represents a typed value transported as a string.
string string_value = 3;- Specified by:
getStringValueBytesin interfaceValueOrBuilder- Returns:
- The bytes for stringValue.
-
hasIntValue
public boolean hasIntValue()Represents a typed value transported as an integer.
int64 int_value = 6;- Specified by:
hasIntValuein interfaceValueOrBuilder- Returns:
- Whether the intValue field is set.
-
getIntValue
public long getIntValue()Represents a typed value transported as an integer.
int64 int_value = 6;- Specified by:
getIntValuein interfaceValueOrBuilder- Returns:
- The intValue.
-
hasBoolValue
public boolean hasBoolValue()Represents a typed value transported as a boolean.
bool bool_value = 10;- Specified by:
hasBoolValuein interfaceValueOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()Represents a typed value transported as a boolean.
bool bool_value = 10;- Specified by:
getBoolValuein interfaceValueOrBuilder- Returns:
- The boolValue.
-
hasFloatValue
public boolean hasFloatValue()Represents a typed value transported as a floating point number. Does not support NaN or infinities.
double float_value = 11;- Specified by:
hasFloatValuein interfaceValueOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public double getFloatValue()Represents a typed value transported as a floating point number. Does not support NaN or infinities.
double float_value = 11;- Specified by:
getFloatValuein interfaceValueOrBuilder- Returns:
- The floatValue.
-
hasTimestampValue
public boolean hasTimestampValue()Represents a typed value transported as a timestamp.
.google.protobuf.Timestamp timestamp_value = 12;- Specified by:
hasTimestampValuein interfaceValueOrBuilder- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
public com.google.protobuf.Timestamp getTimestampValue()Represents a typed value transported as a timestamp.
.google.protobuf.Timestamp timestamp_value = 12;- Specified by:
getTimestampValuein interfaceValueOrBuilder- Returns:
- The timestampValue.
-
getTimestampValueOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()Represents a typed value transported as a timestamp.
.google.protobuf.Timestamp timestamp_value = 12;- Specified by:
getTimestampValueOrBuilderin interfaceValueOrBuilder
-
hasDateValue
public boolean hasDateValue()Represents a typed value transported as a date.
.google.type.Date date_value = 13;- Specified by:
hasDateValuein interfaceValueOrBuilder- Returns:
- Whether the dateValue field is set.
-
getDateValue
public com.google.type.Date getDateValue()Represents a typed value transported as a date.
.google.type.Date date_value = 13;- Specified by:
getDateValuein interfaceValueOrBuilder- Returns:
- The dateValue.
-
getDateValueOrBuilder
public com.google.type.DateOrBuilder getDateValueOrBuilder()Represents a typed value transported as a date.
.google.type.Date date_value = 13;- Specified by:
getDateValueOrBuilderin interfaceValueOrBuilder
-
hasArrayValue
public 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;- Specified by:
hasArrayValuein interfaceValueOrBuilder- Returns:
- Whether the arrayValue field is set.
-
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;- Specified by:
getArrayValuein interfaceValueOrBuilder- Returns:
- The arrayValue.
-
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;- Specified by:
getArrayValueOrBuilderin interfaceValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Value parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Value parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Value parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Value.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-