public static final class V1.Container.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder> 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 | Method and Description |
---|---|
V1.Container.Builder |
addAllArgs(Iterable<String> values)
Arguments to the entrypoint.
|
V1.Container.Builder |
addAllCommand(Iterable<String> values)
Entrypoint array.
|
V1.Container.Builder |
addAllEnv(Iterable<? extends V1.EnvVar> values)
List of environment variables to set in the container.
|
V1.Container.Builder |
addAllEnvFrom(Iterable<? extends V1.EnvFromSource> values)
List of sources to populate environment variables in the container.
|
V1.Container.Builder |
addAllPorts(Iterable<? extends V1.ContainerPort> values)
List of ports to expose from the container.
|
V1.Container.Builder |
addAllVolumeDevices(Iterable<? extends V1.VolumeDevice> values)
volumeDevices is the list of block devices to be used by the container.
|
V1.Container.Builder |
addAllVolumeMounts(Iterable<? extends V1.VolumeMount> values)
Pod volumes to mount into the container's filesystem.
|
V1.Container.Builder |
addArgs(String value)
Arguments to the entrypoint.
|
V1.Container.Builder |
addArgsBytes(com.google.protobuf.ByteString value)
Arguments to the entrypoint.
|
V1.Container.Builder |
addCommand(String value)
Entrypoint array.
|
V1.Container.Builder |
addCommandBytes(com.google.protobuf.ByteString value)
Entrypoint array.
|
V1.Container.Builder |
addEnv(int index,
V1.EnvVar.Builder builderForValue)
List of environment variables to set in the container.
|
V1.Container.Builder |
addEnv(int index,
V1.EnvVar value)
List of environment variables to set in the container.
|
V1.Container.Builder |
addEnv(V1.EnvVar.Builder builderForValue)
List of environment variables to set in the container.
|
V1.Container.Builder |
addEnv(V1.EnvVar value)
List of environment variables to set in the container.
|
V1.EnvVar.Builder |
addEnvBuilder()
List of environment variables to set in the container.
|
V1.EnvVar.Builder |
addEnvBuilder(int index)
List of environment variables to set in the container.
|
V1.Container.Builder |
addEnvFrom(int index,
V1.EnvFromSource.Builder builderForValue)
List of sources to populate environment variables in the container.
|
V1.Container.Builder |
addEnvFrom(int index,
V1.EnvFromSource value)
List of sources to populate environment variables in the container.
|
V1.Container.Builder |
addEnvFrom(V1.EnvFromSource.Builder builderForValue)
List of sources to populate environment variables in the container.
|
V1.Container.Builder |
addEnvFrom(V1.EnvFromSource value)
List of sources to populate environment variables in the container.
|
V1.EnvFromSource.Builder |
addEnvFromBuilder()
List of sources to populate environment variables in the container.
|
V1.EnvFromSource.Builder |
addEnvFromBuilder(int index)
List of sources to populate environment variables in the container.
|
V1.Container.Builder |
addPorts(int index,
V1.ContainerPort.Builder builderForValue)
List of ports to expose from the container.
|
V1.Container.Builder |
addPorts(int index,
V1.ContainerPort value)
List of ports to expose from the container.
|
V1.Container.Builder |
addPorts(V1.ContainerPort.Builder builderForValue)
List of ports to expose from the container.
|
V1.Container.Builder |
addPorts(V1.ContainerPort value)
List of ports to expose from the container.
|
V1.ContainerPort.Builder |
addPortsBuilder()
List of ports to expose from the container.
|
V1.ContainerPort.Builder |
addPortsBuilder(int index)
List of ports to expose from the container.
|
V1.Container.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.Container.Builder |
addVolumeDevices(int index,
V1.VolumeDevice.Builder builderForValue)
volumeDevices is the list of block devices to be used by the container.
|
V1.Container.Builder |
addVolumeDevices(int index,
V1.VolumeDevice value)
volumeDevices is the list of block devices to be used by the container.
|
V1.Container.Builder |
addVolumeDevices(V1.VolumeDevice.Builder builderForValue)
volumeDevices is the list of block devices to be used by the container.
|
V1.Container.Builder |
addVolumeDevices(V1.VolumeDevice value)
volumeDevices is the list of block devices to be used by the container.
|
V1.VolumeDevice.Builder |
addVolumeDevicesBuilder()
volumeDevices is the list of block devices to be used by the container.
|
V1.VolumeDevice.Builder |
addVolumeDevicesBuilder(int index)
volumeDevices is the list of block devices to be used by the container.
|
V1.Container.Builder |
addVolumeMounts(int index,
V1.VolumeMount.Builder builderForValue)
Pod volumes to mount into the container's filesystem.
|
V1.Container.Builder |
addVolumeMounts(int index,
V1.VolumeMount value)
Pod volumes to mount into the container's filesystem.
|
V1.Container.Builder |
addVolumeMounts(V1.VolumeMount.Builder builderForValue)
Pod volumes to mount into the container's filesystem.
|
V1.Container.Builder |
addVolumeMounts(V1.VolumeMount value)
Pod volumes to mount into the container's filesystem.
|
V1.VolumeMount.Builder |
addVolumeMountsBuilder()
Pod volumes to mount into the container's filesystem.
|
V1.VolumeMount.Builder |
addVolumeMountsBuilder(int index)
Pod volumes to mount into the container's filesystem.
|
V1.Container |
build() |
V1.Container |
buildPartial() |
V1.Container.Builder |
clear() |
V1.Container.Builder |
clearArgs()
Arguments to the entrypoint.
|
V1.Container.Builder |
clearCommand()
Entrypoint array.
|
V1.Container.Builder |
clearEnv()
List of environment variables to set in the container.
|
V1.Container.Builder |
clearEnvFrom()
List of sources to populate environment variables in the container.
|
V1.Container.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.Container.Builder |
clearImage()
Docker image name.
|
V1.Container.Builder |
clearImagePullPolicy()
Image pull policy.
|
V1.Container.Builder |
clearLifecycle()
Actions that the management system should take in response to container lifecycle events.
|
V1.Container.Builder |
clearLivenessProbe()
Periodic probe of container liveness.
|
V1.Container.Builder |
clearName()
Name of the container specified as a DNS_LABEL.
|
V1.Container.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.Container.Builder |
clearPorts()
List of ports to expose from the container.
|
V1.Container.Builder |
clearReadinessProbe()
Periodic probe of container service readiness.
|
V1.Container.Builder |
clearResources()
Compute Resources required by this container.
|
V1.Container.Builder |
clearSecurityContext()
SecurityContext defines the security options the container should be run with.
|
V1.Container.Builder |
clearStartupProbe()
StartupProbe indicates that the Pod has successfully initialized.
|
V1.Container.Builder |
clearStdin()
Whether this container should allocate a buffer for stdin in the container runtime.
|
V1.Container.Builder |
clearStdinOnce()
Whether the container runtime should close the stdin channel after it has been opened by
a single attach.
|
V1.Container.Builder |
clearTerminationMessagePath()
Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
|
V1.Container.Builder |
clearTerminationMessagePolicy()
Indicate how the termination message should be populated.
|
V1.Container.Builder |
clearTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
|
V1.Container.Builder |
clearVolumeDevices()
volumeDevices is the list of block devices to be used by the container.
|
V1.Container.Builder |
clearVolumeMounts()
Pod volumes to mount into the container's filesystem.
|
V1.Container.Builder |
clearWorkingDir()
Container's working directory.
|
V1.Container.Builder |
clone() |
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.
|
V1.Container |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1.EnvVar |
getEnv(int index)
List of environment variables to set in the container.
|
V1.EnvVar.Builder |
getEnvBuilder(int index)
List of environment variables to set in the container.
|
List<V1.EnvVar.Builder> |
getEnvBuilderList()
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.
|
V1.EnvFromSource.Builder |
getEnvFromBuilder(int index)
List of sources to populate environment variables in the container.
|
List<V1.EnvFromSource.Builder> |
getEnvFromBuilderList()
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.Lifecycle.Builder |
getLifecycleBuilder()
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.Probe.Builder |
getLivenessProbeBuilder()
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.
|
V1.ContainerPort |
getPorts(int index)
List of ports to expose from the container.
|
V1.ContainerPort.Builder |
getPortsBuilder(int index)
List of ports to expose from the container.
|
List<V1.ContainerPort.Builder> |
getPortsBuilderList()
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.Probe.Builder |
getReadinessProbeBuilder()
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.ResourceRequirements.Builder |
getResourcesBuilder()
Compute Resources required by this container.
|
V1.ResourceRequirementsOrBuilder |
getResourcesOrBuilder()
Compute Resources required by this container.
|
V1.SecurityContext |
getSecurityContext()
SecurityContext defines the security options the container should be run with.
|
V1.SecurityContext.Builder |
getSecurityContextBuilder()
SecurityContext defines the security options the container should be run with.
|
V1.SecurityContextOrBuilder |
getSecurityContextOrBuilder()
SecurityContext defines the security options the container should be run with.
|
V1.Probe |
getStartupProbe()
StartupProbe indicates that the Pod has successfully initialized.
|
V1.Probe.Builder |
getStartupProbeBuilder()
StartupProbe indicates that the Pod has successfully initialized.
|
V1.ProbeOrBuilder |
getStartupProbeOrBuilder()
StartupProbe indicates that the Pod has successfully initialized.
|
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.
|
V1.VolumeDevice |
getVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container.
|
V1.VolumeDevice.Builder |
getVolumeDevicesBuilder(int index)
volumeDevices is the list of block devices to be used by the container.
|
List<V1.VolumeDevice.Builder> |
getVolumeDevicesBuilderList()
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.
|
V1.VolumeMount.Builder |
getVolumeMountsBuilder(int index)
Pod volumes to mount into the container's filesystem.
|
List<V1.VolumeMount.Builder> |
getVolumeMountsBuilderList()
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.
|
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()
SecurityContext defines the security options the container should be run with.
|
boolean |
hasStartupProbe()
StartupProbe indicates that the Pod has successfully initialized.
|
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() |
V1.Container.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.Container.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.Container.Builder |
mergeFrom(V1.Container other) |
V1.Container.Builder |
mergeLifecycle(V1.Lifecycle value)
Actions that the management system should take in response to container lifecycle events.
|
V1.Container.Builder |
mergeLivenessProbe(V1.Probe value)
Periodic probe of container liveness.
|
V1.Container.Builder |
mergeReadinessProbe(V1.Probe value)
Periodic probe of container service readiness.
|
V1.Container.Builder |
mergeResources(V1.ResourceRequirements value)
Compute Resources required by this container.
|
V1.Container.Builder |
mergeSecurityContext(V1.SecurityContext value)
SecurityContext defines the security options the container should be run with.
|
V1.Container.Builder |
mergeStartupProbe(V1.Probe value)
StartupProbe indicates that the Pod has successfully initialized.
|
V1.Container.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.Container.Builder |
removeEnv(int index)
List of environment variables to set in the container.
|
V1.Container.Builder |
removeEnvFrom(int index)
List of sources to populate environment variables in the container.
|
V1.Container.Builder |
removePorts(int index)
List of ports to expose from the container.
|
V1.Container.Builder |
removeVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container.
|
V1.Container.Builder |
removeVolumeMounts(int index)
Pod volumes to mount into the container's filesystem.
|
V1.Container.Builder |
setArgs(int index,
String value)
Arguments to the entrypoint.
|
V1.Container.Builder |
setCommand(int index,
String value)
Entrypoint array.
|
V1.Container.Builder |
setEnv(int index,
V1.EnvVar.Builder builderForValue)
List of environment variables to set in the container.
|
V1.Container.Builder |
setEnv(int index,
V1.EnvVar value)
List of environment variables to set in the container.
|
V1.Container.Builder |
setEnvFrom(int index,
V1.EnvFromSource.Builder builderForValue)
List of sources to populate environment variables in the container.
|
V1.Container.Builder |
setEnvFrom(int index,
V1.EnvFromSource value)
List of sources to populate environment variables in the container.
|
V1.Container.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.Container.Builder |
setImage(String value)
Docker image name.
|
V1.Container.Builder |
setImageBytes(com.google.protobuf.ByteString value)
Docker image name.
|
V1.Container.Builder |
setImagePullPolicy(String value)
Image pull policy.
|
V1.Container.Builder |
setImagePullPolicyBytes(com.google.protobuf.ByteString value)
Image pull policy.
|
V1.Container.Builder |
setLifecycle(V1.Lifecycle.Builder builderForValue)
Actions that the management system should take in response to container lifecycle events.
|
V1.Container.Builder |
setLifecycle(V1.Lifecycle value)
Actions that the management system should take in response to container lifecycle events.
|
V1.Container.Builder |
setLivenessProbe(V1.Probe.Builder builderForValue)
Periodic probe of container liveness.
|
V1.Container.Builder |
setLivenessProbe(V1.Probe value)
Periodic probe of container liveness.
|
V1.Container.Builder |
setName(String value)
Name of the container specified as a DNS_LABEL.
|
V1.Container.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the container specified as a DNS_LABEL.
|
V1.Container.Builder |
setPorts(int index,
V1.ContainerPort.Builder builderForValue)
List of ports to expose from the container.
|
V1.Container.Builder |
setPorts(int index,
V1.ContainerPort value)
List of ports to expose from the container.
|
V1.Container.Builder |
setReadinessProbe(V1.Probe.Builder builderForValue)
Periodic probe of container service readiness.
|
V1.Container.Builder |
setReadinessProbe(V1.Probe value)
Periodic probe of container service readiness.
|
V1.Container.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.Container.Builder |
setResources(V1.ResourceRequirements.Builder builderForValue)
Compute Resources required by this container.
|
V1.Container.Builder |
setResources(V1.ResourceRequirements value)
Compute Resources required by this container.
|
V1.Container.Builder |
setSecurityContext(V1.SecurityContext.Builder builderForValue)
SecurityContext defines the security options the container should be run with.
|
V1.Container.Builder |
setSecurityContext(V1.SecurityContext value)
SecurityContext defines the security options the container should be run with.
|
V1.Container.Builder |
setStartupProbe(V1.Probe.Builder builderForValue)
StartupProbe indicates that the Pod has successfully initialized.
|
V1.Container.Builder |
setStartupProbe(V1.Probe value)
StartupProbe indicates that the Pod has successfully initialized.
|
V1.Container.Builder |
setStdin(boolean value)
Whether this container should allocate a buffer for stdin in the container runtime.
|
V1.Container.Builder |
setStdinOnce(boolean value)
Whether the container runtime should close the stdin channel after it has been opened by
a single attach.
|
V1.Container.Builder |
setTerminationMessagePath(String value)
Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
|
V1.Container.Builder |
setTerminationMessagePathBytes(com.google.protobuf.ByteString value)
Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
|
V1.Container.Builder |
setTerminationMessagePolicy(String value)
Indicate how the termination message should be populated.
|
V1.Container.Builder |
setTerminationMessagePolicyBytes(com.google.protobuf.ByteString value)
Indicate how the termination message should be populated.
|
V1.Container.Builder |
setTty(boolean value)
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
|
V1.Container.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.Container.Builder |
setVolumeDevices(int index,
V1.VolumeDevice.Builder builderForValue)
volumeDevices is the list of block devices to be used by the container.
|
V1.Container.Builder |
setVolumeDevices(int index,
V1.VolumeDevice value)
volumeDevices is the list of block devices to be used by the container.
|
V1.Container.Builder |
setVolumeMounts(int index,
V1.VolumeMount.Builder builderForValue)
Pod volumes to mount into the container's filesystem.
|
V1.Container.Builder |
setVolumeMounts(int index,
V1.VolumeMount value)
Pod volumes to mount into the container's filesystem.
|
V1.Container.Builder |
setWorkingDir(String value)
Container's working directory.
|
V1.Container.Builder |
setWorkingDirBytes(com.google.protobuf.ByteString value)
Container's working directory.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
public V1.Container.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.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.GeneratedMessageV3.Builder<V1.Container.Builder>
public V1.Container getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1.Container build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1.Container buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1.Container.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
public V1.Container.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
public V1.Container.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
public V1.Container.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
public V1.Container.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
public V1.Container.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
public V1.Container.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1.Container.Builder>
public V1.Container.Builder mergeFrom(V1.Container other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
public V1.Container.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<V1.Container.Builder>
IOException
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setName(String value)
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;
public V1.Container.Builder clearName()
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;
public V1.Container.Builder setNameBytes(com.google.protobuf.ByteString value)
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setImage(String value)
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;
public V1.Container.Builder clearImage()
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;
public V1.Container.Builder setImageBytes(com.google.protobuf.ByteString value)
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;
public 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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.ContainerOrBuilder
public 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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.ContainerOrBuilder
public 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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.ContainerOrBuilder
public 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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.ContainerOrBuilder
public V1.Container.Builder setCommand(int index, String value)
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public V1.Container.Builder addCommand(String value)
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public V1.Container.Builder addAllCommand(Iterable<String> values)
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public V1.Container.Builder clearCommand()
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public V1.Container.Builder addCommandBytes(com.google.protobuf.ByteString value)
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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.ContainerOrBuilder
public 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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.ContainerOrBuilder
public 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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.ContainerOrBuilder
public 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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.ContainerOrBuilder
public V1.Container.Builder setArgs(int index, String value)
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public V1.Container.Builder addArgs(String value)
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public V1.Container.Builder addAllArgs(Iterable<String> values)
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public V1.Container.Builder clearArgs()
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public V1.Container.Builder addArgsBytes(com.google.protobuf.ByteString value)
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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setWorkingDir(String value)
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;
public V1.Container.Builder clearWorkingDir()
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;
public V1.Container.Builder setWorkingDirBytes(com.google.protobuf.ByteString value)
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setPorts(int index, V1.ContainerPort value)
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;
public V1.Container.Builder setPorts(int index, V1.ContainerPort.Builder builderForValue)
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;
public V1.Container.Builder addPorts(V1.ContainerPort value)
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;
public V1.Container.Builder addPorts(int index, V1.ContainerPort value)
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;
public V1.Container.Builder addPorts(V1.ContainerPort.Builder builderForValue)
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;
public V1.Container.Builder addPorts(int index, V1.ContainerPort.Builder builderForValue)
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;
public V1.Container.Builder addAllPorts(Iterable<? extends V1.ContainerPort> values)
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;
public V1.Container.Builder clearPorts()
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;
public V1.Container.Builder removePorts(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;
public V1.ContainerPort.Builder getPortsBuilder(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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.ContainerPort.Builder addPortsBuilder()
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;
public V1.ContainerPort.Builder addPortsBuilder(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;
public List<V1.ContainerPort.Builder> getPortsBuilderList()
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setEnvFrom(int index, V1.EnvFromSource value)
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;
public V1.Container.Builder setEnvFrom(int index, V1.EnvFromSource.Builder builderForValue)
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;
public V1.Container.Builder addEnvFrom(V1.EnvFromSource value)
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;
public V1.Container.Builder addEnvFrom(int index, V1.EnvFromSource value)
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;
public V1.Container.Builder addEnvFrom(V1.EnvFromSource.Builder builderForValue)
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;
public V1.Container.Builder addEnvFrom(int index, V1.EnvFromSource.Builder builderForValue)
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;
public V1.Container.Builder addAllEnvFrom(Iterable<? extends V1.EnvFromSource> values)
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;
public V1.Container.Builder clearEnvFrom()
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;
public V1.Container.Builder removeEnvFrom(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;
public V1.EnvFromSource.Builder getEnvFromBuilder(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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.EnvFromSource.Builder addEnvFromBuilder()
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;
public V1.EnvFromSource.Builder addEnvFromBuilder(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;
public List<V1.EnvFromSource.Builder> getEnvFromBuilderList()
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setEnv(int index, V1.EnvVar value)
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;
public V1.Container.Builder setEnv(int index, V1.EnvVar.Builder builderForValue)
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;
public V1.Container.Builder addEnv(V1.EnvVar value)
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;
public V1.Container.Builder addEnv(int index, V1.EnvVar value)
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;
public V1.Container.Builder addEnv(V1.EnvVar.Builder builderForValue)
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;
public V1.Container.Builder addEnv(int index, V1.EnvVar.Builder builderForValue)
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;
public V1.Container.Builder addAllEnv(Iterable<? extends V1.EnvVar> values)
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;
public V1.Container.Builder clearEnv()
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;
public V1.Container.Builder removeEnv(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;
public V1.EnvVar.Builder getEnvBuilder(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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.EnvVar.Builder addEnvBuilder()
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;
public V1.EnvVar.Builder addEnvBuilder(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;
public List<V1.EnvVar.Builder> getEnvBuilderList()
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;
public boolean hasResources()
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
hasResources
in interface V1.ContainerOrBuilder
public V1.ResourceRequirements getResources()
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
getResources
in interface V1.ContainerOrBuilder
public V1.Container.Builder setResources(V1.ResourceRequirements value)
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
public V1.Container.Builder setResources(V1.ResourceRequirements.Builder builderForValue)
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
public V1.Container.Builder mergeResources(V1.ResourceRequirements value)
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
public V1.Container.Builder clearResources()
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
public V1.ResourceRequirements.Builder getResourcesBuilder()
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
public V1.ResourceRequirementsOrBuilder getResourcesOrBuilder()
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
getResourcesOrBuilder
in interface V1.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setVolumeMounts(int index, V1.VolumeMount value)
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;
public V1.Container.Builder setVolumeMounts(int index, V1.VolumeMount.Builder builderForValue)
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;
public V1.Container.Builder addVolumeMounts(V1.VolumeMount value)
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;
public V1.Container.Builder addVolumeMounts(int index, V1.VolumeMount value)
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;
public V1.Container.Builder addVolumeMounts(V1.VolumeMount.Builder builderForValue)
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;
public V1.Container.Builder addVolumeMounts(int index, V1.VolumeMount.Builder builderForValue)
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;
public V1.Container.Builder addAllVolumeMounts(Iterable<? extends V1.VolumeMount> values)
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;
public V1.Container.Builder clearVolumeMounts()
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;
public V1.Container.Builder removeVolumeMounts(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;
public V1.VolumeMount.Builder getVolumeMountsBuilder(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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.VolumeMount.Builder addVolumeMountsBuilder()
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;
public V1.VolumeMount.Builder addVolumeMountsBuilder(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;
public List<V1.VolumeMount.Builder> getVolumeMountsBuilderList()
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;
public List<V1.VolumeDevice> getVolumeDevicesList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
getVolumeDevicesList
in interface V1.ContainerOrBuilder
public int getVolumeDevicesCount()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
getVolumeDevicesCount
in interface V1.ContainerOrBuilder
public V1.VolumeDevice getVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
getVolumeDevices
in interface V1.ContainerOrBuilder
public V1.Container.Builder setVolumeDevices(int index, V1.VolumeDevice value)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.Container.Builder setVolumeDevices(int index, V1.VolumeDevice.Builder builderForValue)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.Container.Builder addVolumeDevices(V1.VolumeDevice value)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.Container.Builder addVolumeDevices(int index, V1.VolumeDevice value)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.Container.Builder addVolumeDevices(V1.VolumeDevice.Builder builderForValue)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.Container.Builder addVolumeDevices(int index, V1.VolumeDevice.Builder builderForValue)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.Container.Builder addAllVolumeDevices(Iterable<? extends V1.VolumeDevice> values)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.Container.Builder clearVolumeDevices()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.Container.Builder removeVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.VolumeDevice.Builder getVolumeDevicesBuilder(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.VolumeDeviceOrBuilder getVolumeDevicesOrBuilder(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
getVolumeDevicesOrBuilder
in interface V1.ContainerOrBuilder
public List<? extends V1.VolumeDeviceOrBuilder> getVolumeDevicesOrBuilderList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
getVolumeDevicesOrBuilderList
in interface V1.ContainerOrBuilder
public V1.VolumeDevice.Builder addVolumeDevicesBuilder()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public V1.VolumeDevice.Builder addVolumeDevicesBuilder(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public List<V1.VolumeDevice.Builder> getVolumeDevicesBuilderList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setLivenessProbe(V1.Probe value)
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;
public V1.Container.Builder setLivenessProbe(V1.Probe.Builder builderForValue)
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;
public V1.Container.Builder mergeLivenessProbe(V1.Probe value)
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;
public V1.Container.Builder clearLivenessProbe()
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;
public V1.Probe.Builder getLivenessProbeBuilder()
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setReadinessProbe(V1.Probe value)
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;
public V1.Container.Builder setReadinessProbe(V1.Probe.Builder builderForValue)
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;
public V1.Container.Builder mergeReadinessProbe(V1.Probe value)
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;
public V1.Container.Builder clearReadinessProbe()
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;
public V1.Probe.Builder getReadinessProbeBuilder()
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;
public 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.ContainerOrBuilder
public boolean hasStartupProbe()
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
hasStartupProbe
in interface V1.ContainerOrBuilder
public V1.Probe getStartupProbe()
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
getStartupProbe
in interface V1.ContainerOrBuilder
public V1.Container.Builder setStartupProbe(V1.Probe value)
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
public V1.Container.Builder setStartupProbe(V1.Probe.Builder builderForValue)
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
public V1.Container.Builder mergeStartupProbe(V1.Probe value)
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
public V1.Container.Builder clearStartupProbe()
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
public V1.Probe.Builder getStartupProbeBuilder()
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
public V1.ProbeOrBuilder getStartupProbeOrBuilder()
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
getStartupProbeOrBuilder
in interface V1.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setLifecycle(V1.Lifecycle value)
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;
public V1.Container.Builder setLifecycle(V1.Lifecycle.Builder builderForValue)
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;
public V1.Container.Builder mergeLifecycle(V1.Lifecycle value)
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;
public V1.Container.Builder clearLifecycle()
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;
public V1.Lifecycle.Builder getLifecycleBuilder()
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setTerminationMessagePath(String value)
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;
public V1.Container.Builder clearTerminationMessagePath()
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;
public V1.Container.Builder setTerminationMessagePathBytes(com.google.protobuf.ByteString value)
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setTerminationMessagePolicy(String value)
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;
public V1.Container.Builder clearTerminationMessagePolicy()
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;
public V1.Container.Builder setTerminationMessagePolicyBytes(com.google.protobuf.ByteString value)
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setImagePullPolicy(String value)
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;
public V1.Container.Builder clearImagePullPolicy()
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;
public V1.Container.Builder setImagePullPolicyBytes(com.google.protobuf.ByteString value)
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;
public boolean hasSecurityContext()
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. 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.ContainerOrBuilder
public V1.SecurityContext getSecurityContext()
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. 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.ContainerOrBuilder
public V1.Container.Builder setSecurityContext(V1.SecurityContext value)
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
public V1.Container.Builder setSecurityContext(V1.SecurityContext.Builder builderForValue)
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
public V1.Container.Builder mergeSecurityContext(V1.SecurityContext value)
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
public V1.Container.Builder clearSecurityContext()
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
public V1.SecurityContext.Builder getSecurityContextBuilder()
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
public V1.SecurityContextOrBuilder getSecurityContextOrBuilder()
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setStdin(boolean value)
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;
public V1.Container.Builder clearStdin()
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setStdinOnce(boolean value)
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;
public V1.Container.Builder clearStdinOnce()
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;
public 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.ContainerOrBuilder
public 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.ContainerOrBuilder
public V1.Container.Builder setTty(boolean value)
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;
public V1.Container.Builder clearTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;
public final V1.Container.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
public final V1.Container.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
Copyright © 2022. All rights reserved.