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 Summary
Modifier and TypeMethodDescriptionaddAllColumns(Iterable<? extends ColumnDescription> values) List of columns in this table.addColumns(int index, ColumnDescription value) List of columns in this table.addColumns(int index, ColumnDescription.Builder builderForValue) List of columns in this table.addColumns(ColumnDescription value) List of columns in this table.addColumns(ColumnDescription.Builder builderForValue) List of columns in this table.List of columns in this table.addColumnsBuilder(int index) List of columns in this table.build()clear()List of columns in this table.The human readable title of the table.The resource name of the table.getColumns(int index) List of columns in this table.getColumnsBuilder(int index) List of columns in this table.List of columns in this table.intList of columns in this table.List of columns in this table.getColumnsOrBuilder(int index) List of columns in this table.List<? extends ColumnDescriptionOrBuilder>List of columns in this table.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe human readable title of the table.com.google.protobuf.ByteStringThe human readable title of the table.getName()The resource name of the table.com.google.protobuf.ByteStringThe resource name of the table.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeColumns(int index) List of columns in this table.setColumns(int index, ColumnDescription value) List of columns in this table.setColumns(int index, ColumnDescription.Builder builderForValue) List of columns in this table.setDisplayName(String value) The human readable title of the table.setDisplayNameBytes(com.google.protobuf.ByteString value) The human readable title of the table.The resource name of the table.setNameBytes(com.google.protobuf.ByteString value) The resource name of the table.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<Table.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<Table.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<Table.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<Table.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Table.Builder>- Throws:
IOException
-
getName
The resource name of the table. Table names have the form `tables/{table}`.string name = 1;- Specified by:
getNamein interfaceTableOrBuilder- 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:
getNameBytesin interfaceTableOrBuilder- Returns:
- The bytes for name.
-
setName
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
The resource name of the table. Table names have the form `tables/{table}`.string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
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
The human readable title of the table.
string display_name = 2;- Specified by:
getDisplayNamein interfaceTableOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The human readable title of the table.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceTableOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The human readable title of the table.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The human readable title of the table.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
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
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;- Specified by:
getColumnsListin interfaceTableOrBuilder
-
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:
getColumnsCountin interfaceTableOrBuilder
-
getColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;- Specified by:
getColumnsin interfaceTableOrBuilder
-
setColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
setColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
addColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
addColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
addColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
addColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
addAllColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
clearColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
removeColumns
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
getColumnsBuilder
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
getColumnsOrBuilder
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;- Specified by:
getColumnsOrBuilderin interfaceTableOrBuilder
-
getColumnsOrBuilderList
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;- Specified by:
getColumnsOrBuilderListin interfaceTableOrBuilder
-
addColumnsBuilder
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
addColumnsBuilder
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; -
getColumnsBuilderList
List of columns in this table. Order of columns matches the display order.
repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;
-