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 class
ResourceAttributes 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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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 int
static final int
static final int
static final com.google.protobuf.Parser<V1Authorization.ResourceAttributes>
Deprecated.static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static final com.google.protobuf.Descriptors.Descriptor
getGroup()
Group is the API Group of the Resource.com.google.protobuf.ByteString
Group 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.ByteString
Name 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.ByteString
Namespace 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.ByteString
Resource is one of the existing resource types.int
Subresource is one of the existing resource types.com.google.protobuf.ByteString
Subresource is one of the existing resource types.final com.google.protobuf.UnknownFieldSet
getVerb()
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.com.google.protobuf.ByteString
Verb 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.ByteString
Version is the API Version of the Resource.boolean
hasGroup()
Group is the API Group of the Resource.int
hashCode()
boolean
hasName()
Name is the name of the resource being requested for a "get" or deleted for a "delete".boolean
Namespace is the namespace of the action being requested.boolean
Resource is one of the existing resource types.boolean
Subresource is one of the existing resource types.boolean
hasVerb()
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.boolean
Version is the API Version of the Resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(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()
void
writeTo
(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, makeMutableCopy, 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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in 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:
hasNamespace
in 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:
getNamespace
in 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:
getNamespaceBytes
in 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:
hasVerb
in 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:
getVerb
in 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:
getVerbBytes
in interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasGroup
public boolean hasGroup()Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;
- Specified by:
hasGroup
in interfaceV1Authorization.ResourceAttributesOrBuilder
-
getGroup
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;
- Specified by:
getGroup
in 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:
getGroupBytes
in interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasVersion
public boolean hasVersion()Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;
- Specified by:
hasVersion
in interfaceV1Authorization.ResourceAttributesOrBuilder
-
getVersion
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;
- Specified by:
getVersion
in 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:
getVersionBytes
in interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasResource
public boolean hasResource()Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;
- Specified by:
hasResource
in interfaceV1Authorization.ResourceAttributesOrBuilder
-
getResource
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;
- Specified by:
getResource
in 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:
getResourceBytes
in interfaceV1Authorization.ResourceAttributesOrBuilder
-
hasSubresource
public boolean hasSubresource()Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;
- Specified by:
hasSubresource
in interfaceV1Authorization.ResourceAttributesOrBuilder
-
getSubresource
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;
- Specified by:
getSubresource
in 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:
getSubresourceBytes
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in interfaceV1Authorization.ResourceAttributesOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static V1Authorization.ResourceAttributes.Builder newBuilder(V1Authorization.ResourceAttributes prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1Authorization.ResourceAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-