Package com.google.bigtable.v2
Class Row.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
com.google.bigtable.v2.Row.Builder
- All Implemented Interfaces:
RowOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Row
public static final class Row.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
implements RowOrBuilder
Specifies the complete (requested) contents of a single row of a table. Rows which exceed 256MiB in size cannot be read in full.Protobuf type
google.bigtable.v2.Row
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFamilies
(Iterable<? extends Family> values) May be empty, but only if the entire row is empty.addFamilies
(int index, Family value) May be empty, but only if the entire row is empty.addFamilies
(int index, Family.Builder builderForValue) May be empty, but only if the entire row is empty.addFamilies
(Family value) May be empty, but only if the entire row is empty.addFamilies
(Family.Builder builderForValue) May be empty, but only if the entire row is empty.May be empty, but only if the entire row is empty.addFamiliesBuilder
(int index) May be empty, but only if the entire row is empty.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
May be empty, but only if the entire row is empty.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearKey()
The unique key which identifies this row within its table.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getFamilies
(int index) May be empty, but only if the entire row is empty.getFamiliesBuilder
(int index) May be empty, but only if the entire row is empty.May be empty, but only if the entire row is empty.int
May be empty, but only if the entire row is empty.May be empty, but only if the entire row is empty.getFamiliesOrBuilder
(int index) May be empty, but only if the entire row is empty.List<? extends FamilyOrBuilder>
May be empty, but only if the entire row is empty.com.google.protobuf.ByteString
getKey()
The unique key which identifies this row within its table.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final Row.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeFamilies
(int index) May be empty, but only if the entire row is empty.setFamilies
(int index, Family value) May be empty, but only if the entire row is empty.setFamilies
(int index, Family.Builder builderForValue) May be empty, but only if the entire row is empty.setKey
(com.google.protobuf.ByteString value) The unique key which identifies this row within its table.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Row.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
setField
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
setRepeatedField
public Row.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
addRepeatedField
public Row.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Row.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
mergeFrom
public Row.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Row.Builder>
- Throws:
IOException
-
getKey
public com.google.protobuf.ByteString getKey()The unique key which identifies this row within its table. This is the same key that's used to identify the row in, for example, a MutateRowRequest. May contain any non-empty byte string up to 4KiB in length.
bytes key = 1;
- Specified by:
getKey
in interfaceRowOrBuilder
- Returns:
- The key.
-
setKey
The unique key which identifies this row within its table. This is the same key that's used to identify the row in, for example, a MutateRowRequest. May contain any non-empty byte string up to 4KiB in length.
bytes key = 1;
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
The unique key which identifies this row within its table. This is the same key that's used to identify the row in, for example, a MutateRowRequest. May contain any non-empty byte string up to 4KiB in length.
bytes key = 1;
- Returns:
- This builder for chaining.
-
getFamiliesList
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
- Specified by:
getFamiliesList
in interfaceRowOrBuilder
-
getFamiliesCount
public int getFamiliesCount()May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
- Specified by:
getFamiliesCount
in interfaceRowOrBuilder
-
getFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
- Specified by:
getFamilies
in interfaceRowOrBuilder
-
setFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
setFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
addFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
addFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
addFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
addFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
addAllFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
clearFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
removeFamilies
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
getFamiliesBuilder
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
getFamiliesOrBuilder
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
- Specified by:
getFamiliesOrBuilder
in interfaceRowOrBuilder
-
getFamiliesOrBuilderList
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
- Specified by:
getFamiliesOrBuilderList
in interfaceRowOrBuilder
-
addFamiliesBuilder
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
addFamiliesBuilder
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
getFamiliesBuilderList
May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-