Class KubernetesPodData.PodSpec

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

public static final class KubernetesPodData.PodSpec extends com.google.protobuf.GeneratedMessageV3 implements KubernetesPodData.PodSpecOrBuilder
 PodSpec is a description of a pod.
 
Protobuf type chalk.kubernetes.v1.KubernetesPodData.PodSpec
See Also:
  • Field Details

    • VOLUMES_FIELD_NUMBER

      public static final int VOLUMES_FIELD_NUMBER
      See Also:
    • INIT_CONTAINERS_FIELD_NUMBER

      public static final int INIT_CONTAINERS_FIELD_NUMBER
      See Also:
    • CONTAINERS_FIELD_NUMBER

      public static final int CONTAINERS_FIELD_NUMBER
      See Also:
    • RESTART_POLICY_FIELD_NUMBER

      public static final int RESTART_POLICY_FIELD_NUMBER
      See Also:
    • TERMINATION_GRACE_PERIOD_SECONDS_FIELD_NUMBER

      public static final int TERMINATION_GRACE_PERIOD_SECONDS_FIELD_NUMBER
      See Also:
    • ACTIVE_DEADLINE_SECONDS_FIELD_NUMBER

      public static final int ACTIVE_DEADLINE_SECONDS_FIELD_NUMBER
      See Also:
    • DNS_POLICY_FIELD_NUMBER

      public static final int DNS_POLICY_FIELD_NUMBER
      See Also:
    • NODE_SELECTOR_FIELD_NUMBER

      public static final int NODE_SELECTOR_FIELD_NUMBER
      See Also:
    • SERVICE_ACCOUNT_NAME_FIELD_NUMBER

      public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER
      See Also:
    • AUTOMOUNT_SERVICE_ACCOUNT_TOKEN_FIELD_NUMBER

      public static final int AUTOMOUNT_SERVICE_ACCOUNT_TOKEN_FIELD_NUMBER
      See Also:
    • NODE_NAME_FIELD_NUMBER

      public static final int NODE_NAME_FIELD_NUMBER
      See Also:
    • HOST_NETWORK_FIELD_NUMBER

      public static final int HOST_NETWORK_FIELD_NUMBER
      See Also:
    • HOST_PID_FIELD_NUMBER

      public static final int HOST_PID_FIELD_NUMBER
      See Also:
    • HOST_IPC_FIELD_NUMBER

      public static final int HOST_IPC_FIELD_NUMBER
      See Also:
    • SHARE_PROCESS_NAMESPACE_FIELD_NUMBER

      public static final int SHARE_PROCESS_NAMESPACE_FIELD_NUMBER
      See Also:
    • HOSTNAME_FIELD_NUMBER

      public static final int HOSTNAME_FIELD_NUMBER
      See Also:
    • SUBDOMAIN_FIELD_NUMBER

      public static final int SUBDOMAIN_FIELD_NUMBER
      See Also:
    • SCHEDULER_NAME_FIELD_NUMBER

      public static final int SCHEDULER_NAME_FIELD_NUMBER
      See Also:
    • PRIORITY_CLASS_NAME_FIELD_NUMBER

      public static final int PRIORITY_CLASS_NAME_FIELD_NUMBER
      See Also:
    • PRIORITY_FIELD_NUMBER

      public static final int PRIORITY_FIELD_NUMBER
      See Also:
    • RUNTIME_CLASS_NAME_FIELD_NUMBER

      public static final int RUNTIME_CLASS_NAME_FIELD_NUMBER
      See Also:
    • PREEMPTION_POLICY_FIELD_NUMBER

      public static final int PREEMPTION_POLICY_FIELD_NUMBER
      See Also:
    • HOST_USERS_FIELD_NUMBER

      public static final int HOST_USERS_FIELD_NUMBER
      See Also:
    • RESOURCE_CLAIMS_FIELD_NUMBER

      public static final int RESOURCE_CLAIMS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • internalGetFieldAccessorTable

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static KubernetesPodData.PodSpec parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static KubernetesPodData.PodSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesPodData.PodSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static KubernetesPodData.PodSpec.Builder newBuilder()
    • newBuilder

      public static KubernetesPodData.PodSpec.Builder newBuilder(KubernetesPodData.PodSpec prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected KubernetesPodData.PodSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static KubernetesPodData.PodSpec getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<KubernetesPodData.PodSpec> parser()
    • getParserForType

      public com.google.protobuf.Parser<KubernetesPodData.PodSpec> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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