Class Generated.EphemeralContainerCommon.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Generated.EphemeralContainerCommonOrBuilder
    Enclosing class:
    Generated.EphemeralContainerCommon

    public static final class Generated.EphemeralContainerCommon.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.EphemeralContainerCommon.Builder>
    implements Generated.EphemeralContainerCommonOrBuilder
     EphemeralContainerCommon is a copy of all fields in Container to be inlined in
     EphemeralContainer. This separate type allows easy conversion from EphemeralContainer
     to Container and allows separate documentation for the fields of EphemeralContainer.
     When a new field is added to Container it must be added here as well.
     
    Protobuf type k8s.io.api.core.v1.EphemeralContainerCommon
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.EphemeralContainerCommon.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.EphemeralContainerCommon.Builder>
      • getDefaultInstanceForType

        public Generated.EphemeralContainerCommon getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.EphemeralContainerCommon build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.EphemeralContainerCommon buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.EphemeralContainerCommon.Builder>
      • hasName

        public boolean hasName()
         Name of the ephemeral container specified as a DNS_LABEL.
         This name must be unique among all containers, init containers and ephemeral containers.
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         Name of the ephemeral container specified as a DNS_LABEL.
         This name must be unique among all containers, init containers and ephemeral containers.
         
        optional string name = 1;
        Specified by:
        getName in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of the ephemeral container specified as a DNS_LABEL.
         This name must be unique among all containers, init containers and ephemeral containers.
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.EphemeralContainerCommon.Builder setName​(String value)
         Name of the ephemeral container specified as a DNS_LABEL.
         This name must be unique among all containers, init containers and ephemeral containers.
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.EphemeralContainerCommon.Builder clearName()
         Name of the ephemeral container specified as a DNS_LABEL.
         This name must be unique among all containers, init containers and ephemeral containers.
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.EphemeralContainerCommon.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the ephemeral container specified as a DNS_LABEL.
         This name must be unique among all containers, init containers and ephemeral containers.
         
        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
         
        optional string image = 2;
        Specified by:
        hasImage in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        Whether the image field is set.
      • getImageBytes

        public com.google.protobuf.ByteString getImageBytes()
         Container image name.
         More info: https://kubernetes.io/docs/concepts/containers/images
         
        optional string image = 2;
        Specified by:
        getImageBytes in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The bytes for image.
      • setImage

        public Generated.EphemeralContainerCommon.Builder setImage​(String value)
         Container image name.
         More info: https://kubernetes.io/docs/concepts/containers/images
         
        optional string image = 2;
        Parameters:
        value - The image to set.
        Returns:
        This builder for chaining.
      • clearImage

        public Generated.EphemeralContainerCommon.Builder clearImage()
         Container image name.
         More info: https://kubernetes.io/docs/concepts/containers/images
         
        optional string image = 2;
        Returns:
        This builder for chaining.
      • setImageBytes

        public Generated.EphemeralContainerCommon.Builder setImageBytes​(com.google.protobuf.ByteString value)
         Container image name.
         More info: https://kubernetes.io/docs/concepts/containers/images
         
        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 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:
        getCommandList in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        A list containing the command.
      • getCommandCount

        public int getCommandCount()
         Entrypoint array. Not executed within a shell.
         The 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:
        getCommandCount in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The count of command.
      • getCommand

        public String getCommand​(int index)
         Entrypoint array. Not executed within a shell.
         The 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:
        getCommand in interface Generated.EphemeralContainerCommonOrBuilder
        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 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:
        getCommandBytes in interface Generated.EphemeralContainerCommonOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the command at the given index.
      • setCommand

        public Generated.EphemeralContainerCommon.Builder setCommand​(int index,
                                                                     String value)
         Entrypoint array. Not executed within a shell.
         The 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.EphemeralContainerCommon.Builder addCommand​(String value)
         Entrypoint array. Not executed within a shell.
         The 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.EphemeralContainerCommon.Builder addAllCommand​(Iterable<String> values)
         Entrypoint array. Not executed within a shell.
         The 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.EphemeralContainerCommon.Builder clearCommand()
         Entrypoint array. Not executed within a shell.
         The 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.EphemeralContainerCommon.Builder addCommandBytes​(com.google.protobuf.ByteString value)
         Entrypoint array. Not executed within a shell.
         The 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 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:
        getArgsList in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        A list containing the args.
      • getArgsCount

        public int getArgsCount()
         Arguments to the entrypoint.
         The 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:
        getArgsCount in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The count of args.
      • getArgs

        public String getArgs​(int index)
         Arguments to the entrypoint.
         The 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:
        getArgs in interface Generated.EphemeralContainerCommonOrBuilder
        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 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:
        getArgsBytes in interface Generated.EphemeralContainerCommonOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the args at the given index.
      • setArgs

        public Generated.EphemeralContainerCommon.Builder setArgs​(int index,
                                                                  String value)
         Arguments to the entrypoint.
         The 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.EphemeralContainerCommon.Builder addArgs​(String value)
         Arguments to the entrypoint.
         The 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.EphemeralContainerCommon.Builder addAllArgs​(Iterable<String> values)
         Arguments to the entrypoint.
         The 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.EphemeralContainerCommon.Builder clearArgs()
         Arguments to the entrypoint.
         The 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.EphemeralContainerCommon.Builder addArgsBytes​(com.google.protobuf.ByteString value)
         Arguments to the entrypoint.
         The 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:
        hasWorkingDir in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getWorkingDir in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getWorkingDirBytes in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The bytes for workingDir.
      • setWorkingDir

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.
      • getPortsCount

        public int getPortsCount()
         Ports are not allowed for ephemeral containers.
         +optional
         +patchMergeKey=containerPort
         +patchStrategy=merge
         +listType=map
         +listMapKey=containerPort
         +listMapKey=protocol
         
        repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
        Specified by:
        getPortsCount in interface Generated.EphemeralContainerCommonOrBuilder
      • getPorts

        public Generated.ContainerPort getPorts​(int index)
         Ports are not allowed for ephemeral containers.
         +optional
         +patchMergeKey=containerPort
         +patchStrategy=merge
         +listType=map
         +listMapKey=containerPort
         +listMapKey=protocol
         
        repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
        Specified by:
        getPorts in interface Generated.EphemeralContainerCommonOrBuilder
      • setPorts

        public Generated.EphemeralContainerCommon.Builder setPorts​(int index,
                                                                   Generated.ContainerPort value)
         Ports are not allowed for ephemeral containers.
         +optional
         +patchMergeKey=containerPort
         +patchStrategy=merge
         +listType=map
         +listMapKey=containerPort
         +listMapKey=protocol
         
        repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
      • addPorts

        public Generated.EphemeralContainerCommon.Builder addPorts​(Generated.ContainerPort value)
         Ports are not allowed for ephemeral containers.
         +optional
         +patchMergeKey=containerPort
         +patchStrategy=merge
         +listType=map
         +listMapKey=containerPort
         +listMapKey=protocol
         
        repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
      • addPorts

        public Generated.EphemeralContainerCommon.Builder addPorts​(int index,
                                                                   Generated.ContainerPort value)
         Ports are not allowed for ephemeral containers.
         +optional
         +patchMergeKey=containerPort
         +patchStrategy=merge
         +listType=map
         +listMapKey=containerPort
         +listMapKey=protocol
         
        repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
      • clearPorts

        public Generated.EphemeralContainerCommon.Builder clearPorts()
         Ports are not allowed for ephemeral containers.
         +optional
         +patchMergeKey=containerPort
         +patchStrategy=merge
         +listType=map
         +listMapKey=containerPort
         +listMapKey=protocol
         
        repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
      • removePorts

        public Generated.EphemeralContainerCommon.Builder removePorts​(int index)
         Ports are not allowed for ephemeral containers.
         +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)
         Ports are not allowed for ephemeral containers.
         +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()
         Ports are not allowed for ephemeral containers.
         +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)
         Ports are not allowed for ephemeral containers.
         +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()
         Ports are not allowed for ephemeral containers.
         +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:
        getEnvFromList in interface Generated.EphemeralContainerCommonOrBuilder
      • 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:
        getEnvFromCount in interface Generated.EphemeralContainerCommonOrBuilder
      • 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:
        getEnvFrom in interface Generated.EphemeralContainerCommonOrBuilder
      • setEnvFrom

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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:
        getEnvFromOrBuilder in interface Generated.EphemeralContainerCommonOrBuilder
      • 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:
        getEnvFromOrBuilderList in interface Generated.EphemeralContainerCommonOrBuilder
      • 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;
      • 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:
        getEnvCount in interface Generated.EphemeralContainerCommonOrBuilder
      • 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:
        getEnv in interface Generated.EphemeralContainerCommonOrBuilder
      • setEnv

        public Generated.EphemeralContainerCommon.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;
      • addEnv

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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;
      • clearEnv

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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;
      • 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()
         Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
         already allocated to the pod.
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
        Specified by:
        hasResources in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        Whether the resources field is set.
      • clearResources

        public Generated.EphemeralContainerCommon.Builder clearResources()
         Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
         already allocated to the pod.
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
      • getResourcesBuilder

        public Generated.ResourceRequirements.Builder getResourcesBuilder()
         Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
         already allocated to the pod.
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
      • 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:
        getResizePolicyCount in interface Generated.EphemeralContainerCommonOrBuilder
      • clearResizePolicy

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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;
      • 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()
         Restart policy for the container to manage the restart behavior of each
         container within a pod.
         This may only be set for init containers. You cannot set this field on
         ephemeral containers.
         +featureGate=SidecarContainers
         +optional
         
        optional string restartPolicy = 24;
        Specified by:
        hasRestartPolicy in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        Whether the restartPolicy field is set.
      • getRestartPolicy

        public String getRestartPolicy()
         Restart policy for the container to manage the restart behavior of each
         container within a pod.
         This may only be set for init containers. You cannot set this field on
         ephemeral containers.
         +featureGate=SidecarContainers
         +optional
         
        optional string restartPolicy = 24;
        Specified by:
        getRestartPolicy in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The restartPolicy.
      • getRestartPolicyBytes

        public com.google.protobuf.ByteString getRestartPolicyBytes()
         Restart policy for the container to manage the restart behavior of each
         container within a pod.
         This may only be set for init containers. You cannot set this field on
         ephemeral containers.
         +featureGate=SidecarContainers
         +optional
         
        optional string restartPolicy = 24;
        Specified by:
        getRestartPolicyBytes in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The bytes for restartPolicy.
      • setRestartPolicy

        public Generated.EphemeralContainerCommon.Builder setRestartPolicy​(String value)
         Restart policy for the container to manage the restart behavior of each
         container within a pod.
         This may only be set for init containers. You cannot set this field on
         ephemeral containers.
         +featureGate=SidecarContainers
         +optional
         
        optional string restartPolicy = 24;
        Parameters:
        value - The restartPolicy to set.
        Returns:
        This builder for chaining.
      • clearRestartPolicy

        public Generated.EphemeralContainerCommon.Builder clearRestartPolicy()
         Restart policy for the container to manage the restart behavior of each
         container within a pod.
         This may only be set for init containers. You cannot set this field on
         ephemeral containers.
         +featureGate=SidecarContainers
         +optional
         
        optional string restartPolicy = 24;
        Returns:
        This builder for chaining.
      • setRestartPolicyBytes

        public Generated.EphemeralContainerCommon.Builder setRestartPolicyBytes​(com.google.protobuf.ByteString value)
         Restart policy for the container to manage the restart behavior of each
         container within a pod.
         This may only be set for init containers. You cannot set this field on
         ephemeral containers.
         +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. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
        Specified by:
        getVolumeMountsList in interface Generated.EphemeralContainerCommonOrBuilder
      • getVolumeMountsCount

        public int getVolumeMountsCount()
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
        Specified by:
        getVolumeMountsCount in interface Generated.EphemeralContainerCommonOrBuilder
      • getVolumeMounts

        public Generated.VolumeMount getVolumeMounts​(int index)
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
        Specified by:
        getVolumeMounts in interface Generated.EphemeralContainerCommonOrBuilder
      • setVolumeMounts

        public Generated.EphemeralContainerCommon.Builder setVolumeMounts​(int index,
                                                                          Generated.VolumeMount value)
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      • setVolumeMounts

        public Generated.EphemeralContainerCommon.Builder setVolumeMounts​(int index,
                                                                          Generated.VolumeMount.Builder builderForValue)
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      • addVolumeMounts

        public Generated.EphemeralContainerCommon.Builder addVolumeMounts​(Generated.VolumeMount value)
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      • addVolumeMounts

        public Generated.EphemeralContainerCommon.Builder addVolumeMounts​(int index,
                                                                          Generated.VolumeMount value)
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      • addVolumeMounts

        public Generated.EphemeralContainerCommon.Builder addVolumeMounts​(Generated.VolumeMount.Builder builderForValue)
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      • addVolumeMounts

        public Generated.EphemeralContainerCommon.Builder addVolumeMounts​(int index,
                                                                          Generated.VolumeMount.Builder builderForValue)
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      • addAllVolumeMounts

        public Generated.EphemeralContainerCommon.Builder addAllVolumeMounts​(Iterable<? extends Generated.VolumeMount> values)
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      • clearVolumeMounts

        public Generated.EphemeralContainerCommon.Builder clearVolumeMounts()
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      • removeVolumeMounts

        public Generated.EphemeralContainerCommon.Builder removeVolumeMounts​(int index)
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         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. Subpath mounts are not allowed for ephemeral containers.
         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. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
        Specified by:
        getVolumeMountsOrBuilder in interface Generated.EphemeralContainerCommonOrBuilder
      • addVolumeMountsBuilder

        public Generated.VolumeMount.Builder addVolumeMountsBuilder()
         Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
         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. Subpath mounts are not allowed for ephemeral containers.
         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. Subpath mounts are not allowed for ephemeral containers.
         Cannot be updated.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         
        repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      • 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:
        getVolumeDevicesCount in interface Generated.EphemeralContainerCommonOrBuilder
      • setVolumeDevices

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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;
      • 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()
         Probes are not allowed for ephemeral containers.
         +optional
         
        optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
        Specified by:
        hasLivenessProbe in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        Whether the livenessProbe field is set.
      • getLivenessProbeBuilder

        public Generated.Probe.Builder getLivenessProbeBuilder()
         Probes are not allowed for ephemeral containers.
         +optional
         
        optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
      • hasReadinessProbe

        public boolean hasReadinessProbe()
         Probes are not allowed for ephemeral containers.
         +optional
         
        optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
        Specified by:
        hasReadinessProbe in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        Whether the readinessProbe field is set.
      • clearReadinessProbe

        public Generated.EphemeralContainerCommon.Builder clearReadinessProbe()
         Probes are not allowed for ephemeral containers.
         +optional
         
        optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
      • getReadinessProbeBuilder

        public Generated.Probe.Builder getReadinessProbeBuilder()
         Probes are not allowed for ephemeral containers.
         +optional
         
        optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
      • hasStartupProbe

        public boolean hasStartupProbe()
         Probes are not allowed for ephemeral containers.
         +optional
         
        optional .k8s.io.api.core.v1.Probe startupProbe = 22;
        Specified by:
        hasStartupProbe in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        Whether the startupProbe field is set.
      • getStartupProbeBuilder

        public Generated.Probe.Builder getStartupProbeBuilder()
         Probes are not allowed for ephemeral containers.
         +optional
         
        optional .k8s.io.api.core.v1.Probe startupProbe = 22;
      • hasLifecycle

        public boolean hasLifecycle()
         Lifecycle is not allowed for ephemeral containers.
         +optional
         
        optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
        Specified by:
        hasLifecycle in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        Whether the lifecycle field is set.
      • getLifecycleBuilder

        public Generated.Lifecycle.Builder getLifecycleBuilder()
         Lifecycle is not allowed for ephemeral containers.
         +optional
         
        optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
      • 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:
        hasTerminationMessagePath in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getTerminationMessagePath in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getTerminationMessagePathBytes in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The bytes for terminationMessagePath.
      • setTerminationMessagePath

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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:
        hasTerminationMessagePolicy in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getTerminationMessagePolicy in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getTerminationMessagePolicyBytes in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The bytes for terminationMessagePolicy.
      • setTerminationMessagePolicy

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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:
        hasImagePullPolicy in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getImagePullPolicy in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getImagePullPolicyBytes in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The bytes for imagePullPolicy.
      • setImagePullPolicy

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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.EphemeralContainerCommon.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()
         Optional: SecurityContext defines the security options the ephemeral container should be run with.
         If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
         +optional
         
        optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
        Specified by:
        hasSecurityContext in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        Whether the securityContext field is set.
      • getSecurityContext

        public Generated.SecurityContext getSecurityContext()
         Optional: SecurityContext defines the security options the ephemeral container should be run with.
         If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
         +optional
         
        optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
        Specified by:
        getSecurityContext in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The securityContext.
      • setSecurityContext

        public Generated.EphemeralContainerCommon.Builder setSecurityContext​(Generated.SecurityContext value)
         Optional: SecurityContext defines the security options the ephemeral container should be run with.
         If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
         +optional
         
        optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
      • setSecurityContext

        public Generated.EphemeralContainerCommon.Builder setSecurityContext​(Generated.SecurityContext.Builder builderForValue)
         Optional: SecurityContext defines the security options the ephemeral container should be run with.
         If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
         +optional
         
        optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
      • mergeSecurityContext

        public Generated.EphemeralContainerCommon.Builder mergeSecurityContext​(Generated.SecurityContext value)
         Optional: SecurityContext defines the security options the ephemeral container should be run with.
         If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
         +optional
         
        optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
      • clearSecurityContext

        public Generated.EphemeralContainerCommon.Builder clearSecurityContext()
         Optional: SecurityContext defines the security options the ephemeral container should be run with.
         If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
         +optional
         
        optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
      • getSecurityContextBuilder

        public Generated.SecurityContext.Builder getSecurityContextBuilder()
         Optional: SecurityContext defines the security options the ephemeral container should be run with.
         If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
         +optional
         
        optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
      • 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:
        hasStdin in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getStdin in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The stdin.
      • setStdin

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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:
        hasStdinOnce in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getStdinOnce in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The stdinOnce.
      • setStdinOnce

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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:
        hasTty in interface Generated.EphemeralContainerCommonOrBuilder
        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:
        getTty in interface Generated.EphemeralContainerCommonOrBuilder
        Returns:
        The tty.
      • setTty

        public Generated.EphemeralContainerCommon.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.EphemeralContainerCommon.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.