Class V1.EphemeralContainerCommon.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder>
io.kubernetes.client.proto.V1.EphemeralContainerCommon.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.EphemeralContainerCommonOrBuilder, Cloneable
Enclosing class:
V1.EphemeralContainerCommon

public static final class V1.EphemeralContainerCommon.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder> implements V1.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 Details

    • 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<V1.EphemeralContainerCommon.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.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<V1.EphemeralContainerCommon.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder>
    • setField

      public V1.EphemeralContainerCommon.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder>
    • clearField

      public V1.EphemeralContainerCommon.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder>
    • clearOneof

      public V1.EphemeralContainerCommon.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder>
    • setRepeatedField

      public V1.EphemeralContainerCommon.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder>
    • addRepeatedField

      public V1.EphemeralContainerCommon.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder>
    • mergeFrom

      public V1.EphemeralContainerCommon.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.EphemeralContainerCommon.Builder>
    • mergeFrom

    • isInitialized

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

      public V1.EphemeralContainerCommon.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.EphemeralContainerCommon.Builder>
      Throws:
      IOException
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • setName

       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;
    • 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;
    • setNameBytes

      public V1.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;
    • hasImage

      public boolean hasImage()
       Docker image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       
      optional string image = 2;
      Specified by:
      hasImage in interface V1.EphemeralContainerCommonOrBuilder
    • getImage

      public String getImage()
       Docker image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       
      optional string image = 2;
      Specified by:
      getImage in interface V1.EphemeralContainerCommonOrBuilder
    • getImageBytes

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

       Docker image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       
      optional string image = 2;
    • clearImage

       Docker image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       
      optional string image = 2;
    • setImageBytes

      public V1.EphemeralContainerCommon.Builder setImageBytes(com.google.protobuf.ByteString value)
       Docker image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       
      optional string image = 2;
    • getCommandList

      public com.google.protobuf.ProtocolStringList getCommandList()
       Entrypoint array. Not executed within a shell.
       The docker image's ENTRYPOINT is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string command = 3;
      Specified by:
      getCommandList in interface V1.EphemeralContainerCommonOrBuilder
    • getCommandCount

      public int getCommandCount()
       Entrypoint array. Not executed within a shell.
       The docker image's ENTRYPOINT is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string command = 3;
      Specified by:
      getCommandCount in interface V1.EphemeralContainerCommonOrBuilder
    • getCommand

      public String getCommand(int index)
       Entrypoint array. Not executed within a shell.
       The docker image's ENTRYPOINT is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string command = 3;
      Specified by:
      getCommand in interface V1.EphemeralContainerCommonOrBuilder
    • getCommandBytes

      public com.google.protobuf.ByteString getCommandBytes(int index)
       Entrypoint array. Not executed within a shell.
       The docker image's ENTRYPOINT is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string command = 3;
      Specified by:
      getCommandBytes in interface V1.EphemeralContainerCommonOrBuilder
    • setCommand

      public V1.EphemeralContainerCommon.Builder setCommand(int index, String value)
       Entrypoint array. Not executed within a shell.
       The docker image's ENTRYPOINT is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string command = 3;
    • addCommand

      public V1.EphemeralContainerCommon.Builder addCommand(String value)
       Entrypoint array. Not executed within a shell.
       The docker image's ENTRYPOINT is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string command = 3;
    • addAllCommand

      public V1.EphemeralContainerCommon.Builder addAllCommand(Iterable<String> values)
       Entrypoint array. Not executed within a shell.
       The docker image's ENTRYPOINT is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string command = 3;
    • clearCommand

      public V1.EphemeralContainerCommon.Builder clearCommand()
       Entrypoint array. Not executed within a shell.
       The docker image's ENTRYPOINT is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string command = 3;
    • addCommandBytes

      public V1.EphemeralContainerCommon.Builder addCommandBytes(com.google.protobuf.ByteString value)
       Entrypoint array. Not executed within a shell.
       The docker image's ENTRYPOINT is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string command = 3;
    • getArgsList

      public com.google.protobuf.ProtocolStringList getArgsList()
       Arguments to the entrypoint.
       The docker image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string args = 4;
      Specified by:
      getArgsList in interface V1.EphemeralContainerCommonOrBuilder
    • getArgsCount

      public int getArgsCount()
       Arguments to the entrypoint.
       The docker image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string args = 4;
      Specified by:
      getArgsCount in interface V1.EphemeralContainerCommonOrBuilder
    • getArgs

      public String getArgs(int index)
       Arguments to the entrypoint.
       The docker image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string args = 4;
      Specified by:
      getArgs in interface V1.EphemeralContainerCommonOrBuilder
    • getArgsBytes

      public com.google.protobuf.ByteString getArgsBytes(int index)
       Arguments to the entrypoint.
       The docker image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string args = 4;
      Specified by:
      getArgsBytes in interface V1.EphemeralContainerCommonOrBuilder
    • setArgs

      public V1.EphemeralContainerCommon.Builder setArgs(int index, String value)
       Arguments to the entrypoint.
       The docker image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string args = 4;
    • addArgs

       Arguments to the entrypoint.
       The docker image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string args = 4;
    • addAllArgs

       Arguments to the entrypoint.
       The docker image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string args = 4;
    • clearArgs

       Arguments to the entrypoint.
       The docker image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string args = 4;
    • addArgsBytes

      public V1.EphemeralContainerCommon.Builder addArgsBytes(com.google.protobuf.ByteString value)
       Arguments to the entrypoint.
       The docker image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       
      repeated string args = 4;
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • setWorkingDir

      public V1.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;
    • clearWorkingDir

      public V1.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;
    • setWorkingDirBytes

      public V1.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;
    • getPortsList

      public List<V1.ContainerPort> getPortsList()
       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:
      getPortsList in interface V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • getPorts

      public V1.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 V1.EphemeralContainerCommonOrBuilder
    • setPorts

      public V1.EphemeralContainerCommon.Builder setPorts(int index, V1.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;
    • setPorts

      public V1.EphemeralContainerCommon.Builder setPorts(int index, V1.ContainerPort.Builder builderForValue)
       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

       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 V1.EphemeralContainerCommon.Builder addPorts(int index, V1.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

       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 V1.EphemeralContainerCommon.Builder addPorts(int index, V1.ContainerPort.Builder builderForValue)
       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;
    • addAllPorts

      public V1.EphemeralContainerCommon.Builder addAllPorts(Iterable<? extends V1.ContainerPort> values)
       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

       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 V1.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 V1.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;
    • getPortsOrBuilder

      public V1.ContainerPortOrBuilder getPortsOrBuilder(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:
      getPortsOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • getPortsOrBuilderList

      public List<? extends V1.ContainerPortOrBuilder> getPortsOrBuilderList()
       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:
      getPortsOrBuilderList in interface V1.EphemeralContainerCommonOrBuilder
    • addPortsBuilder

      public V1.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 V1.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<V1.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<V1.EnvFromSource> getEnvFromList()
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
      Specified by:
      getEnvFromList in interface V1.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
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
      Specified by:
      getEnvFromCount in interface V1.EphemeralContainerCommonOrBuilder
    • getEnvFrom

      public V1.EnvFromSource getEnvFrom(int index)
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
      Specified by:
      getEnvFrom in interface V1.EphemeralContainerCommonOrBuilder
    • setEnvFrom

      public V1.EphemeralContainerCommon.Builder setEnvFrom(int index, V1.EnvFromSource value)
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • setEnvFrom

      public V1.EphemeralContainerCommon.Builder setEnvFrom(int index, V1.EnvFromSource.Builder builderForValue)
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • addEnvFrom

       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • addEnvFrom

      public V1.EphemeralContainerCommon.Builder addEnvFrom(int index, V1.EnvFromSource value)
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • addEnvFrom

       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • addEnvFrom

      public V1.EphemeralContainerCommon.Builder addEnvFrom(int index, V1.EnvFromSource.Builder builderForValue)
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • addAllEnvFrom

      public V1.EphemeralContainerCommon.Builder addAllEnvFrom(Iterable<? extends V1.EnvFromSource> values)
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • clearEnvFrom

      public V1.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
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • removeEnvFrom

      public V1.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
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • getEnvFromBuilder

      public V1.EnvFromSource.Builder getEnvFromBuilder(int index)
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • getEnvFromOrBuilder

      public V1.EnvFromSourceOrBuilder getEnvFromOrBuilder(int index)
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
      Specified by:
      getEnvFromOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • getEnvFromOrBuilderList

      public List<? extends V1.EnvFromSourceOrBuilder> getEnvFromOrBuilderList()
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
      Specified by:
      getEnvFromOrBuilderList in interface V1.EphemeralContainerCommonOrBuilder
    • addEnvFromBuilder

      public V1.EnvFromSource.Builder addEnvFromBuilder()
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • addEnvFromBuilder

      public V1.EnvFromSource.Builder addEnvFromBuilder(int index)
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • getEnvFromBuilderList

      public List<V1.EnvFromSource.Builder> getEnvFromBuilderList()
       List of sources to populate environment variables in the container.
       The keys defined within a source must be a C_IDENTIFIER. All invalid keys
       will be reported as an event when the container is starting. When a key exists in multiple
       sources, the value associated with the last source will take precedence.
       Values defined by an Env with a duplicate key will take precedence.
       Cannot be updated.
       +optional
       
      repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
    • getEnvList

      public List<V1.EnvVar> getEnvList()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
      Specified by:
      getEnvList in interface V1.EphemeralContainerCommonOrBuilder
    • getEnvCount

      public int getEnvCount()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
      Specified by:
      getEnvCount in interface V1.EphemeralContainerCommonOrBuilder
    • getEnv

      public V1.EnvVar getEnv(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
      Specified by:
      getEnv in interface V1.EphemeralContainerCommonOrBuilder
    • setEnv

      public V1.EphemeralContainerCommon.Builder setEnv(int index, V1.EnvVar value)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • setEnv

      public V1.EphemeralContainerCommon.Builder setEnv(int index, V1.EnvVar.Builder builderForValue)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • addEnv

       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • addEnv

      public V1.EphemeralContainerCommon.Builder addEnv(int index, V1.EnvVar value)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • addEnv

      public V1.EphemeralContainerCommon.Builder addEnv(V1.EnvVar.Builder builderForValue)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • addEnv

      public V1.EphemeralContainerCommon.Builder addEnv(int index, V1.EnvVar.Builder builderForValue)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • addAllEnv

      public V1.EphemeralContainerCommon.Builder addAllEnv(Iterable<? extends V1.EnvVar> values)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • clearEnv

       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • removeEnv

      public V1.EphemeralContainerCommon.Builder removeEnv(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • getEnvBuilder

      public V1.EnvVar.Builder getEnvBuilder(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • getEnvOrBuilder

      public V1.EnvVarOrBuilder getEnvOrBuilder(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
      Specified by:
      getEnvOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • getEnvOrBuilderList

      public List<? extends V1.EnvVarOrBuilder> getEnvOrBuilderList()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
      Specified by:
      getEnvOrBuilderList in interface V1.EphemeralContainerCommonOrBuilder
    • addEnvBuilder

      public V1.EnvVar.Builder addEnvBuilder()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • addEnvBuilder

      public V1.EnvVar.Builder addEnvBuilder(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • getEnvBuilderList

      public List<V1.EnvVar.Builder> getEnvBuilderList()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.EnvVar env = 7;
    • 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 V1.EphemeralContainerCommonOrBuilder
    • getResources

      public V1.ResourceRequirements getResources()
       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:
      getResources in interface V1.EphemeralContainerCommonOrBuilder
    • setResources

       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;
    • setResources

       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;
    • mergeResources

       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;
    • clearResources

      public V1.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 V1.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;
    • getResourcesOrBuilder

      public V1.ResourceRequirementsOrBuilder getResourcesOrBuilder()
       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:
      getResourcesOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • getVolumeMountsList

      public List<V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      Specified by:
      getVolumeMountsList in interface V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      Specified by:
      getVolumeMountsCount in interface V1.EphemeralContainerCommonOrBuilder
    • getVolumeMounts

      public V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      Specified by:
      getVolumeMounts in interface V1.EphemeralContainerCommonOrBuilder
    • setVolumeMounts

      public V1.EphemeralContainerCommon.Builder setVolumeMounts(int index, V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • setVolumeMounts

      public V1.EphemeralContainerCommon.Builder setVolumeMounts(int index, V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • addVolumeMounts

      public V1.EphemeralContainerCommon.Builder addVolumeMounts(V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • addVolumeMounts

      public V1.EphemeralContainerCommon.Builder addVolumeMounts(int index, V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • addVolumeMounts

      public V1.EphemeralContainerCommon.Builder addVolumeMounts(V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • addVolumeMounts

      public V1.EphemeralContainerCommon.Builder addVolumeMounts(int index, V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • addAllVolumeMounts

      public V1.EphemeralContainerCommon.Builder addAllVolumeMounts(Iterable<? extends V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • clearVolumeMounts

      public V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • removeVolumeMounts

      public V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • getVolumeMountsBuilder

      public V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • getVolumeMountsOrBuilder

      public V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      Specified by:
      getVolumeMountsOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • getVolumeMountsOrBuilderList

      public List<? extends V1.VolumeMountOrBuilder> getVolumeMountsOrBuilderList()
       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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
      Specified by:
      getVolumeMountsOrBuilderList in interface V1.EphemeralContainerCommonOrBuilder
    • addVolumeMountsBuilder

      public V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • addVolumeMountsBuilder

      public V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • getVolumeMountsBuilderList

      public List<V1.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
       
      repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
    • getVolumeDevicesList

      public List<V1.VolumeDevice> getVolumeDevicesList()
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
      Specified by:
      getVolumeDevicesList in interface V1.EphemeralContainerCommonOrBuilder
    • getVolumeDevicesCount

      public int getVolumeDevicesCount()
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
      Specified by:
      getVolumeDevicesCount in interface V1.EphemeralContainerCommonOrBuilder
    • getVolumeDevices

      public V1.VolumeDevice getVolumeDevices(int index)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
      Specified by:
      getVolumeDevices in interface V1.EphemeralContainerCommonOrBuilder
    • setVolumeDevices

      public V1.EphemeralContainerCommon.Builder setVolumeDevices(int index, V1.VolumeDevice value)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • setVolumeDevices

      public V1.EphemeralContainerCommon.Builder setVolumeDevices(int index, V1.VolumeDevice.Builder builderForValue)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • addVolumeDevices

      public V1.EphemeralContainerCommon.Builder addVolumeDevices(V1.VolumeDevice value)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • addVolumeDevices

      public V1.EphemeralContainerCommon.Builder addVolumeDevices(int index, V1.VolumeDevice value)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • addVolumeDevices

      public V1.EphemeralContainerCommon.Builder addVolumeDevices(V1.VolumeDevice.Builder builderForValue)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • addVolumeDevices

      public V1.EphemeralContainerCommon.Builder addVolumeDevices(int index, V1.VolumeDevice.Builder builderForValue)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • addAllVolumeDevices

      public V1.EphemeralContainerCommon.Builder addAllVolumeDevices(Iterable<? extends V1.VolumeDevice> values)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • clearVolumeDevices

      public V1.EphemeralContainerCommon.Builder clearVolumeDevices()
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • removeVolumeDevices

      public V1.EphemeralContainerCommon.Builder removeVolumeDevices(int index)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • getVolumeDevicesBuilder

      public V1.VolumeDevice.Builder getVolumeDevicesBuilder(int index)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • getVolumeDevicesOrBuilder

      public V1.VolumeDeviceOrBuilder getVolumeDevicesOrBuilder(int index)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
      Specified by:
      getVolumeDevicesOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • getVolumeDevicesOrBuilderList

      public List<? extends V1.VolumeDeviceOrBuilder> getVolumeDevicesOrBuilderList()
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
      Specified by:
      getVolumeDevicesOrBuilderList in interface V1.EphemeralContainerCommonOrBuilder
    • addVolumeDevicesBuilder

      public V1.VolumeDevice.Builder addVolumeDevicesBuilder()
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • addVolumeDevicesBuilder

      public V1.VolumeDevice.Builder addVolumeDevicesBuilder(int index)
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • getVolumeDevicesBuilderList

      public List<V1.VolumeDevice.Builder> getVolumeDevicesBuilderList()
       volumeDevices is the list of block devices to be used by the container.
       +patchMergeKey=devicePath
       +patchStrategy=merge
       +optional
       
      repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
    • 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 V1.EphemeralContainerCommonOrBuilder
    • getLivenessProbe

      public V1.Probe getLivenessProbe()
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
      Specified by:
      getLivenessProbe in interface V1.EphemeralContainerCommonOrBuilder
    • setLivenessProbe

      public V1.EphemeralContainerCommon.Builder setLivenessProbe(V1.Probe value)
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
    • setLivenessProbe

      public V1.EphemeralContainerCommon.Builder setLivenessProbe(V1.Probe.Builder builderForValue)
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
    • mergeLivenessProbe

      public V1.EphemeralContainerCommon.Builder mergeLivenessProbe(V1.Probe value)
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
    • clearLivenessProbe

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

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

      public V1.ProbeOrBuilder getLivenessProbeOrBuilder()
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
      Specified by:
      getLivenessProbeOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • getReadinessProbe

      public V1.Probe getReadinessProbe()
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
      Specified by:
      getReadinessProbe in interface V1.EphemeralContainerCommonOrBuilder
    • setReadinessProbe

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

      public V1.EphemeralContainerCommon.Builder setReadinessProbe(V1.Probe.Builder builderForValue)
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
    • mergeReadinessProbe

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

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

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

      public V1.ProbeOrBuilder getReadinessProbeOrBuilder()
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
      Specified by:
      getReadinessProbeOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • getStartupProbe

      public V1.Probe getStartupProbe()
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe startupProbe = 22;
      Specified by:
      getStartupProbe in interface V1.EphemeralContainerCommonOrBuilder
    • setStartupProbe

      public V1.EphemeralContainerCommon.Builder setStartupProbe(V1.Probe value)
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe startupProbe = 22;
    • setStartupProbe

      public V1.EphemeralContainerCommon.Builder setStartupProbe(V1.Probe.Builder builderForValue)
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe startupProbe = 22;
    • mergeStartupProbe

      public V1.EphemeralContainerCommon.Builder mergeStartupProbe(V1.Probe value)
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe startupProbe = 22;
    • clearStartupProbe

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

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

      public V1.ProbeOrBuilder getStartupProbeOrBuilder()
       Probes are not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Probe startupProbe = 22;
      Specified by:
      getStartupProbeOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • getLifecycle

      public V1.Lifecycle getLifecycle()
       Lifecycle is not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
      Specified by:
      getLifecycle in interface V1.EphemeralContainerCommonOrBuilder
    • setLifecycle

       Lifecycle is not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
    • setLifecycle

      public V1.EphemeralContainerCommon.Builder setLifecycle(V1.Lifecycle.Builder builderForValue)
       Lifecycle is not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
    • mergeLifecycle

      public V1.EphemeralContainerCommon.Builder mergeLifecycle(V1.Lifecycle value)
       Lifecycle is not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
    • clearLifecycle

      public V1.EphemeralContainerCommon.Builder clearLifecycle()
       Lifecycle is not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
    • getLifecycleBuilder

      public V1.Lifecycle.Builder getLifecycleBuilder()
       Lifecycle is not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
    • getLifecycleOrBuilder

      public V1.LifecycleOrBuilder getLifecycleOrBuilder()
       Lifecycle is not allowed for ephemeral containers.
       +optional
       
      optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
      Specified by:
      getLifecycleOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • setTerminationMessagePath

      public V1.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;
    • clearTerminationMessagePath

      public V1.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;
    • setTerminationMessagePathBytes

      public V1.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;
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • setTerminationMessagePolicy

      public V1.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;
    • clearTerminationMessagePolicy

      public V1.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;
    • setTerminationMessagePolicyBytes

      public V1.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;
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • setImagePullPolicy

      public V1.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;
    • clearImagePullPolicy

      public V1.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;
    • setImagePullPolicyBytes

      public V1.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;
    • 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 V1.EphemeralContainerCommonOrBuilder
    • getSecurityContext

      public V1.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 V1.EphemeralContainerCommonOrBuilder
    • setSecurityContext

      public V1.EphemeralContainerCommon.Builder setSecurityContext(V1.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 V1.EphemeralContainerCommon.Builder setSecurityContext(V1.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 V1.EphemeralContainerCommon.Builder mergeSecurityContext(V1.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 V1.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 V1.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;
    • getSecurityContextOrBuilder

      public V1.SecurityContextOrBuilder getSecurityContextOrBuilder()
       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:
      getSecurityContextOrBuilder in interface V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • setStdin

      public V1.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;
    • 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;
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • setStdinOnce

      public V1.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;
    • clearStdinOnce

      public V1.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;
    • 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 V1.EphemeralContainerCommonOrBuilder
    • 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 V1.EphemeralContainerCommonOrBuilder
    • setTty

      public V1.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;
    • clearTty

       Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
       Default is false.
       +optional
       
      optional bool tty = 18;
    • setUnknownFields

      public final V1.EphemeralContainerCommon.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder>
    • mergeUnknownFields

      public final V1.EphemeralContainerCommon.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EphemeralContainerCommon.Builder>