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()
boolean
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.com.google.protobuf.ByteString
The name of the column in the underlying table that contains the table represented by that row.com.google.protobuf.ByteString
Returns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getKeyColumnNames
(int index) The names of the key columns.com.google.protobuf.ByteString
getKeyColumnNamesBytes
(int index) The names of the key columns.int
The names of the key columns.com.google.protobuf.ProtocolStringList
The names of the key columns.boolean
True if the keys will be unique, so any set of known keys can be queried using GetTable.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
setField
public PartitionedTableDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
clearField
public PartitionedTableDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
clearOneof
public PartitionedTableDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
setRepeatedField
public PartitionedTableDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
addRepeatedField
public PartitionedTableDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PartitionedTableDescriptor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getKeyColumnNamesList
in 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:
getKeyColumnNamesCount
in 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:
getKeyColumnNames
in 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:
getKeyColumnNamesBytes
in 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:
getConstituentColumnName
in 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:
getConstituentColumnNameBytes
in 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:
getUniqueKeys
in 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:
getConstituentDefinitionSchema
in 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:
getConstituentChangesPermitted
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-
mergeUnknownFields
public final PartitionedTableDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
-