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.yamcsManagement.RootDirectory-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Root directory location.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRoot directory location.com.google.protobuf.ByteStringRoot directory location.longSize in bytes of the file store where this root directory is located.getType()The type of the file store where this root directory is located.com.google.protobuf.ByteStringThe type of the file store where this root directory is located.longNumber of unallocated bytes in the file store where this root directory is located.longNumber of bytes available to Yamcs on the file store where this root directory is located.booleanRoot directory location.booleanSize in bytes of the file store where this root directory is located.booleanhasType()The type of the file store where this root directory is located.booleanNumber of unallocated bytes in the file store where this root directory is located.booleanNumber of bytes available to Yamcs on the file store where this root directory is located.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RootDirectory other) final RootDirectory.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDirectory(String value) Root directory location.setDirectoryBytes(com.google.protobuf.ByteString value) Root directory location.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTotalSpace(long value) 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.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.final RootDirectory.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
setField
public RootDirectory.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
setRepeatedField
public RootDirectory.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
addRepeatedField
public RootDirectory.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RootDirectory.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RootDirectory.Builder>- Throws:
IOException
-
hasDirectory
public boolean hasDirectory()Root directory location.
optional string directory = 1;- Specified by:
hasDirectoryin interfaceRootDirectoryOrBuilder- Returns:
- Whether the directory field is set.
-
getDirectory
Root directory location.
optional string directory = 1;- Specified by:
getDirectoryin interfaceRootDirectoryOrBuilder- Returns:
- The directory.
-
getDirectoryBytes
public com.google.protobuf.ByteString getDirectoryBytes()Root directory location.
optional string directory = 1;- Specified by:
getDirectoryBytesin interfaceRootDirectoryOrBuilder- Returns:
- The bytes for directory.
-
setDirectory
Root directory location.
optional string directory = 1;- Parameters:
value- The directory to set.- Returns:
- This builder for chaining.
-
clearDirectory
Root directory location.
optional string directory = 1;- Returns:
- This builder for chaining.
-
setDirectoryBytes
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:
hasTypein interfaceRootDirectoryOrBuilder- Returns:
- Whether the type field is set.
-
getType
The type of the file store where this root directory is located.
optional string type = 2;- Specified by:
getTypein interfaceRootDirectoryOrBuilder- 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:
getTypeBytesin interfaceRootDirectoryOrBuilder- Returns:
- The bytes for type.
-
setType
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
The type of the file store where this root directory is located.
optional string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
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:
hasTotalSpacein interfaceRootDirectoryOrBuilder- 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:
getTotalSpacein interfaceRootDirectoryOrBuilder- Returns:
- The totalSpace.
-
setTotalSpace
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
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:
hasUnallocatedSpacein interfaceRootDirectoryOrBuilder- 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:
getUnallocatedSpacein interfaceRootDirectoryOrBuilder- Returns:
- The unallocatedSpace.
-
setUnallocatedSpace
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
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:
hasUsableSpacein interfaceRootDirectoryOrBuilder- 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:
getUsableSpacein interfaceRootDirectoryOrBuilder- Returns:
- The usableSpace.
-
setUsableSpace
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
mergeUnknownFields
public final RootDirectory.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-