public static final class Protos.Resource.DiskInfo.Builder extends <any> implements Protos.Resource.DiskInfoOrBuilder
mesos.Resource.DiskInfo
Modifier and Type | Method and Description |
---|---|
Protos.Resource.DiskInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Resource.DiskInfo |
build() |
Protos.Resource.DiskInfo |
buildPartial() |
Protos.Resource.DiskInfo.Builder |
clear() |
Protos.Resource.DiskInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Resource.DiskInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Resource.DiskInfo.Builder |
clearPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.Builder |
clearSource()
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Resource.DiskInfo.Builder |
clearVolume()
Describes how this disk resource will be mounted in the
container.
|
Protos.Resource.DiskInfo.Builder |
clone() |
Protos.Resource.DiskInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Resource.DiskInfo.Persistence |
getPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.Persistence.Builder |
getPersistenceBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.PersistenceOrBuilder |
getPersistenceOrBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.Source |
getSource()
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Resource.DiskInfo.Source.Builder |
getSourceBuilder()
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Resource.DiskInfo.SourceOrBuilder |
getSourceOrBuilder()
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Volume |
getVolume()
Describes how this disk resource will be mounted in the
container.
|
Protos.Volume.Builder |
getVolumeBuilder()
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.
|
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() |
Protos.Resource.DiskInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Resource.DiskInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Resource.DiskInfo.Builder |
mergePersistence(Protos.Resource.DiskInfo.Persistence value)
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.Builder |
mergeSource(Protos.Resource.DiskInfo.Source value)
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Resource.DiskInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Resource.DiskInfo.Builder |
mergeVolume(Protos.Volume value)
Describes how this disk resource will be mounted in the
container.
|
Protos.Resource.DiskInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Resource.DiskInfo.Builder |
setPersistence(Protos.Resource.DiskInfo.Persistence.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.Builder |
setPersistence(Protos.Resource.DiskInfo.Persistence value)
optional .mesos.Resource.DiskInfo.Persistence persistence = 1; |
Protos.Resource.DiskInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Resource.DiskInfo.Builder |
setSource(Protos.Resource.DiskInfo.Source.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Resource.DiskInfo.Builder |
setSource(Protos.Resource.DiskInfo.Source value)
optional .mesos.Resource.DiskInfo.Source source = 3; |
Protos.Resource.DiskInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Resource.DiskInfo.Builder |
setVolume(Protos.Volume.Builder builderForValue)
Describes how this disk resource will be mounted in the
container.
|
Protos.Resource.DiskInfo.Builder |
setVolume(Protos.Volume value)
Describes how this disk resource will be mounted in the
container.
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Resource.DiskInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Resource.DiskInfo getDefaultInstanceForType()
public Protos.Resource.DiskInfo build()
public Protos.Resource.DiskInfo buildPartial()
public Protos.Resource.DiskInfo.Builder clone()
public Protos.Resource.DiskInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Resource.DiskInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Resource.DiskInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Resource.DiskInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Resource.DiskInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Resource.DiskInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Resource.DiskInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
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.Builder setPersistence(Protos.Resource.DiskInfo.Persistence value)
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
public Protos.Resource.DiskInfo.Builder setPersistence(Protos.Resource.DiskInfo.Persistence.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
public Protos.Resource.DiskInfo.Builder mergePersistence(Protos.Resource.DiskInfo.Persistence value)
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
public Protos.Resource.DiskInfo.Builder clearPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
public Protos.Resource.DiskInfo.Persistence.Builder getPersistenceBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 1;
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.Resource.DiskInfo.Builder setVolume(Protos.Volume value)
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;
public Protos.Resource.DiskInfo.Builder setVolume(Protos.Volume.Builder builderForValue)
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;
public Protos.Resource.DiskInfo.Builder mergeVolume(Protos.Volume value)
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;
public Protos.Resource.DiskInfo.Builder clearVolume()
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;
public Protos.Volume.Builder getVolumeBuilder()
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;
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.Builder setSource(Protos.Resource.DiskInfo.Source value)
optional .mesos.Resource.DiskInfo.Source source = 3;
public Protos.Resource.DiskInfo.Builder setSource(Protos.Resource.DiskInfo.Source.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Source source = 3;
public Protos.Resource.DiskInfo.Builder mergeSource(Protos.Resource.DiskInfo.Source value)
optional .mesos.Resource.DiskInfo.Source source = 3;
public Protos.Resource.DiskInfo.Builder clearSource()
optional .mesos.Resource.DiskInfo.Source source = 3;
public Protos.Resource.DiskInfo.Source.Builder getSourceBuilder()
optional .mesos.Resource.DiskInfo.Source source = 3;
public Protos.Resource.DiskInfo.SourceOrBuilder getSourceOrBuilder()
optional .mesos.Resource.DiskInfo.Source source = 3;
getSourceOrBuilder
in interface Protos.Resource.DiskInfoOrBuilder
public final Protos.Resource.DiskInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Resource.DiskInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)