public static final class Protos.ContainerInfo.Builder extends <any> implements Protos.ContainerInfoOrBuilder
Describes a container configuration and allows extensible configurations for different container implementations. NOTE: `ContainerInfo` may be specified, e.g., by a task, even if no container image is provided. In this case neither `MesosInfo` nor `DockerInfo` is set, the required `type` must be `MESOS`. This is to address a case when a task without an image, e.g., a shell script with URIs, wants to use features originally designed for containers, for example custom network isolation via `NetworkInfo`.Protobuf type
mesos.ContainerInfo
Modifier and Type | Method and Description |
---|---|
Protos.ContainerInfo.Builder |
addAllNetworkInfos(java.lang.Iterable<? extends Protos.NetworkInfo> values)
A list of network requests.
|
Protos.ContainerInfo.Builder |
addAllVolumes(java.lang.Iterable<? extends Protos.Volume> values)
repeated .mesos.Volume volumes = 2; |
Protos.ContainerInfo.Builder |
addNetworkInfos(int index,
Protos.NetworkInfo.Builder builderForValue)
A list of network requests.
|
Protos.ContainerInfo.Builder |
addNetworkInfos(int index,
Protos.NetworkInfo value)
A list of network requests.
|
Protos.ContainerInfo.Builder |
addNetworkInfos(Protos.NetworkInfo.Builder builderForValue)
A list of network requests.
|
Protos.ContainerInfo.Builder |
addNetworkInfos(Protos.NetworkInfo value)
A list of network requests.
|
Protos.NetworkInfo.Builder |
addNetworkInfosBuilder()
A list of network requests.
|
Protos.NetworkInfo.Builder |
addNetworkInfosBuilder(int index)
A list of network requests.
|
Protos.ContainerInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ContainerInfo.Builder |
addVolumes(int index,
Protos.Volume.Builder builderForValue)
repeated .mesos.Volume volumes = 2; |
Protos.ContainerInfo.Builder |
addVolumes(int index,
Protos.Volume value)
repeated .mesos.Volume volumes = 2; |
Protos.ContainerInfo.Builder |
addVolumes(Protos.Volume.Builder builderForValue)
repeated .mesos.Volume volumes = 2; |
Protos.ContainerInfo.Builder |
addVolumes(Protos.Volume value)
repeated .mesos.Volume volumes = 2; |
Protos.Volume.Builder |
addVolumesBuilder()
repeated .mesos.Volume volumes = 2; |
Protos.Volume.Builder |
addVolumesBuilder(int index)
repeated .mesos.Volume volumes = 2; |
Protos.ContainerInfo |
build() |
Protos.ContainerInfo |
buildPartial() |
Protos.ContainerInfo.Builder |
clear() |
Protos.ContainerInfo.Builder |
clearDocker()
At most one of the following *Info messages should be set to match
the type, i.e.
|
Protos.ContainerInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ContainerInfo.Builder |
clearHostname()
optional string hostname = 4; |
Protos.ContainerInfo.Builder |
clearLinuxInfo()
Linux specific information for the container.
|
Protos.ContainerInfo.Builder |
clearMesos()
optional .mesos.ContainerInfo.MesosInfo mesos = 5; |
Protos.ContainerInfo.Builder |
clearNetworkInfos()
A list of network requests.
|
Protos.ContainerInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ContainerInfo.Builder |
clearRlimitInfo()
(POSIX only) rlimits of the container.
|
Protos.ContainerInfo.Builder |
clearTtyInfo()
If specified a tty will be attached to the container entrypoint.
|
Protos.ContainerInfo.Builder |
clearType()
required .mesos.ContainerInfo.Type type = 1; |
Protos.ContainerInfo.Builder |
clearVolumes()
repeated .mesos.Volume volumes = 2; |
Protos.ContainerInfo.Builder |
clone() |
Protos.ContainerInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.ContainerInfo.DockerInfo |
getDocker()
At most one of the following *Info messages should be set to match
the type, i.e.
|
Protos.ContainerInfo.DockerInfo.Builder |
getDockerBuilder()
At most one of the following *Info messages should be set to match
the type, i.e.
|
Protos.ContainerInfo.DockerInfoOrBuilder |
getDockerOrBuilder()
At most one of the following *Info messages should be set to match
the type, i.e.
|
java.lang.String |
getHostname()
optional string hostname = 4; |
com.google.protobuf.ByteString |
getHostnameBytes()
optional string hostname = 4; |
Protos.LinuxInfo |
getLinuxInfo()
Linux specific information for the container.
|
Protos.LinuxInfo.Builder |
getLinuxInfoBuilder()
Linux specific information for the container.
|
Protos.LinuxInfoOrBuilder |
getLinuxInfoOrBuilder()
Linux specific information for the container.
|
Protos.ContainerInfo.MesosInfo |
getMesos()
optional .mesos.ContainerInfo.MesosInfo mesos = 5; |
Protos.ContainerInfo.MesosInfo.Builder |
getMesosBuilder()
optional .mesos.ContainerInfo.MesosInfo mesos = 5; |
Protos.ContainerInfo.MesosInfoOrBuilder |
getMesosOrBuilder()
optional .mesos.ContainerInfo.MesosInfo mesos = 5; |
Protos.NetworkInfo |
getNetworkInfos(int index)
A list of network requests.
|
Protos.NetworkInfo.Builder |
getNetworkInfosBuilder(int index)
A list of network requests.
|
java.util.List<Protos.NetworkInfo.Builder> |
getNetworkInfosBuilderList()
A list of network requests.
|
int |
getNetworkInfosCount()
A list of network requests.
|
java.util.List<Protos.NetworkInfo> |
getNetworkInfosList()
A list of network requests.
|
Protos.NetworkInfoOrBuilder |
getNetworkInfosOrBuilder(int index)
A list of network requests.
|
java.util.List<? extends Protos.NetworkInfoOrBuilder> |
getNetworkInfosOrBuilderList()
A list of network requests.
|
Protos.RLimitInfo |
getRlimitInfo()
(POSIX only) rlimits of the container.
|
Protos.RLimitInfo.Builder |
getRlimitInfoBuilder()
(POSIX only) rlimits of the container.
|
Protos.RLimitInfoOrBuilder |
getRlimitInfoOrBuilder()
(POSIX only) rlimits of the container.
|
Protos.TTYInfo |
getTtyInfo()
If specified a tty will be attached to the container entrypoint.
|
Protos.TTYInfo.Builder |
getTtyInfoBuilder()
If specified a tty will be attached to the container entrypoint.
|
Protos.TTYInfoOrBuilder |
getTtyInfoOrBuilder()
If specified a tty will be attached to the container entrypoint.
|
Protos.ContainerInfo.Type |
getType()
required .mesos.ContainerInfo.Type type = 1; |
Protos.Volume |
getVolumes(int index)
repeated .mesos.Volume volumes = 2; |
Protos.Volume.Builder |
getVolumesBuilder(int index)
repeated .mesos.Volume volumes = 2; |
java.util.List<Protos.Volume.Builder> |
getVolumesBuilderList()
repeated .mesos.Volume volumes = 2; |
int |
getVolumesCount()
repeated .mesos.Volume volumes = 2; |
java.util.List<Protos.Volume> |
getVolumesList()
repeated .mesos.Volume volumes = 2; |
Protos.VolumeOrBuilder |
getVolumesOrBuilder(int index)
repeated .mesos.Volume volumes = 2; |
java.util.List<? extends Protos.VolumeOrBuilder> |
getVolumesOrBuilderList()
repeated .mesos.Volume volumes = 2; |
boolean |
hasDocker()
At most one of the following *Info messages should be set to match
the type, i.e.
|
boolean |
hasHostname()
optional string hostname = 4; |
boolean |
hasLinuxInfo()
Linux specific information for the container.
|
boolean |
hasMesos()
optional .mesos.ContainerInfo.MesosInfo mesos = 5; |
boolean |
hasRlimitInfo()
(POSIX only) rlimits of the container.
|
boolean |
hasTtyInfo()
If specified a tty will be attached to the container entrypoint.
|
boolean |
hasType()
required .mesos.ContainerInfo.Type type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ContainerInfo.Builder |
mergeDocker(Protos.ContainerInfo.DockerInfo value)
At most one of the following *Info messages should be set to match
the type, i.e.
|
Protos.ContainerInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ContainerInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ContainerInfo.Builder |
mergeLinuxInfo(Protos.LinuxInfo value)
Linux specific information for the container.
|
Protos.ContainerInfo.Builder |
mergeMesos(Protos.ContainerInfo.MesosInfo value)
optional .mesos.ContainerInfo.MesosInfo mesos = 5; |
Protos.ContainerInfo.Builder |
mergeRlimitInfo(Protos.RLimitInfo value)
(POSIX only) rlimits of the container.
|
Protos.ContainerInfo.Builder |
mergeTtyInfo(Protos.TTYInfo value)
If specified a tty will be attached to the container entrypoint.
|
Protos.ContainerInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ContainerInfo.Builder |
removeNetworkInfos(int index)
A list of network requests.
|
Protos.ContainerInfo.Builder |
removeVolumes(int index)
repeated .mesos.Volume volumes = 2; |
Protos.ContainerInfo.Builder |
setDocker(Protos.ContainerInfo.DockerInfo.Builder builderForValue)
At most one of the following *Info messages should be set to match
the type, i.e.
|
Protos.ContainerInfo.Builder |
setDocker(Protos.ContainerInfo.DockerInfo value)
At most one of the following *Info messages should be set to match
the type, i.e.
|
Protos.ContainerInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ContainerInfo.Builder |
setHostname(java.lang.String value)
optional string hostname = 4; |
Protos.ContainerInfo.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 4; |
Protos.ContainerInfo.Builder |
setLinuxInfo(Protos.LinuxInfo.Builder builderForValue)
Linux specific information for the container.
|
Protos.ContainerInfo.Builder |
setLinuxInfo(Protos.LinuxInfo value)
Linux specific information for the container.
|
Protos.ContainerInfo.Builder |
setMesos(Protos.ContainerInfo.MesosInfo.Builder builderForValue)
optional .mesos.ContainerInfo.MesosInfo mesos = 5; |
Protos.ContainerInfo.Builder |
setMesos(Protos.ContainerInfo.MesosInfo value)
optional .mesos.ContainerInfo.MesosInfo mesos = 5; |
Protos.ContainerInfo.Builder |
setNetworkInfos(int index,
Protos.NetworkInfo.Builder builderForValue)
A list of network requests.
|
Protos.ContainerInfo.Builder |
setNetworkInfos(int index,
Protos.NetworkInfo value)
A list of network requests.
|
Protos.ContainerInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ContainerInfo.Builder |
setRlimitInfo(Protos.RLimitInfo.Builder builderForValue)
(POSIX only) rlimits of the container.
|
Protos.ContainerInfo.Builder |
setRlimitInfo(Protos.RLimitInfo value)
(POSIX only) rlimits of the container.
|
Protos.ContainerInfo.Builder |
setTtyInfo(Protos.TTYInfo.Builder builderForValue)
If specified a tty will be attached to the container entrypoint.
|
Protos.ContainerInfo.Builder |
setTtyInfo(Protos.TTYInfo value)
If specified a tty will be attached to the container entrypoint.
|
Protos.ContainerInfo.Builder |
setType(Protos.ContainerInfo.Type value)
required .mesos.ContainerInfo.Type type = 1; |
Protos.ContainerInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ContainerInfo.Builder |
setVolumes(int index,
Protos.Volume.Builder builderForValue)
repeated .mesos.Volume volumes = 2; |
Protos.ContainerInfo.Builder |
setVolumes(int index,
Protos.Volume value)
repeated .mesos.Volume volumes = 2; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.ContainerInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.ContainerInfo getDefaultInstanceForType()
public Protos.ContainerInfo build()
public Protos.ContainerInfo buildPartial()
public Protos.ContainerInfo.Builder clone()
public Protos.ContainerInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ContainerInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.ContainerInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.ContainerInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.ContainerInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ContainerInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.ContainerInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasType()
required .mesos.ContainerInfo.Type type = 1;
hasType
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Type getType()
required .mesos.ContainerInfo.Type type = 1;
getType
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Builder setType(Protos.ContainerInfo.Type value)
required .mesos.ContainerInfo.Type type = 1;
public Protos.ContainerInfo.Builder clearType()
required .mesos.ContainerInfo.Type type = 1;
public java.util.List<Protos.Volume> getVolumesList()
repeated .mesos.Volume volumes = 2;
getVolumesList
in interface Protos.ContainerInfoOrBuilder
public int getVolumesCount()
repeated .mesos.Volume volumes = 2;
getVolumesCount
in interface Protos.ContainerInfoOrBuilder
public Protos.Volume getVolumes(int index)
repeated .mesos.Volume volumes = 2;
getVolumes
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Builder setVolumes(int index, Protos.Volume value)
repeated .mesos.Volume volumes = 2;
public Protos.ContainerInfo.Builder setVolumes(int index, Protos.Volume.Builder builderForValue)
repeated .mesos.Volume volumes = 2;
public Protos.ContainerInfo.Builder addVolumes(Protos.Volume value)
repeated .mesos.Volume volumes = 2;
public Protos.ContainerInfo.Builder addVolumes(int index, Protos.Volume value)
repeated .mesos.Volume volumes = 2;
public Protos.ContainerInfo.Builder addVolumes(Protos.Volume.Builder builderForValue)
repeated .mesos.Volume volumes = 2;
public Protos.ContainerInfo.Builder addVolumes(int index, Protos.Volume.Builder builderForValue)
repeated .mesos.Volume volumes = 2;
public Protos.ContainerInfo.Builder addAllVolumes(java.lang.Iterable<? extends Protos.Volume> values)
repeated .mesos.Volume volumes = 2;
public Protos.ContainerInfo.Builder clearVolumes()
repeated .mesos.Volume volumes = 2;
public Protos.ContainerInfo.Builder removeVolumes(int index)
repeated .mesos.Volume volumes = 2;
public Protos.Volume.Builder getVolumesBuilder(int index)
repeated .mesos.Volume volumes = 2;
public Protos.VolumeOrBuilder getVolumesOrBuilder(int index)
repeated .mesos.Volume volumes = 2;
getVolumesOrBuilder
in interface Protos.ContainerInfoOrBuilder
public java.util.List<? extends Protos.VolumeOrBuilder> getVolumesOrBuilderList()
repeated .mesos.Volume volumes = 2;
getVolumesOrBuilderList
in interface Protos.ContainerInfoOrBuilder
public Protos.Volume.Builder addVolumesBuilder()
repeated .mesos.Volume volumes = 2;
public Protos.Volume.Builder addVolumesBuilder(int index)
repeated .mesos.Volume volumes = 2;
public java.util.List<Protos.Volume.Builder> getVolumesBuilderList()
repeated .mesos.Volume volumes = 2;
public boolean hasHostname()
optional string hostname = 4;
hasHostname
in interface Protos.ContainerInfoOrBuilder
public java.lang.String getHostname()
optional string hostname = 4;
getHostname
in interface Protos.ContainerInfoOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
optional string hostname = 4;
getHostnameBytes
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Builder setHostname(java.lang.String value)
optional string hostname = 4;
public Protos.ContainerInfo.Builder clearHostname()
optional string hostname = 4;
public Protos.ContainerInfo.Builder setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 4;
public boolean hasDocker()
At most one of the following *Info messages should be set to match the type, i.e. the "protobuf union" in ContainerInfo should be valid.
optional .mesos.ContainerInfo.DockerInfo docker = 3;
hasDocker
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.DockerInfo getDocker()
At most one of the following *Info messages should be set to match the type, i.e. the "protobuf union" in ContainerInfo should be valid.
optional .mesos.ContainerInfo.DockerInfo docker = 3;
getDocker
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Builder setDocker(Protos.ContainerInfo.DockerInfo value)
At most one of the following *Info messages should be set to match the type, i.e. the "protobuf union" in ContainerInfo should be valid.
optional .mesos.ContainerInfo.DockerInfo docker = 3;
public Protos.ContainerInfo.Builder setDocker(Protos.ContainerInfo.DockerInfo.Builder builderForValue)
At most one of the following *Info messages should be set to match the type, i.e. the "protobuf union" in ContainerInfo should be valid.
optional .mesos.ContainerInfo.DockerInfo docker = 3;
public Protos.ContainerInfo.Builder mergeDocker(Protos.ContainerInfo.DockerInfo value)
At most one of the following *Info messages should be set to match the type, i.e. the "protobuf union" in ContainerInfo should be valid.
optional .mesos.ContainerInfo.DockerInfo docker = 3;
public Protos.ContainerInfo.Builder clearDocker()
At most one of the following *Info messages should be set to match the type, i.e. the "protobuf union" in ContainerInfo should be valid.
optional .mesos.ContainerInfo.DockerInfo docker = 3;
public Protos.ContainerInfo.DockerInfo.Builder getDockerBuilder()
At most one of the following *Info messages should be set to match the type, i.e. the "protobuf union" in ContainerInfo should be valid.
optional .mesos.ContainerInfo.DockerInfo docker = 3;
public Protos.ContainerInfo.DockerInfoOrBuilder getDockerOrBuilder()
At most one of the following *Info messages should be set to match the type, i.e. the "protobuf union" in ContainerInfo should be valid.
optional .mesos.ContainerInfo.DockerInfo docker = 3;
getDockerOrBuilder
in interface Protos.ContainerInfoOrBuilder
public boolean hasMesos()
optional .mesos.ContainerInfo.MesosInfo mesos = 5;
hasMesos
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.MesosInfo getMesos()
optional .mesos.ContainerInfo.MesosInfo mesos = 5;
getMesos
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Builder setMesos(Protos.ContainerInfo.MesosInfo value)
optional .mesos.ContainerInfo.MesosInfo mesos = 5;
public Protos.ContainerInfo.Builder setMesos(Protos.ContainerInfo.MesosInfo.Builder builderForValue)
optional .mesos.ContainerInfo.MesosInfo mesos = 5;
public Protos.ContainerInfo.Builder mergeMesos(Protos.ContainerInfo.MesosInfo value)
optional .mesos.ContainerInfo.MesosInfo mesos = 5;
public Protos.ContainerInfo.Builder clearMesos()
optional .mesos.ContainerInfo.MesosInfo mesos = 5;
public Protos.ContainerInfo.MesosInfo.Builder getMesosBuilder()
optional .mesos.ContainerInfo.MesosInfo mesos = 5;
public Protos.ContainerInfo.MesosInfoOrBuilder getMesosOrBuilder()
optional .mesos.ContainerInfo.MesosInfo mesos = 5;
getMesosOrBuilder
in interface Protos.ContainerInfoOrBuilder
public java.util.List<Protos.NetworkInfo> getNetworkInfosList()
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
getNetworkInfosList
in interface Protos.ContainerInfoOrBuilder
public int getNetworkInfosCount()
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
getNetworkInfosCount
in interface Protos.ContainerInfoOrBuilder
public Protos.NetworkInfo getNetworkInfos(int index)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
getNetworkInfos
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Builder setNetworkInfos(int index, Protos.NetworkInfo value)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.ContainerInfo.Builder setNetworkInfos(int index, Protos.NetworkInfo.Builder builderForValue)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.ContainerInfo.Builder addNetworkInfos(Protos.NetworkInfo value)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.ContainerInfo.Builder addNetworkInfos(int index, Protos.NetworkInfo value)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.ContainerInfo.Builder addNetworkInfos(Protos.NetworkInfo.Builder builderForValue)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.ContainerInfo.Builder addNetworkInfos(int index, Protos.NetworkInfo.Builder builderForValue)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.ContainerInfo.Builder addAllNetworkInfos(java.lang.Iterable<? extends Protos.NetworkInfo> values)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.ContainerInfo.Builder clearNetworkInfos()
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.ContainerInfo.Builder removeNetworkInfos(int index)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.NetworkInfo.Builder getNetworkInfosBuilder(int index)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.NetworkInfoOrBuilder getNetworkInfosOrBuilder(int index)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
getNetworkInfosOrBuilder
in interface Protos.ContainerInfoOrBuilder
public java.util.List<? extends Protos.NetworkInfoOrBuilder> getNetworkInfosOrBuilderList()
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
getNetworkInfosOrBuilderList
in interface Protos.ContainerInfoOrBuilder
public Protos.NetworkInfo.Builder addNetworkInfosBuilder()
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public Protos.NetworkInfo.Builder addNetworkInfosBuilder(int index)
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public java.util.List<Protos.NetworkInfo.Builder> getNetworkInfosBuilderList()
A list of network requests. A framework can request multiple IP addresses for the container.
repeated .mesos.NetworkInfo network_infos = 7;
public boolean hasLinuxInfo()
Linux specific information for the container.
optional .mesos.LinuxInfo linux_info = 8;
hasLinuxInfo
in interface Protos.ContainerInfoOrBuilder
public Protos.LinuxInfo getLinuxInfo()
Linux specific information for the container.
optional .mesos.LinuxInfo linux_info = 8;
getLinuxInfo
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Builder setLinuxInfo(Protos.LinuxInfo value)
Linux specific information for the container.
optional .mesos.LinuxInfo linux_info = 8;
public Protos.ContainerInfo.Builder setLinuxInfo(Protos.LinuxInfo.Builder builderForValue)
Linux specific information for the container.
optional .mesos.LinuxInfo linux_info = 8;
public Protos.ContainerInfo.Builder mergeLinuxInfo(Protos.LinuxInfo value)
Linux specific information for the container.
optional .mesos.LinuxInfo linux_info = 8;
public Protos.ContainerInfo.Builder clearLinuxInfo()
Linux specific information for the container.
optional .mesos.LinuxInfo linux_info = 8;
public Protos.LinuxInfo.Builder getLinuxInfoBuilder()
Linux specific information for the container.
optional .mesos.LinuxInfo linux_info = 8;
public Protos.LinuxInfoOrBuilder getLinuxInfoOrBuilder()
Linux specific information for the container.
optional .mesos.LinuxInfo linux_info = 8;
getLinuxInfoOrBuilder
in interface Protos.ContainerInfoOrBuilder
public boolean hasRlimitInfo()
(POSIX only) rlimits of the container.
optional .mesos.RLimitInfo rlimit_info = 9;
hasRlimitInfo
in interface Protos.ContainerInfoOrBuilder
public Protos.RLimitInfo getRlimitInfo()
(POSIX only) rlimits of the container.
optional .mesos.RLimitInfo rlimit_info = 9;
getRlimitInfo
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Builder setRlimitInfo(Protos.RLimitInfo value)
(POSIX only) rlimits of the container.
optional .mesos.RLimitInfo rlimit_info = 9;
public Protos.ContainerInfo.Builder setRlimitInfo(Protos.RLimitInfo.Builder builderForValue)
(POSIX only) rlimits of the container.
optional .mesos.RLimitInfo rlimit_info = 9;
public Protos.ContainerInfo.Builder mergeRlimitInfo(Protos.RLimitInfo value)
(POSIX only) rlimits of the container.
optional .mesos.RLimitInfo rlimit_info = 9;
public Protos.ContainerInfo.Builder clearRlimitInfo()
(POSIX only) rlimits of the container.
optional .mesos.RLimitInfo rlimit_info = 9;
public Protos.RLimitInfo.Builder getRlimitInfoBuilder()
(POSIX only) rlimits of the container.
optional .mesos.RLimitInfo rlimit_info = 9;
public Protos.RLimitInfoOrBuilder getRlimitInfoOrBuilder()
(POSIX only) rlimits of the container.
optional .mesos.RLimitInfo rlimit_info = 9;
getRlimitInfoOrBuilder
in interface Protos.ContainerInfoOrBuilder
public boolean hasTtyInfo()
If specified a tty will be attached to the container entrypoint.
optional .mesos.TTYInfo tty_info = 10;
hasTtyInfo
in interface Protos.ContainerInfoOrBuilder
public Protos.TTYInfo getTtyInfo()
If specified a tty will be attached to the container entrypoint.
optional .mesos.TTYInfo tty_info = 10;
getTtyInfo
in interface Protos.ContainerInfoOrBuilder
public Protos.ContainerInfo.Builder setTtyInfo(Protos.TTYInfo value)
If specified a tty will be attached to the container entrypoint.
optional .mesos.TTYInfo tty_info = 10;
public Protos.ContainerInfo.Builder setTtyInfo(Protos.TTYInfo.Builder builderForValue)
If specified a tty will be attached to the container entrypoint.
optional .mesos.TTYInfo tty_info = 10;
public Protos.ContainerInfo.Builder mergeTtyInfo(Protos.TTYInfo value)
If specified a tty will be attached to the container entrypoint.
optional .mesos.TTYInfo tty_info = 10;
public Protos.ContainerInfo.Builder clearTtyInfo()
If specified a tty will be attached to the container entrypoint.
optional .mesos.TTYInfo tty_info = 10;
public Protos.TTYInfo.Builder getTtyInfoBuilder()
If specified a tty will be attached to the container entrypoint.
optional .mesos.TTYInfo tty_info = 10;
public Protos.TTYInfoOrBuilder getTtyInfoOrBuilder()
If specified a tty will be attached to the container entrypoint.
optional .mesos.TTYInfo tty_info = 10;
getTtyInfoOrBuilder
in interface Protos.ContainerInfoOrBuilder
public final Protos.ContainerInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.ContainerInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)