Package org.yamcs.protobuf
Class RootDirectory.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 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.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.getType()
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
hasType()
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.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(RootDirectory other) final RootDirectory.Builder
mergeUnknownFields
(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.Builder
setUnknownFields
(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
setField
public RootDirectory.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
addRepeatedField
public RootDirectory.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RootDirectory.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RootDirectory.Builder>
- Throws:
IOException
-
hasDirectory
public boolean hasDirectory()Root directory location.
optional string directory = 1;
- Specified by:
hasDirectory
in interfaceRootDirectoryOrBuilder
- Returns:
- Whether the directory field is set.
-
getDirectory
Root directory location.
optional string directory = 1;
- Specified by:
getDirectory
in interfaceRootDirectoryOrBuilder
- Returns:
- The directory.
-
getDirectoryBytes
public com.google.protobuf.ByteString getDirectoryBytes()Root directory location.
optional string directory = 1;
- Specified by:
getDirectoryBytes
in 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:
hasType
in 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:
getType
in 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:
getTypeBytes
in 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:
hasTotalSpace
in 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:
getTotalSpace
in 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:
hasUnallocatedSpace
in 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:
getUnallocatedSpace
in 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:
hasUsableSpace
in 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:
getUsableSpace
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-
mergeUnknownFields
public final RootDirectory.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RootDirectory.Builder>
-