Class ProtoRows.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ProtoRows.Builder>
com.google.bigtable.v2.ProtoRows.Builder
All Implemented Interfaces:
ProtoRowsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ProtoRows

public static final class ProtoRows.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProtoRows.Builder> implements ProtoRowsOrBuilder
 Rows represented in proto format.

 This should be constructed by concatenating the `batch_data` from each
 of the relevant `ProtoRowsBatch` messages and parsing the result as a
 `ProtoRows` message.
 
Protobuf type google.bigtable.v2.ProtoRows
  • 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<ProtoRows.Builder>
    • clear

      public ProtoRows.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<ProtoRows.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<ProtoRows.Builder>
    • getDefaultInstanceForType

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

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

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

      public ProtoRows.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<ProtoRows.Builder>
    • setField

      public ProtoRows.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<ProtoRows.Builder>
    • clearField

      public ProtoRows.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<ProtoRows.Builder>
    • clearOneof

      public ProtoRows.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<ProtoRows.Builder>
    • setRepeatedField

      public ProtoRows.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<ProtoRows.Builder>
    • addRepeatedField

      public ProtoRows.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<ProtoRows.Builder>
    • mergeFrom

      public ProtoRows.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<ProtoRows.Builder>
    • mergeFrom

      public ProtoRows.Builder mergeFrom(ProtoRows other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProtoRows.Builder>
    • mergeFrom

      public ProtoRows.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<ProtoRows.Builder>
      Throws:
      IOException
    • getValuesList

      public List<Value> getValuesList()
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
      Specified by:
      getValuesList in interface ProtoRowsOrBuilder
    • getValuesCount

      public int getValuesCount()
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
      Specified by:
      getValuesCount in interface ProtoRowsOrBuilder
    • getValues

      public Value getValues(int index)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
      Specified by:
      getValues in interface ProtoRowsOrBuilder
    • setValues

      public ProtoRows.Builder setValues(int index, Value value)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • setValues

      public ProtoRows.Builder setValues(int index, Value.Builder builderForValue)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • addValues

      public ProtoRows.Builder addValues(Value value)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • addValues

      public ProtoRows.Builder addValues(int index, Value value)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • addValues

      public ProtoRows.Builder addValues(Value.Builder builderForValue)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • addValues

      public ProtoRows.Builder addValues(int index, Value.Builder builderForValue)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • addAllValues

      public ProtoRows.Builder addAllValues(Iterable<? extends Value> values)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • clearValues

      public ProtoRows.Builder clearValues()
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • removeValues

      public ProtoRows.Builder removeValues(int index)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • getValuesBuilder

      public Value.Builder getValuesBuilder(int index)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • getValuesOrBuilder

      public ValueOrBuilder getValuesOrBuilder(int index)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
      Specified by:
      getValuesOrBuilder in interface ProtoRowsOrBuilder
    • getValuesOrBuilderList

      public List<? extends ValueOrBuilder> getValuesOrBuilderList()
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
      Specified by:
      getValuesOrBuilderList in interface ProtoRowsOrBuilder
    • addValuesBuilder

      public Value.Builder addValuesBuilder()
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • addValuesBuilder

      public Value.Builder addValuesBuilder(int index)
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • getValuesBuilderList

      public List<Value.Builder> getValuesBuilderList()
       A proto rows message consists of a list of values. Every N complete values
       defines a row, where N is equal to the  number of entries in the
       `metadata.proto_schema.columns` value received in the first response.
       
      repeated .google.bigtable.v2.Value values = 2;
    • setUnknownFields

      public final ProtoRows.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<ProtoRows.Builder>
    • mergeUnknownFields

      public final ProtoRows.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<ProtoRows.Builder>