Package io.kubernetes.client.proto
Interface Meta.APIResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Meta.APIResource
,Meta.APIResource.Builder
- Enclosing class:
- Meta
public static interface Meta.APIResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCategories
(int index) categories is a list of the grouped resources this resource belongs to (e.g.com.google.protobuf.ByteString
getCategoriesBytes
(int index) categories is a list of the grouped resources this resource belongs to (e.g.int
categories is a list of the grouped resources this resource belongs to (e.g.categories is a list of the grouped resources this resource belongs to (e.g.getGroup()
group is the preferred group of the resource.com.google.protobuf.ByteString
group is the preferred group of the resource.getKind()
kind is the kind for the resource (e.g.com.google.protobuf.ByteString
kind is the kind for the resource (e.g.getName()
name is the plural name of the resource.com.google.protobuf.ByteString
name is the plural name of the resource.boolean
namespaced indicates if a resource is namespaced or not.getShortNames
(int index) shortNames is a list of suggested short names of the resource.com.google.protobuf.ByteString
getShortNamesBytes
(int index) shortNames is a list of suggested short names of the resource.int
shortNames is a list of suggested short names of the resource.shortNames is a list of suggested short names of the resource.singularName is the singular name of the resource.com.google.protobuf.ByteString
singularName is the singular name of the resource.The hash value of the storage version, the version this resource is converted to when written to the data store.com.google.protobuf.ByteString
The hash value of the storage version, the version this resource is converted to when written to the data store.getVerbs()
verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)version is the preferred version of the resource.com.google.protobuf.ByteString
version is the preferred version of the resource.boolean
hasGroup()
group is the preferred group of the resource.boolean
hasKind()
kind is the kind for the resource (e.g.boolean
hasName()
name is the plural name of the resource.boolean
namespaced indicates if a resource is namespaced or not.boolean
singularName is the singular name of the resource.boolean
The hash value of the storage version, the version this resource is converted to when written to the data store.boolean
hasVerbs()
verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)boolean
version is the preferred version of the resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()name is the plural name of the resource.
optional string name = 1;
-
getName
String getName()name is the plural name of the resource.
optional string name = 1;
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()name is the plural name of the resource.
optional string name = 1;
-
hasSingularName
boolean hasSingularName()singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.
optional string singularName = 6;
-
getSingularName
String getSingularName()singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.
optional string singularName = 6;
-
getSingularNameBytes
com.google.protobuf.ByteString getSingularNameBytes()singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.
optional string singularName = 6;
-
hasNamespaced
boolean hasNamespaced()namespaced indicates if a resource is namespaced or not.
optional bool namespaced = 2;
-
getNamespaced
boolean getNamespaced()namespaced indicates if a resource is namespaced or not.
optional bool namespaced = 2;
-
hasGroup
boolean hasGroup()group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".
optional string group = 8;
-
getGroup
String getGroup()group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".
optional string group = 8;
-
getGroupBytes
com.google.protobuf.ByteString getGroupBytes()group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".
optional string group = 8;
-
hasVersion
boolean hasVersion()version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
optional string version = 9;
-
getVersion
String getVersion()version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
optional string version = 9;
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
optional string version = 9;
-
hasKind
boolean hasKind()kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
optional string kind = 3;
-
getKind
String getKind()kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
optional string kind = 3;
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
optional string kind = 3;
-
hasVerbs
boolean hasVerbs()verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
-
getVerbs
Meta.Verbs getVerbs()verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
-
getVerbsOrBuilder
Meta.VerbsOrBuilder getVerbsOrBuilder()verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
-
getShortNamesList
shortNames is a list of suggested short names of the resource.
repeated string shortNames = 5;
-
getShortNamesCount
int getShortNamesCount()shortNames is a list of suggested short names of the resource.
repeated string shortNames = 5;
-
getShortNames
shortNames is a list of suggested short names of the resource.
repeated string shortNames = 5;
-
getShortNamesBytes
com.google.protobuf.ByteString getShortNamesBytes(int index) shortNames is a list of suggested short names of the resource.
repeated string shortNames = 5;
-
getCategoriesList
categories is a list of the grouped resources this resource belongs to (e.g. 'all')
repeated string categories = 7;
-
getCategoriesCount
int getCategoriesCount()categories is a list of the grouped resources this resource belongs to (e.g. 'all')
repeated string categories = 7;
-
getCategories
categories is a list of the grouped resources this resource belongs to (e.g. 'all')
repeated string categories = 7;
-
getCategoriesBytes
com.google.protobuf.ByteString getCategoriesBytes(int index) categories is a list of the grouped resources this resource belongs to (e.g. 'all')
repeated string categories = 7;
-
hasStorageVersionHash
boolean hasStorageVersionHash()The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates. +optional
optional string storageVersionHash = 10;
-
getStorageVersionHash
String getStorageVersionHash()The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates. +optional
optional string storageVersionHash = 10;
-
getStorageVersionHashBytes
com.google.protobuf.ByteString getStorageVersionHashBytes()The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates. +optional
optional string storageVersionHash = 10;
-