Class PartitionedTableDescriptor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PartitionedTableDescriptorOrBuilder,Cloneable
- Enclosing class:
- PartitionedTableDescriptor
public static final class PartitionedTableDescriptor.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
implements PartitionedTableDescriptorOrBuilder
A message that describes a partitioned table, able to be sent as a plugin object to a client. This object will also come with a ticket to the underlying table that can be used to get the constituent tables by key.Protobuf type
io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor-
Method Summary
Modifier and TypeMethodDescriptionaddAllKeyColumnNames(Iterable<String> values) The names of the key columns.addKeyColumnNames(String value) The names of the key columns.addKeyColumnNamesBytes(com.google.protobuf.ByteString value) The names of the key columns.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()True if the underlying table may tick with updates.The name of the column in the underlying table that contains the table represented by that row.Returns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The names of the key columns.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) True if the keys will be unique, so any set of known keys can be queried using GetTable.clone()booleanTrue if the underlying table may tick with updates.The name of the column in the underlying table that contains the table represented by that row.com.google.protobuf.ByteStringThe name of the column in the underlying table that contains the table represented by that row.com.google.protobuf.ByteStringReturns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKeyColumnNames(int index) The names of the key columns.com.google.protobuf.ByteStringgetKeyColumnNamesBytes(int index) The names of the key columns.intThe names of the key columns.com.google.protobuf.ProtocolStringListThe names of the key columns.booleanTrue if the keys will be unique, so any set of known keys can be queried using GetTable.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setConstituentChangesPermitted(boolean value) True if the underlying table may tick with updates.setConstituentColumnName(String value) The name of the column in the underlying table that contains the table represented by that row.setConstituentColumnNameBytes(com.google.protobuf.ByteString value) The name of the column in the underlying table that contains the table represented by that row.setConstituentDefinitionSchema(com.google.protobuf.ByteString value) Returns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.setKeyColumnNames(int index, String value) The names of the key columns.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUniqueKeys(boolean value) True if the keys will be unique, so any set of known keys can be queried using GetTable.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.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.GeneratedMessageV3.Builder<PartitionedTableDescriptor.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
setField
public PartitionedTableDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
clearField
public PartitionedTableDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
clearOneof
public PartitionedTableDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
setRepeatedField
public PartitionedTableDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
addRepeatedField
public PartitionedTableDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PartitionedTableDescriptor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
mergeFrom
public PartitionedTableDescriptor.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<PartitionedTableDescriptor.Builder>- Throws:
IOException
-
getKeyColumnNamesList
public com.google.protobuf.ProtocolStringList getKeyColumnNamesList()The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Specified by:
getKeyColumnNamesListin interfacePartitionedTableDescriptorOrBuilder- Returns:
- A list containing the keyColumnNames.
-
getKeyColumnNamesCount
public int getKeyColumnNamesCount()The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Specified by:
getKeyColumnNamesCountin interfacePartitionedTableDescriptorOrBuilder- Returns:
- The count of keyColumnNames.
-
getKeyColumnNames
The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Specified by:
getKeyColumnNamesin interfacePartitionedTableDescriptorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keyColumnNames at the given index.
-
getKeyColumnNamesBytes
public com.google.protobuf.ByteString getKeyColumnNamesBytes(int index) The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Specified by:
getKeyColumnNamesBytesin interfacePartitionedTableDescriptorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keyColumnNames at the given index.
-
setKeyColumnNames
The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Parameters:
index- The index to set the value at.value- The keyColumnNames to set.- Returns:
- This builder for chaining.
-
addKeyColumnNames
The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Parameters:
value- The keyColumnNames to add.- Returns:
- This builder for chaining.
-
addAllKeyColumnNames
The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Parameters:
values- The keyColumnNames to add.- Returns:
- This builder for chaining.
-
clearKeyColumnNames
The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Returns:
- This builder for chaining.
-
addKeyColumnNamesBytes
public PartitionedTableDescriptor.Builder addKeyColumnNamesBytes(com.google.protobuf.ByteString value) The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Parameters:
value- The bytes of the keyColumnNames to add.- Returns:
- This builder for chaining.
-
getConstituentColumnName
The name of the column in the underlying table that contains the table represented by that row.
string constituent_column_name = 4;- Specified by:
getConstituentColumnNamein interfacePartitionedTableDescriptorOrBuilder- Returns:
- The constituentColumnName.
-
getConstituentColumnNameBytes
public com.google.protobuf.ByteString getConstituentColumnNameBytes()The name of the column in the underlying table that contains the table represented by that row.
string constituent_column_name = 4;- Specified by:
getConstituentColumnNameBytesin interfacePartitionedTableDescriptorOrBuilder- Returns:
- The bytes for constituentColumnName.
-
setConstituentColumnName
The name of the column in the underlying table that contains the table represented by that row.
string constituent_column_name = 4;- Parameters:
value- The constituentColumnName to set.- Returns:
- This builder for chaining.
-
clearConstituentColumnName
The name of the column in the underlying table that contains the table represented by that row.
string constituent_column_name = 4;- Returns:
- This builder for chaining.
-
setConstituentColumnNameBytes
public PartitionedTableDescriptor.Builder setConstituentColumnNameBytes(com.google.protobuf.ByteString value) The name of the column in the underlying table that contains the table represented by that row.
string constituent_column_name = 4;- Parameters:
value- The bytes for constituentColumnName to set.- Returns:
- This builder for chaining.
-
getUniqueKeys
public boolean getUniqueKeys()True if the keys will be unique, so any set of known keys can be queried using GetTable.
bool unique_keys = 2;- Specified by:
getUniqueKeysin interfacePartitionedTableDescriptorOrBuilder- Returns:
- The uniqueKeys.
-
setUniqueKeys
True if the keys will be unique, so any set of known keys can be queried using GetTable.
bool unique_keys = 2;- Parameters:
value- The uniqueKeys to set.- Returns:
- This builder for chaining.
-
clearUniqueKeys
True if the keys will be unique, so any set of known keys can be queried using GetTable.
bool unique_keys = 2;- Returns:
- This builder for chaining.
-
getConstituentDefinitionSchema
public com.google.protobuf.ByteString getConstituentDefinitionSchema()Returns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.
bytes constituent_definition_schema = 3;- Specified by:
getConstituentDefinitionSchemain interfacePartitionedTableDescriptorOrBuilder- Returns:
- The constituentDefinitionSchema.
-
setConstituentDefinitionSchema
public PartitionedTableDescriptor.Builder setConstituentDefinitionSchema(com.google.protobuf.ByteString value) Returns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.
bytes constituent_definition_schema = 3;- Parameters:
value- The constituentDefinitionSchema to set.- Returns:
- This builder for chaining.
-
clearConstituentDefinitionSchema
Returns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.
bytes constituent_definition_schema = 3;- Returns:
- This builder for chaining.
-
getConstituentChangesPermitted
public boolean getConstituentChangesPermitted()True if the underlying table may tick with updates. See PartitionedTable.constituentChangesPermitted() for more details.
bool constituent_changes_permitted = 5;- Specified by:
getConstituentChangesPermittedin interfacePartitionedTableDescriptorOrBuilder- Returns:
- The constituentChangesPermitted.
-
setConstituentChangesPermitted
True if the underlying table may tick with updates. See PartitionedTable.constituentChangesPermitted() for more details.
bool constituent_changes_permitted = 5;- Parameters:
value- The constituentChangesPermitted to set.- Returns:
- This builder for chaining.
-
clearConstituentChangesPermitted
True if the underlying table may tick with updates. See PartitionedTable.constituentChangesPermitted() for more details.
bool constituent_changes_permitted = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final PartitionedTableDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
mergeUnknownFields
public final PartitionedTableDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-