Class PivotTableViewExpansionsMessage.Builder

All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, PivotTableViewExpansionsMessageOrBuilder, Cloneable
Enclosing class:
PivotTableViewExpansionsMessage

public static final class PivotTableViewExpansionsMessage.Builder extends GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder> implements PivotTableViewExpansionsMessageOrBuilder
Protobuf type io.deephaven.proto.pivot.PivotTableViewExpansionsMessage
  • Method Details

    • getDescriptor

      public static final Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Description copied from class: com.google.protobuf.GeneratedMessageV3.Builder
      Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.
      Specified by:
      internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • clear

      Description copied from class: com.google.protobuf.GeneratedMessageV3.Builder
      Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.
      Specified by:
      clear in interface Message.Builder
      Specified by:
      clear in interface MessageLite.Builder
      Overrides:
      clear in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • getDescriptorForType

      public Descriptors.Descriptor getDescriptorForType()
      Description copied from interface: com.google.protobuf.Message.Builder
      Get the message's type's descriptor. See MessageOrBuilder.getDescriptorForType().
      Specified by:
      getDescriptorForType in interface Message.Builder
      Specified by:
      getDescriptorForType in interface MessageOrBuilder
      Overrides:
      getDescriptorForType in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • getDefaultInstanceForType

      public PivotTableViewExpansionsMessage getDefaultInstanceForType()
      Description copied from interface: com.google.protobuf.MessageLiteOrBuilder
      Get an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from the getDefaultInstance() method of generated message classes in that this method is an abstract method of the MessageLite interface whereas getDefaultInstance() is a static method of a specific class. They return the same thing.
      Specified by:
      getDefaultInstanceForType in interface MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface MessageOrBuilder
    • build

      Description copied from interface: com.google.protobuf.MessageLite.Builder
      Constructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.
      Specified by:
      build in interface Message.Builder
      Specified by:
      build in interface MessageLite.Builder
    • buildPartial

      public PivotTableViewExpansionsMessage buildPartial()
      Description copied from interface: com.google.protobuf.MessageLite.Builder
      Like MessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.
      Specified by:
      buildPartial in interface Message.Builder
      Specified by:
      buildPartial in interface MessageLite.Builder
    • clone

      Description copied from interface: com.google.protobuf.MessageLite.Builder
      Clones the Builder.
      Specified by:
      clone in interface Message.Builder
      Specified by:
      clone in interface MessageLite.Builder
      Overrides:
      clone in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
      See Also:
    • setField

      Description copied from interface: com.google.protobuf.Message.Builder
      Sets a field to the given value. The value must be of the correct type for this field, that is, the same type that MessageOrBuilder.getField(Descriptors.FieldDescriptor) returns.
      Specified by:
      setField in interface Message.Builder
      Overrides:
      setField in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • clearField

      Description copied from interface: com.google.protobuf.Message.Builder
      Clears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.
      Specified by:
      clearField in interface Message.Builder
      Overrides:
      clearField in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • clearOneof

      Description copied from class: com.google.protobuf.AbstractMessage.Builder
      TODO: Clear it when all subclasses have implemented this method.
      Specified by:
      clearOneof in interface Message.Builder
      Overrides:
      clearOneof in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • setRepeatedField

      public PivotTableViewExpansionsMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
      Description copied from interface: com.google.protobuf.Message.Builder
      Sets an element of a repeated field to the given value. The value must be of the correct type for this field; that is, the same type that MessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int) returns.
      Specified by:
      setRepeatedField in interface Message.Builder
      Overrides:
      setRepeatedField in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • addRepeatedField

      Description copied from interface: com.google.protobuf.Message.Builder
      Like setRepeatedField, but appends the value as a new element.
      Specified by:
      addRepeatedField in interface Message.Builder
      Overrides:
      addRepeatedField in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • mergeFrom

      Description copied from interface: com.google.protobuf.Message.Builder
      Merge other into the message being built. other must have the exact same type as this (i.e. getDescriptorForType() == other.getDescriptorForType()).

      Merging occurs as follows. For each field:
      * For singular primitive fields, if the field is set in other, then other's value overwrites the value in this message.
      * For singular message fields, if the field is set in other, it is merged into the corresponding sub-message of this message using the same merging rules.
      * For repeated fields, the elements in other are concatenated with the elements in this message.
      * For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.

      This is equivalent to the Message::MergeFrom method in C++.

      Specified by:
      mergeFrom in interface Message.Builder
      Overrides:
      mergeFrom in class AbstractMessage.Builder<PivotTableViewExpansionsMessage.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Description copied from interface: com.google.protobuf.MessageLiteOrBuilder
      Returns true if all required fields in the message and all embedded messages are set, false otherwise.

      See also: MessageOrBuilder#getInitializationErrorString()

      Specified by:
      isInitialized in interface MessageLiteOrBuilder
      Overrides:
      isInitialized in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • mergeFrom

      Description copied from interface: com.google.protobuf.MessageLite.Builder
      Like MessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered in extensionRegistry. Extensions not in the registry will be treated as unknown fields.
      Specified by:
      mergeFrom in interface Message.Builder
      Specified by:
      mergeFrom in interface MessageLite.Builder
      Overrides:
      mergeFrom in class AbstractMessage.Builder<PivotTableViewExpansionsMessage.Builder>
      Throws:
      InvalidProtocolBufferException - the bytes read are not syntactically correct according to the protobuf wire format specification. The data is corrupt, incomplete, or was never a protobuf in the first place.
      IOException - an I/O error reading from the stream
    • hasRowKeyTableOffset

      public boolean hasRowKeyTableOffset()
       Offset (in the references) of a Table of expanded or contracted keys from a PivotTable (RollupTable or TreeTable).
       The format for the key Table is dictated by the schema from the corresponding PivotTableDescriptor. It is
       expected to have one column for each "expand-by column", including the "row depth column" for RollupTables only,
       and (optionally) an "action" column whose name is specified in the key_table_action_column field.
       If the Table is empty the result will have only default nodes expanded.
       
      optional int32 row_key_table_offset = 1;
      Specified by:
      hasRowKeyTableOffset in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      Whether the rowKeyTableOffset field is set.
    • getRowKeyTableOffset

      public int getRowKeyTableOffset()
       Offset (in the references) of a Table of expanded or contracted keys from a PivotTable (RollupTable or TreeTable).
       The format for the key Table is dictated by the schema from the corresponding PivotTableDescriptor. It is
       expected to have one column for each "expand-by column", including the "row depth column" for RollupTables only,
       and (optionally) an "action" column whose name is specified in the key_table_action_column field.
       If the Table is empty the result will have only default nodes expanded.
       
      optional int32 row_key_table_offset = 1;
      Specified by:
      getRowKeyTableOffset in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      The rowKeyTableOffset.
    • setRowKeyTableOffset

      public PivotTableViewExpansionsMessage.Builder setRowKeyTableOffset(int value)
       Offset (in the references) of a Table of expanded or contracted keys from a PivotTable (RollupTable or TreeTable).
       The format for the key Table is dictated by the schema from the corresponding PivotTableDescriptor. It is
       expected to have one column for each "expand-by column", including the "row depth column" for RollupTables only,
       and (optionally) an "action" column whose name is specified in the key_table_action_column field.
       If the Table is empty the result will have only default nodes expanded.
       
      optional int32 row_key_table_offset = 1;
      Parameters:
      value - The rowKeyTableOffset to set.
      Returns:
      This builder for chaining.
    • clearRowKeyTableOffset

      public PivotTableViewExpansionsMessage.Builder clearRowKeyTableOffset()
       Offset (in the references) of a Table of expanded or contracted keys from a PivotTable (RollupTable or TreeTable).
       The format for the key Table is dictated by the schema from the corresponding PivotTableDescriptor. It is
       expected to have one column for each "expand-by column", including the "row depth column" for RollupTables only,
       and (optionally) an "action" column whose name is specified in the key_table_action_column field.
       If the Table is empty the result will have only default nodes expanded.
       
      optional int32 row_key_table_offset = 1;
      Returns:
      This builder for chaining.
    • hasRowKeyTableActionColumn

      public boolean hasRowKeyTableActionColumn()
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string row_key_table_action_column = 2;
      Specified by:
      hasRowKeyTableActionColumn in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      Whether the rowKeyTableActionColumn field is set.
    • getRowKeyTableActionColumn

      public String getRowKeyTableActionColumn()
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string row_key_table_action_column = 2;
      Specified by:
      getRowKeyTableActionColumn in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      The rowKeyTableActionColumn.
    • getRowKeyTableActionColumnBytes

      public ByteString getRowKeyTableActionColumnBytes()
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string row_key_table_action_column = 2;
      Specified by:
      getRowKeyTableActionColumnBytes in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      The bytes for rowKeyTableActionColumn.
    • setRowKeyTableActionColumn

      public PivotTableViewExpansionsMessage.Builder setRowKeyTableActionColumn(String value)
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string row_key_table_action_column = 2;
      Parameters:
      value - The rowKeyTableActionColumn to set.
      Returns:
      This builder for chaining.
    • clearRowKeyTableActionColumn

      public PivotTableViewExpansionsMessage.Builder clearRowKeyTableActionColumn()
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string row_key_table_action_column = 2;
      Returns:
      This builder for chaining.
    • setRowKeyTableActionColumnBytes

      public PivotTableViewExpansionsMessage.Builder setRowKeyTableActionColumnBytes(ByteString value)
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string row_key_table_action_column = 2;
      Parameters:
      value - The bytes for rowKeyTableActionColumn to set.
      Returns:
      This builder for chaining.
    • hasColumnKeyTableOffset

      public boolean hasColumnKeyTableOffset()
       Offset (in the references) of a Table of expanded or contracted keys from a PivotTable (RollupTable or TreeTable).
       The format for the key Table is dictated by the schema from the corresponding PivotTableDescriptor. It is
       expected to have one column for each "expand-by column", including the "row depth column" for RollupTables only,
       and (optionally) an "action" column whose name is specified in the key_table_action_column field.
       If the Table is empty the result will have only default nodes expanded.
       
      optional int32 column_key_table_offset = 3;
      Specified by:
      hasColumnKeyTableOffset in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      Whether the columnKeyTableOffset field is set.
    • getColumnKeyTableOffset

      public int getColumnKeyTableOffset()
       Offset (in the references) of a Table of expanded or contracted keys from a PivotTable (RollupTable or TreeTable).
       The format for the key Table is dictated by the schema from the corresponding PivotTableDescriptor. It is
       expected to have one column for each "expand-by column", including the "row depth column" for RollupTables only,
       and (optionally) an "action" column whose name is specified in the key_table_action_column field.
       If the Table is empty the result will have only default nodes expanded.
       
      optional int32 column_key_table_offset = 3;
      Specified by:
      getColumnKeyTableOffset in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      The columnKeyTableOffset.
    • setColumnKeyTableOffset

      public PivotTableViewExpansionsMessage.Builder setColumnKeyTableOffset(int value)
       Offset (in the references) of a Table of expanded or contracted keys from a PivotTable (RollupTable or TreeTable).
       The format for the key Table is dictated by the schema from the corresponding PivotTableDescriptor. It is
       expected to have one column for each "expand-by column", including the "row depth column" for RollupTables only,
       and (optionally) an "action" column whose name is specified in the key_table_action_column field.
       If the Table is empty the result will have only default nodes expanded.
       
      optional int32 column_key_table_offset = 3;
      Parameters:
      value - The columnKeyTableOffset to set.
      Returns:
      This builder for chaining.
    • clearColumnKeyTableOffset

      public PivotTableViewExpansionsMessage.Builder clearColumnKeyTableOffset()
       Offset (in the references) of a Table of expanded or contracted keys from a PivotTable (RollupTable or TreeTable).
       The format for the key Table is dictated by the schema from the corresponding PivotTableDescriptor. It is
       expected to have one column for each "expand-by column", including the "row depth column" for RollupTables only,
       and (optionally) an "action" column whose name is specified in the key_table_action_column field.
       If the Table is empty the result will have only default nodes expanded.
       
      optional int32 column_key_table_offset = 3;
      Returns:
      This builder for chaining.
    • hasColumnKeyTableActionColumn

      public boolean hasColumnKeyTableActionColumn()
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string column_key_table_action_column = 4;
      Specified by:
      hasColumnKeyTableActionColumn in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      Whether the columnKeyTableActionColumn field is set.
    • getColumnKeyTableActionColumn

      public String getColumnKeyTableActionColumn()
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string column_key_table_action_column = 4;
      Specified by:
      getColumnKeyTableActionColumn in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      The columnKeyTableActionColumn.
    • getColumnKeyTableActionColumnBytes

      public ByteString getColumnKeyTableActionColumnBytes()
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string column_key_table_action_column = 4;
      Specified by:
      getColumnKeyTableActionColumnBytes in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      The bytes for columnKeyTableActionColumn.
    • setColumnKeyTableActionColumn

      public PivotTableViewExpansionsMessage.Builder setColumnKeyTableActionColumn(String value)
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string column_key_table_action_column = 4;
      Parameters:
      value - The columnKeyTableActionColumn to set.
      Returns:
      This builder for chaining.
    • clearColumnKeyTableActionColumn

      public PivotTableViewExpansionsMessage.Builder clearColumnKeyTableActionColumn()
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string column_key_table_action_column = 4;
      Returns:
      This builder for chaining.
    • setColumnKeyTableActionColumnBytes

      public PivotTableViewExpansionsMessage.Builder setColumnKeyTableActionColumnBytes(ByteString value)
       The name of a column of bytes found in the key table that specifies the action desired for the node selected by
       the other columns for each row. Takes on the value 1 for nodes that should be expanded, 3 for nodes that should be
       expanded along with their descendants, and 4 for nodes that should be contracted.
       If this column name is not present, all nodes in the key table will be expanded without their descendants.
       
      optional string column_key_table_action_column = 4;
      Parameters:
      value - The bytes for columnKeyTableActionColumn to set.
      Returns:
      This builder for chaining.
    • getOutputColumnsList

      public ProtocolStringList getOutputColumnsList()
       The name of the output columns that are sent, if not specified then all totals and value columns are sent.
       
      repeated string output_columns = 5;
      Specified by:
      getOutputColumnsList in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      A list containing the outputColumns.
    • getOutputColumnsCount

      public int getOutputColumnsCount()
       The name of the output columns that are sent, if not specified then all totals and value columns are sent.
       
      repeated string output_columns = 5;
      Specified by:
      getOutputColumnsCount in interface PivotTableViewExpansionsMessageOrBuilder
      Returns:
      The count of outputColumns.
    • getOutputColumns

      public String getOutputColumns(int index)
       The name of the output columns that are sent, if not specified then all totals and value columns are sent.
       
      repeated string output_columns = 5;
      Specified by:
      getOutputColumns in interface PivotTableViewExpansionsMessageOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The outputColumns at the given index.
    • getOutputColumnsBytes

      public ByteString getOutputColumnsBytes(int index)
       The name of the output columns that are sent, if not specified then all totals and value columns are sent.
       
      repeated string output_columns = 5;
      Specified by:
      getOutputColumnsBytes in interface PivotTableViewExpansionsMessageOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the outputColumns at the given index.
    • setOutputColumns

      public PivotTableViewExpansionsMessage.Builder setOutputColumns(int index, String value)
       The name of the output columns that are sent, if not specified then all totals and value columns are sent.
       
      repeated string output_columns = 5;
      Parameters:
      index - The index to set the value at.
      value - The outputColumns to set.
      Returns:
      This builder for chaining.
    • addOutputColumns

      public PivotTableViewExpansionsMessage.Builder addOutputColumns(String value)
       The name of the output columns that are sent, if not specified then all totals and value columns are sent.
       
      repeated string output_columns = 5;
      Parameters:
      value - The outputColumns to add.
      Returns:
      This builder for chaining.
    • addAllOutputColumns

      public PivotTableViewExpansionsMessage.Builder addAllOutputColumns(Iterable<String> values)
       The name of the output columns that are sent, if not specified then all totals and value columns are sent.
       
      repeated string output_columns = 5;
      Parameters:
      values - The outputColumns to add.
      Returns:
      This builder for chaining.
    • clearOutputColumns

      public PivotTableViewExpansionsMessage.Builder clearOutputColumns()
       The name of the output columns that are sent, if not specified then all totals and value columns are sent.
       
      repeated string output_columns = 5;
      Returns:
      This builder for chaining.
    • addOutputColumnsBytes

      public PivotTableViewExpansionsMessage.Builder addOutputColumnsBytes(ByteString value)
       The name of the output columns that are sent, if not specified then all totals and value columns are sent.
       
      repeated string output_columns = 5;
      Parameters:
      value - The bytes of the outputColumns to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final PivotTableViewExpansionsMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
      Description copied from interface: com.google.protobuf.Message.Builder
      Set the UnknownFieldSet for this message.
      Specified by:
      setUnknownFields in interface Message.Builder
      Overrides:
      setUnknownFields in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>
    • mergeUnknownFields

      public final PivotTableViewExpansionsMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
      Description copied from interface: com.google.protobuf.Message.Builder
      Merge some unknown fields into the UnknownFieldSet for this message.
      Specified by:
      mergeUnknownFields in interface Message.Builder
      Overrides:
      mergeUnknownFields in class GeneratedMessageV3.Builder<PivotTableViewExpansionsMessage.Builder>