Class CompactDatabaseRequest.Builder

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

public static final class CompactDatabaseRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CompactDatabaseRequest.Builder> implements CompactDatabaseRequestOrBuilder
Protobuf type yamcs.protobuf.archive.CompactDatabaseRequest
  • 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<CompactDatabaseRequest.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<CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>
    • getDefaultInstanceForType

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

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

      public CompactDatabaseRequest 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<CompactDatabaseRequest.Builder>
    • setField

      public CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>
    • clearField

      public CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>
    • clearOneof

      public CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>
    • setRepeatedField

      public CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>
    • addRepeatedField

      public CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>
    • mergeFrom

      public CompactDatabaseRequest.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<CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>
    • mergeFrom

      public CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>
      Throws:
      IOException
    • hasTablespace

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

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

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

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

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

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

      public boolean hasDbpath()
      optional string dbpath = 2;
      Specified by:
      hasDbpath in interface CompactDatabaseRequestOrBuilder
      Returns:
      Whether the dbpath field is set.
    • getDbpath

      public String getDbpath()
      optional string dbpath = 2;
      Specified by:
      getDbpath in interface CompactDatabaseRequestOrBuilder
      Returns:
      The dbpath.
    • getDbpathBytes

      public com.google.protobuf.ByteString getDbpathBytes()
      optional string dbpath = 2;
      Specified by:
      getDbpathBytes in interface CompactDatabaseRequestOrBuilder
      Returns:
      The bytes for dbpath.
    • setDbpath

      public CompactDatabaseRequest.Builder setDbpath(String value)
      optional string dbpath = 2;
      Parameters:
      value - The dbpath to set.
      Returns:
      This builder for chaining.
    • clearDbpath

      public CompactDatabaseRequest.Builder clearDbpath()
      optional string dbpath = 2;
      Returns:
      This builder for chaining.
    • setDbpathBytes

      public CompactDatabaseRequest.Builder setDbpathBytes(com.google.protobuf.ByteString value)
      optional string dbpath = 2;
      Parameters:
      value - The bytes for dbpath to set.
      Returns:
      This builder for chaining.
    • hasCfname

      public boolean hasCfname()
       Column family
       Starting with Yamcs 5.9.0 the following column families are used:
       _metadata_
           Stores information about tables, partitions
       rt_data
           Stores the tm, pp and events tables
       parameter_archive
           Stores the parameter archive
       default
           Stores everything else: cmdhistory, alarms, completeness indices,
           timeline, activities, users, buckets, ...
       
      optional string cfname = 3;
      Specified by:
      hasCfname in interface CompactDatabaseRequestOrBuilder
      Returns:
      Whether the cfname field is set.
    • getCfname

      public String getCfname()
       Column family
       Starting with Yamcs 5.9.0 the following column families are used:
       _metadata_
           Stores information about tables, partitions
       rt_data
           Stores the tm, pp and events tables
       parameter_archive
           Stores the parameter archive
       default
           Stores everything else: cmdhistory, alarms, completeness indices,
           timeline, activities, users, buckets, ...
       
      optional string cfname = 3;
      Specified by:
      getCfname in interface CompactDatabaseRequestOrBuilder
      Returns:
      The cfname.
    • getCfnameBytes

      public com.google.protobuf.ByteString getCfnameBytes()
       Column family
       Starting with Yamcs 5.9.0 the following column families are used:
       _metadata_
           Stores information about tables, partitions
       rt_data
           Stores the tm, pp and events tables
       parameter_archive
           Stores the parameter archive
       default
           Stores everything else: cmdhistory, alarms, completeness indices,
           timeline, activities, users, buckets, ...
       
      optional string cfname = 3;
      Specified by:
      getCfnameBytes in interface CompactDatabaseRequestOrBuilder
      Returns:
      The bytes for cfname.
    • setCfname

      public CompactDatabaseRequest.Builder setCfname(String value)
       Column family
       Starting with Yamcs 5.9.0 the following column families are used:
       _metadata_
           Stores information about tables, partitions
       rt_data
           Stores the tm, pp and events tables
       parameter_archive
           Stores the parameter archive
       default
           Stores everything else: cmdhistory, alarms, completeness indices,
           timeline, activities, users, buckets, ...
       
      optional string cfname = 3;
      Parameters:
      value - The cfname to set.
      Returns:
      This builder for chaining.
    • clearCfname

      public CompactDatabaseRequest.Builder clearCfname()
       Column family
       Starting with Yamcs 5.9.0 the following column families are used:
       _metadata_
           Stores information about tables, partitions
       rt_data
           Stores the tm, pp and events tables
       parameter_archive
           Stores the parameter archive
       default
           Stores everything else: cmdhistory, alarms, completeness indices,
           timeline, activities, users, buckets, ...
       
      optional string cfname = 3;
      Returns:
      This builder for chaining.
    • setCfnameBytes

      public CompactDatabaseRequest.Builder setCfnameBytes(com.google.protobuf.ByteString value)
       Column family
       Starting with Yamcs 5.9.0 the following column families are used:
       _metadata_
           Stores information about tables, partitions
       rt_data
           Stores the tm, pp and events tables
       parameter_archive
           Stores the parameter archive
       default
           Stores everything else: cmdhistory, alarms, completeness indices,
           timeline, activities, users, buckets, ...
       
      optional string cfname = 3;
      Parameters:
      value - The bytes for cfname to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>
    • mergeUnknownFields

      public final CompactDatabaseRequest.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<CompactDatabaseRequest.Builder>