Interface Generated.APIResourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.APIResource,Generated.APIResource.Builder
- Enclosing class:
- Generated
public static interface Generated.APIResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCategories(int index)categories is a list of the grouped resources this resource belongs to (e.g.com.google.protobuf.ByteStringgetCategoriesBytes(int index)categories is a list of the grouped resources this resource belongs to (e.g.intgetCategoriesCount()categories is a list of the grouped resources this resource belongs to (e.g.List<String>getCategoriesList()categories is a list of the grouped resources this resource belongs to (e.g.StringgetGroup()group is the preferred group of the resource.com.google.protobuf.ByteStringgetGroupBytes()group is the preferred group of the resource.StringgetKind()kind is the kind for the resource (e.g.com.google.protobuf.ByteStringgetKindBytes()kind is the kind for the resource (e.g.StringgetName()name is the plural name of the resource.com.google.protobuf.ByteStringgetNameBytes()name is the plural name of the resource.booleangetNamespaced()namespaced indicates if a resource is namespaced or not.StringgetShortNames(int index)shortNames is a list of suggested short names of the resource.com.google.protobuf.ByteStringgetShortNamesBytes(int index)shortNames is a list of suggested short names of the resource.intgetShortNamesCount()shortNames is a list of suggested short names of the resource.List<String>getShortNamesList()shortNames is a list of suggested short names of the resource.StringgetSingularName()singularName is the singular name of the resource.com.google.protobuf.ByteStringgetSingularNameBytes()singularName is the singular name of the resource.StringgetStorageVersionHash()The hash value of the storage version, the version this resource is converted to when written to the data store.com.google.protobuf.ByteStringgetStorageVersionHashBytes()The hash value of the storage version, the version this resource is converted to when written to the data store.Generated.VerbsgetVerbs()verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)Generated.VerbsOrBuildergetVerbsOrBuilder()verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)StringgetVersion()version is the preferred version of the resource.com.google.protobuf.ByteStringgetVersionBytes()version is the preferred version of the resource.booleanhasGroup()group is the preferred group of the resource.booleanhasKind()kind is the kind for the resource (e.g.booleanhasName()name is the plural name of the resource.booleanhasNamespaced()namespaced indicates if a resource is namespaced or not.booleanhasSingularName()singularName is the singular name of the resource.booleanhasStorageVersionHash()The hash value of the storage version, the version this resource is converted to when written to the data store.booleanhasVerbs()verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)booleanhasVersion()version is the preferred version of the resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
name is the plural name of the resource.
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()
name is the plural name of the resource.
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
name is the plural name of the resource.
optional string name = 1;- Returns:
- The bytes for name.
-
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;- Returns:
- Whether the singularName field is set.
-
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;- Returns:
- The singularName.
-
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;- Returns:
- The bytes for singularName.
-
hasNamespaced
boolean hasNamespaced()
namespaced indicates if a resource is namespaced or not.
optional bool namespaced = 2;- Returns:
- Whether the namespaced field is set.
-
getNamespaced
boolean getNamespaced()
namespaced indicates if a resource is namespaced or not.
optional bool namespaced = 2;- Returns:
- The namespaced.
-
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;- Returns:
- Whether the group field is set.
-
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;- Returns:
- The group.
-
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;- Returns:
- The bytes for group.
-
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;- Returns:
- Whether the version field is set.
-
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;- Returns:
- The version.
-
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;- Returns:
- The bytes for version.
-
hasKind
boolean hasKind()
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
optional string kind = 3;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
optional string kind = 3;- Returns:
- The kind.
-
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;- Returns:
- The bytes for kind.
-
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;- Returns:
- Whether the verbs field is set.
-
getVerbs
Generated.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;- Returns:
- The verbs.
-
getVerbsOrBuilder
Generated.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
List<String> getShortNamesList()
shortNames is a list of suggested short names of the resource. +listType=atomic
repeated string shortNames = 5;- Returns:
- A list containing the shortNames.
-
getShortNamesCount
int getShortNamesCount()
shortNames is a list of suggested short names of the resource. +listType=atomic
repeated string shortNames = 5;- Returns:
- The count of shortNames.
-
getShortNames
String getShortNames(int index)
shortNames is a list of suggested short names of the resource. +listType=atomic
repeated string shortNames = 5;- Parameters:
index- The index of the element to return.- Returns:
- The shortNames at the given index.
-
getShortNamesBytes
com.google.protobuf.ByteString getShortNamesBytes(int index)
shortNames is a list of suggested short names of the resource. +listType=atomic
repeated string shortNames = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the shortNames at the given index.
-
getCategoriesList
List<String> getCategoriesList()
categories is a list of the grouped resources this resource belongs to (e.g. 'all') +listType=atomic
repeated string categories = 7;- Returns:
- A list containing the categories.
-
getCategoriesCount
int getCategoriesCount()
categories is a list of the grouped resources this resource belongs to (e.g. 'all') +listType=atomic
repeated string categories = 7;- Returns:
- The count of categories.
-
getCategories
String getCategories(int index)
categories is a list of the grouped resources this resource belongs to (e.g. 'all') +listType=atomic
repeated string categories = 7;- Parameters:
index- The index of the element to return.- Returns:
- The categories at the given index.
-
getCategoriesBytes
com.google.protobuf.ByteString getCategoriesBytes(int index)
categories is a list of the grouped resources this resource belongs to (e.g. 'all') +listType=atomic
repeated string categories = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the categories at the given index.
-
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;- Returns:
- Whether the storageVersionHash field is set.
-
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;- Returns:
- The storageVersionHash.
-
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;- Returns:
- The bytes for storageVersionHash.
-
-