public static final class V1Authorization.ResourceAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder> implements V1Authorization.ResourceAttributesOrBuilder
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceProtobuf type
k8s.io.api.authorization.v1.ResourceAttributes| Modifier and Type | Method and Description |
|---|---|
V1Authorization.ResourceAttributes.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authorization.ResourceAttributes |
build() |
V1Authorization.ResourceAttributes |
buildPartial() |
V1Authorization.ResourceAttributes.Builder |
clear() |
V1Authorization.ResourceAttributes.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Authorization.ResourceAttributes.Builder |
clearGroup()
Group is the API Group of the Resource.
|
V1Authorization.ResourceAttributes.Builder |
clearName()
Name is the name of the resource being requested for a "get" or deleted for a "delete".
|
V1Authorization.ResourceAttributes.Builder |
clearNamespace()
Namespace is the namespace of the action being requested.
|
V1Authorization.ResourceAttributes.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Authorization.ResourceAttributes.Builder |
clearResource()
Resource is one of the existing resource types.
|
V1Authorization.ResourceAttributes.Builder |
clearSubresource()
Subresource is one of the existing resource types.
|
V1Authorization.ResourceAttributes.Builder |
clearVerb()
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.
|
V1Authorization.ResourceAttributes.Builder |
clearVersion()
Version is the API Version of the Resource.
|
V1Authorization.ResourceAttributes.Builder |
clone() |
V1Authorization.ResourceAttributes |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGroup()
Group is the API Group of the Resource.
|
com.google.protobuf.ByteString |
getGroupBytes()
Group is the API Group of the Resource.
|
String |
getName()
Name is the name of the resource being requested for a "get" or deleted for a "delete".
|
com.google.protobuf.ByteString |
getNameBytes()
Name is the name of the resource being requested for a "get" or deleted for a "delete".
|
String |
getNamespace()
Namespace is the namespace of the action being requested.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
Namespace is the namespace of the action being requested.
|
String |
getResource()
Resource is one of the existing resource types.
|
com.google.protobuf.ByteString |
getResourceBytes()
Resource is one of the existing resource types.
|
String |
getSubresource()
Subresource is one of the existing resource types.
|
com.google.protobuf.ByteString |
getSubresourceBytes()
Subresource is one of the existing resource types.
|
String |
getVerb()
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.
|
com.google.protobuf.ByteString |
getVerbBytes()
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.
|
String |
getVersion()
Version is the API Version of the Resource.
|
com.google.protobuf.ByteString |
getVersionBytes()
Version is the API Version of the Resource.
|
boolean |
hasGroup()
Group is the API Group of the Resource.
|
boolean |
hasName()
Name is the name of the resource being requested for a "get" or deleted for a "delete".
|
boolean |
hasNamespace()
Namespace is the namespace of the action being requested.
|
boolean |
hasResource()
Resource is one of the existing resource types.
|
boolean |
hasSubresource()
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 |
hasVersion()
Version is the API Version of the Resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Authorization.ResourceAttributes.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Authorization.ResourceAttributes.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Authorization.ResourceAttributes.Builder |
mergeFrom(V1Authorization.ResourceAttributes other) |
V1Authorization.ResourceAttributes.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Authorization.ResourceAttributes.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authorization.ResourceAttributes.Builder |
setGroup(String value)
Group is the API Group of the Resource.
|
V1Authorization.ResourceAttributes.Builder |
setGroupBytes(com.google.protobuf.ByteString value)
Group is the API Group of the Resource.
|
V1Authorization.ResourceAttributes.Builder |
setName(String value)
Name is the name of the resource being requested for a "get" or deleted for a "delete".
|
V1Authorization.ResourceAttributes.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name is the name of the resource being requested for a "get" or deleted for a "delete".
|
V1Authorization.ResourceAttributes.Builder |
setNamespace(String value)
Namespace is the namespace of the action being requested.
|
V1Authorization.ResourceAttributes.Builder |
setNamespaceBytes(com.google.protobuf.ByteString value)
Namespace is the namespace of the action being requested.
|
V1Authorization.ResourceAttributes.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Authorization.ResourceAttributes.Builder |
setResource(String value)
Resource is one of the existing resource types.
|
V1Authorization.ResourceAttributes.Builder |
setResourceBytes(com.google.protobuf.ByteString value)
Resource is one of the existing resource types.
|
V1Authorization.ResourceAttributes.Builder |
setSubresource(String value)
Subresource is one of the existing resource types.
|
V1Authorization.ResourceAttributes.Builder |
setSubresourceBytes(com.google.protobuf.ByteString value)
Subresource is one of the existing resource types.
|
V1Authorization.ResourceAttributes.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Authorization.ResourceAttributes.Builder |
setVerb(String value)
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.
|
V1Authorization.ResourceAttributes.Builder |
setVerbBytes(com.google.protobuf.ByteString value)
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.
|
V1Authorization.ResourceAttributes.Builder |
setVersion(String value)
Version is the API Version of the Resource.
|
V1Authorization.ResourceAttributes.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
Version is the API Version of the Resource.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Authorization.ResourceAttributes build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Authorization.ResourceAttributes buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Authorization.ResourceAttributes.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes.Builder mergeFrom(V1Authorization.ResourceAttributes other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public V1Authorization.ResourceAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Authorization.ResourceAttributes.Builder>IOExceptionpublic 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;hasNamespace in interface V1Authorization.ResourceAttributesOrBuilderpublic String 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;getNamespace in interface V1Authorization.ResourceAttributesOrBuilderpublic 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;getNamespaceBytes in interface V1Authorization.ResourceAttributesOrBuilderpublic V1Authorization.ResourceAttributes.Builder setNamespace(String value)
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;public V1Authorization.ResourceAttributes.Builder clearNamespace()
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;public V1Authorization.ResourceAttributes.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
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;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;hasVerb in interface V1Authorization.ResourceAttributesOrBuilderpublic String getVerb()
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. +optional
optional string verb = 2;getVerb in interface V1Authorization.ResourceAttributesOrBuilderpublic 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;getVerbBytes in interface V1Authorization.ResourceAttributesOrBuilderpublic V1Authorization.ResourceAttributes.Builder setVerb(String value)
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. +optional
optional string verb = 2;public V1Authorization.ResourceAttributes.Builder clearVerb()
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. +optional
optional string verb = 2;public V1Authorization.ResourceAttributes.Builder setVerbBytes(com.google.protobuf.ByteString value)
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. +optional
optional string verb = 2;public boolean hasGroup()
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;hasGroup in interface V1Authorization.ResourceAttributesOrBuilderpublic String getGroup()
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;getGroup in interface V1Authorization.ResourceAttributesOrBuilderpublic com.google.protobuf.ByteString getGroupBytes()
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;getGroupBytes in interface V1Authorization.ResourceAttributesOrBuilderpublic V1Authorization.ResourceAttributes.Builder setGroup(String value)
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;public V1Authorization.ResourceAttributes.Builder clearGroup()
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;public V1Authorization.ResourceAttributes.Builder setGroupBytes(com.google.protobuf.ByteString value)
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3;public boolean hasVersion()
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;hasVersion in interface V1Authorization.ResourceAttributesOrBuilderpublic String getVersion()
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;getVersion in interface V1Authorization.ResourceAttributesOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;getVersionBytes in interface V1Authorization.ResourceAttributesOrBuilderpublic V1Authorization.ResourceAttributes.Builder setVersion(String value)
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;public V1Authorization.ResourceAttributes.Builder clearVersion()
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;public V1Authorization.ResourceAttributes.Builder setVersionBytes(com.google.protobuf.ByteString value)
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4;public boolean hasResource()
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;hasResource in interface V1Authorization.ResourceAttributesOrBuilderpublic String getResource()
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;getResource in interface V1Authorization.ResourceAttributesOrBuilderpublic com.google.protobuf.ByteString getResourceBytes()
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;getResourceBytes in interface V1Authorization.ResourceAttributesOrBuilderpublic V1Authorization.ResourceAttributes.Builder setResource(String value)
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;public V1Authorization.ResourceAttributes.Builder clearResource()
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;public V1Authorization.ResourceAttributes.Builder setResourceBytes(com.google.protobuf.ByteString value)
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5;public boolean hasSubresource()
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;hasSubresource in interface V1Authorization.ResourceAttributesOrBuilderpublic String getSubresource()
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;getSubresource in interface V1Authorization.ResourceAttributesOrBuilderpublic com.google.protobuf.ByteString getSubresourceBytes()
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;getSubresourceBytes in interface V1Authorization.ResourceAttributesOrBuilderpublic V1Authorization.ResourceAttributes.Builder setSubresource(String value)
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;public V1Authorization.ResourceAttributes.Builder clearSubresource()
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;public V1Authorization.ResourceAttributes.Builder setSubresourceBytes(com.google.protobuf.ByteString value)
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6;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;hasName in interface V1Authorization.ResourceAttributesOrBuilderpublic String 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;getName in interface V1Authorization.ResourceAttributesOrBuilderpublic 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;getNameBytes in interface V1Authorization.ResourceAttributesOrBuilderpublic V1Authorization.ResourceAttributes.Builder setName(String value)
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;public V1Authorization.ResourceAttributes.Builder clearName()
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;public V1Authorization.ResourceAttributes.Builder setNameBytes(com.google.protobuf.ByteString value)
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;public final V1Authorization.ResourceAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>public final V1Authorization.ResourceAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>Copyright © 2023. All rights reserved.