Package io.kubernetes.client.proto
Class V1Authorization.ResourceAttributes
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1Authorization.ResourceAttributes
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Authorization.ResourceAttributesOrBuilder,Serializable
- Enclosing class:
- V1Authorization
public static final class V1Authorization.ResourceAttributes
extends com.google.protobuf.GeneratedMessageV3
implements V1Authorization.ResourceAttributesOrBuilder
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceProtobuf type
k8s.io.api.authorization.v1.ResourceAttributes- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceNested 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 com.google.protobuf.Parser<V1Authorization.ResourceAttributes>Deprecated.static 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 TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorgetGroup()Group is the API Group of the Resource.com.google.protobuf.ByteStringGroup is the API Group of the Resource.getName()Name is the name of the resource being requested for a "get" or deleted for a "delete".com.google.protobuf.ByteStringName is the name of the resource being requested for a "get" or deleted for a "delete".Namespace is the namespace of the action being requested.com.google.protobuf.ByteStringNamespace is the namespace of the action being requested.com.google.protobuf.Parser<V1Authorization.ResourceAttributes>Resource is one of the existing resource types.com.google.protobuf.ByteStringResource is one of the existing resource types.intSubresource is one of the existing resource types.com.google.protobuf.ByteStringSubresource is one of the existing resource types.final com.google.protobuf.UnknownFieldSetgetVerb()Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.com.google.protobuf.ByteStringVerb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.Version is the API Version of the Resource.com.google.protobuf.ByteStringVersion is the API Version of the Resource.booleanhasGroup()Group is the API Group of the Resource.inthashCode()booleanhasName()Name is the name of the resource being requested for a "get" or deleted for a "delete".booleanNamespace is the namespace of the action being requested.booleanResource is one of the existing resource types.booleanSubresource is one of the existing resource types.booleanhasVerb()Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.booleanVersion is the API Version of the Resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(V1Authorization.ResourceAttributes prototype) 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<V1Authorization.ResourceAttributes>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
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
VERB_FIELD_NUMBER
public static final int VERB_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:
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER- See Also:
-
SUBRESOURCE_FIELD_NUMBER
public static final int SUBRESOURCE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<V1Authorization.ResourceAttributes> PARSERDeprecated.
-
-
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
-
hasNamespace
public boolean hasNamespace()Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview +optional
optional string namespace = 1;- Specified by:
hasNamespacein interfaceV1Authorization.ResourceAttributesOrBuilder
-
getNamespace
Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview +optional
optional string namespace = 1;- Specified by:
getNamespacein interfaceV1Authorization.ResourceAttributesOrBuilder
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview +optional
optional string namespace = 1;- Specified by:
getNamespaceBytesin interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasVerb
public boolean hasVerb()Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. +optional
optional string verb = 2;- Specified by:
hasVerbin interfaceV1Authorization.ResourceAttributesOrBuilder
-
getVerb
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. +optional
optional string verb = 2;- Specified by:
getVerbin interfaceV1Authorization.ResourceAttributesOrBuilder
-
getVerbBytes
public com.google.protobuf.ByteString getVerbBytes()Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. +optional
optional string verb = 2;- Specified by:
getVerbBytesin interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasGroup
public boolean hasGroup()Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;- Specified by:
hasGroupin interfaceV1Authorization.ResourceAttributesOrBuilder
-
getGroup
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;- Specified by:
getGroupin interfaceV1Authorization.ResourceAttributesOrBuilder
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;- Specified by:
getGroupBytesin interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasVersion
public boolean hasVersion()Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;- Specified by:
hasVersionin interfaceV1Authorization.ResourceAttributesOrBuilder
-
getVersion
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;- Specified by:
getVersionin interfaceV1Authorization.ResourceAttributesOrBuilder
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;- Specified by:
getVersionBytesin interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasResource
public boolean hasResource()Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;- Specified by:
hasResourcein interfaceV1Authorization.ResourceAttributesOrBuilder
-
getResource
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;- Specified by:
getResourcein interfaceV1Authorization.ResourceAttributesOrBuilder
-
getResourceBytes
public com.google.protobuf.ByteString getResourceBytes()Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;- Specified by:
getResourceBytesin interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasSubresource
public boolean hasSubresource()Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;- Specified by:
hasSubresourcein interfaceV1Authorization.ResourceAttributesOrBuilder
-
getSubresource
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;- Specified by:
getSubresourcein interfaceV1Authorization.ResourceAttributesOrBuilder
-
getSubresourceBytes
public com.google.protobuf.ByteString getSubresourceBytes()Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;- Specified by:
getSubresourceBytesin interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasName
public boolean hasName()Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all. +optional
optional string name = 7;- Specified by:
hasNamein interfaceV1Authorization.ResourceAttributesOrBuilder
-
getName
Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all. +optional
optional string name = 7;- Specified by:
getNamein interfaceV1Authorization.ResourceAttributesOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all. +optional
optional string name = 7;- Specified by:
getNameBytesin interfaceV1Authorization.ResourceAttributesOrBuilder
-
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 V1Authorization.ResourceAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Authorization.ResourceAttributes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Authorization.ResourceAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Authorization.ResourceAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Authorization.ResourceAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Authorization.ResourceAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1Authorization.ResourceAttributes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1Authorization.ResourceAttributes parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1Authorization.ResourceAttributes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1Authorization.ResourceAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1Authorization.ResourceAttributes 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
public static V1Authorization.ResourceAttributes.Builder newBuilder(V1Authorization.ResourceAttributes prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1Authorization.ResourceAttributes.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
-