Package io.kubernetes.client.proto
Class V1beta1Apiextensions.CustomResourceDefinitionSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1beta1Apiextensions.CustomResourceDefinitionSpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder,Serializable
- Enclosing class:
- V1beta1Apiextensions
public static final class V1beta1Apiextensions.CustomResourceDefinitionSpec
extends com.google.protobuf.GeneratedMessageV3
implements V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
CustomResourceDefinitionSpec describes how a user wants their resource to appearProtobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCustomResourceDefinitionSpec describes how a user wants their resource to appearNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionSpec>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAdditionalPrinterColumns(int index) additionalPrinterColumns specifies additional columns returned in Table output.intadditionalPrinterColumns specifies additional columns returned in Table output.additionalPrinterColumns specifies additional columns returned in Table output.getAdditionalPrinterColumnsOrBuilder(int index) additionalPrinterColumns specifies additional columns returned in Table output.additionalPrinterColumns specifies additional columns returned in Table output.conversion defines conversion settings for the CRD.conversion defines conversion settings for the CRD.static final com.google.protobuf.Descriptors.DescriptorgetGroup()group is the API group of the defined custom resource.com.google.protobuf.ByteStringgroup is the API group of the defined custom resource.getNames()names specify the resource and kind names for the custom resource.names specify the resource and kind names for the custom resource.com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionSpec>booleanpreserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage.getScope()scope indicates whether the defined custom resource is cluster- or namespace-scoped.com.google.protobuf.ByteStringscope indicates whether the defined custom resource is cluster- or namespace-scoped.intsubresources specify what subresources the defined custom resource has.subresources specify what subresources the defined custom resource has.final com.google.protobuf.UnknownFieldSetvalidation describes the schema used for validation and pruning of the custom resource.validation describes the schema used for validation and pruning of the custom resource.version is the API version of the defined custom resource.com.google.protobuf.ByteStringversion is the API version of the defined custom resource.getVersions(int index) versions is the list of all API versions of the defined custom resource.intversions is the list of all API versions of the defined custom resource.versions is the list of all API versions of the defined custom resource.getVersionsOrBuilder(int index) versions is the list of all API versions of the defined custom resource.versions is the list of all API versions of the defined custom resource.booleanconversion defines conversion settings for the CRD.booleanhasGroup()group is the API group of the defined custom resource.inthashCode()booleanhasNames()names specify the resource and kind names for the custom resource.booleanpreserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage.booleanhasScope()scope indicates whether the defined custom resource is cluster- or namespace-scoped.booleansubresources specify what subresources the defined custom resource has.booleanvalidation describes the schema used for validation and pruning of the custom resource.booleanversion is the API version of the defined custom resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
NAMES_FIELD_NUMBER
public static final int NAMES_FIELD_NUMBER- See Also:
-
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER- See Also:
-
VALIDATION_FIELD_NUMBER
public static final int VALIDATION_FIELD_NUMBER- See Also:
-
SUBRESOURCES_FIELD_NUMBER
public static final int SUBRESOURCES_FIELD_NUMBER- See Also:
-
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER- See Also:
-
ADDITIONALPRINTERCOLUMNS_FIELD_NUMBER
public static final int ADDITIONALPRINTERCOLUMNS_FIELD_NUMBER- See Also:
-
CONVERSION_FIELD_NUMBER
public static final int CONVERSION_FIELD_NUMBER- See Also:
-
PRESERVEUNKNOWNFIELDS_FIELD_NUMBER
public static final int PRESERVEUNKNOWNFIELDS_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionSpec> PARSERDeprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasGroup
public 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;- Specified by:
hasGroupin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
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;- Specified by:
getGroupin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getGroupBytes
public 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;- Specified by:
getGroupBytesin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
hasVersion
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;- Specified by:
hasVersionin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
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;- Specified by:
getVersionin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getVersionBytes
public 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;- Specified by:
getVersionBytesin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
hasNames
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;- Specified by:
hasNamesin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getNames
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;- Specified by:
getNamesin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getNamesOrBuilder
names specify the resource and kind names for the custom resource.
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;- Specified by:
getNamesOrBuilderin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
hasScope
public 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;- Specified by:
hasScopein interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
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;- Specified by:
getScopein interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getScopeBytes
public 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;- Specified by:
getScopeBytesin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
hasValidation
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;- Specified by:
hasValidationin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
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;- Specified by:
getValidationin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
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;- Specified by:
getValidationOrBuilderin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
hasSubresources
public 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;- Specified by:
hasSubresourcesin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
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;- Specified by:
getSubresourcesin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
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;- Specified by:
getSubresourcesOrBuilderin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
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;- Specified by:
getVersionsListin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getVersionsOrBuilderList
public 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;- Specified by:
getVersionsOrBuilderListin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getVersionsCount
public 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;- Specified by:
getVersionsCountin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getVersions
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;- Specified by:
getVersionsin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getVersionsOrBuilder
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;- Specified by:
getVersionsOrBuilderin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
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;- Specified by:
getAdditionalPrinterColumnsListin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getAdditionalPrinterColumnsOrBuilderList
public 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;- Specified by:
getAdditionalPrinterColumnsOrBuilderListin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getAdditionalPrinterColumnsCount
public 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;- Specified by:
getAdditionalPrinterColumnsCountin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getAdditionalPrinterColumns
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;- Specified by:
getAdditionalPrinterColumnsin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getAdditionalPrinterColumnsOrBuilder
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;- Specified by:
getAdditionalPrinterColumnsOrBuilderin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
hasConversion
public boolean hasConversion()conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;- Specified by:
hasConversionin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getConversion
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;- Specified by:
getConversionin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getConversionOrBuilder
conversion defines conversion settings for the CRD. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion conversion = 9;- Specified by:
getConversionOrBuilderin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
hasPreserveUnknownFields
public 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;- Specified by:
hasPreserveUnknownFieldsin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
getPreserveUnknownFields
public 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;- Specified by:
getPreserveUnknownFieldsin interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1beta1Apiextensions.CustomResourceDefinitionSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder newBuilder(V1beta1Apiextensions.CustomResourceDefinitionSpec prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionSpec> parser() -
getParserForType
public com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionSpec> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-