Class HierarchicalTableDescriptor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
io.deephaven.proto.backplane.grpc.HierarchicalTableDescriptor.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,HierarchicalTableDescriptorOrBuilder
,Cloneable
- Enclosing class:
- HierarchicalTableDescriptor
public static final class HierarchicalTableDescriptor.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
implements HierarchicalTableDescriptorOrBuilder
Protobuf type
io.deephaven.proto.backplane.grpc.HierarchicalTableDescriptor
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Whether or not this table might change.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Schema to be used for snapshot or subscription requests as described in Arrow Message.fbs::Message.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
Whether or not this table might change.com.google.protobuf.ByteString
Schema to be used for snapshot or subscription requests as described in Arrow Message.fbs::Message.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) setIsStatic
(boolean value) Whether or not this table might change.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSnapshotSchema
(com.google.protobuf.ByteString value) Schema to be used for snapshot or subscription requests as described in Arrow Message.fbs::Message.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<HierarchicalTableDescriptor.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<HierarchicalTableDescriptor.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<HierarchicalTableDescriptor.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<HierarchicalTableDescriptor.Builder>
-
setField
public HierarchicalTableDescriptor.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<HierarchicalTableDescriptor.Builder>
-
clearField
public HierarchicalTableDescriptor.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<HierarchicalTableDescriptor.Builder>
-
clearOneof
public HierarchicalTableDescriptor.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<HierarchicalTableDescriptor.Builder>
-
setRepeatedField
public HierarchicalTableDescriptor.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<HierarchicalTableDescriptor.Builder>
-
addRepeatedField
public HierarchicalTableDescriptor.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<HierarchicalTableDescriptor.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HierarchicalTableDescriptor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
mergeFrom
public HierarchicalTableDescriptor.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<HierarchicalTableDescriptor.Builder>
- Throws:
IOException
-
getSnapshotSchema
public com.google.protobuf.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 HierarchicalTable, the special roles some columns play, and the relationships between columns. "hierarchicalTable.isStructuralColumn" is always "true" if set, and is set on columns that should be included on every snapshot or subscription request, but should not be directly user-visible. "hierarchicalTable.isExpandByColumn" is always "true" if set, and is set on all the columns that must be included in a HierarchicalTableViewRequest's key table, if a key table is specified. These columns are generally user-visible and displayed before other columns, unless they also have "hierarchicalTable.isStructuralColumn" set. "hierarchicalTable.isRowDepthColumn" is always "true" if set, and is set on a single column that specifies the depth of a row. That column will always have "hierarchicalTable.isExpandByColumn" set for RollupTables, but never for TreeTables. "hierarchicalTable.isRowExpandedColumn" is always "true" if set, and 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. "rollupTable.isAggregatedNodeColumn" is always "true" if set, and is set on all columns of a RollupTable that belong to the aggregated nodes. "rollupTable.isConstituentNodeColumn" is always "true" if set, and is set on all columns of a RollupTable that belong to the constituent nodes. No such columns will be present if constituents are not included in the RollupTable. "rollupTable.isGroupByColumn" is always "true" if set, and is set on all columns of a RollupTable that are "group-by columns", whether the node is aggregated or constituent. All nodes have the same names and types for columns labeled in this way. Such columns will always have "hierarchicalTable.isExpandByColumn" set if and only if they also have "rollupTable.isAggregatedNodeColumn" set. "rollupTable.aggregationInputColumnName" is set to the (string) name of the corresponding constituent column that was used as input to this aggregation node column. May have an empty value, because some aggregations take no input columns, for example "Count". This is only ever present on columns with "rollupTable.isAggregatedNodeColumn" set. "treeTable.isNodeColumn" is always "true" if set, and is set on all columns of a TreeTable that nodes inherit from the source Table. "treeTable.isIdentifierColumn" is always "true" if set, and is set on the single column that uniquely identifies a TreeTable row and links it to its children. Such columns will always have "hierarchicalTable.isExpandByColumn" set. "treeTable.isParentIdentifierColumn" is always "true" if set, and is set on the single column that links a TreeTable row to its parent row.
bytes snapshot_schema = 1;
- Specified by:
getSnapshotSchema
in interfaceHierarchicalTableDescriptorOrBuilder
- Returns:
- The snapshotSchema.
-
setSnapshotSchema
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 HierarchicalTable, the special roles some columns play, and the relationships between columns. "hierarchicalTable.isStructuralColumn" is always "true" if set, and is set on columns that should be included on every snapshot or subscription request, but should not be directly user-visible. "hierarchicalTable.isExpandByColumn" is always "true" if set, and is set on all the columns that must be included in a HierarchicalTableViewRequest's key table, if a key table is specified. These columns are generally user-visible and displayed before other columns, unless they also have "hierarchicalTable.isStructuralColumn" set. "hierarchicalTable.isRowDepthColumn" is always "true" if set, and is set on a single column that specifies the depth of a row. That column will always have "hierarchicalTable.isExpandByColumn" set for RollupTables, but never for TreeTables. "hierarchicalTable.isRowExpandedColumn" is always "true" if set, and 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. "rollupTable.isAggregatedNodeColumn" is always "true" if set, and is set on all columns of a RollupTable that belong to the aggregated nodes. "rollupTable.isConstituentNodeColumn" is always "true" if set, and is set on all columns of a RollupTable that belong to the constituent nodes. No such columns will be present if constituents are not included in the RollupTable. "rollupTable.isGroupByColumn" is always "true" if set, and is set on all columns of a RollupTable that are "group-by columns", whether the node is aggregated or constituent. All nodes have the same names and types for columns labeled in this way. Such columns will always have "hierarchicalTable.isExpandByColumn" set if and only if they also have "rollupTable.isAggregatedNodeColumn" set. "rollupTable.aggregationInputColumnName" is set to the (string) name of the corresponding constituent column that was used as input to this aggregation node column. May have an empty value, because some aggregations take no input columns, for example "Count". This is only ever present on columns with "rollupTable.isAggregatedNodeColumn" set. "treeTable.isNodeColumn" is always "true" if set, and is set on all columns of a TreeTable that nodes inherit from the source Table. "treeTable.isIdentifierColumn" is always "true" if set, and is set on the single column that uniquely identifies a TreeTable row and links it to its children. Such columns will always have "hierarchicalTable.isExpandByColumn" set. "treeTable.isParentIdentifierColumn" is always "true" if set, and is set on the single column that links a TreeTable row to its parent row.
bytes snapshot_schema = 1;
- Parameters:
value
- The snapshotSchema to set.- Returns:
- This builder for chaining.
-
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 HierarchicalTable, the special roles some columns play, and the relationships between columns. "hierarchicalTable.isStructuralColumn" is always "true" if set, and is set on columns that should be included on every snapshot or subscription request, but should not be directly user-visible. "hierarchicalTable.isExpandByColumn" is always "true" if set, and is set on all the columns that must be included in a HierarchicalTableViewRequest's key table, if a key table is specified. These columns are generally user-visible and displayed before other columns, unless they also have "hierarchicalTable.isStructuralColumn" set. "hierarchicalTable.isRowDepthColumn" is always "true" if set, and is set on a single column that specifies the depth of a row. That column will always have "hierarchicalTable.isExpandByColumn" set for RollupTables, but never for TreeTables. "hierarchicalTable.isRowExpandedColumn" is always "true" if set, and 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. "rollupTable.isAggregatedNodeColumn" is always "true" if set, and is set on all columns of a RollupTable that belong to the aggregated nodes. "rollupTable.isConstituentNodeColumn" is always "true" if set, and is set on all columns of a RollupTable that belong to the constituent nodes. No such columns will be present if constituents are not included in the RollupTable. "rollupTable.isGroupByColumn" is always "true" if set, and is set on all columns of a RollupTable that are "group-by columns", whether the node is aggregated or constituent. All nodes have the same names and types for columns labeled in this way. Such columns will always have "hierarchicalTable.isExpandByColumn" set if and only if they also have "rollupTable.isAggregatedNodeColumn" set. "rollupTable.aggregationInputColumnName" is set to the (string) name of the corresponding constituent column that was used as input to this aggregation node column. May have an empty value, because some aggregations take no input columns, for example "Count". This is only ever present on columns with "rollupTable.isAggregatedNodeColumn" set. "treeTable.isNodeColumn" is always "true" if set, and is set on all columns of a TreeTable that nodes inherit from the source Table. "treeTable.isIdentifierColumn" is always "true" if set, and is set on the single column that uniquely identifies a TreeTable row and links it to its children. Such columns will always have "hierarchicalTable.isExpandByColumn" set. "treeTable.isParentIdentifierColumn" is always "true" if set, and is set on the single column that links a TreeTable row to its parent row.
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 interfaceHierarchicalTableDescriptorOrBuilder
- Returns:
- The isStatic.
-
setIsStatic
Whether or not this table might change.
bool is_static = 2;
- Parameters:
value
- The isStatic to set.- Returns:
- This builder for chaining.
-
clearIsStatic
Whether or not this table might change.
bool is_static = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final HierarchicalTableDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
mergeUnknownFields
public final HierarchicalTableDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-