Package k8s.io.api.core.v1
Class Generated.Container.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
- k8s.io.api.core.v1.Generated.Container.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.ContainerOrBuilder
- Enclosing class:
- Generated.Container
public static final class Generated.Container.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder> implements Generated.ContainerOrBuilder
A single application container that you want to run within a pod.
Protobuf typek8s.io.api.core.v1.Container
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.Container.BuilderaddAllArgs(Iterable<String> values)Arguments to the entrypoint.Generated.Container.BuilderaddAllCommand(Iterable<String> values)Entrypoint array.Generated.Container.BuilderaddAllEnv(Iterable<? extends Generated.EnvVar> values)List of environment variables to set in the container.Generated.Container.BuilderaddAllEnvFrom(Iterable<? extends Generated.EnvFromSource> values)List of sources to populate environment variables in the container.Generated.Container.BuilderaddAllPorts(Iterable<? extends Generated.ContainerPort> values)List of ports to expose from the container.Generated.Container.BuilderaddAllResizePolicy(Iterable<? extends Generated.ContainerResizePolicy> values)Resources resize policy for the container.Generated.Container.BuilderaddAllVolumeDevices(Iterable<? extends Generated.VolumeDevice> values)volumeDevices is the list of block devices to be used by the container.Generated.Container.BuilderaddAllVolumeMounts(Iterable<? extends Generated.VolumeMount> values)Pod volumes to mount into the container's filesystem.Generated.Container.BuilderaddArgs(String value)Arguments to the entrypoint.Generated.Container.BuilderaddArgsBytes(com.google.protobuf.ByteString value)Arguments to the entrypoint.Generated.Container.BuilderaddCommand(String value)Entrypoint array.Generated.Container.BuilderaddCommandBytes(com.google.protobuf.ByteString value)Entrypoint array.Generated.Container.BuilderaddEnv(int index, Generated.EnvVar value)List of environment variables to set in the container.Generated.Container.BuilderaddEnv(int index, Generated.EnvVar.Builder builderForValue)List of environment variables to set in the container.Generated.Container.BuilderaddEnv(Generated.EnvVar value)List of environment variables to set in the container.Generated.Container.BuilderaddEnv(Generated.EnvVar.Builder builderForValue)List of environment variables to set in the container.Generated.EnvVar.BuilderaddEnvBuilder()List of environment variables to set in the container.Generated.EnvVar.BuilderaddEnvBuilder(int index)List of environment variables to set in the container.Generated.Container.BuilderaddEnvFrom(int index, Generated.EnvFromSource value)List of sources to populate environment variables in the container.Generated.Container.BuilderaddEnvFrom(int index, Generated.EnvFromSource.Builder builderForValue)List of sources to populate environment variables in the container.Generated.Container.BuilderaddEnvFrom(Generated.EnvFromSource value)List of sources to populate environment variables in the container.Generated.Container.BuilderaddEnvFrom(Generated.EnvFromSource.Builder builderForValue)List of sources to populate environment variables in the container.Generated.EnvFromSource.BuilderaddEnvFromBuilder()List of sources to populate environment variables in the container.Generated.EnvFromSource.BuilderaddEnvFromBuilder(int index)List of sources to populate environment variables in the container.Generated.Container.BuilderaddPorts(int index, Generated.ContainerPort value)List of ports to expose from the container.Generated.Container.BuilderaddPorts(int index, Generated.ContainerPort.Builder builderForValue)List of ports to expose from the container.Generated.Container.BuilderaddPorts(Generated.ContainerPort value)List of ports to expose from the container.Generated.Container.BuilderaddPorts(Generated.ContainerPort.Builder builderForValue)List of ports to expose from the container.Generated.ContainerPort.BuilderaddPortsBuilder()List of ports to expose from the container.Generated.ContainerPort.BuilderaddPortsBuilder(int index)List of ports to expose from the container.Generated.Container.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.Container.BuilderaddResizePolicy(int index, Generated.ContainerResizePolicy value)Resources resize policy for the container.Generated.Container.BuilderaddResizePolicy(int index, Generated.ContainerResizePolicy.Builder builderForValue)Resources resize policy for the container.Generated.Container.BuilderaddResizePolicy(Generated.ContainerResizePolicy value)Resources resize policy for the container.Generated.Container.BuilderaddResizePolicy(Generated.ContainerResizePolicy.Builder builderForValue)Resources resize policy for the container.Generated.ContainerResizePolicy.BuilderaddResizePolicyBuilder()Resources resize policy for the container.Generated.ContainerResizePolicy.BuilderaddResizePolicyBuilder(int index)Resources resize policy for the container.Generated.Container.BuilderaddVolumeDevices(int index, Generated.VolumeDevice value)volumeDevices is the list of block devices to be used by the container.Generated.Container.BuilderaddVolumeDevices(int index, Generated.VolumeDevice.Builder builderForValue)volumeDevices is the list of block devices to be used by the container.Generated.Container.BuilderaddVolumeDevices(Generated.VolumeDevice value)volumeDevices is the list of block devices to be used by the container.Generated.Container.BuilderaddVolumeDevices(Generated.VolumeDevice.Builder builderForValue)volumeDevices is the list of block devices to be used by the container.Generated.VolumeDevice.BuilderaddVolumeDevicesBuilder()volumeDevices is the list of block devices to be used by the container.Generated.VolumeDevice.BuilderaddVolumeDevicesBuilder(int index)volumeDevices is the list of block devices to be used by the container.Generated.Container.BuilderaddVolumeMounts(int index, Generated.VolumeMount value)Pod volumes to mount into the container's filesystem.Generated.Container.BuilderaddVolumeMounts(int index, Generated.VolumeMount.Builder builderForValue)Pod volumes to mount into the container's filesystem.Generated.Container.BuilderaddVolumeMounts(Generated.VolumeMount value)Pod volumes to mount into the container's filesystem.Generated.Container.BuilderaddVolumeMounts(Generated.VolumeMount.Builder builderForValue)Pod volumes to mount into the container's filesystem.Generated.VolumeMount.BuilderaddVolumeMountsBuilder()Pod volumes to mount into the container's filesystem.Generated.VolumeMount.BuilderaddVolumeMountsBuilder(int index)Pod volumes to mount into the container's filesystem.Generated.Containerbuild()Generated.ContainerbuildPartial()Generated.Container.Builderclear()Generated.Container.BuilderclearArgs()Arguments to the entrypoint.Generated.Container.BuilderclearCommand()Entrypoint array.Generated.Container.BuilderclearEnv()List of environment variables to set in the container.Generated.Container.BuilderclearEnvFrom()List of sources to populate environment variables in the container.Generated.Container.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.Container.BuilderclearImage()Container image name.Generated.Container.BuilderclearImagePullPolicy()Image pull policy.Generated.Container.BuilderclearLifecycle()Actions that the management system should take in response to container lifecycle events.Generated.Container.BuilderclearLivenessProbe()Periodic probe of container liveness.Generated.Container.BuilderclearName()Name of the container specified as a DNS_LABEL.Generated.Container.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.Container.BuilderclearPorts()List of ports to expose from the container.Generated.Container.BuilderclearReadinessProbe()Periodic probe of container service readiness.Generated.Container.BuilderclearResizePolicy()Resources resize policy for the container.Generated.Container.BuilderclearResources()Compute Resources required by this container.Generated.Container.BuilderclearRestartPolicy()RestartPolicy defines the restart behavior of individual containers in a pod.Generated.Container.BuilderclearSecurityContext()SecurityContext defines the security options the container should be run with.Generated.Container.BuilderclearStartupProbe()StartupProbe indicates that the Pod has successfully initialized.Generated.Container.BuilderclearStdin()Whether this container should allocate a buffer for stdin in the container runtime.Generated.Container.BuilderclearStdinOnce()Whether the container runtime should close the stdin channel after it has been opened by a single attach.Generated.Container.BuilderclearTerminationMessagePath()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.Generated.Container.BuilderclearTerminationMessagePolicy()Indicate how the termination message should be populated.Generated.Container.BuilderclearTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.Generated.Container.BuilderclearVolumeDevices()volumeDevices is the list of block devices to be used by the container.Generated.Container.BuilderclearVolumeMounts()Pod volumes to mount into the container's filesystem.Generated.Container.BuilderclearWorkingDir()Container's working directory.Generated.Container.Builderclone()StringgetArgs(int index)Arguments to the entrypoint.com.google.protobuf.ByteStringgetArgsBytes(int index)Arguments to the entrypoint.intgetArgsCount()Arguments to the entrypoint.com.google.protobuf.ProtocolStringListgetArgsList()Arguments to the entrypoint.StringgetCommand(int index)Entrypoint array.com.google.protobuf.ByteStringgetCommandBytes(int index)Entrypoint array.intgetCommandCount()Entrypoint array.com.google.protobuf.ProtocolStringListgetCommandList()Entrypoint array.Generated.ContainergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Generated.EnvVargetEnv(int index)List of environment variables to set in the container.Generated.EnvVar.BuildergetEnvBuilder(int index)List of environment variables to set in the container.List<Generated.EnvVar.Builder>getEnvBuilderList()List of environment variables to set in the container.intgetEnvCount()List of environment variables to set in the container.Generated.EnvFromSourcegetEnvFrom(int index)List of sources to populate environment variables in the container.Generated.EnvFromSource.BuildergetEnvFromBuilder(int index)List of sources to populate environment variables in the container.List<Generated.EnvFromSource.Builder>getEnvFromBuilderList()List of sources to populate environment variables in the container.intgetEnvFromCount()List of sources to populate environment variables in the container.List<Generated.EnvFromSource>getEnvFromList()List of sources to populate environment variables in the container.Generated.EnvFromSourceOrBuildergetEnvFromOrBuilder(int index)List of sources to populate environment variables in the container.List<? extends Generated.EnvFromSourceOrBuilder>getEnvFromOrBuilderList()List of sources to populate environment variables in the container.List<Generated.EnvVar>getEnvList()List of environment variables to set in the container.Generated.EnvVarOrBuildergetEnvOrBuilder(int index)List of environment variables to set in the container.List<? extends Generated.EnvVarOrBuilder>getEnvOrBuilderList()List of environment variables to set in the container.StringgetImage()Container image name.com.google.protobuf.ByteStringgetImageBytes()Container image name.StringgetImagePullPolicy()Image pull policy.com.google.protobuf.ByteStringgetImagePullPolicyBytes()Image pull policy.Generated.LifecyclegetLifecycle()Actions that the management system should take in response to container lifecycle events.Generated.Lifecycle.BuildergetLifecycleBuilder()Actions that the management system should take in response to container lifecycle events.Generated.LifecycleOrBuildergetLifecycleOrBuilder()Actions that the management system should take in response to container lifecycle events.Generated.ProbegetLivenessProbe()Periodic probe of container liveness.Generated.Probe.BuildergetLivenessProbeBuilder()Periodic probe of container liveness.Generated.ProbeOrBuildergetLivenessProbeOrBuilder()Periodic probe of container liveness.StringgetName()Name of the container specified as a DNS_LABEL.com.google.protobuf.ByteStringgetNameBytes()Name of the container specified as a DNS_LABEL.Generated.ContainerPortgetPorts(int index)List of ports to expose from the container.Generated.ContainerPort.BuildergetPortsBuilder(int index)List of ports to expose from the container.List<Generated.ContainerPort.Builder>getPortsBuilderList()List of ports to expose from the container.intgetPortsCount()List of ports to expose from the container.List<Generated.ContainerPort>getPortsList()List of ports to expose from the container.Generated.ContainerPortOrBuildergetPortsOrBuilder(int index)List of ports to expose from the container.List<? extends Generated.ContainerPortOrBuilder>getPortsOrBuilderList()List of ports to expose from the container.Generated.ProbegetReadinessProbe()Periodic probe of container service readiness.Generated.Probe.BuildergetReadinessProbeBuilder()Periodic probe of container service readiness.Generated.ProbeOrBuildergetReadinessProbeOrBuilder()Periodic probe of container service readiness.Generated.ContainerResizePolicygetResizePolicy(int index)Resources resize policy for the container.Generated.ContainerResizePolicy.BuildergetResizePolicyBuilder(int index)Resources resize policy for the container.List<Generated.ContainerResizePolicy.Builder>getResizePolicyBuilderList()Resources resize policy for the container.intgetResizePolicyCount()Resources resize policy for the container.List<Generated.ContainerResizePolicy>getResizePolicyList()Resources resize policy for the container.Generated.ContainerResizePolicyOrBuildergetResizePolicyOrBuilder(int index)Resources resize policy for the container.List<? extends Generated.ContainerResizePolicyOrBuilder>getResizePolicyOrBuilderList()Resources resize policy for the container.Generated.ResourceRequirementsgetResources()Compute Resources required by this container.Generated.ResourceRequirements.BuildergetResourcesBuilder()Compute Resources required by this container.Generated.ResourceRequirementsOrBuildergetResourcesOrBuilder()Compute Resources required by this container.StringgetRestartPolicy()RestartPolicy defines the restart behavior of individual containers in a pod.com.google.protobuf.ByteStringgetRestartPolicyBytes()RestartPolicy defines the restart behavior of individual containers in a pod.Generated.SecurityContextgetSecurityContext()SecurityContext defines the security options the container should be run with.Generated.SecurityContext.BuildergetSecurityContextBuilder()SecurityContext defines the security options the container should be run with.Generated.SecurityContextOrBuildergetSecurityContextOrBuilder()SecurityContext defines the security options the container should be run with.Generated.ProbegetStartupProbe()StartupProbe indicates that the Pod has successfully initialized.Generated.Probe.BuildergetStartupProbeBuilder()StartupProbe indicates that the Pod has successfully initialized.Generated.ProbeOrBuildergetStartupProbeOrBuilder()StartupProbe indicates that the Pod has successfully initialized.booleangetStdin()Whether this container should allocate a buffer for stdin in the container runtime.booleangetStdinOnce()Whether the container runtime should close the stdin channel after it has been opened by a single attach.StringgetTerminationMessagePath()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.ByteStringgetTerminationMessagePathBytes()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.StringgetTerminationMessagePolicy()Indicate how the termination message should be populated.com.google.protobuf.ByteStringgetTerminationMessagePolicyBytes()Indicate how the termination message should be populated.booleangetTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.Generated.VolumeDevicegetVolumeDevices(int index)volumeDevices is the list of block devices to be used by the container.Generated.VolumeDevice.BuildergetVolumeDevicesBuilder(int index)volumeDevices is the list of block devices to be used by the container.List<Generated.VolumeDevice.Builder>getVolumeDevicesBuilderList()volumeDevices is the list of block devices to be used by the container.intgetVolumeDevicesCount()volumeDevices is the list of block devices to be used by the container.List<Generated.VolumeDevice>getVolumeDevicesList()volumeDevices is the list of block devices to be used by the container.Generated.VolumeDeviceOrBuildergetVolumeDevicesOrBuilder(int index)volumeDevices is the list of block devices to be used by the container.List<? extends Generated.VolumeDeviceOrBuilder>getVolumeDevicesOrBuilderList()volumeDevices is the list of block devices to be used by the container.Generated.VolumeMountgetVolumeMounts(int index)Pod volumes to mount into the container's filesystem.Generated.VolumeMount.BuildergetVolumeMountsBuilder(int index)Pod volumes to mount into the container's filesystem.List<Generated.VolumeMount.Builder>getVolumeMountsBuilderList()Pod volumes to mount into the container's filesystem.intgetVolumeMountsCount()Pod volumes to mount into the container's filesystem.List<Generated.VolumeMount>getVolumeMountsList()Pod volumes to mount into the container's filesystem.Generated.VolumeMountOrBuildergetVolumeMountsOrBuilder(int index)Pod volumes to mount into the container's filesystem.List<? extends Generated.VolumeMountOrBuilder>getVolumeMountsOrBuilderList()Pod volumes to mount into the container's filesystem.StringgetWorkingDir()Container's working directory.com.google.protobuf.ByteStringgetWorkingDirBytes()Container's working directory.booleanhasImage()Container image name.booleanhasImagePullPolicy()Image pull policy.booleanhasLifecycle()Actions that the management system should take in response to container lifecycle events.booleanhasLivenessProbe()Periodic probe of container liveness.booleanhasName()Name of the container specified as a DNS_LABEL.booleanhasReadinessProbe()Periodic probe of container service readiness.booleanhasResources()Compute Resources required by this container.booleanhasRestartPolicy()RestartPolicy defines the restart behavior of individual containers in a pod.booleanhasSecurityContext()SecurityContext defines the security options the container should be run with.booleanhasStartupProbe()StartupProbe indicates that the Pod has successfully initialized.booleanhasStdin()Whether this container should allocate a buffer for stdin in the container runtime.booleanhasStdinOnce()Whether the container runtime should close the stdin channel after it has been opened by a single attach.booleanhasTerminationMessagePath()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.booleanhasTerminationMessagePolicy()Indicate how the termination message should be populated.booleanhasTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.booleanhasWorkingDir()Container's working directory.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.Container.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.Container.BuildermergeFrom(com.google.protobuf.Message other)Generated.Container.BuildermergeFrom(Generated.Container other)Generated.Container.BuildermergeLifecycle(Generated.Lifecycle value)Actions that the management system should take in response to container lifecycle events.Generated.Container.BuildermergeLivenessProbe(Generated.Probe value)Periodic probe of container liveness.Generated.Container.BuildermergeReadinessProbe(Generated.Probe value)Periodic probe of container service readiness.Generated.Container.BuildermergeResources(Generated.ResourceRequirements value)Compute Resources required by this container.Generated.Container.BuildermergeSecurityContext(Generated.SecurityContext value)SecurityContext defines the security options the container should be run with.Generated.Container.BuildermergeStartupProbe(Generated.Probe value)StartupProbe indicates that the Pod has successfully initialized.Generated.Container.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.Container.BuilderremoveEnv(int index)List of environment variables to set in the container.Generated.Container.BuilderremoveEnvFrom(int index)List of sources to populate environment variables in the container.Generated.Container.BuilderremovePorts(int index)List of ports to expose from the container.Generated.Container.BuilderremoveResizePolicy(int index)Resources resize policy for the container.Generated.Container.BuilderremoveVolumeDevices(int index)volumeDevices is the list of block devices to be used by the container.Generated.Container.BuilderremoveVolumeMounts(int index)Pod volumes to mount into the container's filesystem.Generated.Container.BuildersetArgs(int index, String value)Arguments to the entrypoint.Generated.Container.BuildersetCommand(int index, String value)Entrypoint array.Generated.Container.BuildersetEnv(int index, Generated.EnvVar value)List of environment variables to set in the container.Generated.Container.BuildersetEnv(int index, Generated.EnvVar.Builder builderForValue)List of environment variables to set in the container.Generated.Container.BuildersetEnvFrom(int index, Generated.EnvFromSource value)List of sources to populate environment variables in the container.Generated.Container.BuildersetEnvFrom(int index, Generated.EnvFromSource.Builder builderForValue)List of sources to populate environment variables in the container.Generated.Container.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.Container.BuildersetImage(String value)Container image name.Generated.Container.BuildersetImageBytes(com.google.protobuf.ByteString value)Container image name.Generated.Container.BuildersetImagePullPolicy(String value)Image pull policy.Generated.Container.BuildersetImagePullPolicyBytes(com.google.protobuf.ByteString value)Image pull policy.Generated.Container.BuildersetLifecycle(Generated.Lifecycle value)Actions that the management system should take in response to container lifecycle events.Generated.Container.BuildersetLifecycle(Generated.Lifecycle.Builder builderForValue)Actions that the management system should take in response to container lifecycle events.Generated.Container.BuildersetLivenessProbe(Generated.Probe value)Periodic probe of container liveness.Generated.Container.BuildersetLivenessProbe(Generated.Probe.Builder builderForValue)Periodic probe of container liveness.Generated.Container.BuildersetName(String value)Name of the container specified as a DNS_LABEL.Generated.Container.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the container specified as a DNS_LABEL.Generated.Container.BuildersetPorts(int index, Generated.ContainerPort value)List of ports to expose from the container.Generated.Container.BuildersetPorts(int index, Generated.ContainerPort.Builder builderForValue)List of ports to expose from the container.Generated.Container.BuildersetReadinessProbe(Generated.Probe value)Periodic probe of container service readiness.Generated.Container.BuildersetReadinessProbe(Generated.Probe.Builder builderForValue)Periodic probe of container service readiness.Generated.Container.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.Container.BuildersetResizePolicy(int index, Generated.ContainerResizePolicy value)Resources resize policy for the container.Generated.Container.BuildersetResizePolicy(int index, Generated.ContainerResizePolicy.Builder builderForValue)Resources resize policy for the container.Generated.Container.BuildersetResources(Generated.ResourceRequirements value)Compute Resources required by this container.Generated.Container.BuildersetResources(Generated.ResourceRequirements.Builder builderForValue)Compute Resources required by this container.Generated.Container.BuildersetRestartPolicy(String value)RestartPolicy defines the restart behavior of individual containers in a pod.Generated.Container.BuildersetRestartPolicyBytes(com.google.protobuf.ByteString value)RestartPolicy defines the restart behavior of individual containers in a pod.Generated.Container.BuildersetSecurityContext(Generated.SecurityContext value)SecurityContext defines the security options the container should be run with.Generated.Container.BuildersetSecurityContext(Generated.SecurityContext.Builder builderForValue)SecurityContext defines the security options the container should be run with.Generated.Container.BuildersetStartupProbe(Generated.Probe value)StartupProbe indicates that the Pod has successfully initialized.Generated.Container.BuildersetStartupProbe(Generated.Probe.Builder builderForValue)StartupProbe indicates that the Pod has successfully initialized.Generated.Container.BuildersetStdin(boolean value)Whether this container should allocate a buffer for stdin in the container runtime.Generated.Container.BuildersetStdinOnce(boolean value)Whether the container runtime should close the stdin channel after it has been opened by a single attach.Generated.Container.BuildersetTerminationMessagePath(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.Generated.Container.BuildersetTerminationMessagePathBytes(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.Generated.Container.BuildersetTerminationMessagePolicy(String value)Indicate how the termination message should be populated.Generated.Container.BuildersetTerminationMessagePolicyBytes(com.google.protobuf.ByteString value)Indicate how the termination message should be populated.Generated.Container.BuildersetTty(boolean value)Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.Generated.Container.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.Container.BuildersetVolumeDevices(int index, Generated.VolumeDevice value)volumeDevices is the list of block devices to be used by the container.Generated.Container.BuildersetVolumeDevices(int index, Generated.VolumeDevice.Builder builderForValue)volumeDevices is the list of block devices to be used by the container.Generated.Container.BuildersetVolumeMounts(int index, Generated.VolumeMount value)Pod volumes to mount into the container's filesystem.Generated.Container.BuildersetVolumeMounts(int index, Generated.VolumeMount.Builder builderForValue)Pod volumes to mount into the container's filesystem.Generated.Container.BuildersetWorkingDir(String value)Container's working directory.Generated.Container.BuildersetWorkingDirBytes(com.google.protobuf.ByteString value)Container's working directory.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
clear
public Generated.Container.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
getDefaultInstanceForType
public Generated.Container getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.Container build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.Container buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.Container.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
setField
public Generated.Container.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
clearField
public Generated.Container.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
clearOneof
public Generated.Container.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
setRepeatedField
public Generated.Container.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
addRepeatedField
public Generated.Container.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
mergeFrom
public Generated.Container.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.Container.Builder>
-
mergeFrom
public Generated.Container.Builder mergeFrom(Generated.Container other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
mergeFrom
public Generated.Container.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.Container.Builder>- Throws:
IOException
-
hasName
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;- Specified by:
hasNamein interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the name field is set.
-
getName
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;- Specified by:
getNamein interfaceGenerated.ContainerOrBuilder- Returns:
- The name.
-
getNameBytes
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;- Specified by:
getNameBytesin interfaceGenerated.ContainerOrBuilder- Returns:
- The bytes for name.
-
setName
public Generated.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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Generated.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;- Returns:
- This builder for chaining.
-
setNameBytes
public Generated.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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasImage
public boolean hasImage()
Container 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;- Specified by:
hasImagein interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the image field is set.
-
getImage
public String getImage()
Container 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;- Specified by:
getImagein interfaceGenerated.ContainerOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()
Container 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;- Specified by:
getImageBytesin interfaceGenerated.ContainerOrBuilder- Returns:
- The bytes for image.
-
setImage
public Generated.Container.Builder setImage(String value)
Container 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;- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
clearImage
public Generated.Container.Builder clearImage()
Container 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;- Returns:
- This builder for chaining.
-
setImageBytes
public Generated.Container.Builder setImageBytes(com.google.protobuf.ByteString value)
Container 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;- Parameters:
value- The bytes for image to set.- Returns:
- This builder for chaining.
-
getCommandList
public com.google.protobuf.ProtocolStringList getCommandList()
Entrypoint array. Not executed within a shell. The container 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 +listType=atomic
repeated string command = 3;- Specified by:
getCommandListin interfaceGenerated.ContainerOrBuilder- Returns:
- A list containing the command.
-
getCommandCount
public int getCommandCount()
Entrypoint array. Not executed within a shell. The container 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 +listType=atomic
repeated string command = 3;- Specified by:
getCommandCountin interfaceGenerated.ContainerOrBuilder- Returns:
- The count of command.
-
getCommand
public String getCommand(int index)
Entrypoint array. Not executed within a shell. The container 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 +listType=atomic
repeated string command = 3;- Specified by:
getCommandin interfaceGenerated.ContainerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The command at the given index.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes(int index)
Entrypoint array. Not executed within a shell. The container 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 +listType=atomic
repeated string command = 3;- Specified by:
getCommandBytesin interfaceGenerated.ContainerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the command at the given index.
-
setCommand
public Generated.Container.Builder setCommand(int index, String value)
Entrypoint array. Not executed within a shell. The container 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 +listType=atomic
repeated string command = 3;- Parameters:
index- The index to set the value at.value- The command to set.- Returns:
- This builder for chaining.
-
addCommand
public Generated.Container.Builder addCommand(String value)
Entrypoint array. Not executed within a shell. The container 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 +listType=atomic
repeated string command = 3;- Parameters:
value- The command to add.- Returns:
- This builder for chaining.
-
addAllCommand
public Generated.Container.Builder addAllCommand(Iterable<String> values)
Entrypoint array. Not executed within a shell. The container 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 +listType=atomic
repeated string command = 3;- Parameters:
values- The command to add.- Returns:
- This builder for chaining.
-
clearCommand
public Generated.Container.Builder clearCommand()
Entrypoint array. Not executed within a shell. The container 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 +listType=atomic
repeated string command = 3;- Returns:
- This builder for chaining.
-
addCommandBytes
public Generated.Container.Builder addCommandBytes(com.google.protobuf.ByteString value)
Entrypoint array. Not executed within a shell. The container 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 +listType=atomic
repeated string command = 3;- Parameters:
value- The bytes of the command to add.- Returns:
- This builder for chaining.
-
getArgsList
public com.google.protobuf.ProtocolStringList getArgsList()
Arguments to the entrypoint. The container 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 +listType=atomic
repeated string args = 4;- Specified by:
getArgsListin interfaceGenerated.ContainerOrBuilder- Returns:
- A list containing the args.
-
getArgsCount
public int getArgsCount()
Arguments to the entrypoint. The container 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 +listType=atomic
repeated string args = 4;- Specified by:
getArgsCountin interfaceGenerated.ContainerOrBuilder- Returns:
- The count of args.
-
getArgs
public String getArgs(int index)
Arguments to the entrypoint. The container 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 +listType=atomic
repeated string args = 4;- Specified by:
getArgsin interfaceGenerated.ContainerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
public com.google.protobuf.ByteString getArgsBytes(int index)
Arguments to the entrypoint. The container 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 +listType=atomic
repeated string args = 4;- Specified by:
getArgsBytesin interfaceGenerated.ContainerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
setArgs
public Generated.Container.Builder setArgs(int index, String value)
Arguments to the entrypoint. The container 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 +listType=atomic
repeated string args = 4;- Parameters:
index- The index to set the value at.value- The args to set.- Returns:
- This builder for chaining.
-
addArgs
public Generated.Container.Builder addArgs(String value)
Arguments to the entrypoint. The container 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 +listType=atomic
repeated string args = 4;- Parameters:
value- The args to add.- Returns:
- This builder for chaining.
-
addAllArgs
public Generated.Container.Builder addAllArgs(Iterable<String> values)
Arguments to the entrypoint. The container 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 +listType=atomic
repeated string args = 4;- Parameters:
values- The args to add.- Returns:
- This builder for chaining.
-
clearArgs
public Generated.Container.Builder clearArgs()
Arguments to the entrypoint. The container 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 +listType=atomic
repeated string args = 4;- Returns:
- This builder for chaining.
-
addArgsBytes
public Generated.Container.Builder addArgsBytes(com.google.protobuf.ByteString value)
Arguments to the entrypoint. The container 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 +listType=atomic
repeated string args = 4;- Parameters:
value- The bytes of the args to add.- Returns:
- This builder for chaining.
-
hasWorkingDir
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;- Specified by:
hasWorkingDirin interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the workingDir field is set.
-
getWorkingDir
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;- Specified by:
getWorkingDirin interfaceGenerated.ContainerOrBuilder- Returns:
- The workingDir.
-
getWorkingDirBytes
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;- Specified by:
getWorkingDirBytesin interfaceGenerated.ContainerOrBuilder- Returns:
- The bytes for workingDir.
-
setWorkingDir
public Generated.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;- Parameters:
value- The workingDir to set.- Returns:
- This builder for chaining.
-
clearWorkingDir
public Generated.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;- Returns:
- This builder for chaining.
-
setWorkingDirBytes
public Generated.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;- Parameters:
value- The bytes for workingDir to set.- Returns:
- This builder for chaining.
-
getPortsList
public List<Generated.ContainerPort> getPortsList()
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsListin interfaceGenerated.ContainerOrBuilder
-
getPortsCount
public int getPortsCount()
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsCountin interfaceGenerated.ContainerOrBuilder
-
getPorts
public Generated.ContainerPort getPorts(int index)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsin interfaceGenerated.ContainerOrBuilder
-
setPorts
public Generated.Container.Builder setPorts(int index, Generated.ContainerPort value)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
setPorts
public Generated.Container.Builder setPorts(int index, Generated.ContainerPort.Builder builderForValue)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPorts
public Generated.Container.Builder addPorts(Generated.ContainerPort value)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPorts
public Generated.Container.Builder addPorts(int index, Generated.ContainerPort value)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPorts
public Generated.Container.Builder addPorts(Generated.ContainerPort.Builder builderForValue)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPorts
public Generated.Container.Builder addPorts(int index, Generated.ContainerPort.Builder builderForValue)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addAllPorts
public Generated.Container.Builder addAllPorts(Iterable<? extends Generated.ContainerPort> values)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
clearPorts
public Generated.Container.Builder clearPorts()
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
removePorts
public Generated.Container.Builder removePorts(int index)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPortsBuilder
public Generated.ContainerPort.Builder getPortsBuilder(int index)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPortsOrBuilder
public Generated.ContainerPortOrBuilder getPortsOrBuilder(int index)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsOrBuilderin interfaceGenerated.ContainerOrBuilder
-
getPortsOrBuilderList
public List<? extends Generated.ContainerPortOrBuilder> getPortsOrBuilderList()
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsOrBuilderListin interfaceGenerated.ContainerOrBuilder
-
addPortsBuilder
public Generated.ContainerPort.Builder addPortsBuilder()
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPortsBuilder
public Generated.ContainerPort.Builder addPortsBuilder(int index)
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPortsBuilderList
public List<Generated.ContainerPort.Builder> getPortsBuilderList()
List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getEnvFromList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromListin interfaceGenerated.ContainerOrBuilder
-
getEnvFromCount
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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromCountin interfaceGenerated.ContainerOrBuilder
-
getEnvFrom
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromin interfaceGenerated.ContainerOrBuilder
-
setEnvFrom
public Generated.Container.Builder setEnvFrom(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
setEnvFrom
public Generated.Container.Builder setEnvFrom(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFrom
public Generated.Container.Builder addEnvFrom(Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFrom
public Generated.Container.Builder addEnvFrom(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFrom
public Generated.Container.Builder addEnvFrom(Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFrom
public Generated.Container.Builder addEnvFrom(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addAllEnvFrom
public Generated.Container.Builder addAllEnvFrom(Iterable<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
clearEnvFrom
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
removeEnvFrom
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFromBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFromOrBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromOrBuilderin interfaceGenerated.ContainerOrBuilder
-
getEnvFromOrBuilderList
public List<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromOrBuilderListin interfaceGenerated.ContainerOrBuilder
-
addEnvFromBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFromBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFromBuilderList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvList
public List<Generated.EnvVar> getEnvList()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvListin interfaceGenerated.ContainerOrBuilder
-
getEnvCount
public int getEnvCount()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvCountin interfaceGenerated.ContainerOrBuilder
-
getEnv
public Generated.EnvVar getEnv(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvin interfaceGenerated.ContainerOrBuilder
-
setEnv
public Generated.Container.Builder setEnv(int index, Generated.EnvVar value)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
setEnv
public Generated.Container.Builder setEnv(int index, Generated.EnvVar.Builder builderForValue)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnv
public Generated.Container.Builder addEnv(Generated.EnvVar value)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnv
public Generated.Container.Builder addEnv(int index, Generated.EnvVar value)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnv
public Generated.Container.Builder addEnv(Generated.EnvVar.Builder builderForValue)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnv
public Generated.Container.Builder addEnv(int index, Generated.EnvVar.Builder builderForValue)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addAllEnv
public Generated.Container.Builder addAllEnv(Iterable<? extends Generated.EnvVar> values)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
clearEnv
public Generated.Container.Builder clearEnv()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
removeEnv
public Generated.Container.Builder removeEnv(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnvBuilder
public Generated.EnvVar.Builder getEnvBuilder(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnvOrBuilder
public Generated.EnvVarOrBuilder getEnvOrBuilder(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvOrBuilderin interfaceGenerated.ContainerOrBuilder
-
getEnvOrBuilderList
public List<? extends Generated.EnvVarOrBuilder> getEnvOrBuilderList()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvOrBuilderListin interfaceGenerated.ContainerOrBuilder
-
addEnvBuilder
public Generated.EnvVar.Builder addEnvBuilder()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnvBuilder
public Generated.EnvVar.Builder addEnvBuilder(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnvBuilderList
public List<Generated.EnvVar.Builder> getEnvBuilderList()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
hasResources
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;- Specified by:
hasResourcesin interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the resources field is set.
-
getResources
public Generated.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;- Specified by:
getResourcesin interfaceGenerated.ContainerOrBuilder- Returns:
- The resources.
-
setResources
public Generated.Container.Builder setResources(Generated.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;
-
setResources
public Generated.Container.Builder setResources(Generated.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;
-
mergeResources
public Generated.Container.Builder mergeResources(Generated.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;
-
clearResources
public Generated.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;
-
getResourcesBuilder
public Generated.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;
-
getResourcesOrBuilder
public Generated.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;- Specified by:
getResourcesOrBuilderin interfaceGenerated.ContainerOrBuilder
-
getResizePolicyList
public List<Generated.ContainerResizePolicy> getResizePolicyList()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyListin interfaceGenerated.ContainerOrBuilder
-
getResizePolicyCount
public int getResizePolicyCount()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyCountin interfaceGenerated.ContainerOrBuilder
-
getResizePolicy
public Generated.ContainerResizePolicy getResizePolicy(int index)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyin interfaceGenerated.ContainerOrBuilder
-
setResizePolicy
public Generated.Container.Builder setResizePolicy(int index, Generated.ContainerResizePolicy value)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
setResizePolicy
public Generated.Container.Builder setResizePolicy(int index, Generated.ContainerResizePolicy.Builder builderForValue)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
addResizePolicy
public Generated.Container.Builder addResizePolicy(Generated.ContainerResizePolicy value)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
addResizePolicy
public Generated.Container.Builder addResizePolicy(int index, Generated.ContainerResizePolicy value)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
addResizePolicy
public Generated.Container.Builder addResizePolicy(Generated.ContainerResizePolicy.Builder builderForValue)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
addResizePolicy
public Generated.Container.Builder addResizePolicy(int index, Generated.ContainerResizePolicy.Builder builderForValue)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
addAllResizePolicy
public Generated.Container.Builder addAllResizePolicy(Iterable<? extends Generated.ContainerResizePolicy> values)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
clearResizePolicy
public Generated.Container.Builder clearResizePolicy()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
removeResizePolicy
public Generated.Container.Builder removeResizePolicy(int index)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
getResizePolicyBuilder
public Generated.ContainerResizePolicy.Builder getResizePolicyBuilder(int index)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
getResizePolicyOrBuilder
public Generated.ContainerResizePolicyOrBuilder getResizePolicyOrBuilder(int index)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyOrBuilderin interfaceGenerated.ContainerOrBuilder
-
getResizePolicyOrBuilderList
public List<? extends Generated.ContainerResizePolicyOrBuilder> getResizePolicyOrBuilderList()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyOrBuilderListin interfaceGenerated.ContainerOrBuilder
-
addResizePolicyBuilder
public Generated.ContainerResizePolicy.Builder addResizePolicyBuilder()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
addResizePolicyBuilder
public Generated.ContainerResizePolicy.Builder addResizePolicyBuilder(int index)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
getResizePolicyBuilderList
public List<Generated.ContainerResizePolicy.Builder> getResizePolicyBuilderList()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
hasRestartPolicy
public boolean hasRestartPolicy()
RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is "Always". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as "Always" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy "Always" will be shut down. This lifecycle differs from normal init containers and is often referred to as a "sidecar" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Specified by:
hasRestartPolicyin interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the restartPolicy field is set.
-
getRestartPolicy
public String getRestartPolicy()
RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is "Always". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as "Always" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy "Always" will be shut down. This lifecycle differs from normal init containers and is often referred to as a "sidecar" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Specified by:
getRestartPolicyin interfaceGenerated.ContainerOrBuilder- Returns:
- The restartPolicy.
-
getRestartPolicyBytes
public com.google.protobuf.ByteString getRestartPolicyBytes()
RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is "Always". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as "Always" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy "Always" will be shut down. This lifecycle differs from normal init containers and is often referred to as a "sidecar" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Specified by:
getRestartPolicyBytesin interfaceGenerated.ContainerOrBuilder- Returns:
- The bytes for restartPolicy.
-
setRestartPolicy
public Generated.Container.Builder setRestartPolicy(String value)
RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is "Always". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as "Always" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy "Always" will be shut down. This lifecycle differs from normal init containers and is often referred to as a "sidecar" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Parameters:
value- The restartPolicy to set.- Returns:
- This builder for chaining.
-
clearRestartPolicy
public Generated.Container.Builder clearRestartPolicy()
RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is "Always". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as "Always" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy "Always" will be shut down. This lifecycle differs from normal init containers and is often referred to as a "sidecar" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Returns:
- This builder for chaining.
-
setRestartPolicyBytes
public Generated.Container.Builder setRestartPolicyBytes(com.google.protobuf.ByteString value)
RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is "Always". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as "Always" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy "Always" will be shut down. This lifecycle differs from normal init containers and is often referred to as a "sidecar" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Parameters:
value- The bytes for restartPolicy to set.- Returns:
- This builder for chaining.
-
getVolumeMountsList
public List<Generated.VolumeMount> getVolumeMountsList()
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsListin interfaceGenerated.ContainerOrBuilder
-
getVolumeMountsCount
public int getVolumeMountsCount()
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsCountin interfaceGenerated.ContainerOrBuilder
-
getVolumeMounts
public Generated.VolumeMount getVolumeMounts(int index)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsin interfaceGenerated.ContainerOrBuilder
-
setVolumeMounts
public Generated.Container.Builder setVolumeMounts(int index, Generated.VolumeMount value)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
setVolumeMounts
public Generated.Container.Builder setVolumeMounts(int index, Generated.VolumeMount.Builder builderForValue)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMounts
public Generated.Container.Builder addVolumeMounts(Generated.VolumeMount value)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMounts
public Generated.Container.Builder addVolumeMounts(int index, Generated.VolumeMount value)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMounts
public Generated.Container.Builder addVolumeMounts(Generated.VolumeMount.Builder builderForValue)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMounts
public Generated.Container.Builder addVolumeMounts(int index, Generated.VolumeMount.Builder builderForValue)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addAllVolumeMounts
public Generated.Container.Builder addAllVolumeMounts(Iterable<? extends Generated.VolumeMount> values)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
clearVolumeMounts
public Generated.Container.Builder clearVolumeMounts()
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
removeVolumeMounts
public Generated.Container.Builder removeVolumeMounts(int index)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMountsBuilder
public Generated.VolumeMount.Builder getVolumeMountsBuilder(int index)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMountsOrBuilder
public Generated.VolumeMountOrBuilder getVolumeMountsOrBuilder(int index)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsOrBuilderin interfaceGenerated.ContainerOrBuilder
-
getVolumeMountsOrBuilderList
public List<? extends Generated.VolumeMountOrBuilder> getVolumeMountsOrBuilderList()
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsOrBuilderListin interfaceGenerated.ContainerOrBuilder
-
addVolumeMountsBuilder
public Generated.VolumeMount.Builder addVolumeMountsBuilder()
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMountsBuilder
public Generated.VolumeMount.Builder addVolumeMountsBuilder(int index)
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMountsBuilderList
public List<Generated.VolumeMount.Builder> getVolumeMountsBuilderList()
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeDevicesList
public List<Generated.VolumeDevice> getVolumeDevicesList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesListin interfaceGenerated.ContainerOrBuilder
-
getVolumeDevicesCount
public int getVolumeDevicesCount()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesCountin interfaceGenerated.ContainerOrBuilder
-
getVolumeDevices
public Generated.VolumeDevice getVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesin interfaceGenerated.ContainerOrBuilder
-
setVolumeDevices
public Generated.Container.Builder setVolumeDevices(int index, Generated.VolumeDevice value)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
setVolumeDevices
public Generated.Container.Builder setVolumeDevices(int index, Generated.VolumeDevice.Builder builderForValue)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevices
public Generated.Container.Builder addVolumeDevices(Generated.VolumeDevice value)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevices
public Generated.Container.Builder addVolumeDevices(int index, Generated.VolumeDevice value)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevices
public Generated.Container.Builder addVolumeDevices(Generated.VolumeDevice.Builder builderForValue)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevices
public Generated.Container.Builder addVolumeDevices(int index, Generated.VolumeDevice.Builder builderForValue)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addAllVolumeDevices
public Generated.Container.Builder addAllVolumeDevices(Iterable<? extends Generated.VolumeDevice> values)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
clearVolumeDevices
public Generated.Container.Builder clearVolumeDevices()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
removeVolumeDevices
public Generated.Container.Builder removeVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevicesBuilder
public Generated.VolumeDevice.Builder getVolumeDevicesBuilder(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevicesOrBuilder
public Generated.VolumeDeviceOrBuilder getVolumeDevicesOrBuilder(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesOrBuilderin interfaceGenerated.ContainerOrBuilder
-
getVolumeDevicesOrBuilderList
public List<? extends Generated.VolumeDeviceOrBuilder> getVolumeDevicesOrBuilderList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesOrBuilderListin interfaceGenerated.ContainerOrBuilder
-
addVolumeDevicesBuilder
public Generated.VolumeDevice.Builder addVolumeDevicesBuilder()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevicesBuilder
public Generated.VolumeDevice.Builder addVolumeDevicesBuilder(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevicesBuilderList
public List<Generated.VolumeDevice.Builder> getVolumeDevicesBuilderList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
hasLivenessProbe
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;- Specified by:
hasLivenessProbein interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the livenessProbe field is set.
-
getLivenessProbe
public Generated.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;- Specified by:
getLivenessProbein interfaceGenerated.ContainerOrBuilder- Returns:
- The livenessProbe.
-
setLivenessProbe
public Generated.Container.Builder setLivenessProbe(Generated.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;
-
setLivenessProbe
public Generated.Container.Builder setLivenessProbe(Generated.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;
-
mergeLivenessProbe
public Generated.Container.Builder mergeLivenessProbe(Generated.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;
-
clearLivenessProbe
public Generated.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;
-
getLivenessProbeBuilder
public Generated.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;
-
getLivenessProbeOrBuilder
public Generated.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;- Specified by:
getLivenessProbeOrBuilderin interfaceGenerated.ContainerOrBuilder
-
hasReadinessProbe
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;- Specified by:
hasReadinessProbein interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the readinessProbe field is set.
-
getReadinessProbe
public Generated.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;- Specified by:
getReadinessProbein interfaceGenerated.ContainerOrBuilder- Returns:
- The readinessProbe.
-
setReadinessProbe
public Generated.Container.Builder setReadinessProbe(Generated.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;
-
setReadinessProbe
public Generated.Container.Builder setReadinessProbe(Generated.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;
-
mergeReadinessProbe
public Generated.Container.Builder mergeReadinessProbe(Generated.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;
-
clearReadinessProbe
public Generated.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;
-
getReadinessProbeBuilder
public Generated.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;
-
getReadinessProbeOrBuilder
public Generated.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;- Specified by:
getReadinessProbeOrBuilderin interfaceGenerated.ContainerOrBuilder
-
hasStartupProbe
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;- Specified by:
hasStartupProbein interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the startupProbe field is set.
-
getStartupProbe
public Generated.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;- Specified by:
getStartupProbein interfaceGenerated.ContainerOrBuilder- Returns:
- The startupProbe.
-
setStartupProbe
public Generated.Container.Builder setStartupProbe(Generated.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;
-
setStartupProbe
public Generated.Container.Builder setStartupProbe(Generated.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;
-
mergeStartupProbe
public Generated.Container.Builder mergeStartupProbe(Generated.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;
-
clearStartupProbe
public Generated.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;
-
getStartupProbeBuilder
public Generated.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;
-
getStartupProbeOrBuilder
public Generated.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;- Specified by:
getStartupProbeOrBuilderin interfaceGenerated.ContainerOrBuilder
-
hasLifecycle
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;- Specified by:
hasLifecyclein interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the lifecycle field is set.
-
getLifecycle
public Generated.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;- Specified by:
getLifecyclein interfaceGenerated.ContainerOrBuilder- Returns:
- The lifecycle.
-
setLifecycle
public Generated.Container.Builder setLifecycle(Generated.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;
-
setLifecycle
public Generated.Container.Builder setLifecycle(Generated.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;
-
mergeLifecycle
public Generated.Container.Builder mergeLifecycle(Generated.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;
-
clearLifecycle
public Generated.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;
-
getLifecycleBuilder
public Generated.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;
-
getLifecycleOrBuilder
public Generated.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;- Specified by:
getLifecycleOrBuilderin interfaceGenerated.ContainerOrBuilder
-
hasTerminationMessagePath
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;- Specified by:
hasTerminationMessagePathin interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the terminationMessagePath field is set.
-
getTerminationMessagePath
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;- Specified by:
getTerminationMessagePathin interfaceGenerated.ContainerOrBuilder- Returns:
- The terminationMessagePath.
-
getTerminationMessagePathBytes
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;- Specified by:
getTerminationMessagePathBytesin interfaceGenerated.ContainerOrBuilder- Returns:
- The bytes for terminationMessagePath.
-
setTerminationMessagePath
public Generated.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;- Parameters:
value- The terminationMessagePath to set.- Returns:
- This builder for chaining.
-
clearTerminationMessagePath
public Generated.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;- Returns:
- This builder for chaining.
-
setTerminationMessagePathBytes
public Generated.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;- Parameters:
value- The bytes for terminationMessagePath to set.- Returns:
- This builder for chaining.
-
hasTerminationMessagePolicy
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;- Specified by:
hasTerminationMessagePolicyin interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the terminationMessagePolicy field is set.
-
getTerminationMessagePolicy
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;- Specified by:
getTerminationMessagePolicyin interfaceGenerated.ContainerOrBuilder- Returns:
- The terminationMessagePolicy.
-
getTerminationMessagePolicyBytes
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;- Specified by:
getTerminationMessagePolicyBytesin interfaceGenerated.ContainerOrBuilder- Returns:
- The bytes for terminationMessagePolicy.
-
setTerminationMessagePolicy
public Generated.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;- Parameters:
value- The terminationMessagePolicy to set.- Returns:
- This builder for chaining.
-
clearTerminationMessagePolicy
public Generated.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;- Returns:
- This builder for chaining.
-
setTerminationMessagePolicyBytes
public Generated.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;- Parameters:
value- The bytes for terminationMessagePolicy to set.- Returns:
- This builder for chaining.
-
hasImagePullPolicy
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;- Specified by:
hasImagePullPolicyin interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the imagePullPolicy field is set.
-
getImagePullPolicy
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;- Specified by:
getImagePullPolicyin interfaceGenerated.ContainerOrBuilder- Returns:
- The imagePullPolicy.
-
getImagePullPolicyBytes
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;- Specified by:
getImagePullPolicyBytesin interfaceGenerated.ContainerOrBuilder- Returns:
- The bytes for imagePullPolicy.
-
setImagePullPolicy
public Generated.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;- Parameters:
value- The imagePullPolicy to set.- Returns:
- This builder for chaining.
-
clearImagePullPolicy
public Generated.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;- Returns:
- This builder for chaining.
-
setImagePullPolicyBytes
public Generated.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;- Parameters:
value- The bytes for imagePullPolicy to set.- Returns:
- This builder for chaining.
-
hasSecurityContext
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;- Specified by:
hasSecurityContextin interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the securityContext field is set.
-
getSecurityContext
public Generated.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;- Specified by:
getSecurityContextin interfaceGenerated.ContainerOrBuilder- Returns:
- The securityContext.
-
setSecurityContext
public Generated.Container.Builder setSecurityContext(Generated.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;
-
setSecurityContext
public Generated.Container.Builder setSecurityContext(Generated.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;
-
mergeSecurityContext
public Generated.Container.Builder mergeSecurityContext(Generated.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;
-
clearSecurityContext
public Generated.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;
-
getSecurityContextBuilder
public Generated.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;
-
getSecurityContextOrBuilder
public Generated.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;- Specified by:
getSecurityContextOrBuilderin interfaceGenerated.ContainerOrBuilder
-
hasStdin
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;- Specified by:
hasStdinin interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the stdin field is set.
-
getStdin
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;- Specified by:
getStdinin interfaceGenerated.ContainerOrBuilder- Returns:
- The stdin.
-
setStdin
public Generated.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;- Parameters:
value- The stdin to set.- Returns:
- This builder for chaining.
-
clearStdin
public Generated.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;- Returns:
- This builder for chaining.
-
hasStdinOnce
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;- Specified by:
hasStdinOncein interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the stdinOnce field is set.
-
getStdinOnce
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;- Specified by:
getStdinOncein interfaceGenerated.ContainerOrBuilder- Returns:
- The stdinOnce.
-
setStdinOnce
public Generated.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;- Parameters:
value- The stdinOnce to set.- Returns:
- This builder for chaining.
-
clearStdinOnce
public Generated.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;- Returns:
- This builder for chaining.
-
hasTty
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;- Specified by:
hasTtyin interfaceGenerated.ContainerOrBuilder- Returns:
- Whether the tty field is set.
-
getTty
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;- Specified by:
getTtyin interfaceGenerated.ContainerOrBuilder- Returns:
- The tty.
-
setTty
public Generated.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;- Parameters:
value- The tty to set.- Returns:
- This builder for chaining.
-
clearTty
public Generated.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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.Container.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
mergeUnknownFields
public final Generated.Container.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Container.Builder>
-
-