Class KubernetesPodData.PodSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.PodSpec.Builder>
ai.chalk.protos.chalk.kubernetes.v1.KubernetesPodData.PodSpec.Builder
All Implemented Interfaces:
KubernetesPodData.PodSpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
KubernetesPodData.PodSpec

public static final class KubernetesPodData.PodSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.PodSpec.Builder> implements KubernetesPodData.PodSpecOrBuilder
 PodSpec is a description of a pod.
 
Protobuf type chalk.kubernetes.v1.KubernetesPodData.PodSpec
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.PodSpec.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.PodSpec.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>
    • getDefaultInstanceForType

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

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

      public KubernetesPodData.PodSpec 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<KubernetesPodData.PodSpec.Builder>
    • setField

      public KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>
    • clearField

      public KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>
    • clearOneof

      public KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>
    • setRepeatedField

      public KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>
    • addRepeatedField

      public KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>
    • mergeFrom

      public KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>
    • mergeFrom

      public KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>
      Throws:
      IOException
    • getVolumesList

      public List<KubernetesPodData.Volume> getVolumesList()
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
      Specified by:
      getVolumesList in interface KubernetesPodData.PodSpecOrBuilder
    • getVolumesCount

      public int getVolumesCount()
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
      Specified by:
      getVolumesCount in interface KubernetesPodData.PodSpecOrBuilder
    • getVolumes

      public KubernetesPodData.Volume getVolumes(int index)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
      Specified by:
      getVolumes in interface KubernetesPodData.PodSpecOrBuilder
    • setVolumes

      public KubernetesPodData.PodSpec.Builder setVolumes(int index, KubernetesPodData.Volume value)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • setVolumes

      public KubernetesPodData.PodSpec.Builder setVolumes(int index, KubernetesPodData.Volume.Builder builderForValue)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • addVolumes

       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • addVolumes

      public KubernetesPodData.PodSpec.Builder addVolumes(int index, KubernetesPodData.Volume value)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • addVolumes

       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • addVolumes

      public KubernetesPodData.PodSpec.Builder addVolumes(int index, KubernetesPodData.Volume.Builder builderForValue)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • addAllVolumes

      public KubernetesPodData.PodSpec.Builder addAllVolumes(Iterable<? extends KubernetesPodData.Volume> values)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • clearVolumes

      public KubernetesPodData.PodSpec.Builder clearVolumes()
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • removeVolumes

      public KubernetesPodData.PodSpec.Builder removeVolumes(int index)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • getVolumesBuilder

      public KubernetesPodData.Volume.Builder getVolumesBuilder(int index)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • getVolumesOrBuilder

      public KubernetesPodData.VolumeOrBuilder getVolumesOrBuilder(int index)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
      Specified by:
      getVolumesOrBuilder in interface KubernetesPodData.PodSpecOrBuilder
    • getVolumesOrBuilderList

      public List<? extends KubernetesPodData.VolumeOrBuilder> getVolumesOrBuilderList()
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
      Specified by:
      getVolumesOrBuilderList in interface KubernetesPodData.PodSpecOrBuilder
    • addVolumesBuilder

      public KubernetesPodData.Volume.Builder addVolumesBuilder()
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • addVolumesBuilder

      public KubernetesPodData.Volume.Builder addVolumesBuilder(int index)
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • getVolumesBuilderList

      public List<KubernetesPodData.Volume.Builder> getVolumesBuilderList()
       List of volumes that can be mounted by containers belonging to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes
       +optional
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Volume volumes = 1 [json_name = "volumes"];
    • getInitContainersList

      public List<KubernetesPodData.Container> getInitContainersList()
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
      Specified by:
      getInitContainersList in interface KubernetesPodData.PodSpecOrBuilder
    • getInitContainersCount

      public int getInitContainersCount()
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
      Specified by:
      getInitContainersCount in interface KubernetesPodData.PodSpecOrBuilder
    • getInitContainers

      public KubernetesPodData.Container getInitContainers(int index)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
      Specified by:
      getInitContainers in interface KubernetesPodData.PodSpecOrBuilder
    • setInitContainers

      public KubernetesPodData.PodSpec.Builder setInitContainers(int index, KubernetesPodData.Container value)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • setInitContainers

      public KubernetesPodData.PodSpec.Builder setInitContainers(int index, KubernetesPodData.Container.Builder builderForValue)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • addInitContainers

       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • addInitContainers

      public KubernetesPodData.PodSpec.Builder addInitContainers(int index, KubernetesPodData.Container value)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • addInitContainers

      public KubernetesPodData.PodSpec.Builder addInitContainers(KubernetesPodData.Container.Builder builderForValue)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • addInitContainers

      public KubernetesPodData.PodSpec.Builder addInitContainers(int index, KubernetesPodData.Container.Builder builderForValue)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • addAllInitContainers

      public KubernetesPodData.PodSpec.Builder addAllInitContainers(Iterable<? extends KubernetesPodData.Container> values)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • clearInitContainers

      public KubernetesPodData.PodSpec.Builder clearInitContainers()
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • removeInitContainers

      public KubernetesPodData.PodSpec.Builder removeInitContainers(int index)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • getInitContainersBuilder

      public KubernetesPodData.Container.Builder getInitContainersBuilder(int index)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • getInitContainersOrBuilder

      public KubernetesPodData.ContainerOrBuilder getInitContainersOrBuilder(int index)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
      Specified by:
      getInitContainersOrBuilder in interface KubernetesPodData.PodSpecOrBuilder
    • getInitContainersOrBuilderList

      public List<? extends KubernetesPodData.ContainerOrBuilder> getInitContainersOrBuilderList()
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
      Specified by:
      getInitContainersOrBuilderList in interface KubernetesPodData.PodSpecOrBuilder
    • addInitContainersBuilder

      public KubernetesPodData.Container.Builder addInitContainersBuilder()
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • addInitContainersBuilder

      public KubernetesPodData.Container.Builder addInitContainersBuilder(int index)
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • getInitContainersBuilderList

      public List<KubernetesPodData.Container.Builder> getInitContainersBuilderList()
       List of initialization containers belonging to the pod.
       Init containers are executed in order prior to containers being started. If any
       init container fails, the pod is considered to have failed and is handled according
       to its restartPolicy. The name for an init container or normal container must be
       unique among all containers.
       Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
       The resourceRequirements of an init container are taken into account during scheduling
       by finding the highest request/limit for each resource type, and then using the max of
       of that value or the sum of the normal containers. Limits are applied to init containers
       in a similar fashion.
       Init containers cannot currently be added or removed.
       Cannot be updated.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container init_containers = 20 [json_name = "initContainers"];
    • getContainersList

      public List<KubernetesPodData.Container> getContainersList()
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
      Specified by:
      getContainersList in interface KubernetesPodData.PodSpecOrBuilder
    • getContainersCount

      public int getContainersCount()
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
      Specified by:
      getContainersCount in interface KubernetesPodData.PodSpecOrBuilder
    • getContainers

      public KubernetesPodData.Container getContainers(int index)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
      Specified by:
      getContainers in interface KubernetesPodData.PodSpecOrBuilder
    • setContainers

      public KubernetesPodData.PodSpec.Builder setContainers(int index, KubernetesPodData.Container value)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • setContainers

      public KubernetesPodData.PodSpec.Builder setContainers(int index, KubernetesPodData.Container.Builder builderForValue)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • addContainers

       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • addContainers

      public KubernetesPodData.PodSpec.Builder addContainers(int index, KubernetesPodData.Container value)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • addContainers

       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • addContainers

      public KubernetesPodData.PodSpec.Builder addContainers(int index, KubernetesPodData.Container.Builder builderForValue)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • addAllContainers

      public KubernetesPodData.PodSpec.Builder addAllContainers(Iterable<? extends KubernetesPodData.Container> values)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • clearContainers

      public KubernetesPodData.PodSpec.Builder clearContainers()
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • removeContainers

      public KubernetesPodData.PodSpec.Builder removeContainers(int index)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • getContainersBuilder

      public KubernetesPodData.Container.Builder getContainersBuilder(int index)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • getContainersOrBuilder

      public KubernetesPodData.ContainerOrBuilder getContainersOrBuilder(int index)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
      Specified by:
      getContainersOrBuilder in interface KubernetesPodData.PodSpecOrBuilder
    • getContainersOrBuilderList

      public List<? extends KubernetesPodData.ContainerOrBuilder> getContainersOrBuilderList()
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
      Specified by:
      getContainersOrBuilderList in interface KubernetesPodData.PodSpecOrBuilder
    • addContainersBuilder

      public KubernetesPodData.Container.Builder addContainersBuilder()
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • addContainersBuilder

      public KubernetesPodData.Container.Builder addContainersBuilder(int index)
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • getContainersBuilderList

      public List<KubernetesPodData.Container.Builder> getContainersBuilderList()
       List of containers belonging to the pod.
       Containers cannot currently be added or removed.
       There must be at least one container in a Pod.
       Cannot be updated.
       +patchMergeKey=name
       +patchStrategy=merge
       +listType=map
       +listMapKey=name
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.Container containers = 2 [json_name = "containers"];
    • hasRestartPolicy

      public boolean hasRestartPolicy()
       Restart policy for all containers within the pod.
       One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.
       Default to Always.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
       +optional
       
      optional string restart_policy = 3 [json_name = "restartPolicy"];
      Specified by:
      hasRestartPolicy in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the restartPolicy field is set.
    • getRestartPolicy

      public String getRestartPolicy()
       Restart policy for all containers within the pod.
       One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.
       Default to Always.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
       +optional
       
      optional string restart_policy = 3 [json_name = "restartPolicy"];
      Specified by:
      getRestartPolicy in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The restartPolicy.
    • getRestartPolicyBytes

      public com.google.protobuf.ByteString getRestartPolicyBytes()
       Restart policy for all containers within the pod.
       One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.
       Default to Always.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
       +optional
       
      optional string restart_policy = 3 [json_name = "restartPolicy"];
      Specified by:
      getRestartPolicyBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for restartPolicy.
    • setRestartPolicy

      public KubernetesPodData.PodSpec.Builder setRestartPolicy(String value)
       Restart policy for all containers within the pod.
       One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.
       Default to Always.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
       +optional
       
      optional string restart_policy = 3 [json_name = "restartPolicy"];
      Parameters:
      value - The restartPolicy to set.
      Returns:
      This builder for chaining.
    • clearRestartPolicy

      public KubernetesPodData.PodSpec.Builder clearRestartPolicy()
       Restart policy for all containers within the pod.
       One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.
       Default to Always.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
       +optional
       
      optional string restart_policy = 3 [json_name = "restartPolicy"];
      Returns:
      This builder for chaining.
    • setRestartPolicyBytes

      public KubernetesPodData.PodSpec.Builder setRestartPolicyBytes(com.google.protobuf.ByteString value)
       Restart policy for all containers within the pod.
       One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.
       Default to Always.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
       +optional
       
      optional string restart_policy = 3 [json_name = "restartPolicy"];
      Parameters:
      value - The bytes for restartPolicy to set.
      Returns:
      This builder for chaining.
    • hasTerminationGracePeriodSeconds

      public boolean hasTerminationGracePeriodSeconds()
       Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
       Value must be non-negative integer. The value zero indicates stop immediately via
       the kill signal (no opportunity to shut down).
       If this value is nil, the default grace period will be used instead.
       The grace period is the duration in seconds after the processes running in the pod are sent
       a termination signal and the time when the processes are forcibly halted with a kill signal.
       Set this value longer than the expected cleanup time for your process.
       Defaults to 30 seconds.
       +optional
       
      optional int64 termination_grace_period_seconds = 4 [json_name = "terminationGracePeriodSeconds"];
      Specified by:
      hasTerminationGracePeriodSeconds in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the terminationGracePeriodSeconds field is set.
    • getTerminationGracePeriodSeconds

      public long getTerminationGracePeriodSeconds()
       Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
       Value must be non-negative integer. The value zero indicates stop immediately via
       the kill signal (no opportunity to shut down).
       If this value is nil, the default grace period will be used instead.
       The grace period is the duration in seconds after the processes running in the pod are sent
       a termination signal and the time when the processes are forcibly halted with a kill signal.
       Set this value longer than the expected cleanup time for your process.
       Defaults to 30 seconds.
       +optional
       
      optional int64 termination_grace_period_seconds = 4 [json_name = "terminationGracePeriodSeconds"];
      Specified by:
      getTerminationGracePeriodSeconds in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The terminationGracePeriodSeconds.
    • setTerminationGracePeriodSeconds

      public KubernetesPodData.PodSpec.Builder setTerminationGracePeriodSeconds(long value)
       Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
       Value must be non-negative integer. The value zero indicates stop immediately via
       the kill signal (no opportunity to shut down).
       If this value is nil, the default grace period will be used instead.
       The grace period is the duration in seconds after the processes running in the pod are sent
       a termination signal and the time when the processes are forcibly halted with a kill signal.
       Set this value longer than the expected cleanup time for your process.
       Defaults to 30 seconds.
       +optional
       
      optional int64 termination_grace_period_seconds = 4 [json_name = "terminationGracePeriodSeconds"];
      Parameters:
      value - The terminationGracePeriodSeconds to set.
      Returns:
      This builder for chaining.
    • clearTerminationGracePeriodSeconds

      public KubernetesPodData.PodSpec.Builder clearTerminationGracePeriodSeconds()
       Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
       Value must be non-negative integer. The value zero indicates stop immediately via
       the kill signal (no opportunity to shut down).
       If this value is nil, the default grace period will be used instead.
       The grace period is the duration in seconds after the processes running in the pod are sent
       a termination signal and the time when the processes are forcibly halted with a kill signal.
       Set this value longer than the expected cleanup time for your process.
       Defaults to 30 seconds.
       +optional
       
      optional int64 termination_grace_period_seconds = 4 [json_name = "terminationGracePeriodSeconds"];
      Returns:
      This builder for chaining.
    • hasActiveDeadlineSeconds

      public boolean hasActiveDeadlineSeconds()
       Optional duration in seconds the pod may be active on the node relative to
       start_time before the system will actively try to mark it failed and kill associated containers.
       Value must be a positive integer.
       +optional
       
      optional int64 active_deadline_seconds = 5 [json_name = "activeDeadlineSeconds"];
      Specified by:
      hasActiveDeadlineSeconds in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the activeDeadlineSeconds field is set.
    • getActiveDeadlineSeconds

      public long getActiveDeadlineSeconds()
       Optional duration in seconds the pod may be active on the node relative to
       start_time before the system will actively try to mark it failed and kill associated containers.
       Value must be a positive integer.
       +optional
       
      optional int64 active_deadline_seconds = 5 [json_name = "activeDeadlineSeconds"];
      Specified by:
      getActiveDeadlineSeconds in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The activeDeadlineSeconds.
    • setActiveDeadlineSeconds

      public KubernetesPodData.PodSpec.Builder setActiveDeadlineSeconds(long value)
       Optional duration in seconds the pod may be active on the node relative to
       start_time before the system will actively try to mark it failed and kill associated containers.
       Value must be a positive integer.
       +optional
       
      optional int64 active_deadline_seconds = 5 [json_name = "activeDeadlineSeconds"];
      Parameters:
      value - The activeDeadlineSeconds to set.
      Returns:
      This builder for chaining.
    • clearActiveDeadlineSeconds

      public KubernetesPodData.PodSpec.Builder clearActiveDeadlineSeconds()
       Optional duration in seconds the pod may be active on the node relative to
       start_time before the system will actively try to mark it failed and kill associated containers.
       Value must be a positive integer.
       +optional
       
      optional int64 active_deadline_seconds = 5 [json_name = "activeDeadlineSeconds"];
      Returns:
      This builder for chaining.
    • hasDnsPolicy

      public boolean hasDnsPolicy()
       Set DNS policy for the pod.
       Defaults to "ClusterFirst".
       Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
       DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
       To have DNS options set along with hostNetwork, you have to specify DNS policy
       explicitly to 'ClusterFirstWithHostNet'.
       +optional
       
      optional string dns_policy = 6 [json_name = "dnsPolicy"];
      Specified by:
      hasDnsPolicy in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the dnsPolicy field is set.
    • getDnsPolicy

      public String getDnsPolicy()
       Set DNS policy for the pod.
       Defaults to "ClusterFirst".
       Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
       DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
       To have DNS options set along with hostNetwork, you have to specify DNS policy
       explicitly to 'ClusterFirstWithHostNet'.
       +optional
       
      optional string dns_policy = 6 [json_name = "dnsPolicy"];
      Specified by:
      getDnsPolicy in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The dnsPolicy.
    • getDnsPolicyBytes

      public com.google.protobuf.ByteString getDnsPolicyBytes()
       Set DNS policy for the pod.
       Defaults to "ClusterFirst".
       Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
       DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
       To have DNS options set along with hostNetwork, you have to specify DNS policy
       explicitly to 'ClusterFirstWithHostNet'.
       +optional
       
      optional string dns_policy = 6 [json_name = "dnsPolicy"];
      Specified by:
      getDnsPolicyBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for dnsPolicy.
    • setDnsPolicy

      public KubernetesPodData.PodSpec.Builder setDnsPolicy(String value)
       Set DNS policy for the pod.
       Defaults to "ClusterFirst".
       Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
       DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
       To have DNS options set along with hostNetwork, you have to specify DNS policy
       explicitly to 'ClusterFirstWithHostNet'.
       +optional
       
      optional string dns_policy = 6 [json_name = "dnsPolicy"];
      Parameters:
      value - The dnsPolicy to set.
      Returns:
      This builder for chaining.
    • clearDnsPolicy

      public KubernetesPodData.PodSpec.Builder clearDnsPolicy()
       Set DNS policy for the pod.
       Defaults to "ClusterFirst".
       Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
       DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
       To have DNS options set along with hostNetwork, you have to specify DNS policy
       explicitly to 'ClusterFirstWithHostNet'.
       +optional
       
      optional string dns_policy = 6 [json_name = "dnsPolicy"];
      Returns:
      This builder for chaining.
    • setDnsPolicyBytes

      public KubernetesPodData.PodSpec.Builder setDnsPolicyBytes(com.google.protobuf.ByteString value)
       Set DNS policy for the pod.
       Defaults to "ClusterFirst".
       Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
       DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
       To have DNS options set along with hostNetwork, you have to specify DNS policy
       explicitly to 'ClusterFirstWithHostNet'.
       +optional
       
      optional string dns_policy = 6 [json_name = "dnsPolicy"];
      Parameters:
      value - The bytes for dnsPolicy to set.
      Returns:
      This builder for chaining.
    • getNodeSelectorCount

      public int getNodeSelectorCount()
      Description copied from interface: KubernetesPodData.PodSpecOrBuilder
       NodeSelector is a selector which must be true for the pod to fit on a node.
       Selector which must match a node's labels for the pod to be scheduled on that node.
       More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
       +optional
       +mapType=atomic
       
      map<string, string> node_selector = 7 [json_name = "nodeSelector"];
      Specified by:
      getNodeSelectorCount in interface KubernetesPodData.PodSpecOrBuilder
    • containsNodeSelector

      public boolean containsNodeSelector(String key)
       NodeSelector is a selector which must be true for the pod to fit on a node.
       Selector which must match a node's labels for the pod to be scheduled on that node.
       More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
       +optional
       +mapType=atomic
       
      map<string, string> node_selector = 7 [json_name = "nodeSelector"];
      Specified by:
      containsNodeSelector in interface KubernetesPodData.PodSpecOrBuilder
    • getNodeSelector

      @Deprecated public Map<String,String> getNodeSelector()
      Deprecated.
      Specified by:
      getNodeSelector in interface KubernetesPodData.PodSpecOrBuilder
    • getNodeSelectorMap

      public Map<String,String> getNodeSelectorMap()
       NodeSelector is a selector which must be true for the pod to fit on a node.
       Selector which must match a node's labels for the pod to be scheduled on that node.
       More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
       +optional
       +mapType=atomic
       
      map<string, string> node_selector = 7 [json_name = "nodeSelector"];
      Specified by:
      getNodeSelectorMap in interface KubernetesPodData.PodSpecOrBuilder
    • getNodeSelectorOrDefault

      public String getNodeSelectorOrDefault(String key, String defaultValue)
       NodeSelector is a selector which must be true for the pod to fit on a node.
       Selector which must match a node's labels for the pod to be scheduled on that node.
       More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
       +optional
       +mapType=atomic
       
      map<string, string> node_selector = 7 [json_name = "nodeSelector"];
      Specified by:
      getNodeSelectorOrDefault in interface KubernetesPodData.PodSpecOrBuilder
    • getNodeSelectorOrThrow

      public String getNodeSelectorOrThrow(String key)
       NodeSelector is a selector which must be true for the pod to fit on a node.
       Selector which must match a node's labels for the pod to be scheduled on that node.
       More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
       +optional
       +mapType=atomic
       
      map<string, string> node_selector = 7 [json_name = "nodeSelector"];
      Specified by:
      getNodeSelectorOrThrow in interface KubernetesPodData.PodSpecOrBuilder
    • clearNodeSelector

      public KubernetesPodData.PodSpec.Builder clearNodeSelector()
    • removeNodeSelector

      public KubernetesPodData.PodSpec.Builder removeNodeSelector(String key)
       NodeSelector is a selector which must be true for the pod to fit on a node.
       Selector which must match a node's labels for the pod to be scheduled on that node.
       More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
       +optional
       +mapType=atomic
       
      map<string, string> node_selector = 7 [json_name = "nodeSelector"];
    • getMutableNodeSelector

      @Deprecated public Map<String,String> getMutableNodeSelector()
      Deprecated.
      Use alternate mutation accessors instead.
    • putNodeSelector

      public KubernetesPodData.PodSpec.Builder putNodeSelector(String key, String value)
       NodeSelector is a selector which must be true for the pod to fit on a node.
       Selector which must match a node's labels for the pod to be scheduled on that node.
       More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
       +optional
       +mapType=atomic
       
      map<string, string> node_selector = 7 [json_name = "nodeSelector"];
    • putAllNodeSelector

      public KubernetesPodData.PodSpec.Builder putAllNodeSelector(Map<String,String> values)
       NodeSelector is a selector which must be true for the pod to fit on a node.
       Selector which must match a node's labels for the pod to be scheduled on that node.
       More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
       +optional
       +mapType=atomic
       
      map<string, string> node_selector = 7 [json_name = "nodeSelector"];
    • hasServiceAccountName

      public boolean hasServiceAccountName()
       ServiceAccountName is the name of the ServiceAccount to use to run this pod.
       More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
       +optional
       
      optional string service_account_name = 8 [json_name = "serviceAccountName"];
      Specified by:
      hasServiceAccountName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the serviceAccountName field is set.
    • getServiceAccountName

      public String getServiceAccountName()
       ServiceAccountName is the name of the ServiceAccount to use to run this pod.
       More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
       +optional
       
      optional string service_account_name = 8 [json_name = "serviceAccountName"];
      Specified by:
      getServiceAccountName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The serviceAccountName.
    • getServiceAccountNameBytes

      public com.google.protobuf.ByteString getServiceAccountNameBytes()
       ServiceAccountName is the name of the ServiceAccount to use to run this pod.
       More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
       +optional
       
      optional string service_account_name = 8 [json_name = "serviceAccountName"];
      Specified by:
      getServiceAccountNameBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for serviceAccountName.
    • setServiceAccountName

      public KubernetesPodData.PodSpec.Builder setServiceAccountName(String value)
       ServiceAccountName is the name of the ServiceAccount to use to run this pod.
       More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
       +optional
       
      optional string service_account_name = 8 [json_name = "serviceAccountName"];
      Parameters:
      value - The serviceAccountName to set.
      Returns:
      This builder for chaining.
    • clearServiceAccountName

      public KubernetesPodData.PodSpec.Builder clearServiceAccountName()
       ServiceAccountName is the name of the ServiceAccount to use to run this pod.
       More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
       +optional
       
      optional string service_account_name = 8 [json_name = "serviceAccountName"];
      Returns:
      This builder for chaining.
    • setServiceAccountNameBytes

      public KubernetesPodData.PodSpec.Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value)
       ServiceAccountName is the name of the ServiceAccount to use to run this pod.
       More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
       +optional
       
      optional string service_account_name = 8 [json_name = "serviceAccountName"];
      Parameters:
      value - The bytes for serviceAccountName to set.
      Returns:
      This builder for chaining.
    • hasAutomountServiceAccountToken

      public boolean hasAutomountServiceAccountToken()
       AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
       +optional
       
      optional bool automount_service_account_token = 21 [json_name = "automountServiceAccountToken"];
      Specified by:
      hasAutomountServiceAccountToken in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the automountServiceAccountToken field is set.
    • getAutomountServiceAccountToken

      public boolean getAutomountServiceAccountToken()
       AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
       +optional
       
      optional bool automount_service_account_token = 21 [json_name = "automountServiceAccountToken"];
      Specified by:
      getAutomountServiceAccountToken in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The automountServiceAccountToken.
    • setAutomountServiceAccountToken

      public KubernetesPodData.PodSpec.Builder setAutomountServiceAccountToken(boolean value)
       AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
       +optional
       
      optional bool automount_service_account_token = 21 [json_name = "automountServiceAccountToken"];
      Parameters:
      value - The automountServiceAccountToken to set.
      Returns:
      This builder for chaining.
    • clearAutomountServiceAccountToken

      public KubernetesPodData.PodSpec.Builder clearAutomountServiceAccountToken()
       AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
       +optional
       
      optional bool automount_service_account_token = 21 [json_name = "automountServiceAccountToken"];
      Returns:
      This builder for chaining.
    • hasNodeName

      public boolean hasNodeName()
       NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
       the scheduler simply schedules this pod onto that node, assuming that it fits resource
       requirements.
       +optional
       
      optional string node_name = 10 [json_name = "nodeName"];
      Specified by:
      hasNodeName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the nodeName field is set.
    • getNodeName

      public String getNodeName()
       NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
       the scheduler simply schedules this pod onto that node, assuming that it fits resource
       requirements.
       +optional
       
      optional string node_name = 10 [json_name = "nodeName"];
      Specified by:
      getNodeName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The nodeName.
    • getNodeNameBytes

      public com.google.protobuf.ByteString getNodeNameBytes()
       NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
       the scheduler simply schedules this pod onto that node, assuming that it fits resource
       requirements.
       +optional
       
      optional string node_name = 10 [json_name = "nodeName"];
      Specified by:
      getNodeNameBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for nodeName.
    • setNodeName

      public KubernetesPodData.PodSpec.Builder setNodeName(String value)
       NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
       the scheduler simply schedules this pod onto that node, assuming that it fits resource
       requirements.
       +optional
       
      optional string node_name = 10 [json_name = "nodeName"];
      Parameters:
      value - The nodeName to set.
      Returns:
      This builder for chaining.
    • clearNodeName

      public KubernetesPodData.PodSpec.Builder clearNodeName()
       NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
       the scheduler simply schedules this pod onto that node, assuming that it fits resource
       requirements.
       +optional
       
      optional string node_name = 10 [json_name = "nodeName"];
      Returns:
      This builder for chaining.
    • setNodeNameBytes

      public KubernetesPodData.PodSpec.Builder setNodeNameBytes(com.google.protobuf.ByteString value)
       NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
       the scheduler simply schedules this pod onto that node, assuming that it fits resource
       requirements.
       +optional
       
      optional string node_name = 10 [json_name = "nodeName"];
      Parameters:
      value - The bytes for nodeName to set.
      Returns:
      This builder for chaining.
    • getHostNetwork

      public boolean getHostNetwork()
       Host networking requested for this pod. Use the host's network namespace.
       If this option is set, the ports that will be used must be specified.
       Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool host_network = 11 [json_name = "hostNetwork"];
      Specified by:
      getHostNetwork in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The hostNetwork.
    • setHostNetwork

      public KubernetesPodData.PodSpec.Builder setHostNetwork(boolean value)
       Host networking requested for this pod. Use the host's network namespace.
       If this option is set, the ports that will be used must be specified.
       Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool host_network = 11 [json_name = "hostNetwork"];
      Parameters:
      value - The hostNetwork to set.
      Returns:
      This builder for chaining.
    • clearHostNetwork

      public KubernetesPodData.PodSpec.Builder clearHostNetwork()
       Host networking requested for this pod. Use the host's network namespace.
       If this option is set, the ports that will be used must be specified.
       Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool host_network = 11 [json_name = "hostNetwork"];
      Returns:
      This builder for chaining.
    • getHostPid

      public boolean getHostPid()
       Use the host's pid namespace.
       Optional: Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool host_pid = 12 [json_name = "hostPid"];
      Specified by:
      getHostPid in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The hostPid.
    • setHostPid

      public KubernetesPodData.PodSpec.Builder setHostPid(boolean value)
       Use the host's pid namespace.
       Optional: Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool host_pid = 12 [json_name = "hostPid"];
      Parameters:
      value - The hostPid to set.
      Returns:
      This builder for chaining.
    • clearHostPid

      public KubernetesPodData.PodSpec.Builder clearHostPid()
       Use the host's pid namespace.
       Optional: Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool host_pid = 12 [json_name = "hostPid"];
      Returns:
      This builder for chaining.
    • getHostIpc

      public boolean getHostIpc()
       Use the host's ipc namespace.
       Optional: Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool host_ipc = 13 [json_name = "hostIpc"];
      Specified by:
      getHostIpc in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The hostIpc.
    • setHostIpc

      public KubernetesPodData.PodSpec.Builder setHostIpc(boolean value)
       Use the host's ipc namespace.
       Optional: Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool host_ipc = 13 [json_name = "hostIpc"];
      Parameters:
      value - The hostIpc to set.
      Returns:
      This builder for chaining.
    • clearHostIpc

      public KubernetesPodData.PodSpec.Builder clearHostIpc()
       Use the host's ipc namespace.
       Optional: Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool host_ipc = 13 [json_name = "hostIpc"];
      Returns:
      This builder for chaining.
    • getShareProcessNamespace

      public boolean getShareProcessNamespace()
       Share a single process namespace between all of the containers in a pod.
       When this is set containers will be able to view and signal processes from other containers
       in the same pod, and the first process in each container will not be assigned PID 1.
       HostPID and ShareProcessNamespace cannot both be set.
       Optional: Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool share_process_namespace = 27 [json_name = "shareProcessNamespace"];
      Specified by:
      getShareProcessNamespace in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The shareProcessNamespace.
    • setShareProcessNamespace

      public KubernetesPodData.PodSpec.Builder setShareProcessNamespace(boolean value)
       Share a single process namespace between all of the containers in a pod.
       When this is set containers will be able to view and signal processes from other containers
       in the same pod, and the first process in each container will not be assigned PID 1.
       HostPID and ShareProcessNamespace cannot both be set.
       Optional: Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool share_process_namespace = 27 [json_name = "shareProcessNamespace"];
      Parameters:
      value - The shareProcessNamespace to set.
      Returns:
      This builder for chaining.
    • clearShareProcessNamespace

      public KubernetesPodData.PodSpec.Builder clearShareProcessNamespace()
       Share a single process namespace between all of the containers in a pod.
       When this is set containers will be able to view and signal processes from other containers
       in the same pod, and the first process in each container will not be assigned PID 1.
       HostPID and ShareProcessNamespace cannot both be set.
       Optional: Default to false.
       +k8s:conversion-gen=false
       +optional
       
      bool share_process_namespace = 27 [json_name = "shareProcessNamespace"];
      Returns:
      This builder for chaining.
    • hasHostname

      public boolean hasHostname()
       Specifies the hostname of the Pod
       If not specified, the pod's hostname will be set to a system-defined value.
       +optional
       
      optional string hostname = 16 [json_name = "hostname"];
      Specified by:
      hasHostname in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the hostname field is set.
    • getHostname

      public String getHostname()
       Specifies the hostname of the Pod
       If not specified, the pod's hostname will be set to a system-defined value.
       +optional
       
      optional string hostname = 16 [json_name = "hostname"];
      Specified by:
      getHostname in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The hostname.
    • getHostnameBytes

      public com.google.protobuf.ByteString getHostnameBytes()
       Specifies the hostname of the Pod
       If not specified, the pod's hostname will be set to a system-defined value.
       +optional
       
      optional string hostname = 16 [json_name = "hostname"];
      Specified by:
      getHostnameBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for hostname.
    • setHostname

      public KubernetesPodData.PodSpec.Builder setHostname(String value)
       Specifies the hostname of the Pod
       If not specified, the pod's hostname will be set to a system-defined value.
       +optional
       
      optional string hostname = 16 [json_name = "hostname"];
      Parameters:
      value - The hostname to set.
      Returns:
      This builder for chaining.
    • clearHostname

      public KubernetesPodData.PodSpec.Builder clearHostname()
       Specifies the hostname of the Pod
       If not specified, the pod's hostname will be set to a system-defined value.
       +optional
       
      optional string hostname = 16 [json_name = "hostname"];
      Returns:
      This builder for chaining.
    • setHostnameBytes

      public KubernetesPodData.PodSpec.Builder setHostnameBytes(com.google.protobuf.ByteString value)
       Specifies the hostname of the Pod
       If not specified, the pod's hostname will be set to a system-defined value.
       +optional
       
      optional string hostname = 16 [json_name = "hostname"];
      Parameters:
      value - The bytes for hostname to set.
      Returns:
      This builder for chaining.
    • hasSubdomain

      public boolean hasSubdomain()
       If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
       If not specified, the pod will not have a domainname at all.
       +optional
       
      optional string subdomain = 17 [json_name = "subdomain"];
      Specified by:
      hasSubdomain in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the subdomain field is set.
    • getSubdomain

      public String getSubdomain()
       If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
       If not specified, the pod will not have a domainname at all.
       +optional
       
      optional string subdomain = 17 [json_name = "subdomain"];
      Specified by:
      getSubdomain in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The subdomain.
    • getSubdomainBytes

      public com.google.protobuf.ByteString getSubdomainBytes()
       If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
       If not specified, the pod will not have a domainname at all.
       +optional
       
      optional string subdomain = 17 [json_name = "subdomain"];
      Specified by:
      getSubdomainBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for subdomain.
    • setSubdomain

      public KubernetesPodData.PodSpec.Builder setSubdomain(String value)
       If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
       If not specified, the pod will not have a domainname at all.
       +optional
       
      optional string subdomain = 17 [json_name = "subdomain"];
      Parameters:
      value - The subdomain to set.
      Returns:
      This builder for chaining.
    • clearSubdomain

      public KubernetesPodData.PodSpec.Builder clearSubdomain()
       If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
       If not specified, the pod will not have a domainname at all.
       +optional
       
      optional string subdomain = 17 [json_name = "subdomain"];
      Returns:
      This builder for chaining.
    • setSubdomainBytes

      public KubernetesPodData.PodSpec.Builder setSubdomainBytes(com.google.protobuf.ByteString value)
       If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
       If not specified, the pod will not have a domainname at all.
       +optional
       
      optional string subdomain = 17 [json_name = "subdomain"];
      Parameters:
      value - The bytes for subdomain to set.
      Returns:
      This builder for chaining.
    • hasSchedulerName

      public boolean hasSchedulerName()
       If specified, the pod will be dispatched by specified scheduler.
       If not specified, the pod will be dispatched by default scheduler.
       +optional
       
      optional string scheduler_name = 19 [json_name = "schedulerName"];
      Specified by:
      hasSchedulerName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the schedulerName field is set.
    • getSchedulerName

      public String getSchedulerName()
       If specified, the pod will be dispatched by specified scheduler.
       If not specified, the pod will be dispatched by default scheduler.
       +optional
       
      optional string scheduler_name = 19 [json_name = "schedulerName"];
      Specified by:
      getSchedulerName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The schedulerName.
    • getSchedulerNameBytes

      public com.google.protobuf.ByteString getSchedulerNameBytes()
       If specified, the pod will be dispatched by specified scheduler.
       If not specified, the pod will be dispatched by default scheduler.
       +optional
       
      optional string scheduler_name = 19 [json_name = "schedulerName"];
      Specified by:
      getSchedulerNameBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for schedulerName.
    • setSchedulerName

      public KubernetesPodData.PodSpec.Builder setSchedulerName(String value)
       If specified, the pod will be dispatched by specified scheduler.
       If not specified, the pod will be dispatched by default scheduler.
       +optional
       
      optional string scheduler_name = 19 [json_name = "schedulerName"];
      Parameters:
      value - The schedulerName to set.
      Returns:
      This builder for chaining.
    • clearSchedulerName

      public KubernetesPodData.PodSpec.Builder clearSchedulerName()
       If specified, the pod will be dispatched by specified scheduler.
       If not specified, the pod will be dispatched by default scheduler.
       +optional
       
      optional string scheduler_name = 19 [json_name = "schedulerName"];
      Returns:
      This builder for chaining.
    • setSchedulerNameBytes

      public KubernetesPodData.PodSpec.Builder setSchedulerNameBytes(com.google.protobuf.ByteString value)
       If specified, the pod will be dispatched by specified scheduler.
       If not specified, the pod will be dispatched by default scheduler.
       +optional
       
      optional string scheduler_name = 19 [json_name = "schedulerName"];
      Parameters:
      value - The bytes for schedulerName to set.
      Returns:
      This builder for chaining.
    • hasPriorityClassName

      public boolean hasPriorityClassName()
       If specified, indicates the pod's priority. "system-node-critical" and
       "system-cluster-critical" are two special keywords which indicate the
       highest priorities with the former being the highest priority. Any other
       name must be defined by creating a PriorityClass object with that name.
       If not specified, the pod priority will be default or zero if there is no
       default.
       +optional
       
      optional string priority_class_name = 24 [json_name = "priorityClassName"];
      Specified by:
      hasPriorityClassName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the priorityClassName field is set.
    • getPriorityClassName

      public String getPriorityClassName()
       If specified, indicates the pod's priority. "system-node-critical" and
       "system-cluster-critical" are two special keywords which indicate the
       highest priorities with the former being the highest priority. Any other
       name must be defined by creating a PriorityClass object with that name.
       If not specified, the pod priority will be default or zero if there is no
       default.
       +optional
       
      optional string priority_class_name = 24 [json_name = "priorityClassName"];
      Specified by:
      getPriorityClassName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The priorityClassName.
    • getPriorityClassNameBytes

      public com.google.protobuf.ByteString getPriorityClassNameBytes()
       If specified, indicates the pod's priority. "system-node-critical" and
       "system-cluster-critical" are two special keywords which indicate the
       highest priorities with the former being the highest priority. Any other
       name must be defined by creating a PriorityClass object with that name.
       If not specified, the pod priority will be default or zero if there is no
       default.
       +optional
       
      optional string priority_class_name = 24 [json_name = "priorityClassName"];
      Specified by:
      getPriorityClassNameBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for priorityClassName.
    • setPriorityClassName

      public KubernetesPodData.PodSpec.Builder setPriorityClassName(String value)
       If specified, indicates the pod's priority. "system-node-critical" and
       "system-cluster-critical" are two special keywords which indicate the
       highest priorities with the former being the highest priority. Any other
       name must be defined by creating a PriorityClass object with that name.
       If not specified, the pod priority will be default or zero if there is no
       default.
       +optional
       
      optional string priority_class_name = 24 [json_name = "priorityClassName"];
      Parameters:
      value - The priorityClassName to set.
      Returns:
      This builder for chaining.
    • clearPriorityClassName

      public KubernetesPodData.PodSpec.Builder clearPriorityClassName()
       If specified, indicates the pod's priority. "system-node-critical" and
       "system-cluster-critical" are two special keywords which indicate the
       highest priorities with the former being the highest priority. Any other
       name must be defined by creating a PriorityClass object with that name.
       If not specified, the pod priority will be default or zero if there is no
       default.
       +optional
       
      optional string priority_class_name = 24 [json_name = "priorityClassName"];
      Returns:
      This builder for chaining.
    • setPriorityClassNameBytes

      public KubernetesPodData.PodSpec.Builder setPriorityClassNameBytes(com.google.protobuf.ByteString value)
       If specified, indicates the pod's priority. "system-node-critical" and
       "system-cluster-critical" are two special keywords which indicate the
       highest priorities with the former being the highest priority. Any other
       name must be defined by creating a PriorityClass object with that name.
       If not specified, the pod priority will be default or zero if there is no
       default.
       +optional
       
      optional string priority_class_name = 24 [json_name = "priorityClassName"];
      Parameters:
      value - The bytes for priorityClassName to set.
      Returns:
      This builder for chaining.
    • hasPriority

      public boolean hasPriority()
       The priority value. Various system components use this field to find the
       priority of the pod. When Priority Admission Controller is enabled, it
       prevents users from setting this field. The admission controller populates
       this field from priority_class_name.
       The higher the value, the higher the priority.
       +optional
       
      optional int32 priority = 25 [json_name = "priority"];
      Specified by:
      hasPriority in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the priority field is set.
    • getPriority

      public int getPriority()
       The priority value. Various system components use this field to find the
       priority of the pod. When Priority Admission Controller is enabled, it
       prevents users from setting this field. The admission controller populates
       this field from priority_class_name.
       The higher the value, the higher the priority.
       +optional
       
      optional int32 priority = 25 [json_name = "priority"];
      Specified by:
      getPriority in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The priority.
    • setPriority

      public KubernetesPodData.PodSpec.Builder setPriority(int value)
       The priority value. Various system components use this field to find the
       priority of the pod. When Priority Admission Controller is enabled, it
       prevents users from setting this field. The admission controller populates
       this field from priority_class_name.
       The higher the value, the higher the priority.
       +optional
       
      optional int32 priority = 25 [json_name = "priority"];
      Parameters:
      value - The priority to set.
      Returns:
      This builder for chaining.
    • clearPriority

      public KubernetesPodData.PodSpec.Builder clearPriority()
       The priority value. Various system components use this field to find the
       priority of the pod. When Priority Admission Controller is enabled, it
       prevents users from setting this field. The admission controller populates
       this field from priority_class_name.
       The higher the value, the higher the priority.
       +optional
       
      optional int32 priority = 25 [json_name = "priority"];
      Returns:
      This builder for chaining.
    • hasRuntimeClassName

      public boolean hasRuntimeClassName()
       RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
       to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run.
       If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
       empty definition that uses the default runtime handler.
       More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
       +optional
       
      optional string runtime_class_name = 29 [json_name = "runtimeClassName"];
      Specified by:
      hasRuntimeClassName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the runtimeClassName field is set.
    • getRuntimeClassName

      public String getRuntimeClassName()
       RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
       to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run.
       If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
       empty definition that uses the default runtime handler.
       More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
       +optional
       
      optional string runtime_class_name = 29 [json_name = "runtimeClassName"];
      Specified by:
      getRuntimeClassName in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The runtimeClassName.
    • getRuntimeClassNameBytes

      public com.google.protobuf.ByteString getRuntimeClassNameBytes()
       RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
       to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run.
       If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
       empty definition that uses the default runtime handler.
       More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
       +optional
       
      optional string runtime_class_name = 29 [json_name = "runtimeClassName"];
      Specified by:
      getRuntimeClassNameBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for runtimeClassName.
    • setRuntimeClassName

      public KubernetesPodData.PodSpec.Builder setRuntimeClassName(String value)
       RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
       to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run.
       If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
       empty definition that uses the default runtime handler.
       More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
       +optional
       
      optional string runtime_class_name = 29 [json_name = "runtimeClassName"];
      Parameters:
      value - The runtimeClassName to set.
      Returns:
      This builder for chaining.
    • clearRuntimeClassName

      public KubernetesPodData.PodSpec.Builder clearRuntimeClassName()
       RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
       to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run.
       If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
       empty definition that uses the default runtime handler.
       More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
       +optional
       
      optional string runtime_class_name = 29 [json_name = "runtimeClassName"];
      Returns:
      This builder for chaining.
    • setRuntimeClassNameBytes

      public KubernetesPodData.PodSpec.Builder setRuntimeClassNameBytes(com.google.protobuf.ByteString value)
       RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
       to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run.
       If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
       empty definition that uses the default runtime handler.
       More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
       +optional
       
      optional string runtime_class_name = 29 [json_name = "runtimeClassName"];
      Parameters:
      value - The bytes for runtimeClassName to set.
      Returns:
      This builder for chaining.
    • hasEnableServiceLinks

      public boolean hasEnableServiceLinks()
       EnableServiceLinks indicates whether information about services should be injected into pod's
       environment variables, matching the syntax of Docker links.
       Optional: Defaults to true.
       +optional
       
      optional bool enable_service_links = 30 [json_name = "enableServiceLinks"];
      Specified by:
      hasEnableServiceLinks in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the enableServiceLinks field is set.
    • getEnableServiceLinks

      public boolean getEnableServiceLinks()
       EnableServiceLinks indicates whether information about services should be injected into pod's
       environment variables, matching the syntax of Docker links.
       Optional: Defaults to true.
       +optional
       
      optional bool enable_service_links = 30 [json_name = "enableServiceLinks"];
      Specified by:
      getEnableServiceLinks in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The enableServiceLinks.
    • setEnableServiceLinks

      public KubernetesPodData.PodSpec.Builder setEnableServiceLinks(boolean value)
       EnableServiceLinks indicates whether information about services should be injected into pod's
       environment variables, matching the syntax of Docker links.
       Optional: Defaults to true.
       +optional
       
      optional bool enable_service_links = 30 [json_name = "enableServiceLinks"];
      Parameters:
      value - The enableServiceLinks to set.
      Returns:
      This builder for chaining.
    • clearEnableServiceLinks

      public KubernetesPodData.PodSpec.Builder clearEnableServiceLinks()
       EnableServiceLinks indicates whether information about services should be injected into pod's
       environment variables, matching the syntax of Docker links.
       Optional: Defaults to true.
       +optional
       
      optional bool enable_service_links = 30 [json_name = "enableServiceLinks"];
      Returns:
      This builder for chaining.
    • hasPreemptionPolicy

      public boolean hasPreemptionPolicy()
       PreemptionPolicy is the Policy for preempting pods with lower priority.
       One of Never, PreemptLowerPriority.
       Defaults to PreemptLowerPriority if unset.
       +optional
       
      optional string preemption_policy = 31 [json_name = "preemptionPolicy"];
      Specified by:
      hasPreemptionPolicy in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the preemptionPolicy field is set.
    • getPreemptionPolicy

      public String getPreemptionPolicy()
       PreemptionPolicy is the Policy for preempting pods with lower priority.
       One of Never, PreemptLowerPriority.
       Defaults to PreemptLowerPriority if unset.
       +optional
       
      optional string preemption_policy = 31 [json_name = "preemptionPolicy"];
      Specified by:
      getPreemptionPolicy in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The preemptionPolicy.
    • getPreemptionPolicyBytes

      public com.google.protobuf.ByteString getPreemptionPolicyBytes()
       PreemptionPolicy is the Policy for preempting pods with lower priority.
       One of Never, PreemptLowerPriority.
       Defaults to PreemptLowerPriority if unset.
       +optional
       
      optional string preemption_policy = 31 [json_name = "preemptionPolicy"];
      Specified by:
      getPreemptionPolicyBytes in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The bytes for preemptionPolicy.
    • setPreemptionPolicy

      public KubernetesPodData.PodSpec.Builder setPreemptionPolicy(String value)
       PreemptionPolicy is the Policy for preempting pods with lower priority.
       One of Never, PreemptLowerPriority.
       Defaults to PreemptLowerPriority if unset.
       +optional
       
      optional string preemption_policy = 31 [json_name = "preemptionPolicy"];
      Parameters:
      value - The preemptionPolicy to set.
      Returns:
      This builder for chaining.
    • clearPreemptionPolicy

      public KubernetesPodData.PodSpec.Builder clearPreemptionPolicy()
       PreemptionPolicy is the Policy for preempting pods with lower priority.
       One of Never, PreemptLowerPriority.
       Defaults to PreemptLowerPriority if unset.
       +optional
       
      optional string preemption_policy = 31 [json_name = "preemptionPolicy"];
      Returns:
      This builder for chaining.
    • setPreemptionPolicyBytes

      public KubernetesPodData.PodSpec.Builder setPreemptionPolicyBytes(com.google.protobuf.ByteString value)
       PreemptionPolicy is the Policy for preempting pods with lower priority.
       One of Never, PreemptLowerPriority.
       Defaults to PreemptLowerPriority if unset.
       +optional
       
      optional string preemption_policy = 31 [json_name = "preemptionPolicy"];
      Parameters:
      value - The bytes for preemptionPolicy to set.
      Returns:
      This builder for chaining.
    • hasHostUsers

      public boolean hasHostUsers()
       Use the host's user namespace.
       Optional: Default to true.
       If set to true or not present, the pod will be run in the host user namespace, useful
       for when the pod needs a feature only available to the host user namespace, such as
       loading a kernel module with CAP_SYS_MODULE.
       When set to false, a new userns is created for the pod. Setting false is useful for
       mitigating container breakout vulnerabilities even allowing users to run their
       containers as root without actually having root privileges on the host.
       This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
       +k8s:conversion-gen=false
       +optional
       
      optional bool host_users = 37 [json_name = "hostUsers"];
      Specified by:
      hasHostUsers in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      Whether the hostUsers field is set.
    • getHostUsers

      public boolean getHostUsers()
       Use the host's user namespace.
       Optional: Default to true.
       If set to true or not present, the pod will be run in the host user namespace, useful
       for when the pod needs a feature only available to the host user namespace, such as
       loading a kernel module with CAP_SYS_MODULE.
       When set to false, a new userns is created for the pod. Setting false is useful for
       mitigating container breakout vulnerabilities even allowing users to run their
       containers as root without actually having root privileges on the host.
       This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
       +k8s:conversion-gen=false
       +optional
       
      optional bool host_users = 37 [json_name = "hostUsers"];
      Specified by:
      getHostUsers in interface KubernetesPodData.PodSpecOrBuilder
      Returns:
      The hostUsers.
    • setHostUsers

      public KubernetesPodData.PodSpec.Builder setHostUsers(boolean value)
       Use the host's user namespace.
       Optional: Default to true.
       If set to true or not present, the pod will be run in the host user namespace, useful
       for when the pod needs a feature only available to the host user namespace, such as
       loading a kernel module with CAP_SYS_MODULE.
       When set to false, a new userns is created for the pod. Setting false is useful for
       mitigating container breakout vulnerabilities even allowing users to run their
       containers as root without actually having root privileges on the host.
       This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
       +k8s:conversion-gen=false
       +optional
       
      optional bool host_users = 37 [json_name = "hostUsers"];
      Parameters:
      value - The hostUsers to set.
      Returns:
      This builder for chaining.
    • clearHostUsers

      public KubernetesPodData.PodSpec.Builder clearHostUsers()
       Use the host's user namespace.
       Optional: Default to true.
       If set to true or not present, the pod will be run in the host user namespace, useful
       for when the pod needs a feature only available to the host user namespace, such as
       loading a kernel module with CAP_SYS_MODULE.
       When set to false, a new userns is created for the pod. Setting false is useful for
       mitigating container breakout vulnerabilities even allowing users to run their
       containers as root without actually having root privileges on the host.
       This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
       +k8s:conversion-gen=false
       +optional
       
      optional bool host_users = 37 [json_name = "hostUsers"];
      Returns:
      This builder for chaining.
    • getResourceClaimsList

      public List<KubernetesPodData.PodResourceClaim> getResourceClaimsList()
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
      Specified by:
      getResourceClaimsList in interface KubernetesPodData.PodSpecOrBuilder
    • getResourceClaimsCount

      public int getResourceClaimsCount()
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
      Specified by:
      getResourceClaimsCount in interface KubernetesPodData.PodSpecOrBuilder
    • getResourceClaims

      public KubernetesPodData.PodResourceClaim getResourceClaims(int index)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
      Specified by:
      getResourceClaims in interface KubernetesPodData.PodSpecOrBuilder
    • setResourceClaims

      public KubernetesPodData.PodSpec.Builder setResourceClaims(int index, KubernetesPodData.PodResourceClaim value)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • setResourceClaims

      public KubernetesPodData.PodSpec.Builder setResourceClaims(int index, KubernetesPodData.PodResourceClaim.Builder builderForValue)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • addResourceClaims

       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • addResourceClaims

      public KubernetesPodData.PodSpec.Builder addResourceClaims(int index, KubernetesPodData.PodResourceClaim value)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • addResourceClaims

       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • addResourceClaims

      public KubernetesPodData.PodSpec.Builder addResourceClaims(int index, KubernetesPodData.PodResourceClaim.Builder builderForValue)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • addAllResourceClaims

      public KubernetesPodData.PodSpec.Builder addAllResourceClaims(Iterable<? extends KubernetesPodData.PodResourceClaim> values)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • clearResourceClaims

      public KubernetesPodData.PodSpec.Builder clearResourceClaims()
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • removeResourceClaims

      public KubernetesPodData.PodSpec.Builder removeResourceClaims(int index)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • getResourceClaimsBuilder

      public KubernetesPodData.PodResourceClaim.Builder getResourceClaimsBuilder(int index)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • getResourceClaimsOrBuilder

      public KubernetesPodData.PodResourceClaimOrBuilder getResourceClaimsOrBuilder(int index)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
      Specified by:
      getResourceClaimsOrBuilder in interface KubernetesPodData.PodSpecOrBuilder
    • getResourceClaimsOrBuilderList

      public List<? extends KubernetesPodData.PodResourceClaimOrBuilder> getResourceClaimsOrBuilderList()
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
      Specified by:
      getResourceClaimsOrBuilderList in interface KubernetesPodData.PodSpecOrBuilder
    • addResourceClaimsBuilder

      public KubernetesPodData.PodResourceClaim.Builder addResourceClaimsBuilder()
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • addResourceClaimsBuilder

      public KubernetesPodData.PodResourceClaim.Builder addResourceClaimsBuilder(int index)
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • getResourceClaimsBuilderList

      public List<KubernetesPodData.PodResourceClaim.Builder> getResourceClaimsBuilderList()
       ResourceClaims defines which ResourceClaims must be allocated
       and reserved before the Pod is allowed to start. The resources
       will be made available to those containers which consume them
       by name.
      
       This is an alpha field and requires enabling the
       DynamicResourceAllocation feature gate.
      
       This field is immutable.
      
       +patchMergeKey=name
       +patchStrategy=merge,retainKeys
       +listType=map
       +listMapKey=name
       +featureGate=DynamicResourceAllocation
       +optional
       
      repeated .chalk.kubernetes.v1.KubernetesPodData.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
    • setUnknownFields

      public final KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>
    • mergeUnknownFields

      public final KubernetesPodData.PodSpec.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<KubernetesPodData.PodSpec.Builder>