public static final class Protos.Volume.Source extends com.google.protobuf.GeneratedMessageV3 implements Protos.Volume.SourceOrBuilder
Describes where a volume originates from.Protobuf type
mesos.Volume.Source
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Volume.Source.Builder
Describes where a volume originates from.
|
static class |
Protos.Volume.Source.CSIVolume
A volume which will be handled by the `volume/csi` isolator.
|
static interface |
Protos.Volume.Source.CSIVolumeOrBuilder |
static class |
Protos.Volume.Source.DockerVolume
Protobuf type
mesos.Volume.Source.DockerVolume |
static interface |
Protos.Volume.Source.DockerVolumeOrBuilder |
static class |
Protos.Volume.Source.HostPath
Absolute path pointing to a directory or file on the host.
|
static interface |
Protos.Volume.Source.HostPathOrBuilder |
static class |
Protos.Volume.Source.SandboxPath
Describe a path from a container's sandbox.
|
static interface |
Protos.Volume.Source.SandboxPathOrBuilder |
static class |
Protos.Volume.Source.Type
Protobuf enum
mesos.Volume.Source.Type |
Modifier and Type | Field and Description |
---|---|
static int |
CSI_VOLUME_FIELD_NUMBER |
static int |
DOCKER_VOLUME_FIELD_NUMBER |
static int |
HOST_PATH_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
SANDBOX_PATH_FIELD_NUMBER |
static int |
SECRET_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.Volume.Source.CSIVolume |
getCsiVolume()
optional .mesos.Volume.Source.CSIVolume csi_volume = 6; |
Protos.Volume.Source.CSIVolumeOrBuilder |
getCsiVolumeOrBuilder()
optional .mesos.Volume.Source.CSIVolume csi_volume = 6; |
static Protos.Volume.Source |
getDefaultInstance() |
Protos.Volume.Source |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.Volume.Source.DockerVolume |
getDockerVolume()
The source of the volume created by docker volume driver.
|
Protos.Volume.Source.DockerVolumeOrBuilder |
getDockerVolumeOrBuilder()
The source of the volume created by docker volume driver.
|
Protos.Volume.Source.HostPath |
getHostPath()
optional .mesos.Volume.Source.HostPath host_path = 5; |
Protos.Volume.Source.HostPathOrBuilder |
getHostPathOrBuilder()
optional .mesos.Volume.Source.HostPath host_path = 5; |
<any> |
getParserForType() |
Protos.Volume.Source.SandboxPath |
getSandboxPath()
optional .mesos.Volume.Source.SandboxPath sandbox_path = 3; |
Protos.Volume.Source.SandboxPathOrBuilder |
getSandboxPathOrBuilder()
optional .mesos.Volume.Source.SandboxPath sandbox_path = 3; |
Protos.Secret |
getSecret()
The volume/secret isolator uses the secret-fetcher module (third-party or
internal) downloads the secret and makes it available at container_path.
|
Protos.SecretOrBuilder |
getSecretOrBuilder()
The volume/secret isolator uses the secret-fetcher module (third-party or
internal) downloads the secret and makes it available at container_path.
|
int |
getSerializedSize() |
Protos.Volume.Source.Type |
getType()
Enum fields should be optional, see: MESOS-4997.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCsiVolume()
optional .mesos.Volume.Source.CSIVolume csi_volume = 6; |
boolean |
hasDockerVolume()
The source of the volume created by docker volume driver.
|
int |
hashCode() |
boolean |
hasHostPath()
optional .mesos.Volume.Source.HostPath host_path = 5; |
boolean |
hasSandboxPath()
optional .mesos.Volume.Source.SandboxPath sandbox_path = 3; |
boolean |
hasSecret()
The volume/secret isolator uses the secret-fetcher module (third-party or
internal) downloads the secret and makes it available at container_path.
|
boolean |
hasType()
Enum fields should be optional, see: MESOS-4997.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Volume.Source.Builder |
newBuilder() |
static Protos.Volume.Source.Builder |
newBuilder(Protos.Volume.Source prototype) |
Protos.Volume.Source.Builder |
newBuilderForType() |
protected Protos.Volume.Source.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Volume.Source |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Volume.Source |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Volume.Source |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Volume.Source |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Volume.Source |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Volume.Source.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TYPE_FIELD_NUMBER
public static final int DOCKER_VOLUME_FIELD_NUMBER
public static final int HOST_PATH_FIELD_NUMBER
public static final int SANDBOX_PATH_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER
public static final int CSI_VOLUME_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 hasType()
Enum fields should be optional, see: MESOS-4997.
optional .mesos.Volume.Source.Type type = 1;
hasType
in interface Protos.Volume.SourceOrBuilder
public Protos.Volume.Source.Type getType()
Enum fields should be optional, see: MESOS-4997.
optional .mesos.Volume.Source.Type type = 1;
getType
in interface Protos.Volume.SourceOrBuilder
public boolean hasDockerVolume()
The source of the volume created by docker volume driver.
optional .mesos.Volume.Source.DockerVolume docker_volume = 2;
hasDockerVolume
in interface Protos.Volume.SourceOrBuilder
public Protos.Volume.Source.DockerVolume getDockerVolume()
The source of the volume created by docker volume driver.
optional .mesos.Volume.Source.DockerVolume docker_volume = 2;
getDockerVolume
in interface Protos.Volume.SourceOrBuilder
public Protos.Volume.Source.DockerVolumeOrBuilder getDockerVolumeOrBuilder()
The source of the volume created by docker volume driver.
optional .mesos.Volume.Source.DockerVolume docker_volume = 2;
getDockerVolumeOrBuilder
in interface Protos.Volume.SourceOrBuilder
public boolean hasHostPath()
optional .mesos.Volume.Source.HostPath host_path = 5;
hasHostPath
in interface Protos.Volume.SourceOrBuilder
public Protos.Volume.Source.HostPath getHostPath()
optional .mesos.Volume.Source.HostPath host_path = 5;
getHostPath
in interface Protos.Volume.SourceOrBuilder
public Protos.Volume.Source.HostPathOrBuilder getHostPathOrBuilder()
optional .mesos.Volume.Source.HostPath host_path = 5;
getHostPathOrBuilder
in interface Protos.Volume.SourceOrBuilder
public boolean hasSandboxPath()
optional .mesos.Volume.Source.SandboxPath sandbox_path = 3;
hasSandboxPath
in interface Protos.Volume.SourceOrBuilder
public Protos.Volume.Source.SandboxPath getSandboxPath()
optional .mesos.Volume.Source.SandboxPath sandbox_path = 3;
getSandboxPath
in interface Protos.Volume.SourceOrBuilder
public Protos.Volume.Source.SandboxPathOrBuilder getSandboxPathOrBuilder()
optional .mesos.Volume.Source.SandboxPath sandbox_path = 3;
getSandboxPathOrBuilder
in interface Protos.Volume.SourceOrBuilder
public boolean hasSecret()
The volume/secret isolator uses the secret-fetcher module (third-party or internal) downloads the secret and makes it available at container_path.
optional .mesos.Secret secret = 4;
hasSecret
in interface Protos.Volume.SourceOrBuilder
public Protos.Secret getSecret()
The volume/secret isolator uses the secret-fetcher module (third-party or internal) downloads the secret and makes it available at container_path.
optional .mesos.Secret secret = 4;
getSecret
in interface Protos.Volume.SourceOrBuilder
public Protos.SecretOrBuilder getSecretOrBuilder()
The volume/secret isolator uses the secret-fetcher module (third-party or internal) downloads the secret and makes it available at container_path.
optional .mesos.Secret secret = 4;
getSecretOrBuilder
in interface Protos.Volume.SourceOrBuilder
public boolean hasCsiVolume()
optional .mesos.Volume.Source.CSIVolume csi_volume = 6;
hasCsiVolume
in interface Protos.Volume.SourceOrBuilder
public Protos.Volume.Source.CSIVolume getCsiVolume()
optional .mesos.Volume.Source.CSIVolume csi_volume = 6;
getCsiVolume
in interface Protos.Volume.SourceOrBuilder
public Protos.Volume.Source.CSIVolumeOrBuilder getCsiVolumeOrBuilder()
optional .mesos.Volume.Source.CSIVolume csi_volume = 6;
getCsiVolumeOrBuilder
in interface Protos.Volume.SourceOrBuilder
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.Volume.Source parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Volume.Source.Builder newBuilderForType()
public static Protos.Volume.Source.Builder newBuilder()
public static Protos.Volume.Source.Builder newBuilder(Protos.Volume.Source prototype)
public Protos.Volume.Source.Builder toBuilder()
protected Protos.Volume.Source.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Volume.Source getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Volume.Source getDefaultInstanceForType()