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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    • clear

      public Row.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    • getDefaultInstanceForType

      public Row getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Row build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Row buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Row.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    • setField

      public Row.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    • clearField

      public Row.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    • clearOneof

      public Row.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    • addRepeatedField

      public Row.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    • mergeFrom

      public Row.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Row.Builder>
    • mergeFrom

      public Row.Builder mergeFrom(Row other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface RowOrBuilder
      Returns:
      The key.
    • setKey

      public Row.Builder setKey(com.google.protobuf.ByteString value)
       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

      public Row.Builder 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

      public List<Family> 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 interface RowOrBuilder
    • 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 interface RowOrBuilder
    • getFamilies

      public Family getFamilies(int index)
       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 interface RowOrBuilder
    • setFamilies

      public Row.Builder setFamilies(int index, Family value)
       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

      public Row.Builder setFamilies(int index, Family.Builder builderForValue)
       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

      public Row.Builder addFamilies(Family value)
       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

      public Row.Builder addFamilies(int index, Family value)
       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

      public Row.Builder addFamilies(Family.Builder builderForValue)
       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

      public Row.Builder addFamilies(int index, Family.Builder builderForValue)
       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

      public Row.Builder addAllFamilies(Iterable<? extends Family> values)
       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

      public Row.Builder 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

      public Row.Builder removeFamilies(int index)
       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

      public Family.Builder getFamiliesBuilder(int index)
       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

      public FamilyOrBuilder getFamiliesOrBuilder(int index)
       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 interface RowOrBuilder
    • getFamiliesOrBuilderList

      public List<? extends FamilyOrBuilder> 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 interface RowOrBuilder
    • addFamiliesBuilder

      public Family.Builder 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

      public Family.Builder addFamiliesBuilder(int index)
       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

      public List<Family.Builder> 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

      public final Row.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
    • mergeUnknownFields

      public final Row.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>