public static final class Protos.Resource.DiskInfo.Source.Mount.Builder extends <any> implements Protos.Resource.DiskInfo.Source.MountOrBuilder
A mounted file-system set up by the Agent administrator. This can only be used exclusively: a framework cannot accept a partial amount of this disk.Protobuf type
mesos.Resource.DiskInfo.Source.Mount
Modifier and Type | Method and Description |
---|---|
Protos.Resource.DiskInfo.Source.Mount.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Resource.DiskInfo.Source.Mount |
build() |
Protos.Resource.DiskInfo.Source.Mount |
buildPartial() |
Protos.Resource.DiskInfo.Source.Mount.Builder |
clear() |
Protos.Resource.DiskInfo.Source.Mount.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Resource.DiskInfo.Source.Mount.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Resource.DiskInfo.Source.Mount.Builder |
clearRoot()
Path to mount point (e.g., /mnt/raid/disk0).
|
Protos.Resource.DiskInfo.Source.Mount.Builder |
clone() |
Protos.Resource.DiskInfo.Source.Mount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getRoot()
Path to mount point (e.g., /mnt/raid/disk0).
|
com.google.protobuf.ByteString |
getRootBytes()
Path to mount point (e.g., /mnt/raid/disk0).
|
boolean |
hasRoot()
Path to mount point (e.g., /mnt/raid/disk0).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Resource.DiskInfo.Source.Mount.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Resource.DiskInfo.Source.Mount.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Resource.DiskInfo.Source.Mount.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Resource.DiskInfo.Source.Mount.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Resource.DiskInfo.Source.Mount.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Resource.DiskInfo.Source.Mount.Builder |
setRoot(java.lang.String value)
Path to mount point (e.g., /mnt/raid/disk0).
|
Protos.Resource.DiskInfo.Source.Mount.Builder |
setRootBytes(com.google.protobuf.ByteString value)
Path to mount point (e.g., /mnt/raid/disk0).
|
Protos.Resource.DiskInfo.Source.Mount.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Resource.DiskInfo.Source.Mount.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Resource.DiskInfo.Source.Mount getDefaultInstanceForType()
public Protos.Resource.DiskInfo.Source.Mount build()
public Protos.Resource.DiskInfo.Source.Mount buildPartial()
public Protos.Resource.DiskInfo.Source.Mount.Builder clone()
public Protos.Resource.DiskInfo.Source.Mount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Resource.DiskInfo.Source.Mount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Resource.DiskInfo.Source.Mount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Resource.DiskInfo.Source.Mount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Resource.DiskInfo.Source.Mount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Resource.DiskInfo.Source.Mount.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Resource.DiskInfo.Source.Mount.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasRoot()
Path to mount point (e.g., /mnt/raid/disk0). If the path is a relative path, it is relative to the agent work directory.
optional string root = 1;
hasRoot
in interface Protos.Resource.DiskInfo.Source.MountOrBuilder
public java.lang.String getRoot()
Path to mount point (e.g., /mnt/raid/disk0). If the path is a relative path, it is relative to the agent work directory.
optional string root = 1;
getRoot
in interface Protos.Resource.DiskInfo.Source.MountOrBuilder
public com.google.protobuf.ByteString getRootBytes()
Path to mount point (e.g., /mnt/raid/disk0). If the path is a relative path, it is relative to the agent work directory.
optional string root = 1;
getRootBytes
in interface Protos.Resource.DiskInfo.Source.MountOrBuilder
public Protos.Resource.DiskInfo.Source.Mount.Builder setRoot(java.lang.String value)
Path to mount point (e.g., /mnt/raid/disk0). If the path is a relative path, it is relative to the agent work directory.
optional string root = 1;
public Protos.Resource.DiskInfo.Source.Mount.Builder clearRoot()
Path to mount point (e.g., /mnt/raid/disk0). If the path is a relative path, it is relative to the agent work directory.
optional string root = 1;
public Protos.Resource.DiskInfo.Source.Mount.Builder setRootBytes(com.google.protobuf.ByteString value)
Path to mount point (e.g., /mnt/raid/disk0). If the path is a relative path, it is relative to the agent work directory.
optional string root = 1;
public final Protos.Resource.DiskInfo.Source.Mount.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Resource.DiskInfo.Source.Mount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)