Class RootDirectory.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RootDirectory.Builder>
com.google.protobuf.GeneratedMessage.Builder<RootDirectory.Builder>
org.yamcs.protobuf.RootDirectory.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, RootDirectoryOrBuilder
Enclosing class:
RootDirectory

public static final class RootDirectory.Builder extends com.google.protobuf.GeneratedMessage.Builder<RootDirectory.Builder> implements RootDirectoryOrBuilder
Protobuf type yamcs.protobuf.server.RootDirectory
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Root directory location.
    Size in bytes of the file store where this root directory is located.
    The type of the file store where this root directory is located.
    Number of unallocated bytes in the file store where this root directory is located.
    Number of bytes available to Yamcs on the file store where this root directory is located.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Root directory location.
    com.google.protobuf.ByteString
    Root directory location.
    long
    Size in bytes of the file store where this root directory is located.
    The type of the file store where this root directory is located.
    com.google.protobuf.ByteString
    The type of the file store where this root directory is located.
    long
    Number of unallocated bytes in the file store where this root directory is located.
    long
    Number of bytes available to Yamcs on the file store where this root directory is located.
    boolean
    Root directory location.
    boolean
    Size in bytes of the file store where this root directory is located.
    boolean
    The type of the file store where this root directory is located.
    boolean
    Number of unallocated bytes in the file store where this root directory is located.
    boolean
    Number of bytes available to Yamcs on the file store where this root directory is located.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    Root directory location.
    setDirectoryBytes(com.google.protobuf.ByteString value)
    Root directory location.
    setTotalSpace(long value)
    Size in bytes of the file store where this root directory is located.
    setType(String value)
    The type of the file store where this root directory is located.
    setTypeBytes(com.google.protobuf.ByteString value)
    The type of the file store where this root directory is located.
    setUnallocatedSpace(long value)
    Number of unallocated bytes in the file store where this root directory is located.
    setUsableSpace(long value)
    Number of bytes available to Yamcs on the file store where this root directory is located.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RootDirectory.Builder>
    • clear

      public RootDirectory.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.GeneratedMessage.Builder<RootDirectory.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.GeneratedMessage.Builder<RootDirectory.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public RootDirectory.Builder mergeFrom(RootDirectory other)
    • isInitialized

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

      public RootDirectory.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<RootDirectory.Builder>
      Throws:
      IOException
    • hasDirectory

      public boolean hasDirectory()
       Root directory location.
       
      optional string directory = 1;
      Specified by:
      hasDirectory in interface RootDirectoryOrBuilder
      Returns:
      Whether the directory field is set.
    • getDirectory

      public String getDirectory()
       Root directory location.
       
      optional string directory = 1;
      Specified by:
      getDirectory in interface RootDirectoryOrBuilder
      Returns:
      The directory.
    • getDirectoryBytes

      public com.google.protobuf.ByteString getDirectoryBytes()
       Root directory location.
       
      optional string directory = 1;
      Specified by:
      getDirectoryBytes in interface RootDirectoryOrBuilder
      Returns:
      The bytes for directory.
    • setDirectory

      public RootDirectory.Builder setDirectory(String value)
       Root directory location.
       
      optional string directory = 1;
      Parameters:
      value - The directory to set.
      Returns:
      This builder for chaining.
    • clearDirectory

      public RootDirectory.Builder clearDirectory()
       Root directory location.
       
      optional string directory = 1;
      Returns:
      This builder for chaining.
    • setDirectoryBytes

      public RootDirectory.Builder setDirectoryBytes(com.google.protobuf.ByteString value)
       Root directory location.
       
      optional string directory = 1;
      Parameters:
      value - The bytes for directory to set.
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
       The type of the file store where this root directory is located.
       
      optional string type = 2;
      Specified by:
      hasType in interface RootDirectoryOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       The type of the file store where this root directory is located.
       
      optional string type = 2;
      Specified by:
      getType in interface RootDirectoryOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The type of the file store where this root directory is located.
       
      optional string type = 2;
      Specified by:
      getTypeBytes in interface RootDirectoryOrBuilder
      Returns:
      The bytes for type.
    • setType

      public RootDirectory.Builder setType(String value)
       The type of the file store where this root directory is located.
       
      optional string type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public RootDirectory.Builder clearType()
       The type of the file store where this root directory is located.
       
      optional string type = 2;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public RootDirectory.Builder setTypeBytes(com.google.protobuf.ByteString value)
       The type of the file store where this root directory is located.
       
      optional string type = 2;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • hasTotalSpace

      public boolean hasTotalSpace()
       Size in bytes of the file store where this root directory is located.
       
      optional int64 totalSpace = 3;
      Specified by:
      hasTotalSpace in interface RootDirectoryOrBuilder
      Returns:
      Whether the totalSpace field is set.
    • getTotalSpace

      public long getTotalSpace()
       Size in bytes of the file store where this root directory is located.
       
      optional int64 totalSpace = 3;
      Specified by:
      getTotalSpace in interface RootDirectoryOrBuilder
      Returns:
      The totalSpace.
    • setTotalSpace

      public RootDirectory.Builder setTotalSpace(long value)
       Size in bytes of the file store where this root directory is located.
       
      optional int64 totalSpace = 3;
      Parameters:
      value - The totalSpace to set.
      Returns:
      This builder for chaining.
    • clearTotalSpace

      public RootDirectory.Builder clearTotalSpace()
       Size in bytes of the file store where this root directory is located.
       
      optional int64 totalSpace = 3;
      Returns:
      This builder for chaining.
    • hasUnallocatedSpace

      public boolean hasUnallocatedSpace()
       Number of unallocated bytes in the file store where this root directory
       is located.
       
      optional int64 unallocatedSpace = 4;
      Specified by:
      hasUnallocatedSpace in interface RootDirectoryOrBuilder
      Returns:
      Whether the unallocatedSpace field is set.
    • getUnallocatedSpace

      public long getUnallocatedSpace()
       Number of unallocated bytes in the file store where this root directory
       is located.
       
      optional int64 unallocatedSpace = 4;
      Specified by:
      getUnallocatedSpace in interface RootDirectoryOrBuilder
      Returns:
      The unallocatedSpace.
    • setUnallocatedSpace

      public RootDirectory.Builder setUnallocatedSpace(long value)
       Number of unallocated bytes in the file store where this root directory
       is located.
       
      optional int64 unallocatedSpace = 4;
      Parameters:
      value - The unallocatedSpace to set.
      Returns:
      This builder for chaining.
    • clearUnallocatedSpace

      public RootDirectory.Builder clearUnallocatedSpace()
       Number of unallocated bytes in the file store where this root directory
       is located.
       
      optional int64 unallocatedSpace = 4;
      Returns:
      This builder for chaining.
    • hasUsableSpace

      public boolean hasUsableSpace()
       Number of bytes available to Yamcs on the file store where this root
       directory is located.
       
      optional int64 usableSpace = 5;
      Specified by:
      hasUsableSpace in interface RootDirectoryOrBuilder
      Returns:
      Whether the usableSpace field is set.
    • getUsableSpace

      public long getUsableSpace()
       Number of bytes available to Yamcs on the file store where this root
       directory is located.
       
      optional int64 usableSpace = 5;
      Specified by:
      getUsableSpace in interface RootDirectoryOrBuilder
      Returns:
      The usableSpace.
    • setUsableSpace

      public RootDirectory.Builder setUsableSpace(long value)
       Number of bytes available to Yamcs on the file store where this root
       directory is located.
       
      optional int64 usableSpace = 5;
      Parameters:
      value - The usableSpace to set.
      Returns:
      This builder for chaining.
    • clearUsableSpace

      public RootDirectory.Builder clearUsableSpace()
       Number of bytes available to Yamcs on the file store where this root
       directory is located.
       
      optional int64 usableSpace = 5;
      Returns:
      This builder for chaining.