public static final class Protos.Volume.Source.SandboxPath extends com.google.protobuf.GeneratedMessageV3 implements Protos.Volume.Source.SandboxPathOrBuilder
Describe a path from a container's sandbox. The container can be the current container (SELF), or its parent container (PARENT). PARENT allows all child containers to share a volume from their parent container's sandbox. It'll be an error if the current container is a top level container.Protobuf type
mesos.Volume.Source.SandboxPath
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Volume.Source.SandboxPath.Builder
Describe a path from a container's sandbox.
|
static class |
Protos.Volume.Source.SandboxPath.Type
Protobuf enum
mesos.Volume.Source.SandboxPath.Type |
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
PATH_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Volume.Source.SandboxPath |
getDefaultInstance() |
Protos.Volume.Source.SandboxPath |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
java.lang.String |
getPath()
A path relative to the corresponding container's sandbox.
|
com.google.protobuf.ByteString |
getPathBytes()
A path relative to the corresponding container's sandbox.
|
int |
getSerializedSize() |
Protos.Volume.Source.SandboxPath.Type |
getType()
optional .mesos.Volume.Source.SandboxPath.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPath()
A path relative to the corresponding container's sandbox.
|
boolean |
hasType()
optional .mesos.Volume.Source.SandboxPath.Type type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Volume.Source.SandboxPath.Builder |
newBuilder() |
static Protos.Volume.Source.SandboxPath.Builder |
newBuilder(Protos.Volume.Source.SandboxPath prototype) |
Protos.Volume.Source.SandboxPath.Builder |
newBuilderForType() |
protected Protos.Volume.Source.SandboxPath.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Volume.Source.SandboxPath |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Volume.Source.SandboxPath |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.SandboxPath |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.SandboxPath |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Volume.Source.SandboxPath |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.SandboxPath |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Volume.Source.SandboxPath |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.SandboxPath |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Volume.Source.SandboxPath |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.SandboxPath |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Volume.Source.SandboxPath.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TYPE_FIELD_NUMBER
public static final int PATH_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()
optional .mesos.Volume.Source.SandboxPath.Type type = 1;
hasType
in interface Protos.Volume.Source.SandboxPathOrBuilder
public Protos.Volume.Source.SandboxPath.Type getType()
optional .mesos.Volume.Source.SandboxPath.Type type = 1;
getType
in interface Protos.Volume.Source.SandboxPathOrBuilder
public boolean hasPath()
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
required string path = 2;
hasPath
in interface Protos.Volume.Source.SandboxPathOrBuilder
public java.lang.String getPath()
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
required string path = 2;
getPath
in interface Protos.Volume.Source.SandboxPathOrBuilder
public com.google.protobuf.ByteString getPathBytes()
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
required string path = 2;
getPathBytes
in interface Protos.Volume.Source.SandboxPathOrBuilder
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.SandboxPath parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.SandboxPath parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.SandboxPath parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.SandboxPath 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.SandboxPath parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.SandboxPath parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.SandboxPath parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.SandboxPath parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.SandboxPath parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.SandboxPath parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Volume.Source.SandboxPath.Builder newBuilderForType()
public static Protos.Volume.Source.SandboxPath.Builder newBuilder()
public static Protos.Volume.Source.SandboxPath.Builder newBuilder(Protos.Volume.Source.SandboxPath prototype)
public Protos.Volume.Source.SandboxPath.Builder toBuilder()
protected Protos.Volume.Source.SandboxPath.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Volume.Source.SandboxPath getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Volume.Source.SandboxPath getDefaultInstanceForType()