Class Row.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Row.Builder>
com.google.area120.tables.v1alpha1.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.GeneratedMessage.Builder<Row.Builder> implements RowOrBuilder
 A single row in a table.
 
Protobuf type google.area120.tables.v1alpha1.Row
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The resource name of the row.
     
    boolean
    The values of the row.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Map<String,com.google.protobuf.Value>
    Deprecated.
    The resource name of the row.
    com.google.protobuf.ByteString
    The resource name of the row.
    Map<String,com.google.protobuf.Value>
    Deprecated.
    int
    The values of the row.
    Map<String,com.google.protobuf.Value>
    The values of the row.
    com.google.protobuf.Value
    getValuesOrDefault(String key, com.google.protobuf.Value defaultValue)
    The values of the row.
    com.google.protobuf.Value
    The values of the row.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
    mergeFrom(Row other)
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    putAllValues(Map<String,com.google.protobuf.Value> values)
    The values of the row.
    putValues(String key, com.google.protobuf.Value value)
    The values of the row.
    com.google.protobuf.Value.Builder
    The values of the row.
    The values of the row.
    setName(String value)
    The resource name of the row.
    setNameBytes(com.google.protobuf.ByteString value)
    The resource name of the row.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Row.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Row.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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
    • getName

      public String getName()
       The resource name of the row.
       Row names have the form `tables/{table}/rows/{row}`.
       The name is ignored when creating a row.
       
      string name = 1;
      Specified by:
      getName in interface RowOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The resource name of the row.
       Row names have the form `tables/{table}/rows/{row}`.
       The name is ignored when creating a row.
       
      string name = 1;
      Specified by:
      getNameBytes in interface RowOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Row.Builder setName(String value)
       The resource name of the row.
       Row names have the form `tables/{table}/rows/{row}`.
       The name is ignored when creating a row.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Row.Builder clearName()
       The resource name of the row.
       Row names have the form `tables/{table}/rows/{row}`.
       The name is ignored when creating a row.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Row.Builder setNameBytes(com.google.protobuf.ByteString value)
       The resource name of the row.
       Row names have the form `tables/{table}/rows/{row}`.
       The name is ignored when creating a row.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getValuesCount

      public int getValuesCount()
      Description copied from interface: RowOrBuilder
       The values of the row. This is a map of column key to value.
       Key is user entered name(default) or the internal column id based on
       the view in the request.
       
      map<string, .google.protobuf.Value> values = 2;
      Specified by:
      getValuesCount in interface RowOrBuilder
    • containsValues

      public boolean containsValues(String key)
       The values of the row. This is a map of column key to value.
       Key is user entered name(default) or the internal column id based on
       the view in the request.
       
      map<string, .google.protobuf.Value> values = 2;
      Specified by:
      containsValues in interface RowOrBuilder
    • getValues

      @Deprecated public Map<String,com.google.protobuf.Value> getValues()
      Deprecated.
      Use getValuesMap() instead.
      Specified by:
      getValues in interface RowOrBuilder
    • getValuesMap

      public Map<String,com.google.protobuf.Value> getValuesMap()
       The values of the row. This is a map of column key to value.
       Key is user entered name(default) or the internal column id based on
       the view in the request.
       
      map<string, .google.protobuf.Value> values = 2;
      Specified by:
      getValuesMap in interface RowOrBuilder
    • getValuesOrDefault

      public com.google.protobuf.Value getValuesOrDefault(String key, com.google.protobuf.Value defaultValue)
       The values of the row. This is a map of column key to value.
       Key is user entered name(default) or the internal column id based on
       the view in the request.
       
      map<string, .google.protobuf.Value> values = 2;
      Specified by:
      getValuesOrDefault in interface RowOrBuilder
    • getValuesOrThrow

      public com.google.protobuf.Value getValuesOrThrow(String key)
       The values of the row. This is a map of column key to value.
       Key is user entered name(default) or the internal column id based on
       the view in the request.
       
      map<string, .google.protobuf.Value> values = 2;
      Specified by:
      getValuesOrThrow in interface RowOrBuilder
    • clearValues

      public Row.Builder clearValues()
    • removeValues

      public Row.Builder removeValues(String key)
       The values of the row. This is a map of column key to value.
       Key is user entered name(default) or the internal column id based on
       the view in the request.
       
      map<string, .google.protobuf.Value> values = 2;
    • getMutableValues

      @Deprecated public Map<String,com.google.protobuf.Value> getMutableValues()
      Deprecated.
      Use alternate mutation accessors instead.
    • putValues

      public Row.Builder putValues(String key, com.google.protobuf.Value value)
       The values of the row. This is a map of column key to value.
       Key is user entered name(default) or the internal column id based on
       the view in the request.
       
      map<string, .google.protobuf.Value> values = 2;
    • putAllValues

      public Row.Builder putAllValues(Map<String,com.google.protobuf.Value> values)
       The values of the row. This is a map of column key to value.
       Key is user entered name(default) or the internal column id based on
       the view in the request.
       
      map<string, .google.protobuf.Value> values = 2;
    • putValuesBuilderIfAbsent

      public com.google.protobuf.Value.Builder putValuesBuilderIfAbsent(String key)
       The values of the row. This is a map of column key to value.
       Key is user entered name(default) or the internal column id based on
       the view in the request.
       
      map<string, .google.protobuf.Value> values = 2;