public static final class Protos.Volume.Source.SandboxPath.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.Volume.Source.SandboxPath.Builder> implements Protos.Volume.Source.SandboxPathOrBuilder
mesos.v1.Volume.Source.SandboxPath
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.
Modifier and Type | Method and Description |
---|---|
Protos.Volume.Source.SandboxPath |
build() |
Protos.Volume.Source.SandboxPath |
buildPartial() |
Protos.Volume.Source.SandboxPath.Builder |
clear() |
Protos.Volume.Source.SandboxPath.Builder |
clearPath()
required string path = 2; |
Protos.Volume.Source.SandboxPath.Builder |
clearType()
optional .mesos.v1.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() |
String |
getPath()
required string path = 2; |
com.google.protobuf.ByteString |
getPathBytes()
required string path = 2; |
Protos.Volume.Source.SandboxPath.Type |
getType()
optional .mesos.v1.Volume.Source.SandboxPath.Type type = 1; |
boolean |
hasPath()
required string path = 2; |
boolean |
hasType()
optional .mesos.v1.Volume.Source.SandboxPath.Type type = 1; |
protected com.google.protobuf.GeneratedMessage.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 |
mergeFrom(Protos.Volume.Source.SandboxPath other) |
Protos.Volume.Source.SandboxPath.Builder |
setPath(String value)
required string path = 2; |
Protos.Volume.Source.SandboxPath.Builder |
setPathBytes(com.google.protobuf.ByteString value)
required string path = 2; |
Protos.Volume.Source.SandboxPath.Builder |
setType(Protos.Volume.Source.SandboxPath.Type value)
optional .mesos.v1.Volume.Source.SandboxPath.Type type = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Volume.Source.SandboxPath.Builder>
public Protos.Volume.Source.SandboxPath.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Volume.Source.SandboxPath.Builder>
public Protos.Volume.Source.SandboxPath.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Volume.Source.SandboxPath.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Volume.Source.SandboxPath.Builder>
public Protos.Volume.Source.SandboxPath getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.Volume.Source.SandboxPath build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.Volume.Source.SandboxPath buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.Volume.Source.SandboxPath.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Volume.Source.SandboxPath.Builder>
public Protos.Volume.Source.SandboxPath.Builder mergeFrom(Protos.Volume.Source.SandboxPath other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Volume.Source.SandboxPath.Builder>
public Protos.Volume.Source.SandboxPath.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Volume.Source.SandboxPath.Builder>
IOException
public boolean hasType()
optional .mesos.v1.Volume.Source.SandboxPath.Type type = 1;
hasType
in interface Protos.Volume.Source.SandboxPathOrBuilder
public Protos.Volume.Source.SandboxPath.Type getType()
optional .mesos.v1.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.v1.Volume.Source.SandboxPath.Type type = 1;
public Protos.Volume.Source.SandboxPath.Builder clearType()
optional .mesos.v1.Volume.Source.SandboxPath.Type type = 1;
public boolean hasPath()
required string path = 2;
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
hasPath
in interface Protos.Volume.Source.SandboxPathOrBuilder
public String getPath()
required string path = 2;
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
getPath
in interface Protos.Volume.Source.SandboxPathOrBuilder
public com.google.protobuf.ByteString getPathBytes()
required string path = 2;
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
getPathBytes
in interface Protos.Volume.Source.SandboxPathOrBuilder
public Protos.Volume.Source.SandboxPath.Builder setPath(String value)
required string path = 2;
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
public Protos.Volume.Source.SandboxPath.Builder clearPath()
required string path = 2;
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
public Protos.Volume.Source.SandboxPath.Builder setPathBytes(com.google.protobuf.ByteString value)
required string path = 2;
A path relative to the corresponding container's sandbox. Note that upwards traversal (i.e. ../../abc) is not allowed.
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.