Package org.yamcs.yarch.rocksdb.protobuf
Class Tablespace.TimeBasedPartition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Tablespace.TimeBasedPartition.Builder>
org.yamcs.yarch.rocksdb.protobuf.Tablespace.TimeBasedPartition.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Tablespace.TimeBasedPartitionOrBuilder
- Enclosing class:
- Tablespace.TimeBasedPartition
public static final class Tablespace.TimeBasedPartition.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Tablespace.TimeBasedPartition.Builder>
implements Tablespace.TimeBasedPartitionOrBuilder
Protobuf type
TimeBasedPartition
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional uint32 parchiveVersion = 5 [default = 0];
optional string partitionCf = 4;
optional string partitionDir = 1;
optional int64 partitionEnd = 3;
optional int64 partitionStart = 2;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
optional uint32 parchiveVersion = 5 [default = 0];
optional string partitionCf = 4;
com.google.protobuf.ByteString
optional string partitionCf = 4;
optional string partitionDir = 1;
com.google.protobuf.ByteString
optional string partitionDir = 1;
long
optional int64 partitionEnd = 3;
long
optional int64 partitionStart = 2;
boolean
optional uint32 parchiveVersion = 5 [default = 0];
boolean
optional string partitionCf = 4;
boolean
optional string partitionDir = 1;
boolean
optional int64 partitionEnd = 3;
boolean
optional int64 partitionStart = 2;
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) setParchiveVersion
(int value) optional uint32 parchiveVersion = 5 [default = 0];
setPartitionCf
(String value) optional string partitionCf = 4;
setPartitionCfBytes
(com.google.protobuf.ByteString value) optional string partitionCf = 4;
setPartitionDir
(String value) optional string partitionDir = 1;
setPartitionDirBytes
(com.google.protobuf.ByteString value) optional string partitionDir = 1;
setPartitionEnd
(long value) optional int64 partitionEnd = 3;
setPartitionStart
(long value) optional int64 partitionStart = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.TimeBasedPartition.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.TimeBasedPartition.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.TimeBasedPartition.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.TimeBasedPartition.Builder>
-
setField
public Tablespace.TimeBasedPartition.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.TimeBasedPartition.Builder>
-
clearField
public Tablespace.TimeBasedPartition.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.TimeBasedPartition.Builder>
-
clearOneof
public Tablespace.TimeBasedPartition.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.TimeBasedPartition.Builder>
-
setRepeatedField
public Tablespace.TimeBasedPartition.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.TimeBasedPartition.Builder>
-
addRepeatedField
public Tablespace.TimeBasedPartition.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.TimeBasedPartition.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Tablespace.TimeBasedPartition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tablespace.TimeBasedPartition.Builder>
-
mergeFrom
public Tablespace.TimeBasedPartition.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.TimeBasedPartition.Builder>
- Throws:
IOException
-
hasPartitionDir
public boolean hasPartitionDir()optional string partitionDir = 1;
- Specified by:
hasPartitionDir
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- Whether the partitionDir field is set.
-
getPartitionDir
optional string partitionDir = 1;
- Specified by:
getPartitionDir
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- The partitionDir.
-
getPartitionDirBytes
public com.google.protobuf.ByteString getPartitionDirBytes()optional string partitionDir = 1;
- Specified by:
getPartitionDirBytes
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- The bytes for partitionDir.
-
setPartitionDir
optional string partitionDir = 1;
- Parameters:
value
- The partitionDir to set.- Returns:
- This builder for chaining.
-
clearPartitionDir
optional string partitionDir = 1;
- Returns:
- This builder for chaining.
-
setPartitionDirBytes
public Tablespace.TimeBasedPartition.Builder setPartitionDirBytes(com.google.protobuf.ByteString value) optional string partitionDir = 1;
- Parameters:
value
- The bytes for partitionDir to set.- Returns:
- This builder for chaining.
-
hasPartitionStart
public boolean hasPartitionStart()optional int64 partitionStart = 2;
- Specified by:
hasPartitionStart
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- Whether the partitionStart field is set.
-
getPartitionStart
public long getPartitionStart()optional int64 partitionStart = 2;
- Specified by:
getPartitionStart
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- The partitionStart.
-
setPartitionStart
optional int64 partitionStart = 2;
- Parameters:
value
- The partitionStart to set.- Returns:
- This builder for chaining.
-
clearPartitionStart
optional int64 partitionStart = 2;
- Returns:
- This builder for chaining.
-
hasPartitionEnd
public boolean hasPartitionEnd()optional int64 partitionEnd = 3;
- Specified by:
hasPartitionEnd
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- Whether the partitionEnd field is set.
-
getPartitionEnd
public long getPartitionEnd()optional int64 partitionEnd = 3;
- Specified by:
getPartitionEnd
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- The partitionEnd.
-
setPartitionEnd
optional int64 partitionEnd = 3;
- Parameters:
value
- The partitionEnd to set.- Returns:
- This builder for chaining.
-
clearPartitionEnd
optional int64 partitionEnd = 3;
- Returns:
- This builder for chaining.
-
hasPartitionCf
public boolean hasPartitionCf()optional string partitionCf = 4;
- Specified by:
hasPartitionCf
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- Whether the partitionCf field is set.
-
getPartitionCf
optional string partitionCf = 4;
- Specified by:
getPartitionCf
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- The partitionCf.
-
getPartitionCfBytes
public com.google.protobuf.ByteString getPartitionCfBytes()optional string partitionCf = 4;
- Specified by:
getPartitionCfBytes
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- The bytes for partitionCf.
-
setPartitionCf
optional string partitionCf = 4;
- Parameters:
value
- The partitionCf to set.- Returns:
- This builder for chaining.
-
clearPartitionCf
optional string partitionCf = 4;
- Returns:
- This builder for chaining.
-
setPartitionCfBytes
public Tablespace.TimeBasedPartition.Builder setPartitionCfBytes(com.google.protobuf.ByteString value) optional string partitionCf = 4;
- Parameters:
value
- The bytes for partitionCf to set.- Returns:
- This builder for chaining.
-
hasParchiveVersion
public boolean hasParchiveVersion()optional uint32 parchiveVersion = 5 [default = 0];
- Specified by:
hasParchiveVersion
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- Whether the parchiveVersion field is set.
-
getParchiveVersion
public int getParchiveVersion()optional uint32 parchiveVersion = 5 [default = 0];
- Specified by:
getParchiveVersion
in interfaceTablespace.TimeBasedPartitionOrBuilder
- Returns:
- The parchiveVersion.
-
setParchiveVersion
optional uint32 parchiveVersion = 5 [default = 0];
- Parameters:
value
- The parchiveVersion to set.- Returns:
- This builder for chaining.
-
clearParchiveVersion
optional uint32 parchiveVersion = 5 [default = 0];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Tablespace.TimeBasedPartition.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.TimeBasedPartition.Builder>
-
mergeUnknownFields
public final Tablespace.TimeBasedPartition.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.TimeBasedPartition.Builder>
-