Class PivotTableDescriptorMessage.Builder

All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, PivotTableDescriptorMessageOrBuilder, Cloneable
Enclosing class:
PivotTableDescriptorMessage

public static final class PivotTableDescriptorMessage.Builder extends GeneratedMessage.Builder<PivotTableDescriptorMessage.Builder> implements PivotTableDescriptorMessageOrBuilder
Protobuf type io.deephaven.proto.pivot.PivotTableDescriptorMessage
  • Method Details

    • getDescriptor

      public static final Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Description copied from class: com.google.protobuf.GeneratedMessage.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 GeneratedMessage.Builder<PivotTableDescriptorMessage.Builder>
    • clear

      Description copied from class: com.google.protobuf.GeneratedMessage.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 GeneratedMessage.Builder<PivotTableDescriptorMessage.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 GeneratedMessage.Builder<PivotTableDescriptorMessage.Builder>
    • getDefaultInstanceForType

      public PivotTableDescriptorMessage 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 PivotTableDescriptorMessage 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
    • mergeFrom

      public PivotTableDescriptorMessage.Builder mergeFrom(Message other)
      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<PivotTableDescriptorMessage.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 GeneratedMessage.Builder<PivotTableDescriptorMessage.Builder>
    • mergeFrom

      public PivotTableDescriptorMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
      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<PivotTableDescriptorMessage.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
    • getSnapshotSchema

      public ByteString getSnapshotSchema()
       Schema to be used for snapshot or subscription requests as described in Arrow Message.fbs::Message.
       Field metadata is used to convey additional information about the structure of the PivotTable, the
       special roles some columns play, and the relationships between columns.
      
       All schema metadata for pivots is prefixed with "deephaven:".  Most values are a boolean tag (represented as the
       string "true" if set that indicate which type of column this is.
      
       "pivotTable.isStructuralColumn" set on columns that should be included on every snapshot or subscription request,
       but should not be directly user-visible.
      
       "pivotTable.isRowExpandByColumn" is set on all the columns that must be included in a PivotTableViewRequest's row key table. These columns are generally user-visible and
       displayed before other columns, unless they also have {@value PIVOT_TABLE_IS_STRUCTURAL_COLUMN} set.
      
       "pivotTable.isRowDepthColumn"  is set on a single column that specifies the depth of
       a row. That column will always have pivotTable.isRowExpandByColumn set.
      
       "pivotTable.isRowExpandedColumn" is set on a single nullable column of booleans that
       specifies whether a row is expandable or expanded. Values will be null for rows that are not expandable, true for
       expanded rows, false for rows that are not expanded (but expandable). Leaf rows have no children to expand, and
       hence will always have a null value for this column.
      
       "pivotTable.isRowGroupByColumn" is set on all columns of a pivot that are row
       by-columns Such columns will always have pivotTable.isRowExpandByColumn set.
      
       "pivotTable.isRowValueColumn" is set on all columns that are totals for a given row.
      
       The Column dimension has an equivalent set of attributes as rows:
       "pivotTable.isColumnExpandByColumn"
       "pivotTable.isColumnDepthColumn"
       "pivotTable.isColumnExpandedColumn"
       "pivotTable.isColumnGroupByColumn"
       "pivotTable.isColumnValueColumn"
      
       "pivotTable.isGrandTotalValueColumn" is set on all columns that are a grand total the given  table.  These columns
       have only one value for the entire snapshot that represents the aggregation across the entire source table.
      
       "pivotTable.isValueColumn" is set on all columns that are part of the main field (grid) of values.
      
       "pivotTable.aggregationInputColumnName" is set to the name of the corresponding constituent column that
       was used as input to this column. May have an empty value, because some aggregations take no input columns, for
       example, "Count". This is only ever present on columns with "pivotTable.isValueColumn"
       "pivotTable.isRowValueColumn",  "pivotTable.isColumnValueColumn" or "pivotTable.isGrandTotalValueColumn" set.
       
      bytes snapshot_schema = 1;
      Specified by:
      getSnapshotSchema in interface PivotTableDescriptorMessageOrBuilder
      Returns:
      The snapshotSchema.
    • setSnapshotSchema

      public PivotTableDescriptorMessage.Builder setSnapshotSchema(ByteString value)
       Schema to be used for snapshot or subscription requests as described in Arrow Message.fbs::Message.
       Field metadata is used to convey additional information about the structure of the PivotTable, the
       special roles some columns play, and the relationships between columns.
      
       All schema metadata for pivots is prefixed with "deephaven:".  Most values are a boolean tag (represented as the
       string "true" if set that indicate which type of column this is.
      
       "pivotTable.isStructuralColumn" set on columns that should be included on every snapshot or subscription request,
       but should not be directly user-visible.
      
       "pivotTable.isRowExpandByColumn" is set on all the columns that must be included in a PivotTableViewRequest's row key table. These columns are generally user-visible and
       displayed before other columns, unless they also have {@value PIVOT_TABLE_IS_STRUCTURAL_COLUMN} set.
      
       "pivotTable.isRowDepthColumn"  is set on a single column that specifies the depth of
       a row. That column will always have pivotTable.isRowExpandByColumn set.
      
       "pivotTable.isRowExpandedColumn" is set on a single nullable column of booleans that
       specifies whether a row is expandable or expanded. Values will be null for rows that are not expandable, true for
       expanded rows, false for rows that are not expanded (but expandable). Leaf rows have no children to expand, and
       hence will always have a null value for this column.
      
       "pivotTable.isRowGroupByColumn" is set on all columns of a pivot that are row
       by-columns Such columns will always have pivotTable.isRowExpandByColumn set.
      
       "pivotTable.isRowValueColumn" is set on all columns that are totals for a given row.
      
       The Column dimension has an equivalent set of attributes as rows:
       "pivotTable.isColumnExpandByColumn"
       "pivotTable.isColumnDepthColumn"
       "pivotTable.isColumnExpandedColumn"
       "pivotTable.isColumnGroupByColumn"
       "pivotTable.isColumnValueColumn"
      
       "pivotTable.isGrandTotalValueColumn" is set on all columns that are a grand total the given  table.  These columns
       have only one value for the entire snapshot that represents the aggregation across the entire source table.
      
       "pivotTable.isValueColumn" is set on all columns that are part of the main field (grid) of values.
      
       "pivotTable.aggregationInputColumnName" is set to the name of the corresponding constituent column that
       was used as input to this column. May have an empty value, because some aggregations take no input columns, for
       example, "Count". This is only ever present on columns with "pivotTable.isValueColumn"
       "pivotTable.isRowValueColumn",  "pivotTable.isColumnValueColumn" or "pivotTable.isGrandTotalValueColumn" set.
       
      bytes snapshot_schema = 1;
      Parameters:
      value - The snapshotSchema to set.
      Returns:
      This builder for chaining.
    • clearSnapshotSchema

      public PivotTableDescriptorMessage.Builder clearSnapshotSchema()
       Schema to be used for snapshot or subscription requests as described in Arrow Message.fbs::Message.
       Field metadata is used to convey additional information about the structure of the PivotTable, the
       special roles some columns play, and the relationships between columns.
      
       All schema metadata for pivots is prefixed with "deephaven:".  Most values are a boolean tag (represented as the
       string "true" if set that indicate which type of column this is.
      
       "pivotTable.isStructuralColumn" set on columns that should be included on every snapshot or subscription request,
       but should not be directly user-visible.
      
       "pivotTable.isRowExpandByColumn" is set on all the columns that must be included in a PivotTableViewRequest's row key table. These columns are generally user-visible and
       displayed before other columns, unless they also have {@value PIVOT_TABLE_IS_STRUCTURAL_COLUMN} set.
      
       "pivotTable.isRowDepthColumn"  is set on a single column that specifies the depth of
       a row. That column will always have pivotTable.isRowExpandByColumn set.
      
       "pivotTable.isRowExpandedColumn" is set on a single nullable column of booleans that
       specifies whether a row is expandable or expanded. Values will be null for rows that are not expandable, true for
       expanded rows, false for rows that are not expanded (but expandable). Leaf rows have no children to expand, and
       hence will always have a null value for this column.
      
       "pivotTable.isRowGroupByColumn" is set on all columns of a pivot that are row
       by-columns Such columns will always have pivotTable.isRowExpandByColumn set.
      
       "pivotTable.isRowValueColumn" is set on all columns that are totals for a given row.
      
       The Column dimension has an equivalent set of attributes as rows:
       "pivotTable.isColumnExpandByColumn"
       "pivotTable.isColumnDepthColumn"
       "pivotTable.isColumnExpandedColumn"
       "pivotTable.isColumnGroupByColumn"
       "pivotTable.isColumnValueColumn"
      
       "pivotTable.isGrandTotalValueColumn" is set on all columns that are a grand total the given  table.  These columns
       have only one value for the entire snapshot that represents the aggregation across the entire source table.
      
       "pivotTable.isValueColumn" is set on all columns that are part of the main field (grid) of values.
      
       "pivotTable.aggregationInputColumnName" is set to the name of the corresponding constituent column that
       was used as input to this column. May have an empty value, because some aggregations take no input columns, for
       example, "Count". This is only ever present on columns with "pivotTable.isValueColumn"
       "pivotTable.isRowValueColumn",  "pivotTable.isColumnValueColumn" or "pivotTable.isGrandTotalValueColumn" set.
       
      bytes snapshot_schema = 1;
      Returns:
      This builder for chaining.
    • getIsStatic

      public boolean getIsStatic()
       Whether or not this table might change.
       
      bool is_static = 2;
      Specified by:
      getIsStatic in interface PivotTableDescriptorMessageOrBuilder
      Returns:
      The isStatic.
    • setIsStatic

      public PivotTableDescriptorMessage.Builder setIsStatic(boolean value)
       Whether or not this table might change.
       
      bool is_static = 2;
      Parameters:
      value - The isStatic to set.
      Returns:
      This builder for chaining.
    • clearIsStatic

      public PivotTableDescriptorMessage.Builder clearIsStatic()
       Whether or not this table might change.
       
      bool is_static = 2;
      Returns:
      This builder for chaining.