Package io.kubernetes.client.proto
Class Meta.APIResource
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.Meta.APIResource
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Meta.APIResourceOrBuilder,Serializable
- Enclosing class:
- Meta
public static final class Meta.APIResource
extends com.google.protobuf.GeneratedMessageV3
implements Meta.APIResourceOrBuilder
APIResource specifies the name of a resource and whether it is namespaced.Protobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.APIResource- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAPIResource specifies the name of a resource and whether it is namespaced.Nested 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 intstatic final com.google.protobuf.Parser<Meta.APIResource>Deprecated.static 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 TypeMethodDescriptionbooleangetCategories(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.intcategories is a list of the grouped resources this resource belongs to (e.g.com.google.protobuf.ProtocolStringListcategories is a list of the grouped resources this resource belongs to (e.g.static Meta.APIResourcestatic final com.google.protobuf.Descriptors.DescriptorgetGroup()group is the preferred group of the resource.com.google.protobuf.ByteStringgroup is the preferred group of the resource.getKind()kind is the kind for the resource (e.g.com.google.protobuf.ByteStringkind is the kind for the resource (e.g.getName()name is the plural name of the resource.com.google.protobuf.ByteStringname is the plural name of the resource.booleannamespaced indicates if a resource is namespaced or not.com.google.protobuf.Parser<Meta.APIResource>intgetShortNames(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.intshortNames is a list of suggested short names of the resource.com.google.protobuf.ProtocolStringListshortNames is a list of suggested short names of the resource.singularName is the singular name of the resource.com.google.protobuf.ByteStringsingularName 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.ByteStringThe hash value of the storage version, the version this resource is converted to when written to the data store.final com.google.protobuf.UnknownFieldSetgetVerbs()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.ByteStringversion is the preferred version of the resource.booleanhasGroup()group is the preferred group of the resource.inthashCode()booleanhasKind()kind is the kind for the resource (e.g.booleanhasName()name is the plural name of the resource.booleannamespaced indicates if a resource is namespaced or not.booleansingularName is the singular name of the resource.booleanThe 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)booleanversion is the preferred version of the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Meta.APIResource.Builderstatic Meta.APIResource.BuildernewBuilder(Meta.APIResource prototype) protected Meta.APIResource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static Meta.APIResourceparseDelimitedFrom(InputStream input) static Meta.APIResourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.APIResourceparseFrom(byte[] data) static Meta.APIResourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.APIResourceparseFrom(com.google.protobuf.ByteString data) static Meta.APIResourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.APIResourceparseFrom(com.google.protobuf.CodedInputStream input) static Meta.APIResourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.APIResourceparseFrom(InputStream input) static Meta.APIResourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.APIResourceparseFrom(ByteBuffer data) static Meta.APIResourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Meta.APIResource>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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SINGULARNAME_FIELD_NUMBER
public static final int SINGULARNAME_FIELD_NUMBER- See Also:
-
NAMESPACED_FIELD_NUMBER
public static final int NAMESPACED_FIELD_NUMBER- See Also:
-
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
VERBS_FIELD_NUMBER
public static final int VERBS_FIELD_NUMBER- See Also:
-
SHORTNAMES_FIELD_NUMBER
public static final int SHORTNAMES_FIELD_NUMBER- See Also:
-
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER- See Also:
-
STORAGEVERSIONHASH_FIELD_NUMBER
public static final int STORAGEVERSIONHASH_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
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
-
hasName
public boolean hasName()name is the plural name of the resource.
optional string name = 1;- Specified by:
hasNamein interfaceMeta.APIResourceOrBuilder
-
getName
name is the plural name of the resource.
optional string name = 1;- Specified by:
getNamein interfaceMeta.APIResourceOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name is the plural name of the resource.
optional string name = 1;- Specified by:
getNameBytesin interfaceMeta.APIResourceOrBuilder
-
hasSingularName
public 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;- Specified by:
hasSingularNamein interfaceMeta.APIResourceOrBuilder
-
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;- Specified by:
getSingularNamein interfaceMeta.APIResourceOrBuilder
-
getSingularNameBytes
public 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;- Specified by:
getSingularNameBytesin interfaceMeta.APIResourceOrBuilder
-
hasNamespaced
public boolean hasNamespaced()namespaced indicates if a resource is namespaced or not.
optional bool namespaced = 2;- Specified by:
hasNamespacedin interfaceMeta.APIResourceOrBuilder
-
getNamespaced
public boolean getNamespaced()namespaced indicates if a resource is namespaced or not.
optional bool namespaced = 2;- Specified by:
getNamespacedin interfaceMeta.APIResourceOrBuilder
-
hasGroup
public 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;- Specified by:
hasGroupin interfaceMeta.APIResourceOrBuilder
-
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;- Specified by:
getGroupin interfaceMeta.APIResourceOrBuilder
-
getGroupBytes
public 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;- Specified by:
getGroupBytesin interfaceMeta.APIResourceOrBuilder
-
hasVersion
public 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;- Specified by:
hasVersionin interfaceMeta.APIResourceOrBuilder
-
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;- Specified by:
getVersionin interfaceMeta.APIResourceOrBuilder
-
getVersionBytes
public 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;- Specified by:
getVersionBytesin interfaceMeta.APIResourceOrBuilder
-
hasKind
public boolean hasKind()kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
optional string kind = 3;- Specified by:
hasKindin interfaceMeta.APIResourceOrBuilder
-
getKind
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
optional string kind = 3;- Specified by:
getKindin interfaceMeta.APIResourceOrBuilder
-
getKindBytes
public 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;- Specified by:
getKindBytesin interfaceMeta.APIResourceOrBuilder
-
hasVerbs
public 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;- Specified by:
hasVerbsin interfaceMeta.APIResourceOrBuilder
-
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;- Specified by:
getVerbsin interfaceMeta.APIResourceOrBuilder
-
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;- Specified by:
getVerbsOrBuilderin interfaceMeta.APIResourceOrBuilder
-
getShortNamesList
public com.google.protobuf.ProtocolStringList getShortNamesList()shortNames is a list of suggested short names of the resource.
repeated string shortNames = 5;- Specified by:
getShortNamesListin interfaceMeta.APIResourceOrBuilder
-
getShortNamesCount
public int getShortNamesCount()shortNames is a list of suggested short names of the resource.
repeated string shortNames = 5;- Specified by:
getShortNamesCountin interfaceMeta.APIResourceOrBuilder
-
getShortNames
shortNames is a list of suggested short names of the resource.
repeated string shortNames = 5;- Specified by:
getShortNamesin interfaceMeta.APIResourceOrBuilder
-
getShortNamesBytes
public com.google.protobuf.ByteString getShortNamesBytes(int index) shortNames is a list of suggested short names of the resource.
repeated string shortNames = 5;- Specified by:
getShortNamesBytesin interfaceMeta.APIResourceOrBuilder
-
getCategoriesList
public com.google.protobuf.ProtocolStringList getCategoriesList()categories is a list of the grouped resources this resource belongs to (e.g. 'all')
repeated string categories = 7;- Specified by:
getCategoriesListin interfaceMeta.APIResourceOrBuilder
-
getCategoriesCount
public int getCategoriesCount()categories is a list of the grouped resources this resource belongs to (e.g. 'all')
repeated string categories = 7;- Specified by:
getCategoriesCountin interfaceMeta.APIResourceOrBuilder
-
getCategories
categories is a list of the grouped resources this resource belongs to (e.g. 'all')
repeated string categories = 7;- Specified by:
getCategoriesin interfaceMeta.APIResourceOrBuilder
-
getCategoriesBytes
public 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;- Specified by:
getCategoriesBytesin interfaceMeta.APIResourceOrBuilder
-
hasStorageVersionHash
public 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;- Specified by:
hasStorageVersionHashin interfaceMeta.APIResourceOrBuilder
-
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;- Specified by:
getStorageVersionHashin interfaceMeta.APIResourceOrBuilder
-
getStorageVersionHashBytes
public 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;- Specified by:
getStorageVersionHashBytesin interfaceMeta.APIResourceOrBuilder
-
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 Meta.APIResource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.APIResource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.APIResource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.APIResource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.APIResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.APIResource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Meta.APIResource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Meta.APIResource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Meta.APIResource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Meta.APIResource 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Meta.APIResource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
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
-