Class PodStatusPubSub.Container.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PodStatusPubSub.Container.Builder>
ai.chalk.protos.chalk.pubsub.v1.PodStatusPubSub.Container.Builder
All Implemented Interfaces:
PodStatusPubSub.ContainerOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PodStatusPubSub.Container

public static final class PodStatusPubSub.Container.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PodStatusPubSub.Container.Builder> implements PodStatusPubSub.ContainerOrBuilder
 A single application container that you want to run within a pod.
 
Protobuf type chalk.pubsub.v1.PodStatusPubSub.Container
  • 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<PodStatusPubSub.Container.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<PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>
    • getDefaultInstanceForType

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

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

      public PodStatusPubSub.Container 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<PodStatusPubSub.Container.Builder>
    • setField

      public PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>
    • clearField

      public PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>
    • clearOneof

      public PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>
    • setRepeatedField

      public PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>
    • addRepeatedField

      public PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>
    • mergeFrom

      public PodStatusPubSub.Container.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<PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>
    • mergeFrom

      public PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Name of the container specified as a DNS_LABEL.
       Each container in a pod must have a unique name (DNS_LABEL).
       Cannot be updated.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the container specified as a DNS_LABEL.
       Each container in a pod must have a unique name (DNS_LABEL).
       Cannot be updated.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The bytes for name.
    • setName

      public PodStatusPubSub.Container.Builder setName(String value)
       Name of the container specified as a DNS_LABEL.
       Each container in a pod must have a unique name (DNS_LABEL).
       Cannot be updated.
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Name of the container specified as a DNS_LABEL.
       Each container in a pod must have a unique name (DNS_LABEL).
       Cannot be updated.
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public PodStatusPubSub.Container.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the container specified as a DNS_LABEL.
       Each container in a pod must have a unique name (DNS_LABEL).
       Cannot be updated.
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasImage

      public boolean hasImage()
       Container image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       This field is optional to allow higher level config management to default or override
       container images in workload controllers like Deployments and StatefulSets.
       +optional
       
      optional string image = 2 [json_name = "image"];
      Specified by:
      hasImage in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      Whether the image field is set.
    • getImage

      public String getImage()
       Container image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       This field is optional to allow higher level config management to default or override
       container images in workload controllers like Deployments and StatefulSets.
       +optional
       
      optional string image = 2 [json_name = "image"];
      Specified by:
      getImage in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The image.
    • getImageBytes

      public com.google.protobuf.ByteString getImageBytes()
       Container image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       This field is optional to allow higher level config management to default or override
       container images in workload controllers like Deployments and StatefulSets.
       +optional
       
      optional string image = 2 [json_name = "image"];
      Specified by:
      getImageBytes in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The bytes for image.
    • setImage

      public PodStatusPubSub.Container.Builder setImage(String value)
       Container image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       This field is optional to allow higher level config management to default or override
       container images in workload controllers like Deployments and StatefulSets.
       +optional
       
      optional string image = 2 [json_name = "image"];
      Parameters:
      value - The image to set.
      Returns:
      This builder for chaining.
    • clearImage

      public PodStatusPubSub.Container.Builder clearImage()
       Container image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       This field is optional to allow higher level config management to default or override
       container images in workload controllers like Deployments and StatefulSets.
       +optional
       
      optional string image = 2 [json_name = "image"];
      Returns:
      This builder for chaining.
    • setImageBytes

      public PodStatusPubSub.Container.Builder setImageBytes(com.google.protobuf.ByteString value)
       Container image name.
       More info: https://kubernetes.io/docs/concepts/containers/images
       This field is optional to allow higher level config management to default or override
       container images in workload controllers like Deployments and StatefulSets.
       +optional
       
      optional string image = 2 [json_name = "image"];
      Parameters:
      value - The bytes for image to set.
      Returns:
      This builder for chaining.
    • getCommandList

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public PodStatusPubSub.Container.Builder addArgsBytes(com.google.protobuf.ByteString value)
       Arguments to the entrypoint.
       The container image's CMD is used if this is not provided.
       Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
       cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
       to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
       produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
       of whether the variable exists or not. Cannot be updated.
       More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
       +optional
       +listType=atomic
       
      repeated string args = 4 [json_name = "args"];
      Parameters:
      value - The bytes of the args to add.
      Returns:
      This builder for chaining.
    • hasWorkingDir

      public boolean hasWorkingDir()
       Container's working directory.
       If not specified, the container runtime's default will be used, which
       might be configured in the container image.
       Cannot be updated.
       +optional
       
      optional string working_dir = 5 [json_name = "workingDir"];
      Specified by:
      hasWorkingDir in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      Whether the workingDir field is set.
    • getWorkingDir

      public String getWorkingDir()
       Container's working directory.
       If not specified, the container runtime's default will be used, which
       might be configured in the container image.
       Cannot be updated.
       +optional
       
      optional string working_dir = 5 [json_name = "workingDir"];
      Specified by:
      getWorkingDir in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The workingDir.
    • getWorkingDirBytes

      public com.google.protobuf.ByteString getWorkingDirBytes()
       Container's working directory.
       If not specified, the container runtime's default will be used, which
       might be configured in the container image.
       Cannot be updated.
       +optional
       
      optional string working_dir = 5 [json_name = "workingDir"];
      Specified by:
      getWorkingDirBytes in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The bytes for workingDir.
    • setWorkingDir

      public PodStatusPubSub.Container.Builder setWorkingDir(String value)
       Container's working directory.
       If not specified, the container runtime's default will be used, which
       might be configured in the container image.
       Cannot be updated.
       +optional
       
      optional string working_dir = 5 [json_name = "workingDir"];
      Parameters:
      value - The workingDir to set.
      Returns:
      This builder for chaining.
    • clearWorkingDir

      public PodStatusPubSub.Container.Builder clearWorkingDir()
       Container's working directory.
       If not specified, the container runtime's default will be used, which
       might be configured in the container image.
       Cannot be updated.
       +optional
       
      optional string working_dir = 5 [json_name = "workingDir"];
      Returns:
      This builder for chaining.
    • setWorkingDirBytes

      public PodStatusPubSub.Container.Builder setWorkingDirBytes(com.google.protobuf.ByteString value)
       Container's working directory.
       If not specified, the container runtime's default will be used, which
       might be configured in the container image.
       Cannot be updated.
       +optional
       
      optional string working_dir = 5 [json_name = "workingDir"];
      Parameters:
      value - The bytes for workingDir to set.
      Returns:
      This builder for chaining.
    • getEnvList

      public List<PodStatusPubSub.EnvVar> getEnvList()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
      Specified by:
      getEnvList in interface PodStatusPubSub.ContainerOrBuilder
    • getEnvCount

      public int getEnvCount()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
      Specified by:
      getEnvCount in interface PodStatusPubSub.ContainerOrBuilder
    • getEnv

      public PodStatusPubSub.EnvVar getEnv(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
      Specified by:
      getEnv in interface PodStatusPubSub.ContainerOrBuilder
    • setEnv

      public PodStatusPubSub.Container.Builder setEnv(int index, PodStatusPubSub.EnvVar value)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • setEnv

      public PodStatusPubSub.Container.Builder setEnv(int index, PodStatusPubSub.EnvVar.Builder builderForValue)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • addEnv

       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • addEnv

      public PodStatusPubSub.Container.Builder addEnv(int index, PodStatusPubSub.EnvVar value)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • addEnv

       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • addEnv

      public PodStatusPubSub.Container.Builder addEnv(int index, PodStatusPubSub.EnvVar.Builder builderForValue)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • addAllEnv

       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • clearEnv

       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • removeEnv

      public PodStatusPubSub.Container.Builder removeEnv(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • getEnvBuilder

      public PodStatusPubSub.EnvVar.Builder getEnvBuilder(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • getEnvOrBuilder

      public PodStatusPubSub.EnvVarOrBuilder getEnvOrBuilder(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
      Specified by:
      getEnvOrBuilder in interface PodStatusPubSub.ContainerOrBuilder
    • getEnvOrBuilderList

      public List<? extends PodStatusPubSub.EnvVarOrBuilder> getEnvOrBuilderList()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
      Specified by:
      getEnvOrBuilderList in interface PodStatusPubSub.ContainerOrBuilder
    • addEnvBuilder

      public PodStatusPubSub.EnvVar.Builder addEnvBuilder()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • addEnvBuilder

      public PodStatusPubSub.EnvVar.Builder addEnvBuilder(int index)
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • getEnvBuilderList

      public List<PodStatusPubSub.EnvVar.Builder> getEnvBuilderList()
       List of environment variables to set in the container.
       Cannot be updated.
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.EnvVar env = 7 [json_name = "env"];
    • hasResources

      public boolean hasResources()
       Compute Resources required by this container.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      optional .chalk.pubsub.v1.PodStatusPubSub.ResourceRequirements resources = 8 [json_name = "resources"];
      Specified by:
      hasResources in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      Whether the resources field is set.
    • getResources

      public PodStatusPubSub.ResourceRequirements getResources()
       Compute Resources required by this container.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      optional .chalk.pubsub.v1.PodStatusPubSub.ResourceRequirements resources = 8 [json_name = "resources"];
      Specified by:
      getResources in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The resources.
    • setResources

       Compute Resources required by this container.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      optional .chalk.pubsub.v1.PodStatusPubSub.ResourceRequirements resources = 8 [json_name = "resources"];
    • setResources

       Compute Resources required by this container.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      optional .chalk.pubsub.v1.PodStatusPubSub.ResourceRequirements resources = 8 [json_name = "resources"];
    • mergeResources

       Compute Resources required by this container.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      optional .chalk.pubsub.v1.PodStatusPubSub.ResourceRequirements resources = 8 [json_name = "resources"];
    • clearResources

      public PodStatusPubSub.Container.Builder clearResources()
       Compute Resources required by this container.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      optional .chalk.pubsub.v1.PodStatusPubSub.ResourceRequirements resources = 8 [json_name = "resources"];
    • getResourcesBuilder

      public PodStatusPubSub.ResourceRequirements.Builder getResourcesBuilder()
       Compute Resources required by this container.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      optional .chalk.pubsub.v1.PodStatusPubSub.ResourceRequirements resources = 8 [json_name = "resources"];
    • getResourcesOrBuilder

      public PodStatusPubSub.ResourceRequirementsOrBuilder getResourcesOrBuilder()
       Compute Resources required by this container.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      optional .chalk.pubsub.v1.PodStatusPubSub.ResourceRequirements resources = 8 [json_name = "resources"];
      Specified by:
      getResourcesOrBuilder in interface PodStatusPubSub.ContainerOrBuilder
    • hasRestartPolicy

      public boolean hasRestartPolicy()
       RestartPolicy defines the restart behavior of individual containers in a pod.
       This field may only be set for init containers, and the only allowed value is "Always".
       For non-init containers or when this field is not specified,
       the restart behavior is defined by the Pod's restart policy and the container type.
       Setting the RestartPolicy as "Always" for the init container will have the following effect:
       this init container will be continually restarted on
       exit until all regular containers have terminated. Once all regular
       containers have completed, all init containers with restartPolicy "Always"
       will be shut down. This lifecycle differs from normal init containers and
       is often referred to as a "sidecar" container. Although this init
       container still starts in the init container sequence, it does not wait
       for the container to complete before proceeding to the next init
       container. Instead, the next init container starts immediately after this
       init container is started, or after any startupProbe has successfully
       completed.
       +featureGate=SidecarContainers
       +optional
       
      optional string restart_policy = 24 [json_name = "restartPolicy"];
      Specified by:
      hasRestartPolicy in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      Whether the restartPolicy field is set.
    • getRestartPolicy

      public String getRestartPolicy()
       RestartPolicy defines the restart behavior of individual containers in a pod.
       This field may only be set for init containers, and the only allowed value is "Always".
       For non-init containers or when this field is not specified,
       the restart behavior is defined by the Pod's restart policy and the container type.
       Setting the RestartPolicy as "Always" for the init container will have the following effect:
       this init container will be continually restarted on
       exit until all regular containers have terminated. Once all regular
       containers have completed, all init containers with restartPolicy "Always"
       will be shut down. This lifecycle differs from normal init containers and
       is often referred to as a "sidecar" container. Although this init
       container still starts in the init container sequence, it does not wait
       for the container to complete before proceeding to the next init
       container. Instead, the next init container starts immediately after this
       init container is started, or after any startupProbe has successfully
       completed.
       +featureGate=SidecarContainers
       +optional
       
      optional string restart_policy = 24 [json_name = "restartPolicy"];
      Specified by:
      getRestartPolicy in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The restartPolicy.
    • getRestartPolicyBytes

      public com.google.protobuf.ByteString getRestartPolicyBytes()
       RestartPolicy defines the restart behavior of individual containers in a pod.
       This field may only be set for init containers, and the only allowed value is "Always".
       For non-init containers or when this field is not specified,
       the restart behavior is defined by the Pod's restart policy and the container type.
       Setting the RestartPolicy as "Always" for the init container will have the following effect:
       this init container will be continually restarted on
       exit until all regular containers have terminated. Once all regular
       containers have completed, all init containers with restartPolicy "Always"
       will be shut down. This lifecycle differs from normal init containers and
       is often referred to as a "sidecar" container. Although this init
       container still starts in the init container sequence, it does not wait
       for the container to complete before proceeding to the next init
       container. Instead, the next init container starts immediately after this
       init container is started, or after any startupProbe has successfully
       completed.
       +featureGate=SidecarContainers
       +optional
       
      optional string restart_policy = 24 [json_name = "restartPolicy"];
      Specified by:
      getRestartPolicyBytes in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The bytes for restartPolicy.
    • setRestartPolicy

      public PodStatusPubSub.Container.Builder setRestartPolicy(String value)
       RestartPolicy defines the restart behavior of individual containers in a pod.
       This field may only be set for init containers, and the only allowed value is "Always".
       For non-init containers or when this field is not specified,
       the restart behavior is defined by the Pod's restart policy and the container type.
       Setting the RestartPolicy as "Always" for the init container will have the following effect:
       this init container will be continually restarted on
       exit until all regular containers have terminated. Once all regular
       containers have completed, all init containers with restartPolicy "Always"
       will be shut down. This lifecycle differs from normal init containers and
       is often referred to as a "sidecar" container. Although this init
       container still starts in the init container sequence, it does not wait
       for the container to complete before proceeding to the next init
       container. Instead, the next init container starts immediately after this
       init container is started, or after any startupProbe has successfully
       completed.
       +featureGate=SidecarContainers
       +optional
       
      optional string restart_policy = 24 [json_name = "restartPolicy"];
      Parameters:
      value - The restartPolicy to set.
      Returns:
      This builder for chaining.
    • clearRestartPolicy

      public PodStatusPubSub.Container.Builder clearRestartPolicy()
       RestartPolicy defines the restart behavior of individual containers in a pod.
       This field may only be set for init containers, and the only allowed value is "Always".
       For non-init containers or when this field is not specified,
       the restart behavior is defined by the Pod's restart policy and the container type.
       Setting the RestartPolicy as "Always" for the init container will have the following effect:
       this init container will be continually restarted on
       exit until all regular containers have terminated. Once all regular
       containers have completed, all init containers with restartPolicy "Always"
       will be shut down. This lifecycle differs from normal init containers and
       is often referred to as a "sidecar" container. Although this init
       container still starts in the init container sequence, it does not wait
       for the container to complete before proceeding to the next init
       container. Instead, the next init container starts immediately after this
       init container is started, or after any startupProbe has successfully
       completed.
       +featureGate=SidecarContainers
       +optional
       
      optional string restart_policy = 24 [json_name = "restartPolicy"];
      Returns:
      This builder for chaining.
    • setRestartPolicyBytes

      public PodStatusPubSub.Container.Builder setRestartPolicyBytes(com.google.protobuf.ByteString value)
       RestartPolicy defines the restart behavior of individual containers in a pod.
       This field may only be set for init containers, and the only allowed value is "Always".
       For non-init containers or when this field is not specified,
       the restart behavior is defined by the Pod's restart policy and the container type.
       Setting the RestartPolicy as "Always" for the init container will have the following effect:
       this init container will be continually restarted on
       exit until all regular containers have terminated. Once all regular
       containers have completed, all init containers with restartPolicy "Always"
       will be shut down. This lifecycle differs from normal init containers and
       is often referred to as a "sidecar" container. Although this init
       container still starts in the init container sequence, it does not wait
       for the container to complete before proceeding to the next init
       container. Instead, the next init container starts immediately after this
       init container is started, or after any startupProbe has successfully
       completed.
       +featureGate=SidecarContainers
       +optional
       
      optional string restart_policy = 24 [json_name = "restartPolicy"];
      Parameters:
      value - The bytes for restartPolicy to set.
      Returns:
      This builder for chaining.
    • hasTerminationMessagePath

      public boolean hasTerminationMessagePath()
       Optional: Path at which the file to which the container's termination message
       will be written is mounted into the container's filesystem.
       Message written is intended to be brief final status, such as an assertion failure message.
       Will be truncated by the node if greater than 4096 bytes. The total message length across
       all containers will be limited to 12kb.
       Defaults to /dev/termination-log.
       Cannot be updated.
       +optional
       
      optional string termination_message_path = 13 [json_name = "terminationMessagePath"];
      Specified by:
      hasTerminationMessagePath in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      Whether the terminationMessagePath field is set.
    • getTerminationMessagePath

      public String getTerminationMessagePath()
       Optional: Path at which the file to which the container's termination message
       will be written is mounted into the container's filesystem.
       Message written is intended to be brief final status, such as an assertion failure message.
       Will be truncated by the node if greater than 4096 bytes. The total message length across
       all containers will be limited to 12kb.
       Defaults to /dev/termination-log.
       Cannot be updated.
       +optional
       
      optional string termination_message_path = 13 [json_name = "terminationMessagePath"];
      Specified by:
      getTerminationMessagePath in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The terminationMessagePath.
    • getTerminationMessagePathBytes

      public com.google.protobuf.ByteString getTerminationMessagePathBytes()
       Optional: Path at which the file to which the container's termination message
       will be written is mounted into the container's filesystem.
       Message written is intended to be brief final status, such as an assertion failure message.
       Will be truncated by the node if greater than 4096 bytes. The total message length across
       all containers will be limited to 12kb.
       Defaults to /dev/termination-log.
       Cannot be updated.
       +optional
       
      optional string termination_message_path = 13 [json_name = "terminationMessagePath"];
      Specified by:
      getTerminationMessagePathBytes in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The bytes for terminationMessagePath.
    • setTerminationMessagePath

      public PodStatusPubSub.Container.Builder setTerminationMessagePath(String value)
       Optional: Path at which the file to which the container's termination message
       will be written is mounted into the container's filesystem.
       Message written is intended to be brief final status, such as an assertion failure message.
       Will be truncated by the node if greater than 4096 bytes. The total message length across
       all containers will be limited to 12kb.
       Defaults to /dev/termination-log.
       Cannot be updated.
       +optional
       
      optional string termination_message_path = 13 [json_name = "terminationMessagePath"];
      Parameters:
      value - The terminationMessagePath to set.
      Returns:
      This builder for chaining.
    • clearTerminationMessagePath

      public PodStatusPubSub.Container.Builder clearTerminationMessagePath()
       Optional: Path at which the file to which the container's termination message
       will be written is mounted into the container's filesystem.
       Message written is intended to be brief final status, such as an assertion failure message.
       Will be truncated by the node if greater than 4096 bytes. The total message length across
       all containers will be limited to 12kb.
       Defaults to /dev/termination-log.
       Cannot be updated.
       +optional
       
      optional string termination_message_path = 13 [json_name = "terminationMessagePath"];
      Returns:
      This builder for chaining.
    • setTerminationMessagePathBytes

      public PodStatusPubSub.Container.Builder setTerminationMessagePathBytes(com.google.protobuf.ByteString value)
       Optional: Path at which the file to which the container's termination message
       will be written is mounted into the container's filesystem.
       Message written is intended to be brief final status, such as an assertion failure message.
       Will be truncated by the node if greater than 4096 bytes. The total message length across
       all containers will be limited to 12kb.
       Defaults to /dev/termination-log.
       Cannot be updated.
       +optional
       
      optional string termination_message_path = 13 [json_name = "terminationMessagePath"];
      Parameters:
      value - The bytes for terminationMessagePath to set.
      Returns:
      This builder for chaining.
    • hasTerminationMessagePolicy

      public boolean hasTerminationMessagePolicy()
       Indicate how the termination message should be populated. File will use the contents of
       terminationMessagePath to populate the container status message on both success and failure.
       FallbackToLogsOnError will use the last chunk of container log output if the termination
       message file is empty and the container exited with an error.
       The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
       Defaults to File.
       Cannot be updated.
       +optional
       
      optional string termination_message_policy = 20 [json_name = "terminationMessagePolicy"];
      Specified by:
      hasTerminationMessagePolicy in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      Whether the terminationMessagePolicy field is set.
    • getTerminationMessagePolicy

      public String getTerminationMessagePolicy()
       Indicate how the termination message should be populated. File will use the contents of
       terminationMessagePath to populate the container status message on both success and failure.
       FallbackToLogsOnError will use the last chunk of container log output if the termination
       message file is empty and the container exited with an error.
       The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
       Defaults to File.
       Cannot be updated.
       +optional
       
      optional string termination_message_policy = 20 [json_name = "terminationMessagePolicy"];
      Specified by:
      getTerminationMessagePolicy in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The terminationMessagePolicy.
    • getTerminationMessagePolicyBytes

      public com.google.protobuf.ByteString getTerminationMessagePolicyBytes()
       Indicate how the termination message should be populated. File will use the contents of
       terminationMessagePath to populate the container status message on both success and failure.
       FallbackToLogsOnError will use the last chunk of container log output if the termination
       message file is empty and the container exited with an error.
       The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
       Defaults to File.
       Cannot be updated.
       +optional
       
      optional string termination_message_policy = 20 [json_name = "terminationMessagePolicy"];
      Specified by:
      getTerminationMessagePolicyBytes in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The bytes for terminationMessagePolicy.
    • setTerminationMessagePolicy

      public PodStatusPubSub.Container.Builder setTerminationMessagePolicy(String value)
       Indicate how the termination message should be populated. File will use the contents of
       terminationMessagePath to populate the container status message on both success and failure.
       FallbackToLogsOnError will use the last chunk of container log output if the termination
       message file is empty and the container exited with an error.
       The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
       Defaults to File.
       Cannot be updated.
       +optional
       
      optional string termination_message_policy = 20 [json_name = "terminationMessagePolicy"];
      Parameters:
      value - The terminationMessagePolicy to set.
      Returns:
      This builder for chaining.
    • clearTerminationMessagePolicy

      public PodStatusPubSub.Container.Builder clearTerminationMessagePolicy()
       Indicate how the termination message should be populated. File will use the contents of
       terminationMessagePath to populate the container status message on both success and failure.
       FallbackToLogsOnError will use the last chunk of container log output if the termination
       message file is empty and the container exited with an error.
       The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
       Defaults to File.
       Cannot be updated.
       +optional
       
      optional string termination_message_policy = 20 [json_name = "terminationMessagePolicy"];
      Returns:
      This builder for chaining.
    • setTerminationMessagePolicyBytes

      public PodStatusPubSub.Container.Builder setTerminationMessagePolicyBytes(com.google.protobuf.ByteString value)
       Indicate how the termination message should be populated. File will use the contents of
       terminationMessagePath to populate the container status message on both success and failure.
       FallbackToLogsOnError will use the last chunk of container log output if the termination
       message file is empty and the container exited with an error.
       The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
       Defaults to File.
       Cannot be updated.
       +optional
       
      optional string termination_message_policy = 20 [json_name = "terminationMessagePolicy"];
      Parameters:
      value - The bytes for terminationMessagePolicy to set.
      Returns:
      This builder for chaining.
    • hasImagePullPolicy

      public boolean hasImagePullPolicy()
       Image pull policy.
       One of Always, Never, IfNotPresent.
       Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
       +optional
       
      optional string image_pull_policy = 14 [json_name = "imagePullPolicy"];
      Specified by:
      hasImagePullPolicy in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      Whether the imagePullPolicy field is set.
    • getImagePullPolicy

      public String getImagePullPolicy()
       Image pull policy.
       One of Always, Never, IfNotPresent.
       Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
       +optional
       
      optional string image_pull_policy = 14 [json_name = "imagePullPolicy"];
      Specified by:
      getImagePullPolicy in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The imagePullPolicy.
    • getImagePullPolicyBytes

      public com.google.protobuf.ByteString getImagePullPolicyBytes()
       Image pull policy.
       One of Always, Never, IfNotPresent.
       Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
       +optional
       
      optional string image_pull_policy = 14 [json_name = "imagePullPolicy"];
      Specified by:
      getImagePullPolicyBytes in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The bytes for imagePullPolicy.
    • setImagePullPolicy

      public PodStatusPubSub.Container.Builder setImagePullPolicy(String value)
       Image pull policy.
       One of Always, Never, IfNotPresent.
       Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
       +optional
       
      optional string image_pull_policy = 14 [json_name = "imagePullPolicy"];
      Parameters:
      value - The imagePullPolicy to set.
      Returns:
      This builder for chaining.
    • clearImagePullPolicy

      public PodStatusPubSub.Container.Builder clearImagePullPolicy()
       Image pull policy.
       One of Always, Never, IfNotPresent.
       Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
       +optional
       
      optional string image_pull_policy = 14 [json_name = "imagePullPolicy"];
      Returns:
      This builder for chaining.
    • setImagePullPolicyBytes

      public PodStatusPubSub.Container.Builder setImagePullPolicyBytes(com.google.protobuf.ByteString value)
       Image pull policy.
       One of Always, Never, IfNotPresent.
       Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
       +optional
       
      optional string image_pull_policy = 14 [json_name = "imagePullPolicy"];
      Parameters:
      value - The bytes for imagePullPolicy to set.
      Returns:
      This builder for chaining.
    • getStdin

      public boolean getStdin()
       Whether this container should allocate a buffer for stdin in the container runtime. If this
       is not set, reads from stdin in the container will always result in EOF.
       
      bool stdin = 16 [json_name = "stdin"];
      Specified by:
      getStdin in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The stdin.
    • setStdin

      public PodStatusPubSub.Container.Builder setStdin(boolean value)
       Whether this container should allocate a buffer for stdin in the container runtime. If this
       is not set, reads from stdin in the container will always result in EOF.
       
      bool stdin = 16 [json_name = "stdin"];
      Parameters:
      value - The stdin to set.
      Returns:
      This builder for chaining.
    • clearStdin

      public PodStatusPubSub.Container.Builder clearStdin()
       Whether this container should allocate a buffer for stdin in the container runtime. If this
       is not set, reads from stdin in the container will always result in EOF.
       
      bool stdin = 16 [json_name = "stdin"];
      Returns:
      This builder for chaining.
    • getStdinOnce

      public boolean getStdinOnce()
       Whether the container runtime should close the stdin channel after it has been opened by
       a single attach. When stdin is true the stdin stream will remain open across multiple attach
       sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
       first client attaches to stdin, and then remains open and accepts data until the client disconnects,
       at which time stdin is closed and remains closed until the container is restarted. If this
       flag is false, a container processes that reads from stdin will never receive an EOF.
       
      bool stdin_once = 17 [json_name = "stdinOnce"];
      Specified by:
      getStdinOnce in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The stdinOnce.
    • setStdinOnce

      public PodStatusPubSub.Container.Builder setStdinOnce(boolean value)
       Whether the container runtime should close the stdin channel after it has been opened by
       a single attach. When stdin is true the stdin stream will remain open across multiple attach
       sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
       first client attaches to stdin, and then remains open and accepts data until the client disconnects,
       at which time stdin is closed and remains closed until the container is restarted. If this
       flag is false, a container processes that reads from stdin will never receive an EOF.
       
      bool stdin_once = 17 [json_name = "stdinOnce"];
      Parameters:
      value - The stdinOnce to set.
      Returns:
      This builder for chaining.
    • clearStdinOnce

      public PodStatusPubSub.Container.Builder clearStdinOnce()
       Whether the container runtime should close the stdin channel after it has been opened by
       a single attach. When stdin is true the stdin stream will remain open across multiple attach
       sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
       first client attaches to stdin, and then remains open and accepts data until the client disconnects,
       at which time stdin is closed and remains closed until the container is restarted. If this
       flag is false, a container processes that reads from stdin will never receive an EOF.
       
      bool stdin_once = 17 [json_name = "stdinOnce"];
      Returns:
      This builder for chaining.
    • getTty

      public boolean getTty()
       Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
       
      bool tty = 18 [json_name = "tty"];
      Specified by:
      getTty in interface PodStatusPubSub.ContainerOrBuilder
      Returns:
      The tty.
    • setTty

      public PodStatusPubSub.Container.Builder setTty(boolean value)
       Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
       
      bool tty = 18 [json_name = "tty"];
      Parameters:
      value - The tty to set.
      Returns:
      This builder for chaining.
    • clearTty

       Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
       
      bool tty = 18 [json_name = "tty"];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>
    • mergeUnknownFields

      public final PodStatusPubSub.Container.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<PodStatusPubSub.Container.Builder>