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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.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.GeneratedMessageV3.Builder<PartitionedTableDescriptor.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.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
    • setField

      public PartitionedTableDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
    • clearField

      public PartitionedTableDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
    • clearOneof

      public PartitionedTableDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
    • addRepeatedField

      public PartitionedTableDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 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<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 interface PartitionedTableDescriptorOrBuilder
      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 interface PartitionedTableDescriptorOrBuilder
      Returns:
      The count of keyColumnNames.
    • getKeyColumnNames

      public String getKeyColumnNames(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:
      getKeyColumnNames in interface PartitionedTableDescriptorOrBuilder
      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 interface PartitionedTableDescriptorOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the keyColumnNames at the given index.
    • setKeyColumnNames

      public PartitionedTableDescriptor.Builder setKeyColumnNames(int index, String 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:
      index - The index to set the value at.
      value - The keyColumnNames to set.
      Returns:
      This builder for chaining.
    • addKeyColumnNames

      public PartitionedTableDescriptor.Builder addKeyColumnNames(String 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 keyColumnNames to add.
      Returns:
      This builder for chaining.
    • addAllKeyColumnNames

      public PartitionedTableDescriptor.Builder addAllKeyColumnNames(Iterable<String> values)
       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

      public PartitionedTableDescriptor.Builder 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

      public String 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 interface PartitionedTableDescriptorOrBuilder
      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 interface PartitionedTableDescriptorOrBuilder
      Returns:
      The bytes for constituentColumnName.
    • setConstituentColumnName

      public PartitionedTableDescriptor.Builder setConstituentColumnName(String 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 constituentColumnName to set.
      Returns:
      This builder for chaining.
    • clearConstituentColumnName

      public PartitionedTableDescriptor.Builder 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 interface PartitionedTableDescriptorOrBuilder
      Returns:
      The uniqueKeys.
    • setUniqueKeys

      public PartitionedTableDescriptor.Builder setUniqueKeys(boolean value)
       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

      public PartitionedTableDescriptor.Builder 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 interface PartitionedTableDescriptorOrBuilder
      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

      public PartitionedTableDescriptor.Builder 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 interface PartitionedTableDescriptorOrBuilder
      Returns:
      The constituentChangesPermitted.
    • setConstituentChangesPermitted

      public PartitionedTableDescriptor.Builder setConstituentChangesPermitted(boolean value)
       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

      public PartitionedTableDescriptor.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>
    • mergeUnknownFields

      public final PartitionedTableDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionedTableDescriptor.Builder>