Class RootDirectory.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RootDirectory.Builder> implements RootDirectoryOrBuilder
Protobuf type yamcs.protobuf.server.RootDirectory
  • 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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
    • clone

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

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

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

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

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

      public RootDirectory.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<RootDirectory.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.GeneratedMessageV3.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.
    • setUnknownFields

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

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