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| 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) |
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 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.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 hasName()
Name is the version name, e.g. “v1”, “v2beta1”, etc.
optional string name = 1;hasName in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilderpublic String getName()
Name is the version name, e.g. “v1”, “v2beta1”, etc.
optional string name = 1;getName in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name is the version name, e.g. “v1”, “v2beta1”, etc.
optional string name = 1;getNameBytes in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilderpublic boolean hasServed()
Served is a flag enabling/disabling this version from being served via REST APIs
optional bool served = 2;hasServed in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilderpublic boolean getServed()
Served is a flag enabling/disabling this version from being served via REST APIs
optional bool served = 2;getServed in interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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.CustomResourceDefinitionVersionOrBuilderpublic 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 V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1beta1Apiextensions.CustomResourceDefinitionVersion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1beta1Apiextensions.CustomResourceDefinitionVersion getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.