public static final class Protos.Volume.Source.SandboxPath.Builder extends <any> 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 | Method and Description |
---|---|
Protos.Volume.Source.SandboxPath.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Volume.Source.SandboxPath |
build() |
Protos.Volume.Source.SandboxPath |
buildPartial() |
Protos.Volume.Source.SandboxPath.Builder |
clear() |
Protos.Volume.Source.SandboxPath.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Volume.Source.SandboxPath.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Volume.Source.SandboxPath.Builder |
clearPath()
A path relative to the corresponding container's sandbox.
|
Protos.Volume.Source.SandboxPath.Builder |
clearType()
optional .mesos.Volume.Source.SandboxPath.Type type = 1; |
Protos.Volume.Source.SandboxPath.Builder |
clone() |
Protos.Volume.Source.SandboxPath |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Protos.Volume.Source.SandboxPath.Type |
getType()
optional .mesos.Volume.Source.SandboxPath.Type type = 1; |
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() |
Protos.Volume.Source.SandboxPath.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Volume.Source.SandboxPath.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Volume.Source.SandboxPath.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Volume.Source.SandboxPath.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Volume.Source.SandboxPath.Builder |
setPath(java.lang.String value)
A path relative to the corresponding container's sandbox.
|
Protos.Volume.Source.SandboxPath.Builder |
setPathBytes(com.google.protobuf.ByteString value)
A path relative to the corresponding container's sandbox.
|
Protos.Volume.Source.SandboxPath.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Volume.Source.SandboxPath.Builder |
setType(Protos.Volume.Source.SandboxPath.Type value)
optional .mesos.Volume.Source.SandboxPath.Type type = 1; |
Protos.Volume.Source.SandboxPath.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Volume.Source.SandboxPath.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Volume.Source.SandboxPath getDefaultInstanceForType()
public Protos.Volume.Source.SandboxPath build()
public Protos.Volume.Source.SandboxPath buildPartial()
public Protos.Volume.Source.SandboxPath.Builder clone()
public Protos.Volume.Source.SandboxPath.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Volume.Source.SandboxPath.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Volume.Source.SandboxPath.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Volume.Source.SandboxPath.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Volume.Source.SandboxPath.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Volume.Source.SandboxPath.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Volume.Source.SandboxPath.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
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 Protos.Volume.Source.SandboxPath.Builder setType(Protos.Volume.Source.SandboxPath.Type value)
optional .mesos.Volume.Source.SandboxPath.Type type = 1;
public Protos.Volume.Source.SandboxPath.Builder clearType()
optional .mesos.Volume.Source.SandboxPath.Type type = 1;
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 Protos.Volume.Source.SandboxPath.Builder setPath(java.lang.String value)
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
required string path = 2;
public Protos.Volume.Source.SandboxPath.Builder clearPath()
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
required string path = 2;
public Protos.Volume.Source.SandboxPath.Builder setPathBytes(com.google.protobuf.ByteString value)
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
required string path = 2;
public final Protos.Volume.Source.SandboxPath.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Volume.Source.SandboxPath.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)