Package org.yamcs.yarch.rocksdb.protobuf
Class Tablespace.PartitioningInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Tablespace.PartitioningInfo.Builder>
org.yamcs.yarch.rocksdb.protobuf.Tablespace.PartitioningInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Tablespace.PartitioningInfoOrBuilder
- Enclosing class:
- Tablespace.PartitioningInfo
public static final class Tablespace.PartitioningInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Tablespace.PartitioningInfo.Builder>
implements Tablespace.PartitioningInfoOrBuilder
Protobuf type
PartitioningInfo
-
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 string timeColumn = 2;
optional string timePartitionSchema = 3;
optional .PartitioningInfo.PartitioningType type = 1;
optional string valueColumn = 4;
optional string valueColumnType = 5;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string timeColumn = 2;
com.google.protobuf.ByteString
optional string timeColumn = 2;
optional string timePartitionSchema = 3;
com.google.protobuf.ByteString
optional string timePartitionSchema = 3;
getType()
optional .PartitioningInfo.PartitioningType type = 1;
optional string valueColumn = 4;
com.google.protobuf.ByteString
optional string valueColumn = 4;
optional string valueColumnType = 5;
com.google.protobuf.ByteString
optional string valueColumnType = 5;
boolean
optional string timeColumn = 2;
boolean
optional string timePartitionSchema = 3;
boolean
hasType()
optional .PartitioningInfo.PartitioningType type = 1;
boolean
optional string valueColumn = 4;
boolean
optional string valueColumnType = 5;
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) setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTimeColumn
(String value) optional string timeColumn = 2;
setTimeColumnBytes
(com.google.protobuf.ByteString value) optional string timeColumn = 2;
setTimePartitionSchema
(String value) optional string timePartitionSchema = 3;
setTimePartitionSchemaBytes
(com.google.protobuf.ByteString value) optional string timePartitionSchema = 3;
optional .PartitioningInfo.PartitioningType type = 1;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setValueColumn
(String value) optional string valueColumn = 4;
setValueColumnBytes
(com.google.protobuf.ByteString value) optional string valueColumn = 4;
setValueColumnType
(String value) optional string valueColumnType = 5;
setValueColumnTypeBytes
(com.google.protobuf.ByteString value) optional string valueColumnType = 5;
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.PartitioningInfo.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.PartitioningInfo.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.PartitioningInfo.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.PartitioningInfo.Builder>
-
setField
public Tablespace.PartitioningInfo.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.PartitioningInfo.Builder>
-
clearField
public Tablespace.PartitioningInfo.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.PartitioningInfo.Builder>
-
clearOneof
public Tablespace.PartitioningInfo.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.PartitioningInfo.Builder>
-
setRepeatedField
public Tablespace.PartitioningInfo.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.PartitioningInfo.Builder>
-
addRepeatedField
public Tablespace.PartitioningInfo.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.PartitioningInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Tablespace.PartitioningInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tablespace.PartitioningInfo.Builder>
-
mergeFrom
public Tablespace.PartitioningInfo.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.PartitioningInfo.Builder>
- Throws:
IOException
-
hasType
public boolean hasType()optional .PartitioningInfo.PartitioningType type = 1;
- Specified by:
hasType
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- Whether the type field is set.
-
getType
optional .PartitioningInfo.PartitioningType type = 1;
- Specified by:
getType
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- The type.
-
setType
public Tablespace.PartitioningInfo.Builder setType(Tablespace.PartitioningInfo.PartitioningType value) optional .PartitioningInfo.PartitioningType type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional .PartitioningInfo.PartitioningType type = 1;
- Returns:
- This builder for chaining.
-
hasTimeColumn
public boolean hasTimeColumn()optional string timeColumn = 2;
- Specified by:
hasTimeColumn
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- Whether the timeColumn field is set.
-
getTimeColumn
optional string timeColumn = 2;
- Specified by:
getTimeColumn
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- The timeColumn.
-
getTimeColumnBytes
public com.google.protobuf.ByteString getTimeColumnBytes()optional string timeColumn = 2;
- Specified by:
getTimeColumnBytes
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- The bytes for timeColumn.
-
setTimeColumn
optional string timeColumn = 2;
- Parameters:
value
- The timeColumn to set.- Returns:
- This builder for chaining.
-
clearTimeColumn
optional string timeColumn = 2;
- Returns:
- This builder for chaining.
-
setTimeColumnBytes
optional string timeColumn = 2;
- Parameters:
value
- The bytes for timeColumn to set.- Returns:
- This builder for chaining.
-
hasTimePartitionSchema
public boolean hasTimePartitionSchema()optional string timePartitionSchema = 3;
- Specified by:
hasTimePartitionSchema
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- Whether the timePartitionSchema field is set.
-
getTimePartitionSchema
optional string timePartitionSchema = 3;
- Specified by:
getTimePartitionSchema
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- The timePartitionSchema.
-
getTimePartitionSchemaBytes
public com.google.protobuf.ByteString getTimePartitionSchemaBytes()optional string timePartitionSchema = 3;
- Specified by:
getTimePartitionSchemaBytes
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- The bytes for timePartitionSchema.
-
setTimePartitionSchema
optional string timePartitionSchema = 3;
- Parameters:
value
- The timePartitionSchema to set.- Returns:
- This builder for chaining.
-
clearTimePartitionSchema
optional string timePartitionSchema = 3;
- Returns:
- This builder for chaining.
-
setTimePartitionSchemaBytes
public Tablespace.PartitioningInfo.Builder setTimePartitionSchemaBytes(com.google.protobuf.ByteString value) optional string timePartitionSchema = 3;
- Parameters:
value
- The bytes for timePartitionSchema to set.- Returns:
- This builder for chaining.
-
hasValueColumn
public boolean hasValueColumn()optional string valueColumn = 4;
- Specified by:
hasValueColumn
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- Whether the valueColumn field is set.
-
getValueColumn
optional string valueColumn = 4;
- Specified by:
getValueColumn
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- The valueColumn.
-
getValueColumnBytes
public com.google.protobuf.ByteString getValueColumnBytes()optional string valueColumn = 4;
- Specified by:
getValueColumnBytes
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- The bytes for valueColumn.
-
setValueColumn
optional string valueColumn = 4;
- Parameters:
value
- The valueColumn to set.- Returns:
- This builder for chaining.
-
clearValueColumn
optional string valueColumn = 4;
- Returns:
- This builder for chaining.
-
setValueColumnBytes
public Tablespace.PartitioningInfo.Builder setValueColumnBytes(com.google.protobuf.ByteString value) optional string valueColumn = 4;
- Parameters:
value
- The bytes for valueColumn to set.- Returns:
- This builder for chaining.
-
hasValueColumnType
public boolean hasValueColumnType()optional string valueColumnType = 5;
- Specified by:
hasValueColumnType
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- Whether the valueColumnType field is set.
-
getValueColumnType
optional string valueColumnType = 5;
- Specified by:
getValueColumnType
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- The valueColumnType.
-
getValueColumnTypeBytes
public com.google.protobuf.ByteString getValueColumnTypeBytes()optional string valueColumnType = 5;
- Specified by:
getValueColumnTypeBytes
in interfaceTablespace.PartitioningInfoOrBuilder
- Returns:
- The bytes for valueColumnType.
-
setValueColumnType
optional string valueColumnType = 5;
- Parameters:
value
- The valueColumnType to set.- Returns:
- This builder for chaining.
-
clearValueColumnType
optional string valueColumnType = 5;
- Returns:
- This builder for chaining.
-
setValueColumnTypeBytes
public Tablespace.PartitioningInfo.Builder setValueColumnTypeBytes(com.google.protobuf.ByteString value) optional string valueColumnType = 5;
- Parameters:
value
- The bytes for valueColumnType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Tablespace.PartitioningInfo.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.PartitioningInfo.Builder>
-
mergeUnknownFields
public final Tablespace.PartitioningInfo.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.PartitioningInfo.Builder>
-