Class RocksDbDatabaseInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
org.yamcs.protobuf.RocksDbDatabaseInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, RocksDbDatabaseInfoOrBuilder
Enclosing class:
RocksDbDatabaseInfo

public static final class RocksDbDatabaseInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder> implements RocksDbDatabaseInfoOrBuilder
Protobuf type yamcs.protobuf.archive.RocksDbDatabaseInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • getDefaultInstanceForType

      public RocksDbDatabaseInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RocksDbDatabaseInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RocksDbDatabaseInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • setField

      public RocksDbDatabaseInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • clearField

      public RocksDbDatabaseInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • clearOneof

      public RocksDbDatabaseInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • setRepeatedField

      public RocksDbDatabaseInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • addRepeatedField

      public RocksDbDatabaseInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • mergeFrom

      public RocksDbDatabaseInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RocksDbDatabaseInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • mergeFrom

      public RocksDbDatabaseInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RocksDbDatabaseInfo.Builder>
      Throws:
      IOException
    • hasTablespace

      public boolean hasTablespace()
      optional string tablespace = 1;
      Specified by:
      hasTablespace in interface RocksDbDatabaseInfoOrBuilder
      Returns:
      Whether the tablespace field is set.
    • getTablespace

      public String getTablespace()
      optional string tablespace = 1;
      Specified by:
      getTablespace in interface RocksDbDatabaseInfoOrBuilder
      Returns:
      The tablespace.
    • getTablespaceBytes

      public com.google.protobuf.ByteString getTablespaceBytes()
      optional string tablespace = 1;
      Specified by:
      getTablespaceBytes in interface RocksDbDatabaseInfoOrBuilder
      Returns:
      The bytes for tablespace.
    • setTablespace

      public RocksDbDatabaseInfo.Builder setTablespace(String value)
      optional string tablespace = 1;
      Parameters:
      value - The tablespace to set.
      Returns:
      This builder for chaining.
    • clearTablespace

      public RocksDbDatabaseInfo.Builder clearTablespace()
      optional string tablespace = 1;
      Returns:
      This builder for chaining.
    • setTablespaceBytes

      public RocksDbDatabaseInfo.Builder setTablespaceBytes(com.google.protobuf.ByteString value)
      optional string tablespace = 1;
      Parameters:
      value - The bytes for tablespace to set.
      Returns:
      This builder for chaining.
    • hasDataDir

      public boolean hasDataDir()
      optional string dataDir = 2;
      Specified by:
      hasDataDir in interface RocksDbDatabaseInfoOrBuilder
      Returns:
      Whether the dataDir field is set.
    • getDataDir

      public String getDataDir()
      optional string dataDir = 2;
      Specified by:
      getDataDir in interface RocksDbDatabaseInfoOrBuilder
      Returns:
      The dataDir.
    • getDataDirBytes

      public com.google.protobuf.ByteString getDataDirBytes()
      optional string dataDir = 2;
      Specified by:
      getDataDirBytes in interface RocksDbDatabaseInfoOrBuilder
      Returns:
      The bytes for dataDir.
    • setDataDir

      public RocksDbDatabaseInfo.Builder setDataDir(String value)
      optional string dataDir = 2;
      Parameters:
      value - The dataDir to set.
      Returns:
      This builder for chaining.
    • clearDataDir

      public RocksDbDatabaseInfo.Builder clearDataDir()
      optional string dataDir = 2;
      Returns:
      This builder for chaining.
    • setDataDirBytes

      public RocksDbDatabaseInfo.Builder setDataDirBytes(com.google.protobuf.ByteString value)
      optional string dataDir = 2;
      Parameters:
      value - The bytes for dataDir to set.
      Returns:
      This builder for chaining.
    • hasDbPath

      public boolean hasDbPath()
      optional string dbPath = 3;
      Specified by:
      hasDbPath in interface RocksDbDatabaseInfoOrBuilder
      Returns:
      Whether the dbPath field is set.
    • getDbPath

      public String getDbPath()
      optional string dbPath = 3;
      Specified by:
      getDbPath in interface RocksDbDatabaseInfoOrBuilder
      Returns:
      The dbPath.
    • getDbPathBytes

      public com.google.protobuf.ByteString getDbPathBytes()
      optional string dbPath = 3;
      Specified by:
      getDbPathBytes in interface RocksDbDatabaseInfoOrBuilder
      Returns:
      The bytes for dbPath.
    • setDbPath

      public RocksDbDatabaseInfo.Builder setDbPath(String value)
      optional string dbPath = 3;
      Parameters:
      value - The dbPath to set.
      Returns:
      This builder for chaining.
    • clearDbPath

      public RocksDbDatabaseInfo.Builder clearDbPath()
      optional string dbPath = 3;
      Returns:
      This builder for chaining.
    • setDbPathBytes

      public RocksDbDatabaseInfo.Builder setDbPathBytes(com.google.protobuf.ByteString value)
      optional string dbPath = 3;
      Parameters:
      value - The bytes for dbPath to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final RocksDbDatabaseInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>
    • mergeUnknownFields

      public final RocksDbDatabaseInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RocksDbDatabaseInfo.Builder>