Package org.yamcs.yarch.rocksdb.protobuf
Class Tablespace.TablespaceRecord.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Tablespace.TablespaceRecord.Builder>
org.yamcs.yarch.rocksdb.protobuf.Tablespace.TablespaceRecord.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Tablespace.TablespaceRecordOrBuilder
- Enclosing class:
- Tablespace.TablespaceRecord
public static final class Tablespace.TablespaceRecord.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Tablespace.TablespaceRecord.Builder>
implements Tablespace.TablespaceRecordOrBuilder
This is used to encode values in the tablespace metadata databaseProtobuf type
TablespaceRecord
-
Method Summary
Modifier and TypeMethodDescriptionaddAllMemberId
(Iterable<? extends Integer> values) used for PARCHIVE_AGGARR_INFOaddMemberId
(int value) used for PARCHIVE_AGGARR_INFOaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
bucketPropertiesclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) used for HISTOGRAMused for all record types if not specified then instanceName = tablespaceNameused for PARCHIVE_AGGARR_INFOused for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameterclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)optional uint32 parameterType = 9;
if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)Starting with Yamcs 5.10.0 stores the version of the Parameter Archive in case time based partitioning is not used if time based partitioning is used, each partition has its own versionused for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)partitioning schema used currently for parameter archiveused for TABLE_PARTITION: if partitioned by value - the valueused for SECONDARY_INDEXused for TABLE_DEFINITIONused for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEXoptional uint32 tbsIndex = 1;
used for TM_INDEXoptional .TablespaceRecord.Type type = 2;
clone()
bucketPropertiesbucketPropertiesbucketPropertiesstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
used for HISTOGRAMcom.google.protobuf.ByteString
used for HISTOGRAMused for all record types if not specified then instanceName = tablespaceNamecom.google.protobuf.ByteString
used for all record types if not specified then instanceName = tablespaceNameint
getMemberId
(int index) used for PARCHIVE_AGGARR_INFOint
used for PARCHIVE_AGGARR_INFOused for PARCHIVE_AGGARR_INFOint
used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameterused by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)com.google.protobuf.ByteString
used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)int
optional uint32 parameterType = 9;
if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)com.google.protobuf.ByteString
if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)int
Starting with Yamcs 5.10.0 stores the version of the Parameter Archive in case time based partitioning is not used if time based partitioning is used, each partition has its own versionused for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)partitioning schema used currently for parameter archivecom.google.protobuf.ByteString
partitioning schema used currently for parameter archiveused for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)com.google.protobuf.ByteString
used for TABLE_PARTITION: if partitioned by value - the valueused for SECONDARY_INDEXused for SECONDARY_INDEXused for SECONDARY_INDEXused for TABLE_DEFINITIONused for TABLE_DEFINITIONused for TABLE_DEFINITIONused for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEXcom.google.protobuf.ByteString
used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEXint
optional uint32 tbsIndex = 1;
used for TM_INDEXcom.google.protobuf.ByteString
used for TM_INDEXgetType()
optional .TablespaceRecord.Type type = 2;
boolean
bucketPropertiesboolean
used for HISTOGRAMboolean
used for all record types if not specified then instanceName = tablespaceNameboolean
used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameterboolean
used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)boolean
optional uint32 parameterType = 9;
boolean
if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)boolean
Starting with Yamcs 5.10.0 stores the version of the Parameter Archive in case time based partitioning is not used if time based partitioning is used, each partition has its own versionboolean
used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)boolean
partitioning schema used currently for parameter archiveboolean
used for TABLE_PARTITION: if partitioned by value - the valueboolean
used for SECONDARY_INDEXboolean
used for TABLE_DEFINITIONboolean
used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEXboolean
optional uint32 tbsIndex = 1;
boolean
used for TM_INDEXboolean
hasType()
optional .TablespaceRecord.Type type = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
bucketPropertiesmergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)used for SECONDARY_INDEXused for TABLE_DEFINITIONmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) bucketPropertiessetBucketProperties
(Tablespace.BucketProperties.Builder builderForValue) bucketPropertiessetHistogramColumnName
(String value) used for HISTOGRAMsetHistogramColumnNameBytes
(com.google.protobuf.ByteString value) used for HISTOGRAMsetInstanceName
(String value) used for all record types if not specified then instanceName = tablespaceNamesetInstanceNameBytes
(com.google.protobuf.ByteString value) used for all record types if not specified then instanceName = tablespaceNamesetMemberId
(int index, int value) used for PARCHIVE_AGGARR_INFOsetNumericType
(int value) used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parametersetParameterFqn
(String value) used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)setParameterFqnBytes
(com.google.protobuf.ByteString value) used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)setParameterType
(int value) optional uint32 parameterType = 9;
setParchiveCf
(String value) if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)setParchiveCfBytes
(com.google.protobuf.ByteString value) if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)setParchiveVersion
(int value) Starting with Yamcs 5.10.0 stores the version of the Parameter Archive in case time based partitioning is not used if time based partitioning is used, each partition has its own versionused for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)setPartition
(Tablespace.TimeBasedPartition.Builder builderForValue) used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)setPartitioningSchema
(String value) partitioning schema used currently for parameter archivesetPartitioningSchemaBytes
(com.google.protobuf.ByteString value) partitioning schema used currently for parameter archivesetPartitionValue
(com.google.protobuf.ByteString value) used for TABLE_PARTITION: if partitioned by value - the valuesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) used for SECONDARY_INDEXsetSecondaryIndex
(Tablespace.SecondaryIndex.Builder builderForValue) used for SECONDARY_INDEXused for TABLE_DEFINITIONsetTableDefinition
(Tablespace.ProtoTableDefinition.Builder builderForValue) used for TABLE_DEFINITIONsetTableName
(String value) used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEXsetTableNameBytes
(com.google.protobuf.ByteString value) used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEXsetTbsIndex
(int value) optional uint32 tbsIndex = 1;
setTmIndexName
(String value) used for TM_INDEXsetTmIndexNameBytes
(com.google.protobuf.ByteString value) used for TM_INDEXoptional .TablespaceRecord.Type type = 2;
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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, 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.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<Tablespace.TablespaceRecord.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<Tablespace.TablespaceRecord.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<Tablespace.TablespaceRecord.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<Tablespace.TablespaceRecord.Builder>
-
setField
public Tablespace.TablespaceRecord.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<Tablespace.TablespaceRecord.Builder>
-
clearField
public Tablespace.TablespaceRecord.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<Tablespace.TablespaceRecord.Builder>
-
clearOneof
public Tablespace.TablespaceRecord.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<Tablespace.TablespaceRecord.Builder>
-
setRepeatedField
public Tablespace.TablespaceRecord.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<Tablespace.TablespaceRecord.Builder>
-
addRepeatedField
public Tablespace.TablespaceRecord.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<Tablespace.TablespaceRecord.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Tablespace.TablespaceRecord.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tablespace.TablespaceRecord.Builder>
-
mergeFrom
public Tablespace.TablespaceRecord.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<Tablespace.TablespaceRecord.Builder>
- Throws:
IOException
-
hasTbsIndex
public boolean hasTbsIndex()optional uint32 tbsIndex = 1;
- Specified by:
hasTbsIndex
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the tbsIndex field is set.
-
getTbsIndex
public int getTbsIndex()optional uint32 tbsIndex = 1;
- Specified by:
getTbsIndex
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The tbsIndex.
-
setTbsIndex
optional uint32 tbsIndex = 1;
- Parameters:
value
- The tbsIndex to set.- Returns:
- This builder for chaining.
-
clearTbsIndex
optional uint32 tbsIndex = 1;
- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()optional .TablespaceRecord.Type type = 2;
- Specified by:
hasType
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the type field is set.
-
getType
optional .TablespaceRecord.Type type = 2;
- Specified by:
getType
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The type.
-
setType
optional .TablespaceRecord.Type type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional .TablespaceRecord.Type type = 2;
- Returns:
- This builder for chaining.
-
hasInstanceName
public boolean hasInstanceName()used for all record types if not specified then instanceName = tablespaceName
optional string instanceName = 3;
- Specified by:
hasInstanceName
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the instanceName field is set.
-
getInstanceName
used for all record types if not specified then instanceName = tablespaceName
optional string instanceName = 3;
- Specified by:
getInstanceName
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The instanceName.
-
getInstanceNameBytes
public com.google.protobuf.ByteString getInstanceNameBytes()used for all record types if not specified then instanceName = tablespaceName
optional string instanceName = 3;
- Specified by:
getInstanceNameBytes
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The bytes for instanceName.
-
setInstanceName
used for all record types if not specified then instanceName = tablespaceName
optional string instanceName = 3;
- Parameters:
value
- The instanceName to set.- Returns:
- This builder for chaining.
-
clearInstanceName
used for all record types if not specified then instanceName = tablespaceName
optional string instanceName = 3;
- Returns:
- This builder for chaining.
-
setInstanceNameBytes
public Tablespace.TablespaceRecord.Builder setInstanceNameBytes(com.google.protobuf.ByteString value) used for all record types if not specified then instanceName = tablespaceName
optional string instanceName = 3;
- Parameters:
value
- The bytes for instanceName to set.- Returns:
- This builder for chaining.
-
hasTableName
public boolean hasTableName()used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEX
optional string tableName = 4;
- Specified by:
hasTableName
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the tableName field is set.
-
getTableName
used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEX
optional string tableName = 4;
- Specified by:
getTableName
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The tableName.
-
getTableNameBytes
public com.google.protobuf.ByteString getTableNameBytes()used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEX
optional string tableName = 4;
- Specified by:
getTableNameBytes
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The bytes for tableName.
-
setTableName
used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEX
optional string tableName = 4;
- Parameters:
value
- The tableName to set.- Returns:
- This builder for chaining.
-
clearTableName
used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEX
optional string tableName = 4;
- Returns:
- This builder for chaining.
-
setTableNameBytes
used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEX
optional string tableName = 4;
- Parameters:
value
- The bytes for tableName to set.- Returns:
- This builder for chaining.
-
hasHistogramColumnName
public boolean hasHistogramColumnName()used for HISTOGRAM
optional string histogramColumnName = 5;
- Specified by:
hasHistogramColumnName
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the histogramColumnName field is set.
-
getHistogramColumnName
used for HISTOGRAM
optional string histogramColumnName = 5;
- Specified by:
getHistogramColumnName
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The histogramColumnName.
-
getHistogramColumnNameBytes
public com.google.protobuf.ByteString getHistogramColumnNameBytes()used for HISTOGRAM
optional string histogramColumnName = 5;
- Specified by:
getHistogramColumnNameBytes
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The bytes for histogramColumnName.
-
setHistogramColumnName
used for HISTOGRAM
optional string histogramColumnName = 5;
- Parameters:
value
- The histogramColumnName to set.- Returns:
- This builder for chaining.
-
clearHistogramColumnName
used for HISTOGRAM
optional string histogramColumnName = 5;
- Returns:
- This builder for chaining.
-
setHistogramColumnNameBytes
public Tablespace.TablespaceRecord.Builder setHistogramColumnNameBytes(com.google.protobuf.ByteString value) used for HISTOGRAM
optional string histogramColumnName = 5;
- Parameters:
value
- The bytes for histogramColumnName to set.- Returns:
- This builder for chaining.
-
hasPartitionValue
public boolean hasPartitionValue()used for TABLE_PARTITION: if partitioned by value - the value
optional bytes partitionValue = 6;
- Specified by:
hasPartitionValue
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the partitionValue field is set.
-
getPartitionValue
public com.google.protobuf.ByteString getPartitionValue()used for TABLE_PARTITION: if partitioned by value - the value
optional bytes partitionValue = 6;
- Specified by:
getPartitionValue
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The partitionValue.
-
setPartitionValue
used for TABLE_PARTITION: if partitioned by value - the value
optional bytes partitionValue = 6;
- Parameters:
value
- The partitionValue to set.- Returns:
- This builder for chaining.
-
clearPartitionValue
used for TABLE_PARTITION: if partitioned by value - the value
optional bytes partitionValue = 6;
- Returns:
- This builder for chaining.
-
hasPartition
public boolean hasPartition()used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
- Specified by:
hasPartition
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the partition field is set.
-
getPartition
used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
- Specified by:
getPartition
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The partition.
-
setPartition
used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
-
setPartition
public Tablespace.TablespaceRecord.Builder setPartition(Tablespace.TimeBasedPartition.Builder builderForValue) used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
-
mergePartition
used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
-
clearPartition
used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
-
getPartitionBuilder
used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
-
getPartitionOrBuilder
used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
- Specified by:
getPartitionOrBuilder
in interfaceTablespace.TablespaceRecordOrBuilder
-
hasParameterFqn
public boolean hasParameterFqn()used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)
optional string parameterFqn = 8;
- Specified by:
hasParameterFqn
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the parameterFqn field is set.
-
getParameterFqn
used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)
optional string parameterFqn = 8;
- Specified by:
getParameterFqn
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The parameterFqn.
-
getParameterFqnBytes
public com.google.protobuf.ByteString getParameterFqnBytes()used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)
optional string parameterFqn = 8;
- Specified by:
getParameterFqnBytes
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The bytes for parameterFqn.
-
setParameterFqn
used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)
optional string parameterFqn = 8;
- Parameters:
value
- The parameterFqn to set.- Returns:
- This builder for chaining.
-
clearParameterFqn
used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)
optional string parameterFqn = 8;
- Returns:
- This builder for chaining.
-
setParameterFqnBytes
public Tablespace.TablespaceRecord.Builder setParameterFqnBytes(com.google.protobuf.ByteString value) used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)
optional string parameterFqn = 8;
- Parameters:
value
- The bytes for parameterFqn to set.- Returns:
- This builder for chaining.
-
hasParameterType
public boolean hasParameterType()optional uint32 parameterType = 9;
- Specified by:
hasParameterType
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the parameterType field is set.
-
getParameterType
public int getParameterType()optional uint32 parameterType = 9;
- Specified by:
getParameterType
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The parameterType.
-
setParameterType
optional uint32 parameterType = 9;
- Parameters:
value
- The parameterType to set.- Returns:
- This builder for chaining.
-
clearParameterType
optional uint32 parameterType = 9;
- Returns:
- This builder for chaining.
-
hasPartitioningSchema
public boolean hasPartitioningSchema()partitioning schema used currently for parameter archive
optional string partitioningSchema = 10;
- Specified by:
hasPartitioningSchema
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the partitioningSchema field is set.
-
getPartitioningSchema
partitioning schema used currently for parameter archive
optional string partitioningSchema = 10;
- Specified by:
getPartitioningSchema
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The partitioningSchema.
-
getPartitioningSchemaBytes
public com.google.protobuf.ByteString getPartitioningSchemaBytes()partitioning schema used currently for parameter archive
optional string partitioningSchema = 10;
- Specified by:
getPartitioningSchemaBytes
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The bytes for partitioningSchema.
-
setPartitioningSchema
partitioning schema used currently for parameter archive
optional string partitioningSchema = 10;
- Parameters:
value
- The partitioningSchema to set.- Returns:
- This builder for chaining.
-
clearPartitioningSchema
partitioning schema used currently for parameter archive
optional string partitioningSchema = 10;
- Returns:
- This builder for chaining.
-
setPartitioningSchemaBytes
public Tablespace.TablespaceRecord.Builder setPartitioningSchemaBytes(com.google.protobuf.ByteString value) partitioning schema used currently for parameter archive
optional string partitioningSchema = 10;
- Parameters:
value
- The bytes for partitioningSchema to set.- Returns:
- This builder for chaining.
-
hasBucketProperties
public boolean hasBucketProperties()bucketProperties
optional .BucketProperties bucketProperties = 11;
- Specified by:
hasBucketProperties
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the bucketProperties field is set.
-
getBucketProperties
bucketProperties
optional .BucketProperties bucketProperties = 11;
- Specified by:
getBucketProperties
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The bucketProperties.
-
setBucketProperties
bucketProperties
optional .BucketProperties bucketProperties = 11;
-
setBucketProperties
public Tablespace.TablespaceRecord.Builder setBucketProperties(Tablespace.BucketProperties.Builder builderForValue) bucketProperties
optional .BucketProperties bucketProperties = 11;
-
mergeBucketProperties
bucketProperties
optional .BucketProperties bucketProperties = 11;
-
clearBucketProperties
bucketProperties
optional .BucketProperties bucketProperties = 11;
-
getBucketPropertiesBuilder
bucketProperties
optional .BucketProperties bucketProperties = 11;
-
getBucketPropertiesOrBuilder
bucketProperties
optional .BucketProperties bucketProperties = 11;
- Specified by:
getBucketPropertiesOrBuilder
in interfaceTablespace.TablespaceRecordOrBuilder
-
hasTableDefinition
public boolean hasTableDefinition()used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
- Specified by:
hasTableDefinition
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the tableDefinition field is set.
-
getTableDefinition
used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
- Specified by:
getTableDefinition
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The tableDefinition.
-
setTableDefinition
public Tablespace.TablespaceRecord.Builder setTableDefinition(Tablespace.ProtoTableDefinition value) used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
-
setTableDefinition
public Tablespace.TablespaceRecord.Builder setTableDefinition(Tablespace.ProtoTableDefinition.Builder builderForValue) used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
-
mergeTableDefinition
public Tablespace.TablespaceRecord.Builder mergeTableDefinition(Tablespace.ProtoTableDefinition value) used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
-
clearTableDefinition
used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
-
getTableDefinitionBuilder
used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
-
getTableDefinitionOrBuilder
used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
- Specified by:
getTableDefinitionOrBuilder
in interfaceTablespace.TablespaceRecordOrBuilder
-
hasSecondaryIndex
public boolean hasSecondaryIndex()used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
- Specified by:
hasSecondaryIndex
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the secondaryIndex field is set.
-
getSecondaryIndex
used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
- Specified by:
getSecondaryIndex
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The secondaryIndex.
-
setSecondaryIndex
used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
-
setSecondaryIndex
public Tablespace.TablespaceRecord.Builder setSecondaryIndex(Tablespace.SecondaryIndex.Builder builderForValue) used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
-
mergeSecondaryIndex
used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
-
clearSecondaryIndex
used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
-
getSecondaryIndexBuilder
used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
-
getSecondaryIndexOrBuilder
used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
- Specified by:
getSecondaryIndexOrBuilder
in interfaceTablespace.TablespaceRecordOrBuilder
-
hasTmIndexName
public boolean hasTmIndexName()used for TM_INDEX
optional string tmIndexName = 14;
- Specified by:
hasTmIndexName
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the tmIndexName field is set.
-
getTmIndexName
used for TM_INDEX
optional string tmIndexName = 14;
- Specified by:
getTmIndexName
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The tmIndexName.
-
getTmIndexNameBytes
public com.google.protobuf.ByteString getTmIndexNameBytes()used for TM_INDEX
optional string tmIndexName = 14;
- Specified by:
getTmIndexNameBytes
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The bytes for tmIndexName.
-
setTmIndexName
used for TM_INDEX
optional string tmIndexName = 14;
- Parameters:
value
- The tmIndexName to set.- Returns:
- This builder for chaining.
-
clearTmIndexName
used for TM_INDEX
optional string tmIndexName = 14;
- Returns:
- This builder for chaining.
-
setTmIndexNameBytes
public Tablespace.TablespaceRecord.Builder setTmIndexNameBytes(com.google.protobuf.ByteString value) used for TM_INDEX
optional string tmIndexName = 14;
- Parameters:
value
- The bytes for tmIndexName to set.- Returns:
- This builder for chaining.
-
getMemberIdList
used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Specified by:
getMemberIdList
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- A list containing the memberId.
-
getMemberIdCount
public int getMemberIdCount()used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Specified by:
getMemberIdCount
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The count of memberId.
-
getMemberId
public int getMemberId(int index) used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Specified by:
getMemberId
in interfaceTablespace.TablespaceRecordOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The memberId at the given index.
-
setMemberId
used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Parameters:
index
- The index to set the value at.value
- The memberId to set.- Returns:
- This builder for chaining.
-
addMemberId
used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Parameters:
value
- The memberId to add.- Returns:
- This builder for chaining.
-
addAllMemberId
used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Parameters:
values
- The memberId to add.- Returns:
- This builder for chaining.
-
clearMemberId
used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Returns:
- This builder for chaining.
-
hasNumericType
public boolean hasNumericType()used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameter
optional uint32 numericType = 16;
- Specified by:
hasNumericType
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the numericType field is set.
-
getNumericType
public int getNumericType()used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameter
optional uint32 numericType = 16;
- Specified by:
getNumericType
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The numericType.
-
setNumericType
used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameter
optional uint32 numericType = 16;
- Parameters:
value
- The numericType to set.- Returns:
- This builder for chaining.
-
clearNumericType
used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameter
optional uint32 numericType = 16;
- Returns:
- This builder for chaining.
-
hasParchiveCf
public boolean hasParchiveCf()if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)
optional string parchiveCf = 17;
- Specified by:
hasParchiveCf
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the parchiveCf field is set.
-
getParchiveCf
if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)
optional string parchiveCf = 17;
- Specified by:
getParchiveCf
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The parchiveCf.
-
getParchiveCfBytes
public com.google.protobuf.ByteString getParchiveCfBytes()if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)
optional string parchiveCf = 17;
- Specified by:
getParchiveCfBytes
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The bytes for parchiveCf.
-
setParchiveCf
if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)
optional string parchiveCf = 17;
- Parameters:
value
- The parchiveCf to set.- Returns:
- This builder for chaining.
-
clearParchiveCf
if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)
optional string parchiveCf = 17;
- Returns:
- This builder for chaining.
-
setParchiveCfBytes
if time based partitioning is not used for the parameter archive, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)
optional string parchiveCf = 17;
- Parameters:
value
- The bytes for parchiveCf to set.- Returns:
- This builder for chaining.
-
hasParchiveVersion
public boolean hasParchiveVersion()Starting with Yamcs 5.10.0 stores the version of the Parameter Archive in case time based partitioning is not used if time based partitioning is used, each partition has its own version
optional uint32 parchiveVersion = 18 [default = 0];
- Specified by:
hasParchiveVersion
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- Whether the parchiveVersion field is set.
-
getParchiveVersion
public int getParchiveVersion()Starting with Yamcs 5.10.0 stores the version of the Parameter Archive in case time based partitioning is not used if time based partitioning is used, each partition has its own version
optional uint32 parchiveVersion = 18 [default = 0];
- Specified by:
getParchiveVersion
in interfaceTablespace.TablespaceRecordOrBuilder
- Returns:
- The parchiveVersion.
-
setParchiveVersion
Starting with Yamcs 5.10.0 stores the version of the Parameter Archive in case time based partitioning is not used if time based partitioning is used, each partition has its own version
optional uint32 parchiveVersion = 18 [default = 0];
- Parameters:
value
- The parchiveVersion to set.- Returns:
- This builder for chaining.
-
clearParchiveVersion
Starting with Yamcs 5.10.0 stores the version of the Parameter Archive in case time based partitioning is not used if time based partitioning is used, each partition has its own version
optional uint32 parchiveVersion = 18 [default = 0];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Tablespace.TablespaceRecord.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tablespace.TablespaceRecord.Builder>
-
mergeUnknownFields
public final Tablespace.TablespaceRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tablespace.TablespaceRecord.Builder>
-