public static final class Protos.Resource.DiskInfo.Source.Mount extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Protos.Resource.DiskInfo.Source.Mount.Builder
A mounted file-system set up by the Agent administrator.
|
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
ROOT_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Resource.DiskInfo.Source.Mount |
getDefaultInstance() |
Protos.Resource.DiskInfo.Source.Mount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
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).
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasRoot()
Path to mount point (e.g., /mnt/raid/disk0).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Resource.DiskInfo.Source.Mount.Builder |
newBuilder() |
static Protos.Resource.DiskInfo.Source.Mount.Builder |
newBuilder(Protos.Resource.DiskInfo.Source.Mount prototype) |
Protos.Resource.DiskInfo.Source.Mount.Builder |
newBuilderForType() |
protected Protos.Resource.DiskInfo.Source.Mount.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Resource.DiskInfo.Source.Mount |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Resource.DiskInfo.Source.Mount |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source.Mount |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source.Mount |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Resource.DiskInfo.Source.Mount |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source.Mount |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Resource.DiskInfo.Source.Mount |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source.Mount |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Resource.DiskInfo.Source.Mount |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source.Mount |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Resource.DiskInfo.Source.Mount.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int ROOT_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Resource.DiskInfo.Source.Mount parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource.DiskInfo.Source.Mount parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource.DiskInfo.Source.Mount parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource.DiskInfo.Source.Mount parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource.DiskInfo.Source.Mount parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource.DiskInfo.Source.Mount parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Resource.DiskInfo.Source.Mount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Resource.DiskInfo.Source.Mount parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Resource.DiskInfo.Source.Mount parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Resource.DiskInfo.Source.Mount parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Resource.DiskInfo.Source.Mount.Builder newBuilderForType()
public static Protos.Resource.DiskInfo.Source.Mount.Builder newBuilder()
public static Protos.Resource.DiskInfo.Source.Mount.Builder newBuilder(Protos.Resource.DiskInfo.Source.Mount prototype)
public Protos.Resource.DiskInfo.Source.Mount.Builder toBuilder()
protected Protos.Resource.DiskInfo.Source.Mount.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Resource.DiskInfo.Source.Mount getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Resource.DiskInfo.Source.Mount getDefaultInstanceForType()