Class KubernetesPodData.Container.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.Container.Builder>
ai.chalk.protos.chalk.kubernetes.v1.KubernetesPodData.Container.Builder
- All Implemented Interfaces:
KubernetesPodData.ContainerOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- KubernetesPodData.Container
public static final class KubernetesPodData.Container.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.Container.Builder>
implements KubernetesPodData.ContainerOrBuilder
A single application container that you want to run within a pod.Protobuf type
chalk.kubernetes.v1.KubernetesPodData.Container-
Method Summary
Modifier and TypeMethodDescriptionaddAllArgs(Iterable<String> values) Arguments to the entrypoint.addAllCommand(Iterable<String> values) Entrypoint array.addAllEnv(Iterable<? extends KubernetesPodData.EnvVar> values) List of environment variables to set in the container.Arguments to the entrypoint.addArgsBytes(com.google.protobuf.ByteString value) Arguments to the entrypoint.addCommand(String value) Entrypoint array.addCommandBytes(com.google.protobuf.ByteString value) Entrypoint array.addEnv(int index, KubernetesPodData.EnvVar value) List of environment variables to set in the container.addEnv(int index, KubernetesPodData.EnvVar.Builder builderForValue) List of environment variables to set in the container.addEnv(KubernetesPodData.EnvVar value) List of environment variables to set in the container.addEnv(KubernetesPodData.EnvVar.Builder builderForValue) List of environment variables to set in the container.List of environment variables to set in the container.addEnvBuilder(int index) List of environment variables to set in the container.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Arguments to the entrypoint.Entrypoint array.clearEnv()List of environment variables to set in the container.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Container image name.Image pull policy.Name of the container specified as a DNS_LABEL.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Compute Resources required by this container.RestartPolicy defines the restart behavior of individual containers in a pod.Whether this container should allocate a buffer for stdin in the container runtime.Whether the container runtime should close the stdin channel after it has been opened by a single attach.Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.Indicate how the termination message should be populated.clearTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.Container's working directory.clone()getArgs(int index) Arguments to the entrypoint.com.google.protobuf.ByteStringgetArgsBytes(int index) Arguments to the entrypoint.intArguments to the entrypoint.com.google.protobuf.ProtocolStringListArguments to the entrypoint.getCommand(int index) Entrypoint array.com.google.protobuf.ByteStringgetCommandBytes(int index) Entrypoint array.intEntrypoint array.com.google.protobuf.ProtocolStringListEntrypoint array.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEnv(int index) List of environment variables to set in the container.getEnvBuilder(int index) List of environment variables to set in the container.List of environment variables to set in the container.intList of environment variables to set in the container.List of environment variables to set in the container.getEnvOrBuilder(int index) List of environment variables to set in the container.List<? extends KubernetesPodData.EnvVarOrBuilder>List of environment variables to set in the container.getImage()Container image name.com.google.protobuf.ByteStringContainer image name.Image pull policy.com.google.protobuf.ByteStringImage pull policy.getName()Name of the container specified as a DNS_LABEL.com.google.protobuf.ByteStringName of the container specified as a DNS_LABEL.Compute Resources required by this container.Compute Resources required by this container.Compute Resources required by this container.RestartPolicy defines the restart behavior of individual containers in a pod.com.google.protobuf.ByteStringRestartPolicy defines the restart behavior of individual containers in a pod.booleangetStdin()Whether this container should allocate a buffer for stdin in the container runtime.booleanWhether the container runtime should close the stdin channel after it has been opened by a single attach.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.ByteStringOptional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.Indicate how the termination message should be populated.com.google.protobuf.ByteStringIndicate how the termination message should be populated.booleangetTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.Container's working directory.com.google.protobuf.ByteStringContainer's working directory.booleanhasImage()Container image name.booleanImage pull policy.booleanCompute Resources required by this container.booleanRestartPolicy defines the restart behavior of individual containers in a pod.booleanOptional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.booleanIndicate how the termination message should be populated.booleanContainer's working directory.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Compute Resources required by this container.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeEnv(int index) List of environment variables to set in the container.Arguments to the entrypoint.setCommand(int index, String value) Entrypoint array.setEnv(int index, KubernetesPodData.EnvVar value) List of environment variables to set in the container.setEnv(int index, KubernetesPodData.EnvVar.Builder builderForValue) List of environment variables to set in the container.Container image name.setImageBytes(com.google.protobuf.ByteString value) Container image name.setImagePullPolicy(String value) Image pull policy.setImagePullPolicyBytes(com.google.protobuf.ByteString value) Image pull policy.Name of the container specified as a DNS_LABEL.setNameBytes(com.google.protobuf.ByteString value) Name of the container specified as a DNS_LABEL.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Compute Resources required by this container.setResources(KubernetesPodData.ResourceRequirements.Builder builderForValue) Compute Resources required by this container.setRestartPolicy(String value) RestartPolicy defines the restart behavior of individual containers in a pod.setRestartPolicyBytes(com.google.protobuf.ByteString value) RestartPolicy defines the restart behavior of individual containers in a pod.setStdin(boolean value) Whether this container should allocate a buffer for stdin in the container runtime.setStdinOnce(boolean value) Whether the container runtime should close the stdin channel after it has been opened by a single attach.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.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.Indicate how the termination message should be populated.setTerminationMessagePolicyBytes(com.google.protobuf.ByteString value) Indicate how the termination message should be populated.setTty(boolean value) Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWorkingDir(String value) Container's working directory.setWorkingDirBytes(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<KubernetesPodData.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<KubernetesPodData.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<KubernetesPodData.Container.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<KubernetesPodData.Container.Builder>
-
setField
public KubernetesPodData.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<KubernetesPodData.Container.Builder>
-
clearField
public KubernetesPodData.Container.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.Container.Builder>
-
clearOneof
public KubernetesPodData.Container.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.Container.Builder>
-
setRepeatedField
public KubernetesPodData.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<KubernetesPodData.Container.Builder>
-
addRepeatedField
public KubernetesPodData.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<KubernetesPodData.Container.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KubernetesPodData.Container.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.Container.Builder>
-
mergeFrom
public KubernetesPodData.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<KubernetesPodData.Container.Builder>- Throws:
IOException
-
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.
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceKubernetesPodData.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.
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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.
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
string name = 1 [json_name = "name"];- 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 [json_name = "image"];- Specified by:
hasImagein interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- Whether the image field is set.
-
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 [json_name = "image"];- Specified by:
getImagein interfaceKubernetesPodData.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 [json_name = "image"];- Specified by:
getImageBytesin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The bytes for image.
-
setImage
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 [json_name = "image"];- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
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 [json_name = "image"];- Returns:
- This builder for chaining.
-
setImageBytes
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 [json_name = "image"];- 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 [json_name = "command"];- Specified by:
getCommandListin interfaceKubernetesPodData.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 [json_name = "command"];- Specified by:
getCommandCountin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The count of command.
-
getCommand
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 [json_name = "command"];- Specified by:
getCommandin interfaceKubernetesPodData.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 [json_name = "command"];- Specified by:
getCommandBytesin interfaceKubernetesPodData.ContainerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the command at the given index.
-
setCommand
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 [json_name = "command"];- Parameters:
index- The index to set the value at.value- The command to set.- Returns:
- This builder for chaining.
-
addCommand
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 [json_name = "command"];- Parameters:
value- The command to add.- Returns:
- This builder for chaining.
-
addAllCommand
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 [json_name = "command"];- Parameters:
values- The command to add.- Returns:
- This builder for chaining.
-
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 [json_name = "command"];- Returns:
- This builder for chaining.
-
addCommandBytes
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 [json_name = "command"];- 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 [json_name = "args"];- Specified by:
getArgsListin interfaceKubernetesPodData.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 [json_name = "args"];- Specified by:
getArgsCountin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The count of args.
-
getArgs
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 [json_name = "args"];- Specified by:
getArgsin interfaceKubernetesPodData.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 [json_name = "args"];- Specified by:
getArgsBytesin interfaceKubernetesPodData.ContainerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
setArgs
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 [json_name = "args"];- Parameters:
index- The index to set the value at.value- The args to set.- Returns:
- This builder for chaining.
-
addArgs
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 [json_name = "args"];- Parameters:
value- The args to add.- Returns:
- This builder for chaining.
-
addAllArgs
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 [json_name = "args"];- Parameters:
values- The args to add.- Returns:
- This builder for chaining.
-
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 [json_name = "args"];- Returns:
- This builder for chaining.
-
addArgsBytes
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 [json_name = "args"];- 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 working_dir = 5 [json_name = "workingDir"];- Specified by:
hasWorkingDirin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- Whether the workingDir field is set.
-
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 working_dir = 5 [json_name = "workingDir"];- Specified by:
getWorkingDirin interfaceKubernetesPodData.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 working_dir = 5 [json_name = "workingDir"];- Specified by:
getWorkingDirBytesin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The bytes for workingDir.
-
setWorkingDir
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 working_dir = 5 [json_name = "workingDir"];- Parameters:
value- The workingDir to set.- Returns:
- This builder for chaining.
-
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 working_dir = 5 [json_name = "workingDir"];- Returns:
- This builder for chaining.
-
setWorkingDirBytes
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 working_dir = 5 [json_name = "workingDir"];- Parameters:
value- The bytes for workingDir to set.- Returns:
- This builder for chaining.
-
getEnvList
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"];- Specified by:
getEnvListin interfaceKubernetesPodData.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 .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"];- Specified by:
getEnvCountin interfaceKubernetesPodData.ContainerOrBuilder
-
getEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"];- Specified by:
getEnvin interfaceKubernetesPodData.ContainerOrBuilder
-
setEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
setEnv
public KubernetesPodData.Container.Builder setEnv(int index, KubernetesPodData.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 .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
addEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
addEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
addEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
addEnv
public KubernetesPodData.Container.Builder addEnv(int index, KubernetesPodData.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 .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
addAllEnv
public KubernetesPodData.Container.Builder addAllEnv(Iterable<? extends KubernetesPodData.EnvVar> values) List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
clearEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
removeEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
getEnvBuilder
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
getEnvOrBuilder
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"];- Specified by:
getEnvOrBuilderin interfaceKubernetesPodData.ContainerOrBuilder
-
getEnvOrBuilderList
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"];- Specified by:
getEnvOrBuilderListin interfaceKubernetesPodData.ContainerOrBuilder
-
addEnvBuilder
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
addEnvBuilder
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
getEnvBuilderList
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .chalk.kubernetes.v1.KubernetesPodData.EnvVar env = 7 [json_name = "env"]; -
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 .chalk.kubernetes.v1.KubernetesPodData.ResourceRequirements resources = 8 [json_name = "resources"];- Specified by:
hasResourcesin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- Whether the resources field is set.
-
getResources
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ResourceRequirements resources = 8 [json_name = "resources"];- Specified by:
getResourcesin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The resources.
-
setResources
public KubernetesPodData.Container.Builder setResources(KubernetesPodData.ResourceRequirements value) Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ResourceRequirements resources = 8 [json_name = "resources"]; -
setResources
public KubernetesPodData.Container.Builder setResources(KubernetesPodData.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 .chalk.kubernetes.v1.KubernetesPodData.ResourceRequirements resources = 8 [json_name = "resources"]; -
mergeResources
public KubernetesPodData.Container.Builder mergeResources(KubernetesPodData.ResourceRequirements value) Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ResourceRequirements resources = 8 [json_name = "resources"]; -
clearResources
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ResourceRequirements resources = 8 [json_name = "resources"]; -
getResourcesBuilder
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ResourceRequirements resources = 8 [json_name = "resources"]; -
getResourcesOrBuilder
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ResourceRequirements resources = 8 [json_name = "resources"];- Specified by:
getResourcesOrBuilderin interfaceKubernetesPodData.ContainerOrBuilder
-
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 restart_policy = 24 [json_name = "restartPolicy"];- Specified by:
hasRestartPolicyin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- Whether the restartPolicy field is set.
-
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 restart_policy = 24 [json_name = "restartPolicy"];- Specified by:
getRestartPolicyin interfaceKubernetesPodData.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 restart_policy = 24 [json_name = "restartPolicy"];- Specified by:
getRestartPolicyBytesin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The bytes for restartPolicy.
-
setRestartPolicy
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 restart_policy = 24 [json_name = "restartPolicy"];- Parameters:
value- The restartPolicy to set.- Returns:
- This builder for chaining.
-
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 restart_policy = 24 [json_name = "restartPolicy"];- Returns:
- This builder for chaining.
-
setRestartPolicyBytes
public KubernetesPodData.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 restart_policy = 24 [json_name = "restartPolicy"];- Parameters:
value- The bytes for restartPolicy to set.- Returns:
- This builder for chaining.
-
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 termination_message_path = 13 [json_name = "terminationMessagePath"];- Specified by:
hasTerminationMessagePathin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- Whether the terminationMessagePath field is set.
-
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 termination_message_path = 13 [json_name = "terminationMessagePath"];- Specified by:
getTerminationMessagePathin interfaceKubernetesPodData.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 termination_message_path = 13 [json_name = "terminationMessagePath"];- Specified by:
getTerminationMessagePathBytesin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The bytes for terminationMessagePath.
-
setTerminationMessagePath
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 termination_message_path = 13 [json_name = "terminationMessagePath"];- Parameters:
value- The terminationMessagePath to set.- Returns:
- This builder for chaining.
-
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 termination_message_path = 13 [json_name = "terminationMessagePath"];- Returns:
- This builder for chaining.
-
setTerminationMessagePathBytes
public KubernetesPodData.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 termination_message_path = 13 [json_name = "terminationMessagePath"];- 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 termination_message_policy = 20 [json_name = "terminationMessagePolicy"];- Specified by:
hasTerminationMessagePolicyin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- Whether the terminationMessagePolicy field is set.
-
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 termination_message_policy = 20 [json_name = "terminationMessagePolicy"];- Specified by:
getTerminationMessagePolicyin interfaceKubernetesPodData.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 termination_message_policy = 20 [json_name = "terminationMessagePolicy"];- Specified by:
getTerminationMessagePolicyBytesin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The bytes for terminationMessagePolicy.
-
setTerminationMessagePolicy
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 termination_message_policy = 20 [json_name = "terminationMessagePolicy"];- Parameters:
value- The terminationMessagePolicy to set.- Returns:
- This builder for chaining.
-
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 termination_message_policy = 20 [json_name = "terminationMessagePolicy"];- Returns:
- This builder for chaining.
-
setTerminationMessagePolicyBytes
public KubernetesPodData.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 termination_message_policy = 20 [json_name = "terminationMessagePolicy"];- 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 image_pull_policy = 14 [json_name = "imagePullPolicy"];- Specified by:
hasImagePullPolicyin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- Whether the imagePullPolicy field is set.
-
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 image_pull_policy = 14 [json_name = "imagePullPolicy"];- Specified by:
getImagePullPolicyin interfaceKubernetesPodData.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 image_pull_policy = 14 [json_name = "imagePullPolicy"];- Specified by:
getImagePullPolicyBytesin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The bytes for imagePullPolicy.
-
setImagePullPolicy
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 image_pull_policy = 14 [json_name = "imagePullPolicy"];- Parameters:
value- The imagePullPolicy to set.- Returns:
- This builder for chaining.
-
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 image_pull_policy = 14 [json_name = "imagePullPolicy"];- Returns:
- This builder for chaining.
-
setImagePullPolicyBytes
public KubernetesPodData.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 image_pull_policy = 14 [json_name = "imagePullPolicy"];- Parameters:
value- The bytes for imagePullPolicy to set.- Returns:
- This builder for chaining.
-
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.
bool stdin = 16 [json_name = "stdin"];- Specified by:
getStdinin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The stdin.
-
setStdin
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.
bool stdin = 16 [json_name = "stdin"];- Parameters:
value- The stdin to set.- Returns:
- This builder for chaining.
-
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.
bool stdin = 16 [json_name = "stdin"];- Returns:
- This builder for chaining.
-
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.
bool stdin_once = 17 [json_name = "stdinOnce"];- Specified by:
getStdinOncein interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The stdinOnce.
-
setStdinOnce
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.
bool stdin_once = 17 [json_name = "stdinOnce"];- Parameters:
value- The stdinOnce to set.- Returns:
- This builder for chaining.
-
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.
bool stdin_once = 17 [json_name = "stdinOnce"];- Returns:
- This builder for chaining.
-
getTty
public boolean getTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
bool tty = 18 [json_name = "tty"];- Specified by:
getTtyin interfaceKubernetesPodData.ContainerOrBuilder- Returns:
- The tty.
-
setTty
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
bool tty = 18 [json_name = "tty"];- Parameters:
value- The tty to set.- Returns:
- This builder for chaining.
-
clearTty
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
bool tty = 18 [json_name = "tty"];- Returns:
- This builder for chaining.
-
setUnknownFields
public final KubernetesPodData.Container.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.Container.Builder>
-
mergeUnknownFields
public final KubernetesPodData.Container.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.Container.Builder>
-