public static final class V1alpha1Scheduling.PriorityClass.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder> implements V1alpha1Scheduling.PriorityClassOrBuilder
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.Protobuf type
k8s.io.api.scheduling.v1alpha1.PriorityClass| Modifier and Type | Method and Description |
|---|---|
V1alpha1Scheduling.PriorityClass.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Scheduling.PriorityClass |
build() |
V1alpha1Scheduling.PriorityClass |
buildPartial() |
V1alpha1Scheduling.PriorityClass.Builder |
clear() |
V1alpha1Scheduling.PriorityClass.Builder |
clearDescription()
description is an arbitrary string that usually provides guidelines on
when this priority class should be used.
|
V1alpha1Scheduling.PriorityClass.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1alpha1Scheduling.PriorityClass.Builder |
clearGlobalDefault()
globalDefault specifies whether this PriorityClass should be considered as
the default priority for pods that do not have any priority class.
|
V1alpha1Scheduling.PriorityClass.Builder |
clearMetadata()
Standard object's metadata.
|
V1alpha1Scheduling.PriorityClass.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1alpha1Scheduling.PriorityClass.Builder |
clearValue()
The value of this priority class.
|
V1alpha1Scheduling.PriorityClass.Builder |
clone() |
V1alpha1Scheduling.PriorityClass |
getDefaultInstanceForType() |
String |
getDescription()
description is an arbitrary string that usually provides guidelines on
when this priority class should be used.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
description is an arbitrary string that usually provides guidelines on
when this priority class should be used.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getGlobalDefault()
globalDefault specifies whether this PriorityClass should be considered as
the default priority for pods that do not have any priority class.
|
Meta.ObjectMeta |
getMetadata()
Standard object's metadata.
|
Meta.ObjectMeta.Builder |
getMetadataBuilder()
Standard object's metadata.
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Standard object's metadata.
|
int |
getValue()
The value of this priority class.
|
boolean |
hasDescription()
description is an arbitrary string that usually provides guidelines on
when this priority class should be used.
|
boolean |
hasGlobalDefault()
globalDefault specifies whether this PriorityClass should be considered as
the default priority for pods that do not have any priority class.
|
boolean |
hasMetadata()
Standard object's metadata.
|
boolean |
hasValue()
The value of this priority class.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1alpha1Scheduling.PriorityClass.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1alpha1Scheduling.PriorityClass.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1alpha1Scheduling.PriorityClass.Builder |
mergeFrom(V1alpha1Scheduling.PriorityClass other) |
V1alpha1Scheduling.PriorityClass.Builder |
mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1alpha1Scheduling.PriorityClass.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1alpha1Scheduling.PriorityClass.Builder |
setDescription(String value)
description is an arbitrary string that usually provides guidelines on
when this priority class should be used.
|
V1alpha1Scheduling.PriorityClass.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
description is an arbitrary string that usually provides guidelines on
when this priority class should be used.
|
V1alpha1Scheduling.PriorityClass.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Scheduling.PriorityClass.Builder |
setGlobalDefault(boolean value)
globalDefault specifies whether this PriorityClass should be considered as
the default priority for pods that do not have any priority class.
|
V1alpha1Scheduling.PriorityClass.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata.
|
V1alpha1Scheduling.PriorityClass.Builder |
setMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1alpha1Scheduling.PriorityClass.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1alpha1Scheduling.PriorityClass.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1alpha1Scheduling.PriorityClass.Builder |
setValue(int value)
The value of this priority class.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1alpha1Scheduling.PriorityClass build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Scheduling.PriorityClass buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Scheduling.PriorityClass.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass.Builder mergeFrom(V1alpha1Scheduling.PriorityClass other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public V1alpha1Scheduling.PriorityClass.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1alpha1Scheduling.PriorityClass.Builder>IOExceptionpublic boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic Meta.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic V1alpha1Scheduling.PriorityClass.Builder setMetadata(Meta.ObjectMeta value)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1alpha1Scheduling.PriorityClass.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1alpha1Scheduling.PriorityClass.Builder mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1alpha1Scheduling.PriorityClass.Builder clearMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMeta.Builder getMetadataBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadataOrBuilder in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic 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;hasValue in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic 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;getValue in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic V1alpha1Scheduling.PriorityClass.Builder setValue(int value)
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;public V1alpha1Scheduling.PriorityClass.Builder clearValue()
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;public 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;hasGlobalDefault in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic 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;getGlobalDefault in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic V1alpha1Scheduling.PriorityClass.Builder setGlobalDefault(boolean value)
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;public V1alpha1Scheduling.PriorityClass.Builder clearGlobalDefault()
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;public boolean hasDescription()
description is an arbitrary string that usually provides guidelines on when this priority class should be used. +optional
optional string description = 4;hasDescription in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic String getDescription()
description is an arbitrary string that usually provides guidelines on when this priority class should be used. +optional
optional string description = 4;getDescription in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic 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;getDescriptionBytes in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic V1alpha1Scheduling.PriorityClass.Builder setDescription(String value)
description is an arbitrary string that usually provides guidelines on when this priority class should be used. +optional
optional string description = 4;public V1alpha1Scheduling.PriorityClass.Builder clearDescription()
description is an arbitrary string that usually provides guidelines on when this priority class should be used. +optional
optional string description = 4;public V1alpha1Scheduling.PriorityClass.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
description is an arbitrary string that usually provides guidelines on when this priority class should be used. +optional
optional string description = 4;public final V1alpha1Scheduling.PriorityClass.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>public final V1alpha1Scheduling.PriorityClass.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Scheduling.PriorityClass.Builder>Copyright © 2021. All rights reserved.