public static final class Protos.Resource.DiskInfo.Source.Path.Builder extends <any> implements Protos.Resource.DiskInfo.Source.PathOrBuilder
A folder that can be located on a separate disk device. This can be shared and carved up as necessary between frameworks.Protobuf type
mesos.Resource.DiskInfo.Source.Path
Modifier and Type | Method and Description |
---|---|
Protos.Resource.DiskInfo.Source.Path.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Resource.DiskInfo.Source.Path |
build() |
Protos.Resource.DiskInfo.Source.Path |
buildPartial() |
Protos.Resource.DiskInfo.Source.Path.Builder |
clear() |
Protos.Resource.DiskInfo.Source.Path.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Resource.DiskInfo.Source.Path.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Resource.DiskInfo.Source.Path.Builder |
clearRoot()
Path to the folder (e.g., /mnt/raid/disk0).
|
Protos.Resource.DiskInfo.Source.Path.Builder |
clone() |
Protos.Resource.DiskInfo.Source.Path |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getRoot()
Path to the folder (e.g., /mnt/raid/disk0).
|
com.google.protobuf.ByteString |
getRootBytes()
Path to the folder (e.g., /mnt/raid/disk0).
|
boolean |
hasRoot()
Path to the folder (e.g., /mnt/raid/disk0).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Resource.DiskInfo.Source.Path.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Resource.DiskInfo.Source.Path.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Resource.DiskInfo.Source.Path.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Resource.DiskInfo.Source.Path.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Resource.DiskInfo.Source.Path.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Resource.DiskInfo.Source.Path.Builder |
setRoot(java.lang.String value)
Path to the folder (e.g., /mnt/raid/disk0).
|
Protos.Resource.DiskInfo.Source.Path.Builder |
setRootBytes(com.google.protobuf.ByteString value)
Path to the folder (e.g., /mnt/raid/disk0).
|
Protos.Resource.DiskInfo.Source.Path.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.Path.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Resource.DiskInfo.Source.Path getDefaultInstanceForType()
public Protos.Resource.DiskInfo.Source.Path build()
public Protos.Resource.DiskInfo.Source.Path buildPartial()
public Protos.Resource.DiskInfo.Source.Path.Builder clone()
public Protos.Resource.DiskInfo.Source.Path.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Resource.DiskInfo.Source.Path.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Resource.DiskInfo.Source.Path.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Resource.DiskInfo.Source.Path.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Resource.DiskInfo.Source.Path.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Resource.DiskInfo.Source.Path.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Resource.DiskInfo.Source.Path.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasRoot()
Path to the folder (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.PathOrBuilder
public java.lang.String getRoot()
Path to the folder (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.PathOrBuilder
public com.google.protobuf.ByteString getRootBytes()
Path to the folder (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.PathOrBuilder
public Protos.Resource.DiskInfo.Source.Path.Builder setRoot(java.lang.String value)
Path to the folder (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.Path.Builder clearRoot()
Path to the folder (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.Path.Builder setRootBytes(com.google.protobuf.ByteString value)
Path to the folder (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.Path.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Resource.DiskInfo.Source.Path.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)