Class TableInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TableInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<TableInfo.Builder>
ai.pipestream.parsed.data.database.v1.TableInfo.Builder
All Implemented Interfaces:
TableInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TableInfo

public static final class TableInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<TableInfo.Builder> implements TableInfoOrBuilder
 Detailed information about a database table
 
Protobuf type ai.pipestream.parsed.data.database.v1.TableInfo
  • 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<TableInfo.Builder>
    • clear

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

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

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

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

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

      public TableInfo.Builder mergeFrom(TableInfo other)
    • isInitialized

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

      public TableInfo.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<TableInfo.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
       Table name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      hasName in interface TableInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Table name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      getName in interface TableInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Table name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface TableInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TableInfo.Builder setName(String value)
       Table name
       
      optional string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public TableInfo.Builder clearName()
       Table name
       
      optional string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public TableInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       Table name
       
      optional string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasLabel

      public boolean hasLabel()
       Table label/description
       
      optional string label = 2 [json_name = "label"];
      Specified by:
      hasLabel in interface TableInfoOrBuilder
      Returns:
      Whether the label field is set.
    • getLabel

      public String getLabel()
       Table label/description
       
      optional string label = 2 [json_name = "label"];
      Specified by:
      getLabel in interface TableInfoOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
       Table label/description
       
      optional string label = 2 [json_name = "label"];
      Specified by:
      getLabelBytes in interface TableInfoOrBuilder
      Returns:
      The bytes for label.
    • setLabel

      public TableInfo.Builder setLabel(String value)
       Table label/description
       
      optional string label = 2 [json_name = "label"];
      Parameters:
      value - The label to set.
      Returns:
      This builder for chaining.
    • clearLabel

      public TableInfo.Builder clearLabel()
       Table label/description
       
      optional string label = 2 [json_name = "label"];
      Returns:
      This builder for chaining.
    • setLabelBytes

      public TableInfo.Builder setLabelBytes(com.google.protobuf.ByteString value)
       Table label/description
       
      optional string label = 2 [json_name = "label"];
      Parameters:
      value - The bytes for label to set.
      Returns:
      This builder for chaining.
    • hasRowCount

      public boolean hasRowCount()
       Number of rows in table
       
      optional int32 row_count = 3 [json_name = "rowCount"];
      Specified by:
      hasRowCount in interface TableInfoOrBuilder
      Returns:
      Whether the rowCount field is set.
    • getRowCount

      public int getRowCount()
       Number of rows in table
       
      optional int32 row_count = 3 [json_name = "rowCount"];
      Specified by:
      getRowCount in interface TableInfoOrBuilder
      Returns:
      The rowCount.
    • setRowCount

      public TableInfo.Builder setRowCount(int value)
       Number of rows in table
       
      optional int32 row_count = 3 [json_name = "rowCount"];
      Parameters:
      value - The rowCount to set.
      Returns:
      This builder for chaining.
    • clearRowCount

      public TableInfo.Builder clearRowCount()
       Number of rows in table
       
      optional int32 row_count = 3 [json_name = "rowCount"];
      Returns:
      This builder for chaining.
    • hasColumnCount

      public boolean hasColumnCount()
       Number of columns in table
       
      optional int32 column_count = 4 [json_name = "columnCount"];
      Specified by:
      hasColumnCount in interface TableInfoOrBuilder
      Returns:
      Whether the columnCount field is set.
    • getColumnCount

      public int getColumnCount()
       Number of columns in table
       
      optional int32 column_count = 4 [json_name = "columnCount"];
      Specified by:
      getColumnCount in interface TableInfoOrBuilder
      Returns:
      The columnCount.
    • setColumnCount

      public TableInfo.Builder setColumnCount(int value)
       Number of columns in table
       
      optional int32 column_count = 4 [json_name = "columnCount"];
      Parameters:
      value - The columnCount to set.
      Returns:
      This builder for chaining.
    • clearColumnCount

      public TableInfo.Builder clearColumnCount()
       Number of columns in table
       
      optional int32 column_count = 4 [json_name = "columnCount"];
      Returns:
      This builder for chaining.
    • hasTableType

      public boolean hasTableType()
       Type of table (TABLE, VIEW, etc.)
       
      optional string table_type = 5 [json_name = "tableType"];
      Specified by:
      hasTableType in interface TableInfoOrBuilder
      Returns:
      Whether the tableType field is set.
    • getTableType

      public String getTableType()
       Type of table (TABLE, VIEW, etc.)
       
      optional string table_type = 5 [json_name = "tableType"];
      Specified by:
      getTableType in interface TableInfoOrBuilder
      Returns:
      The tableType.
    • getTableTypeBytes

      public com.google.protobuf.ByteString getTableTypeBytes()
       Type of table (TABLE, VIEW, etc.)
       
      optional string table_type = 5 [json_name = "tableType"];
      Specified by:
      getTableTypeBytes in interface TableInfoOrBuilder
      Returns:
      The bytes for tableType.
    • setTableType

      public TableInfo.Builder setTableType(String value)
       Type of table (TABLE, VIEW, etc.)
       
      optional string table_type = 5 [json_name = "tableType"];
      Parameters:
      value - The tableType to set.
      Returns:
      This builder for chaining.
    • clearTableType

      public TableInfo.Builder clearTableType()
       Type of table (TABLE, VIEW, etc.)
       
      optional string table_type = 5 [json_name = "tableType"];
      Returns:
      This builder for chaining.
    • setTableTypeBytes

      public TableInfo.Builder setTableTypeBytes(com.google.protobuf.ByteString value)
       Type of table (TABLE, VIEW, etc.)
       
      optional string table_type = 5 [json_name = "tableType"];
      Parameters:
      value - The bytes for tableType to set.
      Returns:
      This builder for chaining.
    • hasCreated

      public boolean hasCreated()
       Table creation date
       
      optional .google.protobuf.Timestamp created = 6 [json_name = "created"];
      Specified by:
      hasCreated in interface TableInfoOrBuilder
      Returns:
      Whether the created field is set.
    • getCreated

      public com.google.protobuf.Timestamp getCreated()
       Table creation date
       
      optional .google.protobuf.Timestamp created = 6 [json_name = "created"];
      Specified by:
      getCreated in interface TableInfoOrBuilder
      Returns:
      The created.
    • setCreated

      public TableInfo.Builder setCreated(com.google.protobuf.Timestamp value)
       Table creation date
       
      optional .google.protobuf.Timestamp created = 6 [json_name = "created"];
    • setCreated

      public TableInfo.Builder setCreated(com.google.protobuf.Timestamp.Builder builderForValue)
       Table creation date
       
      optional .google.protobuf.Timestamp created = 6 [json_name = "created"];
    • mergeCreated

      public TableInfo.Builder mergeCreated(com.google.protobuf.Timestamp value)
       Table creation date
       
      optional .google.protobuf.Timestamp created = 6 [json_name = "created"];
    • clearCreated

      public TableInfo.Builder clearCreated()
       Table creation date
       
      optional .google.protobuf.Timestamp created = 6 [json_name = "created"];
    • getCreatedBuilder

      public com.google.protobuf.Timestamp.Builder getCreatedBuilder()
       Table creation date
       
      optional .google.protobuf.Timestamp created = 6 [json_name = "created"];
    • getCreatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()
       Table creation date
       
      optional .google.protobuf.Timestamp created = 6 [json_name = "created"];
      Specified by:
      getCreatedOrBuilder in interface TableInfoOrBuilder
    • hasModified

      public boolean hasModified()
       Table last modified date
       
      optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"];
      Specified by:
      hasModified in interface TableInfoOrBuilder
      Returns:
      Whether the modified field is set.
    • getModified

      public com.google.protobuf.Timestamp getModified()
       Table last modified date
       
      optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"];
      Specified by:
      getModified in interface TableInfoOrBuilder
      Returns:
      The modified.
    • setModified

      public TableInfo.Builder setModified(com.google.protobuf.Timestamp value)
       Table last modified date
       
      optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"];
    • setModified

      public TableInfo.Builder setModified(com.google.protobuf.Timestamp.Builder builderForValue)
       Table last modified date
       
      optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"];
    • mergeModified

      public TableInfo.Builder mergeModified(com.google.protobuf.Timestamp value)
       Table last modified date
       
      optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"];
    • clearModified

      public TableInfo.Builder clearModified()
       Table last modified date
       
      optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"];
    • getModifiedBuilder

      public com.google.protobuf.Timestamp.Builder getModifiedBuilder()
       Table last modified date
       
      optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"];
    • getModifiedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getModifiedOrBuilder()
       Table last modified date
       
      optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"];
      Specified by:
      getModifiedOrBuilder in interface TableInfoOrBuilder
    • hasSizeBytes

      public boolean hasSizeBytes()
       Table size in bytes
       
      optional int64 size_bytes = 8 [json_name = "sizeBytes"];
      Specified by:
      hasSizeBytes in interface TableInfoOrBuilder
      Returns:
      Whether the sizeBytes field is set.
    • getSizeBytes

      public long getSizeBytes()
       Table size in bytes
       
      optional int64 size_bytes = 8 [json_name = "sizeBytes"];
      Specified by:
      getSizeBytes in interface TableInfoOrBuilder
      Returns:
      The sizeBytes.
    • setSizeBytes

      public TableInfo.Builder setSizeBytes(long value)
       Table size in bytes
       
      optional int64 size_bytes = 8 [json_name = "sizeBytes"];
      Parameters:
      value - The sizeBytes to set.
      Returns:
      This builder for chaining.
    • clearSizeBytes

      public TableInfo.Builder clearSizeBytes()
       Table size in bytes
       
      optional int64 size_bytes = 8 [json_name = "sizeBytes"];
      Returns:
      This builder for chaining.
    • getColumnNamesList

      public com.google.protobuf.ProtocolStringList getColumnNamesList()
       Names of columns in this table
       
      repeated string column_names = 9 [json_name = "columnNames"];
      Specified by:
      getColumnNamesList in interface TableInfoOrBuilder
      Returns:
      A list containing the columnNames.
    • getColumnNamesCount

      public int getColumnNamesCount()
       Names of columns in this table
       
      repeated string column_names = 9 [json_name = "columnNames"];
      Specified by:
      getColumnNamesCount in interface TableInfoOrBuilder
      Returns:
      The count of columnNames.
    • getColumnNames

      public String getColumnNames(int index)
       Names of columns in this table
       
      repeated string column_names = 9 [json_name = "columnNames"];
      Specified by:
      getColumnNames in interface TableInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The columnNames at the given index.
    • getColumnNamesBytes

      public com.google.protobuf.ByteString getColumnNamesBytes(int index)
       Names of columns in this table
       
      repeated string column_names = 9 [json_name = "columnNames"];
      Specified by:
      getColumnNamesBytes in interface TableInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the columnNames at the given index.
    • setColumnNames

      public TableInfo.Builder setColumnNames(int index, String value)
       Names of columns in this table
       
      repeated string column_names = 9 [json_name = "columnNames"];
      Parameters:
      index - The index to set the value at.
      value - The columnNames to set.
      Returns:
      This builder for chaining.
    • addColumnNames

      public TableInfo.Builder addColumnNames(String value)
       Names of columns in this table
       
      repeated string column_names = 9 [json_name = "columnNames"];
      Parameters:
      value - The columnNames to add.
      Returns:
      This builder for chaining.
    • addAllColumnNames

      public TableInfo.Builder addAllColumnNames(Iterable<String> values)
       Names of columns in this table
       
      repeated string column_names = 9 [json_name = "columnNames"];
      Parameters:
      values - The columnNames to add.
      Returns:
      This builder for chaining.
    • clearColumnNames

      public TableInfo.Builder clearColumnNames()
       Names of columns in this table
       
      repeated string column_names = 9 [json_name = "columnNames"];
      Returns:
      This builder for chaining.
    • addColumnNamesBytes

      public TableInfo.Builder addColumnNamesBytes(com.google.protobuf.ByteString value)
       Names of columns in this table
       
      repeated string column_names = 9 [json_name = "columnNames"];
      Parameters:
      value - The bytes of the columnNames to add.
      Returns:
      This builder for chaining.