public static final class Protos.Resource.DiskInfo extends com.google.protobuf.GeneratedMessageV3 implements Protos.Resource.DiskInfoOrBuilder
mesos.Resource.DiskInfo
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Resource.DiskInfo.Builder
Protobuf type
mesos.Resource.DiskInfo |
static class |
Protos.Resource.DiskInfo.Persistence
Describes a persistent disk volume.
|
static interface |
Protos.Resource.DiskInfo.PersistenceOrBuilder |
static class |
Protos.Resource.DiskInfo.Source
Describes where a disk originates from.
|
static interface |
Protos.Resource.DiskInfo.SourceOrBuilder |
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
PERSISTENCE_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
VOLUME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Resource.DiskInfo |
getDefaultInstance() |
Protos.Resource.DiskInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
Protos.Resource.DiskInfo.Persistence |
getPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.PersistenceOrBuilder |
getPersistenceOrBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
int |
getSerializedSize() |
Protos.Resource.DiskInfo.Source |
getSource()
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Resource.DiskInfo.SourceOrBuilder |
getSourceOrBuilder()
optional .mesos.Resource.DiskInfo.Source source = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Protos.Volume |
getVolume()
Describes how this disk resource will be mounted in the
container.
|
Protos.VolumeOrBuilder |
getVolumeOrBuilder()
Describes how this disk resource will be mounted in the
container.
|
int |
hashCode() |
boolean |
hasPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
boolean |
hasSource()
optional .mesos.Resource.DiskInfo.Source source = 3; |
boolean |
hasVolume()
Describes how this disk resource will be mounted in the
container.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Resource.DiskInfo.Builder |
newBuilder() |
static Protos.Resource.DiskInfo.Builder |
newBuilder(Protos.Resource.DiskInfo prototype) |
Protos.Resource.DiskInfo.Builder |
newBuilderForType() |
protected Protos.Resource.DiskInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Resource.DiskInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Resource.DiskInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Resource.DiskInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Resource.DiskInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Resource.DiskInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Resource.DiskInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int PERSISTENCE_FIELD_NUMBER
public static final int VOLUME_FIELD_NUMBER
public static final int SOURCE_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 hasPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
hasPersistence
in interface Protos.Resource.DiskInfoOrBuilder
public Protos.Resource.DiskInfo.Persistence getPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
getPersistence
in interface Protos.Resource.DiskInfoOrBuilder
public Protos.Resource.DiskInfo.PersistenceOrBuilder getPersistenceOrBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
getPersistenceOrBuilder
in interface Protos.Resource.DiskInfoOrBuilder
public boolean hasVolume()
Describes how this disk resource will be mounted in the container. If not set, the disk resource will be used as the sandbox. Otherwise, it will be mounted according to the 'container_path' inside 'volume'. The 'host_path' inside 'volume' is ignored. NOTE: If 'volume' is set but 'persistence' is not set, the volume will be automatically garbage collected after task/executor terminates. Currently, if 'persistence' is set, 'volume' must be set.
optional .mesos.Volume volume = 2;
hasVolume
in interface Protos.Resource.DiskInfoOrBuilder
public Protos.Volume getVolume()
Describes how this disk resource will be mounted in the container. If not set, the disk resource will be used as the sandbox. Otherwise, it will be mounted according to the 'container_path' inside 'volume'. The 'host_path' inside 'volume' is ignored. NOTE: If 'volume' is set but 'persistence' is not set, the volume will be automatically garbage collected after task/executor terminates. Currently, if 'persistence' is set, 'volume' must be set.
optional .mesos.Volume volume = 2;
getVolume
in interface Protos.Resource.DiskInfoOrBuilder
public Protos.VolumeOrBuilder getVolumeOrBuilder()
Describes how this disk resource will be mounted in the container. If not set, the disk resource will be used as the sandbox. Otherwise, it will be mounted according to the 'container_path' inside 'volume'. The 'host_path' inside 'volume' is ignored. NOTE: If 'volume' is set but 'persistence' is not set, the volume will be automatically garbage collected after task/executor terminates. Currently, if 'persistence' is set, 'volume' must be set.
optional .mesos.Volume volume = 2;
getVolumeOrBuilder
in interface Protos.Resource.DiskInfoOrBuilder
public boolean hasSource()
optional .mesos.Resource.DiskInfo.Source source = 3;
hasSource
in interface Protos.Resource.DiskInfoOrBuilder
public Protos.Resource.DiskInfo.Source getSource()
optional .mesos.Resource.DiskInfo.Source source = 3;
getSource
in interface Protos.Resource.DiskInfoOrBuilder
public Protos.Resource.DiskInfo.SourceOrBuilder getSourceOrBuilder()
optional .mesos.Resource.DiskInfo.Source source = 3;
getSourceOrBuilder
in interface Protos.Resource.DiskInfoOrBuilder
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 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource.DiskInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource.DiskInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource.DiskInfo 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 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource.DiskInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Resource.DiskInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Resource.DiskInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Resource.DiskInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Resource.DiskInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Resource.DiskInfo.Builder newBuilderForType()
public static Protos.Resource.DiskInfo.Builder newBuilder()
public static Protos.Resource.DiskInfo.Builder newBuilder(Protos.Resource.DiskInfo prototype)
public Protos.Resource.DiskInfo.Builder toBuilder()
protected Protos.Resource.DiskInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Resource.DiskInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Resource.DiskInfo getDefaultInstanceForType()