Interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1beta1Apiextensions.CustomResourceDefinitionVersion, V1beta1Apiextensions.CustomResourceDefinitionVersion.Builder
Enclosing class:
V1beta1Apiextensions

public static interface V1beta1Apiextensions.CustomResourceDefinitionVersionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasName

      boolean hasName()
       name is the version name, e.g. “v1”, “v2beta1”, etc.
       The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
       
      optional string name = 1;
    • getName

      String getName()
       name is the version name, e.g. “v1”, “v2beta1”, etc.
       The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
       
      optional string name = 1;
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       name is the version name, e.g. “v1”, “v2beta1”, etc.
       The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
       
      optional string name = 1;
    • hasServed

      boolean hasServed()
       served is a flag enabling/disabling this version from being served via REST APIs
       
      optional bool served = 2;
    • getServed

      boolean getServed()
       served is a flag enabling/disabling this version from being served via REST APIs
       
      optional bool served = 2;
    • hasStorage

      boolean hasStorage()
       storage indicates this version should be used when persisting custom resources to storage.
       There must be exactly one version with storage=true.
       
      optional bool storage = 3;
    • getStorage

      boolean getStorage()
       storage indicates this version should be used when persisting custom resources to storage.
       There must be exactly one version with storage=true.
       
      optional bool storage = 3;
    • hasDeprecated

      boolean hasDeprecated()
       deprecated indicates this version of the custom resource API is deprecated.
       When set to true, API requests to this version receive a warning header in the server response.
       Defaults to false.
       +optional
       
      optional bool deprecated = 7;
    • getDeprecated

      boolean getDeprecated()
       deprecated indicates this version of the custom resource API is deprecated.
       When set to true, API requests to this version receive a warning header in the server response.
       Defaults to false.
       +optional
       
      optional bool deprecated = 7;
    • hasDeprecationWarning

      boolean hasDeprecationWarning()
       deprecationWarning overrides the default warning returned to API clients.
       May only be set when `deprecated` is true.
       The default warning indicates this version is deprecated and recommends use
       of the newest served version of equal or greater stability, if one exists.
       +optional
       
      optional string deprecationWarning = 8;
    • getDeprecationWarning

      String getDeprecationWarning()
       deprecationWarning overrides the default warning returned to API clients.
       May only be set when `deprecated` is true.
       The default warning indicates this version is deprecated and recommends use
       of the newest served version of equal or greater stability, if one exists.
       +optional
       
      optional string deprecationWarning = 8;
    • getDeprecationWarningBytes

      com.google.protobuf.ByteString getDeprecationWarningBytes()
       deprecationWarning overrides the default warning returned to API clients.
       May only be set when `deprecated` is true.
       The default warning indicates this version is deprecated and recommends use
       of the newest served version of equal or greater stability, if one exists.
       +optional
       
      optional string deprecationWarning = 8;
    • hasSchema

      boolean hasSchema()
       schema describes the schema used for validation and pruning of this version of the custom resource.
       Top-level and per-version schemas are mutually exclusive.
       Per-version schemas must not all be set to identical values (top-level validation schema should be used instead).
       +optional
       
      optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation schema = 4;
    • getSchema

       schema describes the schema used for validation and pruning of this version of the custom resource.
       Top-level and per-version schemas are mutually exclusive.
       Per-version schemas must not all be set to identical values (top-level validation schema should be used instead).
       +optional
       
      optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation schema = 4;
    • getSchemaOrBuilder

       schema describes the schema used for validation and pruning of this version of the custom resource.
       Top-level and per-version schemas are mutually exclusive.
       Per-version schemas must not all be set to identical values (top-level validation schema should be used instead).
       +optional
       
      optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation schema = 4;
    • hasSubresources

      boolean hasSubresources()
       subresources specify what subresources this version of the defined custom resource have.
       Top-level and per-version subresources are mutually exclusive.
       Per-version subresources must not all be set to identical values (top-level subresources should be used instead).
       +optional
       
      optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 5;
    • getSubresources

       subresources specify what subresources this version of the defined custom resource have.
       Top-level and per-version subresources are mutually exclusive.
       Per-version subresources must not all be set to identical values (top-level subresources should be used instead).
       +optional
       
      optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 5;
    • getSubresourcesOrBuilder

       subresources specify what subresources this version of the defined custom resource have.
       Top-level and per-version subresources are mutually exclusive.
       Per-version subresources must not all be set to identical values (top-level subresources should be used instead).
       +optional
       
      optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources subresources = 5;
    • getAdditionalPrinterColumnsList

      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.
       Top-level and per-version columns are mutually exclusive.
       Per-version columns must not all be set to identical values (top-level columns should be used instead).
       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 = 6;
    • getAdditionalPrinterColumns

      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.
       Top-level and per-version columns are mutually exclusive.
       Per-version columns must not all be set to identical values (top-level columns should be used instead).
       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 = 6;
    • getAdditionalPrinterColumnsCount

      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.
       Top-level and per-version columns are mutually exclusive.
       Per-version columns must not all be set to identical values (top-level columns should be used instead).
       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 = 6;
    • getAdditionalPrinterColumnsOrBuilderList

      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.
       Top-level and per-version columns are mutually exclusive.
       Per-version columns must not all be set to identical values (top-level columns should be used instead).
       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 = 6;
    • getAdditionalPrinterColumnsOrBuilder

      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.
       Top-level and per-version columns are mutually exclusive.
       Per-version columns must not all be set to identical values (top-level columns should be used instead).
       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 = 6;