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.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether or not this table might change.com.google.protobuf.ByteStringSchema to be used for snapshot or subscription requests as described in Arrow Message.fbs::Message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
setField
public HierarchicalTableDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
clearField
public HierarchicalTableDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
clearOneof
public HierarchicalTableDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
setRepeatedField
public HierarchicalTableDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
addRepeatedField
public HierarchicalTableDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HierarchicalTableDescriptor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getSnapshotSchemain 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:
getIsStaticin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-
mergeUnknownFields
public final HierarchicalTableDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HierarchicalTableDescriptor.Builder>
-