Class Table.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Table.Builder>
com.google.area120.tables.v1alpha1.Table.Builder
All Implemented Interfaces:
TableOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Table

public static final class Table.Builder extends com.google.protobuf.GeneratedMessage.Builder<Table.Builder> implements TableOrBuilder
 A single table.
 
Protobuf type google.area120.tables.v1alpha1.Table
  • Method Details

    • getDescriptor

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

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

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

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

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

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

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

      public Table.Builder mergeFrom(Table other)
    • isInitialized

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

      public Table.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<Table.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The resource name of the table.
       Table names have the form `tables/{table}`.
       
      string name = 1;
      Specified by:
      getName in interface TableOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The resource name of the table.
       Table names have the form `tables/{table}`.
       
      string name = 1;
      Specified by:
      getNameBytes in interface TableOrBuilder
      Returns:
      The bytes for name.
    • setName

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

      public Table.Builder clearName()
       The resource name of the table.
       Table names have the form `tables/{table}`.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Table.Builder setNameBytes(com.google.protobuf.ByteString value)
       The resource name of the table.
       Table names have the form `tables/{table}`.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       The human readable title of the table.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface TableOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       The human readable title of the table.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface TableOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Table.Builder setDisplayName(String value)
       The human readable title of the table.
       
      string display_name = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Table.Builder clearDisplayName()
       The human readable title of the table.
       
      string display_name = 2;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Table.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       The human readable title of the table.
       
      string display_name = 2;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getColumnsList

      public List<ColumnDescription> getColumnsList()
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
      Specified by:
      getColumnsList in interface TableOrBuilder
    • getColumnsCount

      public int getColumnsCount()
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
      Specified by:
      getColumnsCount in interface TableOrBuilder
    • getColumns

      public ColumnDescription getColumns(int index)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
      Specified by:
      getColumns in interface TableOrBuilder
    • setColumns

      public Table.Builder setColumns(int index, ColumnDescription value)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • setColumns

      public Table.Builder setColumns(int index, ColumnDescription.Builder builderForValue)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • addColumns

      public Table.Builder addColumns(ColumnDescription value)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • addColumns

      public Table.Builder addColumns(int index, ColumnDescription value)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • addColumns

      public Table.Builder addColumns(ColumnDescription.Builder builderForValue)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • addColumns

      public Table.Builder addColumns(int index, ColumnDescription.Builder builderForValue)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • addAllColumns

      public Table.Builder addAllColumns(Iterable<? extends ColumnDescription> values)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • clearColumns

      public Table.Builder clearColumns()
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • removeColumns

      public Table.Builder removeColumns(int index)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • getColumnsBuilder

      public ColumnDescription.Builder getColumnsBuilder(int index)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • getColumnsOrBuilder

      public ColumnDescriptionOrBuilder getColumnsOrBuilder(int index)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
      Specified by:
      getColumnsOrBuilder in interface TableOrBuilder
    • getColumnsOrBuilderList

      public List<? extends ColumnDescriptionOrBuilder> getColumnsOrBuilderList()
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
      Specified by:
      getColumnsOrBuilderList in interface TableOrBuilder
    • addColumnsBuilder

      public ColumnDescription.Builder addColumnsBuilder()
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • addColumnsBuilder

      public ColumnDescription.Builder addColumnsBuilder(int index)
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
    • getColumnsBuilderList

      public List<ColumnDescription.Builder> getColumnsBuilderList()
       List of columns in this table.
       Order of columns matches the display order.
       
      repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;