public static final class V1alpha1Scheduling.PriorityClass extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
V1alpha1Scheduling.PriorityClass.Builder
PriorityClass defines mapping from a priority class name to the priority
integer value.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
GLOBALDEFAULT_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static com.google.protobuf.Parser<V1alpha1Scheduling.PriorityClass> |
PARSER
Deprecated.
|
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1alpha1Scheduling.PriorityClass |
getDefaultInstance() |
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() |
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.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Standard object's metadata.
|
com.google.protobuf.Parser<V1alpha1Scheduling.PriorityClass> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
boolean |
hasMetadata()
Standard object's metadata.
|
boolean |
hasValue()
The value of this priority class.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1alpha1Scheduling.PriorityClass.Builder |
newBuilder() |
static V1alpha1Scheduling.PriorityClass.Builder |
newBuilder(V1alpha1Scheduling.PriorityClass prototype) |
V1alpha1Scheduling.PriorityClass.Builder |
newBuilderForType() |
protected V1alpha1Scheduling.PriorityClass.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1alpha1Scheduling.PriorityClass |
parseDelimitedFrom(InputStream input) |
static V1alpha1Scheduling.PriorityClass |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(byte[] data) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(ByteBuffer data) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(com.google.protobuf.ByteString data) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(InputStream input) |
static V1alpha1Scheduling.PriorityClass |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1alpha1Scheduling.PriorityClass> |
parser() |
V1alpha1Scheduling.PriorityClass.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int METADATA_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int GLOBALDEFAULT_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1alpha1Scheduling.PriorityClass> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasMetadata()
Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/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 boolean hasGlobalDefault()
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. +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. +optional
optional bool globalDefault = 3;getGlobalDefault in interface V1alpha1Scheduling.PriorityClassOrBuilderpublic 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1alpha1Scheduling.PriorityClass parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Scheduling.PriorityClass parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Scheduling.PriorityClass parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Scheduling.PriorityClass parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Scheduling.PriorityClass parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Scheduling.PriorityClass parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Scheduling.PriorityClass parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1alpha1Scheduling.PriorityClass parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1alpha1Scheduling.PriorityClass parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1alpha1Scheduling.PriorityClass parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1alpha1Scheduling.PriorityClass parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1alpha1Scheduling.PriorityClass parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1alpha1Scheduling.PriorityClass.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1alpha1Scheduling.PriorityClass.Builder newBuilder()
public static V1alpha1Scheduling.PriorityClass.Builder newBuilder(V1alpha1Scheduling.PriorityClass prototype)
public V1alpha1Scheduling.PriorityClass.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1alpha1Scheduling.PriorityClass.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1alpha1Scheduling.PriorityClass getDefaultInstance()
public static com.google.protobuf.Parser<V1alpha1Scheduling.PriorityClass> parser()
public com.google.protobuf.Parser<V1alpha1Scheduling.PriorityClass> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1alpha1Scheduling.PriorityClass getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.