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 class
CustomResourceDefinitionSpec 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 int
static final int
static final int
static final int
static final com.google.protobuf.Parser<V1beta1Apiextensions.CustomResourceDefinitionSpec>
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAdditionalPrinterColumns
(int index) additionalPrinterColumns specifies additional columns returned in Table output.int
additionalPrinterColumns 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.Descriptor
getGroup()
group is the API group of the defined custom resource.com.google.protobuf.ByteString
group 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>
boolean
preserveUnknownFields 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.ByteString
scope indicates whether the defined custom resource is cluster- or namespace-scoped.int
subresources specify what subresources the defined custom resource has.subresources specify what subresources the defined custom resource has.final com.google.protobuf.UnknownFieldSet
validation 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.ByteString
version 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.int
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.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.boolean
conversion defines conversion settings for the CRD.boolean
hasGroup()
group is the API group of the defined custom resource.int
hashCode()
boolean
hasNames()
names specify the resource and kind names for the custom resource.boolean
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
subresources specify what subresources the defined custom resource has.boolean
validation describes the schema used for validation and pruning of the custom resource.boolean
version is the API version of the defined custom resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilderForType
(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()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in 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:
hasGroup
in 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:
getGroup
in 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:
getGroupBytes
in 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:
hasVersion
in 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:
getVersion
in 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:
getVersionBytes
in 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:
hasNames
in 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:
getNames
in 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:
getNamesOrBuilder
in 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:
hasScope
in 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:
getScope
in 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:
getScopeBytes
in 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:
hasValidation
in 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:
getValidation
in 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:
getValidationOrBuilder
in 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:
hasSubresources
in 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:
getSubresources
in 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:
getSubresourcesOrBuilder
in 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:
getVersionsList
in 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:
getVersionsOrBuilderList
in 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:
getVersionsCount
in 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:
getVersions
in 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:
getVersionsOrBuilder
in 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:
getAdditionalPrinterColumnsList
in 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:
getAdditionalPrinterColumnsOrBuilderList
in 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:
getAdditionalPrinterColumnsCount
in 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:
getAdditionalPrinterColumns
in 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:
getAdditionalPrinterColumnsOrBuilder
in 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:
hasConversion
in 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:
getConversion
in 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:
getConversionOrBuilder
in 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:
hasPreserveUnknownFields
in 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:
getPreserveUnknownFields
in interfaceV1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder newBuilder(V1beta1Apiextensions.CustomResourceDefinitionSpec prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-