public static final class V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder> implements V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
CustomResourceDefinitionSpec describes how a user wants their resource to appearProtobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec| Modifier and Type | Method and Description |
|---|---|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addAdditionalPrinterColumns(int index,
V1beta1Apiextensions.CustomResourceColumnDefinition.Builder builderForValue)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addAdditionalPrinterColumns(int index,
V1beta1Apiextensions.CustomResourceColumnDefinition value)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addAdditionalPrinterColumns(V1beta1Apiextensions.CustomResourceColumnDefinition.Builder builderForValue)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addAdditionalPrinterColumns(V1beta1Apiextensions.CustomResourceColumnDefinition value)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceColumnDefinition.Builder |
addAdditionalPrinterColumnsBuilder()
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceColumnDefinition.Builder |
addAdditionalPrinterColumnsBuilder(int index)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addAllAdditionalPrinterColumns(Iterable<? extends V1beta1Apiextensions.CustomResourceColumnDefinition> values)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addAllVersions(Iterable<? extends V1beta1Apiextensions.CustomResourceDefinitionVersion> values)
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addVersions(int index,
V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder builderForValue)
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addVersions(int index,
V1beta1Apiextensions.CustomResourceDefinitionVersion value)
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addVersions(V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder builderForValue)
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addVersions(V1beta1Apiextensions.CustomResourceDefinitionVersion value)
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder |
addVersionsBuilder()
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder |
addVersionsBuilder(int index)
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec |
build() |
V1beta1Apiextensions.CustomResourceDefinitionSpec |
buildPartial() |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clear() |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearAdditionalPrinterColumns()
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearConversion()
conversion defines conversion settings for the CRD.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearGroup()
group is the API group of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearNames()
names specify the resource and kind names for the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearPreserveUnknownFields()
preserveUnknownFields indicates that object fields which are not specified
in the OpenAPI schema should be preserved when persisting to storage.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearScope()
scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearSubresources()
subresources specify what subresources the defined custom resource has.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearValidation()
validation describes the schema used for validation and pruning of the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearVersion()
version is the API version of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearVersions()
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clone() |
V1beta1Apiextensions.CustomResourceColumnDefinition |
getAdditionalPrinterColumns(int index)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceColumnDefinition.Builder |
getAdditionalPrinterColumnsBuilder(int index)
additionalPrinterColumns specifies additional columns returned in Table output.
|
List<V1beta1Apiextensions.CustomResourceColumnDefinition.Builder> |
getAdditionalPrinterColumnsBuilderList()
additionalPrinterColumns specifies additional columns returned in Table output.
|
int |
getAdditionalPrinterColumnsCount()
additionalPrinterColumns specifies additional columns returned in Table output.
|
List<V1beta1Apiextensions.CustomResourceColumnDefinition> |
getAdditionalPrinterColumnsList()
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceColumnDefinitionOrBuilder |
getAdditionalPrinterColumnsOrBuilder(int index)
additionalPrinterColumns specifies additional columns returned in Table output.
|
List<? extends V1beta1Apiextensions.CustomResourceColumnDefinitionOrBuilder> |
getAdditionalPrinterColumnsOrBuilderList()
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceConversion |
getConversion()
conversion defines conversion settings for the CRD.
|
V1beta1Apiextensions.CustomResourceConversion.Builder |
getConversionBuilder()
conversion defines conversion settings for the CRD.
|
V1beta1Apiextensions.CustomResourceConversionOrBuilder |
getConversionOrBuilder()
conversion defines conversion settings for the CRD.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGroup()
group is the API group of the defined custom resource.
|
com.google.protobuf.ByteString |
getGroupBytes()
group is the API group of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionNames |
getNames()
names specify the resource and kind names for the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionNames.Builder |
getNamesBuilder()
names specify the resource and kind names for the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionNamesOrBuilder |
getNamesOrBuilder()
names specify the resource and kind names for the custom resource.
|
boolean |
getPreserveUnknownFields()
preserveUnknownFields indicates that object fields which are not specified
in the OpenAPI schema should be preserved when persisting to storage.
|
String |
getScope()
scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
com.google.protobuf.ByteString |
getScopeBytes()
scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
V1beta1Apiextensions.CustomResourceSubresources |
getSubresources()
subresources specify what subresources the defined custom resource has.
|
V1beta1Apiextensions.CustomResourceSubresources.Builder |
getSubresourcesBuilder()
subresources specify what subresources the defined custom resource has.
|
V1beta1Apiextensions.CustomResourceSubresourcesOrBuilder |
getSubresourcesOrBuilder()
subresources specify what subresources the defined custom resource has.
|
V1beta1Apiextensions.CustomResourceValidation |
getValidation()
validation describes the schema used for validation and pruning of the custom resource.
|
V1beta1Apiextensions.CustomResourceValidation.Builder |
getValidationBuilder()
validation describes the schema used for validation and pruning of the custom resource.
|
V1beta1Apiextensions.CustomResourceValidationOrBuilder |
getValidationOrBuilder()
validation describes the schema used for validation and pruning of the custom resource.
|
String |
getVersion()
version is the API version of the defined custom resource.
|
com.google.protobuf.ByteString |
getVersionBytes()
version is the API version of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionVersion |
getVersions(int index)
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder |
getVersionsBuilder(int index)
versions is the list of all API versions of the defined custom resource.
|
List<V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder> |
getVersionsBuilderList()
versions is the list of all API versions of the defined custom resource.
|
int |
getVersionsCount()
versions is the list of all API versions of the defined custom resource.
|
List<V1beta1Apiextensions.CustomResourceDefinitionVersion> |
getVersionsList()
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder |
getVersionsOrBuilder(int index)
versions is the list of all API versions of the defined custom resource.
|
List<? extends V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder> |
getVersionsOrBuilderList()
versions is the list of all API versions of the defined custom resource.
|
boolean |
hasConversion()
conversion defines conversion settings for the CRD.
|
boolean |
hasGroup()
group is the API group of the defined custom resource.
|
boolean |
hasNames()
names specify the resource and kind names for the custom resource.
|
boolean |
hasPreserveUnknownFields()
preserveUnknownFields indicates that object fields which are not specified
in the OpenAPI schema should be preserved when persisting to storage.
|
boolean |
hasScope()
scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
boolean |
hasSubresources()
subresources specify what subresources the defined custom resource has.
|
boolean |
hasValidation()
validation describes the schema used for validation and pruning of the custom resource.
|
boolean |
hasVersion()
version is the API version of the defined custom resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeConversion(V1beta1Apiextensions.CustomResourceConversion value)
conversion defines conversion settings for the CRD.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeFrom(V1beta1Apiextensions.CustomResourceDefinitionSpec other) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeNames(V1beta1Apiextensions.CustomResourceDefinitionNames value)
names specify the resource and kind names for the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeSubresources(V1beta1Apiextensions.CustomResourceSubresources value)
subresources specify what subresources the defined custom resource has.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeValidation(V1beta1Apiextensions.CustomResourceValidation value)
validation describes the schema used for validation and pruning of the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
removeAdditionalPrinterColumns(int index)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
removeVersions(int index)
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setAdditionalPrinterColumns(int index,
V1beta1Apiextensions.CustomResourceColumnDefinition.Builder builderForValue)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setAdditionalPrinterColumns(int index,
V1beta1Apiextensions.CustomResourceColumnDefinition value)
additionalPrinterColumns specifies additional columns returned in Table output.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setConversion(V1beta1Apiextensions.CustomResourceConversion.Builder builderForValue)
conversion defines conversion settings for the CRD.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setConversion(V1beta1Apiextensions.CustomResourceConversion value)
conversion defines conversion settings for the CRD.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setGroup(String value)
group is the API group of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setGroupBytes(com.google.protobuf.ByteString value)
group is the API group of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setNames(V1beta1Apiextensions.CustomResourceDefinitionNames.Builder builderForValue)
names specify the resource and kind names for the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setNames(V1beta1Apiextensions.CustomResourceDefinitionNames value)
names specify the resource and kind names for the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setPreserveUnknownFields(boolean value)
preserveUnknownFields indicates that object fields which are not specified
in the OpenAPI schema should be preserved when persisting to storage.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setScope(String value)
scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setScopeBytes(com.google.protobuf.ByteString value)
scope indicates whether the defined custom resource is cluster- or namespace-scoped.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setSubresources(V1beta1Apiextensions.CustomResourceSubresources.Builder builderForValue)
subresources specify what subresources the defined custom resource has.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setSubresources(V1beta1Apiextensions.CustomResourceSubresources value)
subresources specify what subresources the defined custom resource has.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setValidation(V1beta1Apiextensions.CustomResourceValidation.Builder builderForValue)
validation describes the schema used for validation and pruning of the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setValidation(V1beta1Apiextensions.CustomResourceValidation value)
validation describes the schema used for validation and pruning of the custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setVersion(String value)
version is the API version of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
version is the API version of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setVersions(int index,
V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder builderForValue)
versions is the list of all API versions of the defined custom resource.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setVersions(int index,
V1beta1Apiextensions.CustomResourceDefinitionVersion value)
versions is the list of all API versions of the defined custom resource.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeFrom(V1beta1Apiextensions.CustomResourceDefinitionSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>IOExceptionpublic boolean hasGroup()
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
optional string group = 1;hasGroup in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic String getGroup()
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
optional string group = 1;getGroup in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic com.google.protobuf.ByteString getGroupBytes()
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
optional string group = 1;getGroupBytes in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setGroup(String value)
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
optional string group = 1;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearGroup()
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
optional string group = 1;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setGroupBytes(com.google.protobuf.ByteString value)
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
optional string group = 1;public boolean hasVersion()
version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead. +optional
optional string version = 2;hasVersion in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic String getVersion()
version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead. +optional
optional string version = 2;getVersion in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead. +optional
optional string version = 2;getVersionBytes in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setVersion(String value)
version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead. +optional
optional string version = 2;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearVersion()
version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead. +optional
optional string version = 2;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setVersionBytes(com.google.protobuf.ByteString value)
version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead. +optional
optional string version = 2;public boolean hasNames()
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;
hasNames in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionNames getNames()
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;
getNames in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setNames(V1beta1Apiextensions.CustomResourceDefinitionNames value)
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setNames(V1beta1Apiextensions.CustomResourceDefinitionNames.Builder builderForValue)
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeNames(V1beta1Apiextensions.CustomResourceDefinitionNames value)
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearNames()
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;
public V1beta1Apiextensions.CustomResourceDefinitionNames.Builder getNamesBuilder()
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;
public V1beta1Apiextensions.CustomResourceDefinitionNamesOrBuilder getNamesOrBuilder()
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;
getNamesOrBuilder in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic boolean hasScope()
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.
optional string scope = 4;hasScope in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic String getScope()
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.
optional string scope = 4;getScope in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic com.google.protobuf.ByteString getScopeBytes()
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.
optional string scope = 4;getScopeBytes in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setScope(String value)
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.
optional string scope = 4;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearScope()
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.
optional string scope = 4;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setScopeBytes(com.google.protobuf.ByteString value)
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.
optional string scope = 4;public boolean hasValidation()
validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;
hasValidation in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceValidation getValidation()
validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;
getValidation in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setValidation(V1beta1Apiextensions.CustomResourceValidation value)
validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setValidation(V1beta1Apiextensions.CustomResourceValidation.Builder builderForValue)
validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeValidation(V1beta1Apiextensions.CustomResourceValidation value)
validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearValidation()
validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;
public V1beta1Apiextensions.CustomResourceValidation.Builder getValidationBuilder()
validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;
public V1beta1Apiextensions.CustomResourceValidationOrBuilder getValidationOrBuilder()
validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;
getValidationOrBuilder in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic boolean hasSubresources()
subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 6;
hasSubresources in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceSubresources getSubresources()
subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 6;
getSubresources in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setSubresources(V1beta1Apiextensions.CustomResourceSubresources value)
subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 6;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setSubresources(V1beta1Apiextensions.CustomResourceSubresources.Builder builderForValue)
subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 6;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeSubresources(V1beta1Apiextensions.CustomResourceSubresources value)
subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 6;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearSubresources()
subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 6;
public V1beta1Apiextensions.CustomResourceSubresources.Builder getSubresourcesBuilder()
subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 6;
public V1beta1Apiextensions.CustomResourceSubresourcesOrBuilder getSubresourcesOrBuilder()
subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 6;
getSubresourcesOrBuilder in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic List<V1beta1Apiextensions.CustomResourceDefinitionVersion> getVersionsList()
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
getVersionsList in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic int getVersionsCount()
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
getVersionsCount in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionVersion getVersions(int index)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
getVersions in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setVersions(int index, V1beta1Apiextensions.CustomResourceDefinitionVersion value)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setVersions(int index, V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder builderForValue)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addVersions(V1beta1Apiextensions.CustomResourceDefinitionVersion value)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addVersions(int index, V1beta1Apiextensions.CustomResourceDefinitionVersion value)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addVersions(V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder builderForValue)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addVersions(int index, V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder builderForValue)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addAllVersions(Iterable<? extends V1beta1Apiextensions.CustomResourceDefinitionVersion> values)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearVersions()
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder removeVersions(int index)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder getVersionsBuilder(int index)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder getVersionsOrBuilder(int index)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
getVersionsOrBuilder in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic List<? extends V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder> getVersionsOrBuilderList()
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
getVersionsOrBuilderList in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder addVersionsBuilder()
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder addVersionsBuilder(int index)
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public List<V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder> getVersionsBuilderList()
versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion versions = 7;
public List<V1beta1Apiextensions.CustomResourceColumnDefinition> getAdditionalPrinterColumnsList()
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
getAdditionalPrinterColumnsList in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic int getAdditionalPrinterColumnsCount()
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
getAdditionalPrinterColumnsCount in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceColumnDefinition getAdditionalPrinterColumns(int index)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
getAdditionalPrinterColumns in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setAdditionalPrinterColumns(int index, V1beta1Apiextensions.CustomResourceColumnDefinition value)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setAdditionalPrinterColumns(int index, V1beta1Apiextensions.CustomResourceColumnDefinition.Builder builderForValue)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addAdditionalPrinterColumns(V1beta1Apiextensions.CustomResourceColumnDefinition value)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addAdditionalPrinterColumns(int index, V1beta1Apiextensions.CustomResourceColumnDefinition value)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addAdditionalPrinterColumns(V1beta1Apiextensions.CustomResourceColumnDefinition.Builder builderForValue)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addAdditionalPrinterColumns(int index, V1beta1Apiextensions.CustomResourceColumnDefinition.Builder builderForValue)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder addAllAdditionalPrinterColumns(Iterable<? extends V1beta1Apiextensions.CustomResourceColumnDefinition> values)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearAdditionalPrinterColumns()
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder removeAdditionalPrinterColumns(int index)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceColumnDefinition.Builder getAdditionalPrinterColumnsBuilder(int index)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceColumnDefinitionOrBuilder getAdditionalPrinterColumnsOrBuilder(int index)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
getAdditionalPrinterColumnsOrBuilder in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic List<? extends V1beta1Apiextensions.CustomResourceColumnDefinitionOrBuilder> getAdditionalPrinterColumnsOrBuilderList()
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
getAdditionalPrinterColumnsOrBuilderList in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceColumnDefinition.Builder addAdditionalPrinterColumnsBuilder()
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public V1beta1Apiextensions.CustomResourceColumnDefinition.Builder addAdditionalPrinterColumnsBuilder(int index)
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public List<V1beta1Apiextensions.CustomResourceColumnDefinition.Builder> getAdditionalPrinterColumnsBuilderList()
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used. +optional
repeated .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition additionalPrinterColumns = 8;
public boolean hasConversion()
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;
hasConversion in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceConversion getConversion()
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;
getConversion in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setConversion(V1beta1Apiextensions.CustomResourceConversion value)
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setConversion(V1beta1Apiextensions.CustomResourceConversion.Builder builderForValue)
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeConversion(V1beta1Apiextensions.CustomResourceConversion value)
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;
public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearConversion()
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;
public V1beta1Apiextensions.CustomResourceConversion.Builder getConversionBuilder()
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;
public V1beta1Apiextensions.CustomResourceConversionOrBuilder getConversionOrBuilder()
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;
getConversionOrBuilder in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic boolean hasPreserveUnknownFields()
preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details. +optional
optional bool preserveUnknownFields = 10;hasPreserveUnknownFields in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic boolean getPreserveUnknownFields()
preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details. +optional
optional bool preserveUnknownFields = 10;getPreserveUnknownFields in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setPreserveUnknownFields(boolean value)
preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details. +optional
optional bool preserveUnknownFields = 10;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearPreserveUnknownFields()
preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details. +optional
optional bool preserveUnknownFields = 10;public final V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public final V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>Copyright © 2023. All rights reserved.