public static final class V1.Container extends com.google.protobuf.GeneratedMessageV3 implements V1.ContainerOrBuilder
A single application container that you want to run within a pod.Protobuf type
k8s.io.api.core.v1.Container| Modifier and Type | Class and Description |
|---|---|
static class |
V1.Container.Builder
A single application container that you want to run within a pod.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARGS_FIELD_NUMBER |
static int |
COMMAND_FIELD_NUMBER |
static int |
ENV_FIELD_NUMBER |
static int |
ENVFROM_FIELD_NUMBER |
static int |
IMAGE_FIELD_NUMBER |
static int |
IMAGEPULLPOLICY_FIELD_NUMBER |
static int |
LIFECYCLE_FIELD_NUMBER |
static int |
LIVENESSPROBE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.Container> |
PARSER
Deprecated.
|
static int |
PORTS_FIELD_NUMBER |
static int |
READINESSPROBE_FIELD_NUMBER |
static int |
RESOURCES_FIELD_NUMBER |
static int |
SECURITYCONTEXT_FIELD_NUMBER |
static int |
STDIN_FIELD_NUMBER |
static int |
STDINONCE_FIELD_NUMBER |
static int |
TERMINATIONMESSAGEPATH_FIELD_NUMBER |
static int |
TERMINATIONMESSAGEPOLICY_FIELD_NUMBER |
static int |
TTY_FIELD_NUMBER |
static int |
VOLUMEDEVICES_FIELD_NUMBER |
static int |
VOLUMEMOUNTS_FIELD_NUMBER |
static int |
WORKINGDIR_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArgs(int index)
Arguments to the entrypoint.
|
com.google.protobuf.ByteString |
getArgsBytes(int index)
Arguments to the entrypoint.
|
int |
getArgsCount()
Arguments to the entrypoint.
|
com.google.protobuf.ProtocolStringList |
getArgsList()
Arguments to the entrypoint.
|
String |
getCommand(int index)
Entrypoint array.
|
com.google.protobuf.ByteString |
getCommandBytes(int index)
Entrypoint array.
|
int |
getCommandCount()
Entrypoint array.
|
com.google.protobuf.ProtocolStringList |
getCommandList()
Entrypoint array.
|
static V1.Container |
getDefaultInstance() |
V1.Container |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
V1.EnvVar |
getEnv(int index)
List of environment variables to set in the container.
|
int |
getEnvCount()
List of environment variables to set in the container.
|
V1.EnvFromSource |
getEnvFrom(int index)
List of sources to populate environment variables in the container.
|
int |
getEnvFromCount()
List of sources to populate environment variables in the container.
|
List<V1.EnvFromSource> |
getEnvFromList()
List of sources to populate environment variables in the container.
|
V1.EnvFromSourceOrBuilder |
getEnvFromOrBuilder(int index)
List of sources to populate environment variables in the container.
|
List<? extends V1.EnvFromSourceOrBuilder> |
getEnvFromOrBuilderList()
List of sources to populate environment variables in the container.
|
List<V1.EnvVar> |
getEnvList()
List of environment variables to set in the container.
|
V1.EnvVarOrBuilder |
getEnvOrBuilder(int index)
List of environment variables to set in the container.
|
List<? extends V1.EnvVarOrBuilder> |
getEnvOrBuilderList()
List of environment variables to set in the container.
|
String |
getImage()
Docker image name.
|
com.google.protobuf.ByteString |
getImageBytes()
Docker image name.
|
String |
getImagePullPolicy()
Image pull policy.
|
com.google.protobuf.ByteString |
getImagePullPolicyBytes()
Image pull policy.
|
V1.Lifecycle |
getLifecycle()
Actions that the management system should take in response to container lifecycle events.
|
V1.LifecycleOrBuilder |
getLifecycleOrBuilder()
Actions that the management system should take in response to container lifecycle events.
|
V1.Probe |
getLivenessProbe()
Periodic probe of container liveness.
|
V1.ProbeOrBuilder |
getLivenessProbeOrBuilder()
Periodic probe of container liveness.
|
String |
getName()
Name of the container specified as a DNS_LABEL.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the container specified as a DNS_LABEL.
|
com.google.protobuf.Parser<V1.Container> |
getParserForType() |
V1.ContainerPort |
getPorts(int index)
List of ports to expose from the container.
|
int |
getPortsCount()
List of ports to expose from the container.
|
List<V1.ContainerPort> |
getPortsList()
List of ports to expose from the container.
|
V1.ContainerPortOrBuilder |
getPortsOrBuilder(int index)
List of ports to expose from the container.
|
List<? extends V1.ContainerPortOrBuilder> |
getPortsOrBuilderList()
List of ports to expose from the container.
|
V1.Probe |
getReadinessProbe()
Periodic probe of container service readiness.
|
V1.ProbeOrBuilder |
getReadinessProbeOrBuilder()
Periodic probe of container service readiness.
|
V1.ResourceRequirements |
getResources()
Compute Resources required by this container.
|
V1.ResourceRequirementsOrBuilder |
getResourcesOrBuilder()
Compute Resources required by this container.
|
V1.SecurityContext |
getSecurityContext()
Security options the pod should run with.
|
V1.SecurityContextOrBuilder |
getSecurityContextOrBuilder()
Security options the pod should run with.
|
int |
getSerializedSize() |
boolean |
getStdin()
Whether this container should allocate a buffer for stdin in the container runtime.
|
boolean |
getStdinOnce()
Whether the container runtime should close the stdin channel after it has been opened by
a single attach.
|
String |
getTerminationMessagePath()
Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
|
com.google.protobuf.ByteString |
getTerminationMessagePathBytes()
Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
|
String |
getTerminationMessagePolicy()
Indicate how the termination message should be populated.
|
com.google.protobuf.ByteString |
getTerminationMessagePolicyBytes()
Indicate how the termination message should be populated.
|
boolean |
getTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
V1.VolumeDevice |
getVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container.
|
int |
getVolumeDevicesCount()
volumeDevices is the list of block devices to be used by the container.
|
List<V1.VolumeDevice> |
getVolumeDevicesList()
volumeDevices is the list of block devices to be used by the container.
|
V1.VolumeDeviceOrBuilder |
getVolumeDevicesOrBuilder(int index)
volumeDevices is the list of block devices to be used by the container.
|
List<? extends V1.VolumeDeviceOrBuilder> |
getVolumeDevicesOrBuilderList()
volumeDevices is the list of block devices to be used by the container.
|
V1.VolumeMount |
getVolumeMounts(int index)
Pod volumes to mount into the container's filesystem.
|
int |
getVolumeMountsCount()
Pod volumes to mount into the container's filesystem.
|
List<V1.VolumeMount> |
getVolumeMountsList()
Pod volumes to mount into the container's filesystem.
|
V1.VolumeMountOrBuilder |
getVolumeMountsOrBuilder(int index)
Pod volumes to mount into the container's filesystem.
|
List<? extends V1.VolumeMountOrBuilder> |
getVolumeMountsOrBuilderList()
Pod volumes to mount into the container's filesystem.
|
String |
getWorkingDir()
Container's working directory.
|
com.google.protobuf.ByteString |
getWorkingDirBytes()
Container's working directory.
|
int |
hashCode() |
boolean |
hasImage()
Docker image name.
|
boolean |
hasImagePullPolicy()
Image pull policy.
|
boolean |
hasLifecycle()
Actions that the management system should take in response to container lifecycle events.
|
boolean |
hasLivenessProbe()
Periodic probe of container liveness.
|
boolean |
hasName()
Name of the container specified as a DNS_LABEL.
|
boolean |
hasReadinessProbe()
Periodic probe of container service readiness.
|
boolean |
hasResources()
Compute Resources required by this container.
|
boolean |
hasSecurityContext()
Security options the pod should run with.
|
boolean |
hasStdin()
Whether this container should allocate a buffer for stdin in the container runtime.
|
boolean |
hasStdinOnce()
Whether the container runtime should close the stdin channel after it has been opened by
a single attach.
|
boolean |
hasTerminationMessagePath()
Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
|
boolean |
hasTerminationMessagePolicy()
Indicate how the termination message should be populated.
|
boolean |
hasTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
|
boolean |
hasWorkingDir()
Container's working directory.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.Container.Builder |
newBuilder() |
static V1.Container.Builder |
newBuilder(V1.Container prototype) |
V1.Container.Builder |
newBuilderForType() |
protected V1.Container.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.Container |
parseDelimitedFrom(InputStream input) |
static V1.Container |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Container |
parseFrom(byte[] data) |
static V1.Container |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Container |
parseFrom(ByteBuffer data) |
static V1.Container |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Container |
parseFrom(com.google.protobuf.ByteString data) |
static V1.Container |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Container |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.Container |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Container |
parseFrom(InputStream input) |
static V1.Container |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.Container> |
parser() |
V1.Container.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
public static final int WORKINGDIR_FIELD_NUMBER
public static final int PORTS_FIELD_NUMBER
public static final int ENVFROM_FIELD_NUMBER
public static final int ENV_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
public static final int VOLUMEMOUNTS_FIELD_NUMBER
public static final int VOLUMEDEVICES_FIELD_NUMBER
public static final int LIVENESSPROBE_FIELD_NUMBER
public static final int READINESSPROBE_FIELD_NUMBER
public static final int LIFECYCLE_FIELD_NUMBER
public static final int TERMINATIONMESSAGEPATH_FIELD_NUMBER
public static final int TERMINATIONMESSAGEPOLICY_FIELD_NUMBER
public static final int IMAGEPULLPOLICY_FIELD_NUMBER
public static final int SECURITYCONTEXT_FIELD_NUMBER
public static final int STDIN_FIELD_NUMBER
public static final int STDINONCE_FIELD_NUMBER
public static final int TTY_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.Container> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasName()
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
optional string name = 1;hasName in interface V1.ContainerOrBuilderpublic String getName()
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
optional string name = 1;getName in interface V1.ContainerOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
optional string name = 1;getNameBytes in interface V1.ContainerOrBuilderpublic boolean hasImage()
Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional
optional string image = 2;hasImage in interface V1.ContainerOrBuilderpublic String getImage()
Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional
optional string image = 2;getImage in interface V1.ContainerOrBuilderpublic com.google.protobuf.ByteString getImageBytes()
Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional
optional string image = 2;getImageBytes in interface V1.ContainerOrBuilderpublic com.google.protobuf.ProtocolStringList getCommandList()
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;getCommandList in interface V1.ContainerOrBuilderpublic int getCommandCount()
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;getCommandCount in interface V1.ContainerOrBuilderpublic String getCommand(int index)
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;getCommand in interface V1.ContainerOrBuilderpublic com.google.protobuf.ByteString getCommandBytes(int index)
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;getCommandBytes in interface V1.ContainerOrBuilderpublic com.google.protobuf.ProtocolStringList getArgsList()
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;getArgsList in interface V1.ContainerOrBuilderpublic int getArgsCount()
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;getArgsCount in interface V1.ContainerOrBuilderpublic String getArgs(int index)
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;getArgs in interface V1.ContainerOrBuilderpublic com.google.protobuf.ByteString getArgsBytes(int index)
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;getArgsBytes in interface V1.ContainerOrBuilderpublic boolean hasWorkingDir()
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;hasWorkingDir in interface V1.ContainerOrBuilderpublic String getWorkingDir()
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;getWorkingDir in interface V1.ContainerOrBuilderpublic com.google.protobuf.ByteString getWorkingDirBytes()
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;getWorkingDirBytes in interface V1.ContainerOrBuilderpublic List<V1.ContainerPort> getPortsList()
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;getPortsList in interface V1.ContainerOrBuilderpublic List<? extends V1.ContainerPortOrBuilder> getPortsOrBuilderList()
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;getPortsOrBuilderList in interface V1.ContainerOrBuilderpublic int getPortsCount()
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;getPortsCount in interface V1.ContainerOrBuilderpublic V1.ContainerPort getPorts(int index)
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;getPorts in interface V1.ContainerOrBuilderpublic V1.ContainerPortOrBuilder getPortsOrBuilder(int index)
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;getPortsOrBuilder in interface V1.ContainerOrBuilderpublic List<V1.EnvFromSource> getEnvFromList()
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;getEnvFromList in interface V1.ContainerOrBuilderpublic List<? extends V1.EnvFromSourceOrBuilder> getEnvFromOrBuilderList()
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;getEnvFromOrBuilderList in interface V1.ContainerOrBuilderpublic int getEnvFromCount()
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;getEnvFromCount in interface V1.ContainerOrBuilderpublic V1.EnvFromSource getEnvFrom(int index)
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;getEnvFrom in interface V1.ContainerOrBuilderpublic V1.EnvFromSourceOrBuilder getEnvFromOrBuilder(int index)
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;getEnvFromOrBuilder in interface V1.ContainerOrBuilderpublic List<V1.EnvVar> getEnvList()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;getEnvList in interface V1.ContainerOrBuilderpublic List<? extends V1.EnvVarOrBuilder> getEnvOrBuilderList()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;getEnvOrBuilderList in interface V1.ContainerOrBuilderpublic int getEnvCount()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;getEnvCount in interface V1.ContainerOrBuilderpublic V1.EnvVar getEnv(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;getEnv in interface V1.ContainerOrBuilderpublic V1.EnvVarOrBuilder getEnvOrBuilder(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;getEnvOrBuilder in interface V1.ContainerOrBuilderpublic boolean hasResources()
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;hasResources in interface V1.ContainerOrBuilderpublic V1.ResourceRequirements getResources()
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;getResources in interface V1.ContainerOrBuilderpublic V1.ResourceRequirementsOrBuilder getResourcesOrBuilder()
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;getResourcesOrBuilder in interface V1.ContainerOrBuilderpublic List<V1.VolumeMount> getVolumeMountsList()
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;getVolumeMountsList in interface V1.ContainerOrBuilderpublic List<? extends V1.VolumeMountOrBuilder> getVolumeMountsOrBuilderList()
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;getVolumeMountsOrBuilderList in interface V1.ContainerOrBuilderpublic int getVolumeMountsCount()
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;getVolumeMountsCount in interface V1.ContainerOrBuilderpublic V1.VolumeMount getVolumeMounts(int index)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;getVolumeMounts in interface V1.ContainerOrBuilderpublic V1.VolumeMountOrBuilder getVolumeMountsOrBuilder(int index)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;getVolumeMountsOrBuilder in interface V1.ContainerOrBuilderpublic List<V1.VolumeDevice> getVolumeDevicesList()
volumeDevices is the list of block devices to be used by the container. This is a beta feature. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;getVolumeDevicesList in interface V1.ContainerOrBuilderpublic List<? extends V1.VolumeDeviceOrBuilder> getVolumeDevicesOrBuilderList()
volumeDevices is the list of block devices to be used by the container. This is a beta feature. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;getVolumeDevicesOrBuilderList in interface V1.ContainerOrBuilderpublic int getVolumeDevicesCount()
volumeDevices is the list of block devices to be used by the container. This is a beta feature. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;getVolumeDevicesCount in interface V1.ContainerOrBuilderpublic V1.VolumeDevice getVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container. This is a beta feature. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;getVolumeDevices in interface V1.ContainerOrBuilderpublic V1.VolumeDeviceOrBuilder getVolumeDevicesOrBuilder(int index)
volumeDevices is the list of block devices to be used by the container. This is a beta feature. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;getVolumeDevicesOrBuilder in interface V1.ContainerOrBuilderpublic boolean hasLivenessProbe()
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;hasLivenessProbe in interface V1.ContainerOrBuilderpublic V1.Probe getLivenessProbe()
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;getLivenessProbe in interface V1.ContainerOrBuilderpublic V1.ProbeOrBuilder getLivenessProbeOrBuilder()
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;getLivenessProbeOrBuilder in interface V1.ContainerOrBuilderpublic boolean hasReadinessProbe()
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;hasReadinessProbe in interface V1.ContainerOrBuilderpublic V1.Probe getReadinessProbe()
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;getReadinessProbe in interface V1.ContainerOrBuilderpublic V1.ProbeOrBuilder getReadinessProbeOrBuilder()
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;getReadinessProbeOrBuilder in interface V1.ContainerOrBuilderpublic boolean hasLifecycle()
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;hasLifecycle in interface V1.ContainerOrBuilderpublic V1.Lifecycle getLifecycle()
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;getLifecycle in interface V1.ContainerOrBuilderpublic V1.LifecycleOrBuilder getLifecycleOrBuilder()
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;getLifecycleOrBuilder in interface V1.ContainerOrBuilderpublic boolean hasTerminationMessagePath()
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;hasTerminationMessagePath in interface V1.ContainerOrBuilderpublic String getTerminationMessagePath()
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;getTerminationMessagePath in interface V1.ContainerOrBuilderpublic com.google.protobuf.ByteString getTerminationMessagePathBytes()
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;getTerminationMessagePathBytes in interface V1.ContainerOrBuilderpublic boolean hasTerminationMessagePolicy()
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;hasTerminationMessagePolicy in interface V1.ContainerOrBuilderpublic String getTerminationMessagePolicy()
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;getTerminationMessagePolicy in interface V1.ContainerOrBuilderpublic com.google.protobuf.ByteString getTerminationMessagePolicyBytes()
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;getTerminationMessagePolicyBytes in interface V1.ContainerOrBuilderpublic boolean hasImagePullPolicy()
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;hasImagePullPolicy in interface V1.ContainerOrBuilderpublic String getImagePullPolicy()
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;getImagePullPolicy in interface V1.ContainerOrBuilderpublic com.google.protobuf.ByteString getImagePullPolicyBytes()
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;getImagePullPolicyBytes in interface V1.ContainerOrBuilderpublic boolean hasSecurityContext()
Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;hasSecurityContext in interface V1.ContainerOrBuilderpublic V1.SecurityContext getSecurityContext()
Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;getSecurityContext in interface V1.ContainerOrBuilderpublic V1.SecurityContextOrBuilder getSecurityContextOrBuilder()
Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;getSecurityContextOrBuilder in interface V1.ContainerOrBuilderpublic boolean hasStdin()
Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;hasStdin in interface V1.ContainerOrBuilderpublic boolean getStdin()
Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;getStdin in interface V1.ContainerOrBuilderpublic boolean hasStdinOnce()
Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;hasStdinOnce in interface V1.ContainerOrBuilderpublic boolean getStdinOnce()
Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;getStdinOnce in interface V1.ContainerOrBuilderpublic boolean hasTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;hasTty in interface V1.ContainerOrBuilderpublic boolean getTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;getTty in interface V1.ContainerOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.Container parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Container parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Container parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Container parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Container parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Container parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Container parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.Container parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.Container parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.Container parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.Container parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.Container parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.Container.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.Container.Builder newBuilder()
public static V1.Container.Builder newBuilder(V1.Container prototype)
public V1.Container.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.Container.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.Container getDefaultInstance()
public static com.google.protobuf.Parser<V1.Container> parser()
public com.google.protobuf.Parser<V1.Container> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.Container getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.