public static final class V1beta1Apiextensions.CustomResourceDefinitionVersion extends com.google.protobuf.GeneratedMessageV3 implements V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
CustomResourceDefinitionVersion describes a version for CRD.Protobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion
Modifier and Type | Class and Description |
---|---|
static class |
V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder
CustomResourceDefinitionVersion describes a version for CRD.
|
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ADDITIONALPRINTERCOLUMNS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionVersion> |
PARSER
Deprecated.
|
static int |
SCHEMA_FIELD_NUMBER |
static int |
SERVED_FIELD_NUMBER |
static int |
STORAGE_FIELD_NUMBER |
static int |
SUBRESOURCES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
V1beta1Apiextensions.CustomResourceColumnDefinition |
getAdditionalPrinterColumns(int index)
AdditionalPrinterColumns are additional columns shown e.g.
|
int |
getAdditionalPrinterColumnsCount()
AdditionalPrinterColumns are additional columns shown e.g.
|
List<V1beta1Apiextensions.CustomResourceColumnDefinition> |
getAdditionalPrinterColumnsList()
AdditionalPrinterColumns are additional columns shown e.g.
|
V1beta1Apiextensions.CustomResourceColumnDefinitionOrBuilder |
getAdditionalPrinterColumnsOrBuilder(int index)
AdditionalPrinterColumns are additional columns shown e.g.
|
List<? extends V1beta1Apiextensions.CustomResourceColumnDefinitionOrBuilder> |
getAdditionalPrinterColumnsOrBuilderList()
AdditionalPrinterColumns are additional columns shown e.g.
|
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
getDefaultInstance() |
V1beta1Apiextensions.CustomResourceDefinitionVersion |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
Name is the version name, e.g.
|
com.google.protobuf.ByteString |
getNameBytes()
Name is the version name, e.g.
|
com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionVersion> |
getParserForType() |
V1beta1Apiextensions.CustomResourceValidation |
getSchema()
Schema describes the schema for CustomResource used in validation, pruning, and defaulting.
|
V1beta1Apiextensions.CustomResourceValidationOrBuilder |
getSchemaOrBuilder()
Schema describes the schema for CustomResource used in validation, pruning, and defaulting.
|
int |
getSerializedSize() |
boolean |
getServed()
Served is a flag enabling/disabling this version from being served via REST APIs
|
boolean |
getStorage()
Storage flags the version as storage version.
|
V1beta1Apiextensions.CustomResourceSubresources |
getSubresources()
Subresources describes the subresources for CustomResource
Top-level and per-version subresources are mutually exclusive.
|
V1beta1Apiextensions.CustomResourceSubresourcesOrBuilder |
getSubresourcesOrBuilder()
Subresources describes the subresources for CustomResource
Top-level and per-version subresources are mutually exclusive.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasName()
Name is the version name, e.g.
|
boolean |
hasSchema()
Schema describes the schema for CustomResource used in validation, pruning, and defaulting.
|
boolean |
hasServed()
Served is a flag enabling/disabling this version from being served via REST APIs
|
boolean |
hasStorage()
Storage flags the version as storage version.
|
boolean |
hasSubresources()
Subresources describes the subresources for CustomResource
Top-level and per-version subresources are mutually exclusive.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder |
newBuilder() |
static V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder |
newBuilder(V1beta1Apiextensions.CustomResourceDefinitionVersion prototype) |
V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder |
newBuilderForType() |
protected V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseDelimitedFrom(InputStream input) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(byte[] data) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(ByteBuffer data) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(com.google.protobuf.ByteString data) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(InputStream input) |
static V1beta1Apiextensions.CustomResourceDefinitionVersion |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionVersion> |
parser() |
V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int NAME_FIELD_NUMBER
public static final int SERVED_FIELD_NUMBER
public static final int STORAGE_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
public static final int SUBRESOURCES_FIELD_NUMBER
public static final int ADDITIONALPRINTERCOLUMNS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionVersion> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasName()
Name is the version name, e.g. “v1”, “v2beta1”, etc.
optional string name = 1;
hasName
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public String getName()
Name is the version name, e.g. “v1”, “v2beta1”, etc.
optional string name = 1;
getName
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Name is the version name, e.g. “v1”, “v2beta1”, etc.
optional string name = 1;
getNameBytes
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public boolean hasServed()
Served is a flag enabling/disabling this version from being served via REST APIs
optional bool served = 2;
hasServed
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public boolean getServed()
Served is a flag enabling/disabling this version from being served via REST APIs
optional bool served = 2;
getServed
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public boolean hasStorage()
Storage flags the version as storage version. There must be exactly one flagged as storage version.
optional bool storage = 3;
hasStorage
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public boolean getStorage()
Storage flags the version as storage version. There must be exactly one flagged as storage version.
optional bool storage = 3;
getStorage
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public boolean hasSchema()
Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation schema = 4;
hasSchema
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public V1beta1Apiextensions.CustomResourceValidation getSchema()
Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation schema = 4;
getSchema
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public V1beta1Apiextensions.CustomResourceValidationOrBuilder getSchemaOrBuilder()
Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation schema = 4;
getSchemaOrBuilder
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public boolean hasSubresources()
Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 5;
hasSubresources
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public V1beta1Apiextensions.CustomResourceSubresources getSubresources()
Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 5;
getSubresources
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public V1beta1Apiextensions.CustomResourceSubresourcesOrBuilder getSubresourcesOrBuilder()
Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 5;
getSubresourcesOrBuilder
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public List<V1beta1Apiextensions.CustomResourceColumnDefinition> getAdditionalPrinterColumnsList()
AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 6;
getAdditionalPrinterColumnsList
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public List<? extends V1beta1Apiextensions.CustomResourceColumnDefinitionOrBuilder> getAdditionalPrinterColumnsOrBuilderList()
AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 6;
getAdditionalPrinterColumnsOrBuilderList
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public int getAdditionalPrinterColumnsCount()
AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 6;
getAdditionalPrinterColumnsCount
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public V1beta1Apiextensions.CustomResourceColumnDefinition getAdditionalPrinterColumns(int index)
AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 6;
getAdditionalPrinterColumns
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public V1beta1Apiextensions.CustomResourceColumnDefinitionOrBuilder getAdditionalPrinterColumnsOrBuilder(int index)
AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 6;
getAdditionalPrinterColumnsOrBuilder
in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(InputStream input) throws IOException
IOException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseDelimitedFrom(InputStream input) throws IOException
IOException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder newBuilder()
public static V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder newBuilder(V1beta1Apiextensions.CustomResourceDefinitionVersion prototype)
public V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static V1beta1Apiextensions.CustomResourceDefinitionVersion getDefaultInstance()
public static com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionVersion> parser()
public com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionVersion> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public V1beta1Apiextensions.CustomResourceDefinitionVersion getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.