Package io.kubernetes.client.proto
Interface V1Scheduling.PriorityClassOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1Scheduling.PriorityClass
,V1Scheduling.PriorityClass.Builder
- Enclosing class:
- V1Scheduling
public static interface V1Scheduling.PriorityClassOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondescription is an arbitrary string that usually provides guidelines on when this priority class should be used.com.google.protobuf.ByteString
description is an arbitrary string that usually provides guidelines on when this priority class should be used.boolean
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.Standard object's metadata.Standard object's metadata.PreemptionPolicy is the Policy for preempting pods with lower priority.com.google.protobuf.ByteString
PreemptionPolicy is the Policy for preempting pods with lower priority.int
getValue()
The value of this priority class.boolean
description is an arbitrary string that usually provides guidelines on when this priority class should be used.boolean
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.boolean
Standard object's metadata.boolean
PreemptionPolicy is the Policy for preempting pods with lower priority.boolean
hasValue()
The value of this priority class.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMetadata
boolean hasMetadata()Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
getMetadata
Meta.ObjectMeta getMetadata()Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
getMetadataOrBuilder
Meta.ObjectMetaOrBuilder getMetadataOrBuilder()Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
hasValue
boolean hasValue()The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
optional int32 value = 2;
-
getValue
int getValue()The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
optional int32 value = 2;
-
hasGlobalDefault
boolean hasGlobalDefault()globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. +optional
optional bool globalDefault = 3;
-
getGlobalDefault
boolean getGlobalDefault()globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. +optional
optional bool globalDefault = 3;
-
hasDescription
boolean hasDescription()description is an arbitrary string that usually provides guidelines on when this priority class should be used. +optional
optional string description = 4;
-
getDescription
String getDescription()description is an arbitrary string that usually provides guidelines on when this priority class should be used. +optional
optional string description = 4;
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()description is an arbitrary string that usually provides guidelines on when this priority class should be used. +optional
optional string description = 4;
-
hasPreemptionPolicy
boolean hasPreemptionPolicy()PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. +optional
optional string preemptionPolicy = 5;
-
getPreemptionPolicy
String getPreemptionPolicy()PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. +optional
optional string preemptionPolicy = 5;
-
getPreemptionPolicyBytes
com.google.protobuf.ByteString getPreemptionPolicyBytes()PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. +optional
optional string preemptionPolicy = 5;
-