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 tableProtobuf type
ai.pipestream.parsed.data.database.v1.TableInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllColumnNames(Iterable<String> values) Names of columns in this tableaddColumnNames(String value) Names of columns in this tableaddColumnNamesBytes(com.google.protobuf.ByteString value) Names of columns in this tablebuild()clear()Number of columns in tableNames of columns in this tableTable creation dateTable label/descriptionTable last modified dateTable nameNumber of rows in tableTable size in bytesType of table (TABLE, VIEW, etc.)intNumber of columns in tablegetColumnNames(int index) Names of columns in this tablecom.google.protobuf.ByteStringgetColumnNamesBytes(int index) Names of columns in this tableintNames of columns in this tablecom.google.protobuf.ProtocolStringListNames of columns in this tablecom.google.protobuf.TimestampTable creation datecom.google.protobuf.Timestamp.BuilderTable creation datecom.google.protobuf.TimestampOrBuilderTable creation datestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLabel()Table label/descriptioncom.google.protobuf.ByteStringTable label/descriptioncom.google.protobuf.TimestampTable last modified datecom.google.protobuf.Timestamp.BuilderTable last modified datecom.google.protobuf.TimestampOrBuilderTable last modified dategetName()Table namecom.google.protobuf.ByteStringTable nameintNumber of rows in tablelongTable size in bytesType of table (TABLE, VIEW, etc.)com.google.protobuf.ByteStringType of table (TABLE, VIEW, etc.)booleanNumber of columns in tablebooleanTable creation datebooleanhasLabel()Table label/descriptionbooleanTable last modified datebooleanhasName()Table namebooleanNumber of rows in tablebooleanTable size in bytesbooleanType of table (TABLE, VIEW, etc.)protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreated(com.google.protobuf.Timestamp value) Table creation datemergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeModified(com.google.protobuf.Timestamp value) Table last modified datesetColumnCount(int value) Number of columns in tablesetColumnNames(int index, String value) Names of columns in this tablesetCreated(com.google.protobuf.Timestamp value) Table creation datesetCreated(com.google.protobuf.Timestamp.Builder builderForValue) Table creation dateTable label/descriptionsetLabelBytes(com.google.protobuf.ByteString value) Table label/descriptionsetModified(com.google.protobuf.Timestamp value) Table last modified datesetModified(com.google.protobuf.Timestamp.Builder builderForValue) Table last modified dateTable namesetNameBytes(com.google.protobuf.ByteString value) Table namesetRowCount(int value) Number of rows in tablesetSizeBytes(long value) Table size in bytessetTableType(String value) Type of table (TABLE, VIEW, etc.)setTableTypeBytes(com.google.protobuf.ByteString value) Type of table (TABLE, VIEW, etc.)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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TableInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TableInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TableInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TableInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TableInfo.Builder>- Throws:
IOException
-
hasName
public boolean hasName()Table name
optional string name = 1 [json_name = "name"];- Specified by:
hasNamein interfaceTableInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
Table name
optional string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceTableInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Table name
optional string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceTableInfoOrBuilder- Returns:
- The bytes for name.
-
setName
Table name
optional string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Table name
optional string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
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:
hasLabelin interfaceTableInfoOrBuilder- Returns:
- Whether the label field is set.
-
getLabel
Table label/description
optional string label = 2 [json_name = "label"];- Specified by:
getLabelin interfaceTableInfoOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Table label/description
optional string label = 2 [json_name = "label"];- Specified by:
getLabelBytesin interfaceTableInfoOrBuilder- Returns:
- The bytes for label.
-
setLabel
Table label/description
optional string label = 2 [json_name = "label"];- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
Table label/description
optional string label = 2 [json_name = "label"];- Returns:
- This builder for chaining.
-
setLabelBytes
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:
hasRowCountin interfaceTableInfoOrBuilder- 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:
getRowCountin interfaceTableInfoOrBuilder- Returns:
- The rowCount.
-
setRowCount
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
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:
hasColumnCountin interfaceTableInfoOrBuilder- 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:
getColumnCountin interfaceTableInfoOrBuilder- Returns:
- The columnCount.
-
setColumnCount
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
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:
hasTableTypein interfaceTableInfoOrBuilder- Returns:
- Whether the tableType field is set.
-
getTableType
Type of table (TABLE, VIEW, etc.)
optional string table_type = 5 [json_name = "tableType"];- Specified by:
getTableTypein interfaceTableInfoOrBuilder- 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:
getTableTypeBytesin interfaceTableInfoOrBuilder- Returns:
- The bytes for tableType.
-
setTableType
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
Type of table (TABLE, VIEW, etc.)
optional string table_type = 5 [json_name = "tableType"];- Returns:
- This builder for chaining.
-
setTableTypeBytes
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:
hasCreatedin interfaceTableInfoOrBuilder- 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:
getCreatedin interfaceTableInfoOrBuilder- Returns:
- The created.
-
setCreated
Table creation date
optional .google.protobuf.Timestamp created = 6 [json_name = "created"]; -
setCreated
Table creation date
optional .google.protobuf.Timestamp created = 6 [json_name = "created"]; -
mergeCreated
Table creation date
optional .google.protobuf.Timestamp created = 6 [json_name = "created"]; -
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:
getCreatedOrBuilderin interfaceTableInfoOrBuilder
-
hasModified
public boolean hasModified()Table last modified date
optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"];- Specified by:
hasModifiedin interfaceTableInfoOrBuilder- 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:
getModifiedin interfaceTableInfoOrBuilder- Returns:
- The modified.
-
setModified
Table last modified date
optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"]; -
setModified
Table last modified date
optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"]; -
mergeModified
Table last modified date
optional .google.protobuf.Timestamp modified = 7 [json_name = "modified"]; -
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:
getModifiedOrBuilderin interfaceTableInfoOrBuilder
-
hasSizeBytes
public boolean hasSizeBytes()Table size in bytes
optional int64 size_bytes = 8 [json_name = "sizeBytes"];- Specified by:
hasSizeBytesin interfaceTableInfoOrBuilder- 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:
getSizeBytesin interfaceTableInfoOrBuilder- Returns:
- The sizeBytes.
-
setSizeBytes
Table size in bytes
optional int64 size_bytes = 8 [json_name = "sizeBytes"];- Parameters:
value- The sizeBytes to set.- Returns:
- This builder for chaining.
-
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:
getColumnNamesListin interfaceTableInfoOrBuilder- 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:
getColumnNamesCountin interfaceTableInfoOrBuilder- Returns:
- The count of columnNames.
-
getColumnNames
Names of columns in this table
repeated string column_names = 9 [json_name = "columnNames"];- Specified by:
getColumnNamesin interfaceTableInfoOrBuilder- 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:
getColumnNamesBytesin interfaceTableInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the columnNames at the given index.
-
setColumnNames
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
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
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
Names of columns in this table
repeated string column_names = 9 [json_name = "columnNames"];- Returns:
- This builder for chaining.
-
addColumnNamesBytes
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.
-