public static final class Protos.ContainerStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.ContainerStatus.Builder> implements Protos.ContainerStatusOrBuilder
mesos.v1.ContainerStatus
Container related information that is resolved during container setup. The information is sent back to the framework as part of the TaskStatus message.
Modifier and Type | Method and Description |
---|---|
Protos.ContainerStatus.Builder |
addAllNetworkInfos(Iterable<? extends Protos.NetworkInfo> values)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.ContainerStatus.Builder |
addNetworkInfos(int index,
Protos.NetworkInfo.Builder builderForValue)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.ContainerStatus.Builder |
addNetworkInfos(int index,
Protos.NetworkInfo value)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.ContainerStatus.Builder |
addNetworkInfos(Protos.NetworkInfo.Builder builderForValue)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.ContainerStatus.Builder |
addNetworkInfos(Protos.NetworkInfo value)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.NetworkInfo.Builder |
addNetworkInfosBuilder()
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.NetworkInfo.Builder |
addNetworkInfosBuilder(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.ContainerStatus |
build() |
Protos.ContainerStatus |
buildPartial() |
Protos.ContainerStatus.Builder |
clear() |
Protos.ContainerStatus.Builder |
clearCgroupInfo()
optional .mesos.v1.CgroupInfo cgroup_info = 2; |
Protos.ContainerStatus.Builder |
clearContainerId()
optional .mesos.v1.ContainerID container_id = 4; |
Protos.ContainerStatus.Builder |
clearExecutorPid()
optional uint32 executor_pid = 3; |
Protos.ContainerStatus.Builder |
clearNetworkInfos()
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.ContainerStatus.Builder |
clone() |
Protos.CgroupInfo |
getCgroupInfo()
optional .mesos.v1.CgroupInfo cgroup_info = 2; |
Protos.CgroupInfo.Builder |
getCgroupInfoBuilder()
optional .mesos.v1.CgroupInfo cgroup_info = 2; |
Protos.CgroupInfoOrBuilder |
getCgroupInfoOrBuilder()
optional .mesos.v1.CgroupInfo cgroup_info = 2; |
Protos.ContainerID |
getContainerId()
optional .mesos.v1.ContainerID container_id = 4; |
Protos.ContainerID.Builder |
getContainerIdBuilder()
optional .mesos.v1.ContainerID container_id = 4; |
Protos.ContainerIDOrBuilder |
getContainerIdOrBuilder()
optional .mesos.v1.ContainerID container_id = 4; |
Protos.ContainerStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getExecutorPid()
optional uint32 executor_pid = 3; |
Protos.NetworkInfo |
getNetworkInfos(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.NetworkInfo.Builder |
getNetworkInfosBuilder(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
List<Protos.NetworkInfo.Builder> |
getNetworkInfosBuilderList()
repeated .mesos.v1.NetworkInfo network_infos = 1; |
int |
getNetworkInfosCount()
repeated .mesos.v1.NetworkInfo network_infos = 1; |
List<Protos.NetworkInfo> |
getNetworkInfosList()
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.NetworkInfoOrBuilder |
getNetworkInfosOrBuilder(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
List<? extends Protos.NetworkInfoOrBuilder> |
getNetworkInfosOrBuilderList()
repeated .mesos.v1.NetworkInfo network_infos = 1; |
boolean |
hasCgroupInfo()
optional .mesos.v1.CgroupInfo cgroup_info = 2; |
boolean |
hasContainerId()
optional .mesos.v1.ContainerID container_id = 4; |
boolean |
hasExecutorPid()
optional uint32 executor_pid = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ContainerStatus.Builder |
mergeCgroupInfo(Protos.CgroupInfo value)
optional .mesos.v1.CgroupInfo cgroup_info = 2; |
Protos.ContainerStatus.Builder |
mergeContainerId(Protos.ContainerID value)
optional .mesos.v1.ContainerID container_id = 4; |
Protos.ContainerStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ContainerStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ContainerStatus.Builder |
mergeFrom(Protos.ContainerStatus other) |
Protos.ContainerStatus.Builder |
removeNetworkInfos(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.ContainerStatus.Builder |
setCgroupInfo(Protos.CgroupInfo.Builder builderForValue)
optional .mesos.v1.CgroupInfo cgroup_info = 2; |
Protos.ContainerStatus.Builder |
setCgroupInfo(Protos.CgroupInfo value)
optional .mesos.v1.CgroupInfo cgroup_info = 2; |
Protos.ContainerStatus.Builder |
setContainerId(Protos.ContainerID.Builder builderForValue)
optional .mesos.v1.ContainerID container_id = 4; |
Protos.ContainerStatus.Builder |
setContainerId(Protos.ContainerID value)
optional .mesos.v1.ContainerID container_id = 4; |
Protos.ContainerStatus.Builder |
setExecutorPid(int value)
optional uint32 executor_pid = 3; |
Protos.ContainerStatus.Builder |
setNetworkInfos(int index,
Protos.NetworkInfo.Builder builderForValue)
repeated .mesos.v1.NetworkInfo network_infos = 1; |
Protos.ContainerStatus.Builder |
setNetworkInfos(int index,
Protos.NetworkInfo value)
repeated .mesos.v1.NetworkInfo network_infos = 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.ContainerStatus.Builder>
public Protos.ContainerStatus.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.ContainerStatus.Builder>
public Protos.ContainerStatus.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.ContainerStatus.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.ContainerStatus.Builder>
public Protos.ContainerStatus getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.ContainerStatus build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.ContainerStatus buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.ContainerStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.ContainerStatus.Builder>
public Protos.ContainerStatus.Builder mergeFrom(Protos.ContainerStatus other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.ContainerStatus.Builder>
public Protos.ContainerStatus.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.ContainerStatus.Builder>
IOException
public boolean hasContainerId()
optional .mesos.v1.ContainerID container_id = 4;
hasContainerId
in interface Protos.ContainerStatusOrBuilder
public Protos.ContainerID getContainerId()
optional .mesos.v1.ContainerID container_id = 4;
getContainerId
in interface Protos.ContainerStatusOrBuilder
public Protos.ContainerStatus.Builder setContainerId(Protos.ContainerID value)
optional .mesos.v1.ContainerID container_id = 4;
public Protos.ContainerStatus.Builder setContainerId(Protos.ContainerID.Builder builderForValue)
optional .mesos.v1.ContainerID container_id = 4;
public Protos.ContainerStatus.Builder mergeContainerId(Protos.ContainerID value)
optional .mesos.v1.ContainerID container_id = 4;
public Protos.ContainerStatus.Builder clearContainerId()
optional .mesos.v1.ContainerID container_id = 4;
public Protos.ContainerID.Builder getContainerIdBuilder()
optional .mesos.v1.ContainerID container_id = 4;
public Protos.ContainerIDOrBuilder getContainerIdOrBuilder()
optional .mesos.v1.ContainerID container_id = 4;
getContainerIdOrBuilder
in interface Protos.ContainerStatusOrBuilder
public List<Protos.NetworkInfo> getNetworkInfosList()
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
getNetworkInfosList
in interface Protos.ContainerStatusOrBuilder
public int getNetworkInfosCount()
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
getNetworkInfosCount
in interface Protos.ContainerStatusOrBuilder
public Protos.NetworkInfo getNetworkInfos(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
getNetworkInfos
in interface Protos.ContainerStatusOrBuilder
public Protos.ContainerStatus.Builder setNetworkInfos(int index, Protos.NetworkInfo value)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.ContainerStatus.Builder setNetworkInfos(int index, Protos.NetworkInfo.Builder builderForValue)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.ContainerStatus.Builder addNetworkInfos(Protos.NetworkInfo value)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.ContainerStatus.Builder addNetworkInfos(int index, Protos.NetworkInfo value)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.ContainerStatus.Builder addNetworkInfos(Protos.NetworkInfo.Builder builderForValue)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.ContainerStatus.Builder addNetworkInfos(int index, Protos.NetworkInfo.Builder builderForValue)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.ContainerStatus.Builder addAllNetworkInfos(Iterable<? extends Protos.NetworkInfo> values)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.ContainerStatus.Builder clearNetworkInfos()
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.ContainerStatus.Builder removeNetworkInfos(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.NetworkInfo.Builder getNetworkInfosBuilder(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.NetworkInfoOrBuilder getNetworkInfosOrBuilder(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
getNetworkInfosOrBuilder
in interface Protos.ContainerStatusOrBuilder
public List<? extends Protos.NetworkInfoOrBuilder> getNetworkInfosOrBuilderList()
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
getNetworkInfosOrBuilderList
in interface Protos.ContainerStatusOrBuilder
public Protos.NetworkInfo.Builder addNetworkInfosBuilder()
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public Protos.NetworkInfo.Builder addNetworkInfosBuilder(int index)
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public List<Protos.NetworkInfo.Builder> getNetworkInfosBuilderList()
repeated .mesos.v1.NetworkInfo network_infos = 1;
This field can be reliably used to identify the container IP address.
public boolean hasCgroupInfo()
optional .mesos.v1.CgroupInfo cgroup_info = 2;
Information about Linux control group (cgroup).
hasCgroupInfo
in interface Protos.ContainerStatusOrBuilder
public Protos.CgroupInfo getCgroupInfo()
optional .mesos.v1.CgroupInfo cgroup_info = 2;
Information about Linux control group (cgroup).
getCgroupInfo
in interface Protos.ContainerStatusOrBuilder
public Protos.ContainerStatus.Builder setCgroupInfo(Protos.CgroupInfo value)
optional .mesos.v1.CgroupInfo cgroup_info = 2;
Information about Linux control group (cgroup).
public Protos.ContainerStatus.Builder setCgroupInfo(Protos.CgroupInfo.Builder builderForValue)
optional .mesos.v1.CgroupInfo cgroup_info = 2;
Information about Linux control group (cgroup).
public Protos.ContainerStatus.Builder mergeCgroupInfo(Protos.CgroupInfo value)
optional .mesos.v1.CgroupInfo cgroup_info = 2;
Information about Linux control group (cgroup).
public Protos.ContainerStatus.Builder clearCgroupInfo()
optional .mesos.v1.CgroupInfo cgroup_info = 2;
Information about Linux control group (cgroup).
public Protos.CgroupInfo.Builder getCgroupInfoBuilder()
optional .mesos.v1.CgroupInfo cgroup_info = 2;
Information about Linux control group (cgroup).
public Protos.CgroupInfoOrBuilder getCgroupInfoOrBuilder()
optional .mesos.v1.CgroupInfo cgroup_info = 2;
Information about Linux control group (cgroup).
getCgroupInfoOrBuilder
in interface Protos.ContainerStatusOrBuilder
public boolean hasExecutorPid()
optional uint32 executor_pid = 3;
Information about Executor PID.
hasExecutorPid
in interface Protos.ContainerStatusOrBuilder
public int getExecutorPid()
optional uint32 executor_pid = 3;
Information about Executor PID.
getExecutorPid
in interface Protos.ContainerStatusOrBuilder
public Protos.ContainerStatus.Builder setExecutorPid(int value)
optional uint32 executor_pid = 3;
Information about Executor PID.
public Protos.ContainerStatus.Builder clearExecutorPid()
optional uint32 executor_pid = 3;
Information about Executor PID.
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.