Package io.kubernetes.client.proto
Class V1Authorization.ResourceAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
io.kubernetes.client.proto.V1Authorization.ResourceAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Authorization.ResourceAttributesOrBuilder,Cloneable
- Enclosing class:
- V1Authorization.ResourceAttributes
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Group is the API Group of the Resource.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.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Resource is one of the existing resource types.Subresource is one of the existing resource types.Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.Version is the API Version of the Resource.clone()static final com.google.protobuf.Descriptors.Descriptorcom.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.Resource is one of the existing resource types.com.google.protobuf.ByteStringResource is one of the existing resource types.Subresource is one of the existing resource types.com.google.protobuf.ByteStringSubresource is one of the existing resource types.getVerb()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.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 booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Group is the API Group of the Resource.setGroupBytes(com.google.protobuf.ByteString value) Group is the API Group of the Resource.Name is the name of the resource being requested for a "get" or deleted for a "delete".setNameBytes(com.google.protobuf.ByteString value) Name is the name of the resource being requested for a "get" or deleted for a "delete".setNamespace(String value) Namespace is the namespace of the action being requested.setNamespaceBytes(com.google.protobuf.ByteString value) Namespace is the namespace of the action being requested.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResource(String value) Resource is one of the existing resource types.setResourceBytes(com.google.protobuf.ByteString value) Resource is one of the existing resource types.setSubresource(String value) Subresource is one of the existing resource types.setSubresourceBytes(com.google.protobuf.ByteString value) Subresource is one of the existing resource types.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.setVerbBytes(com.google.protobuf.ByteString value) Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.setVersion(String value) Version is the API Version of the Resource.setVersionBytes(com.google.protobuf.ByteString value) Version is the API Version of the Resource.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<V1Authorization.ResourceAttributes.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
setField
public V1Authorization.ResourceAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
clearField
public V1Authorization.ResourceAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
clearOneof
public V1Authorization.ResourceAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
setRepeatedField
public V1Authorization.ResourceAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
addRepeatedField
public V1Authorization.ResourceAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Authorization.ResourceAttributes.Builder>
-
mergeFrom
public V1Authorization.ResourceAttributes.Builder mergeFrom(V1Authorization.ResourceAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
mergeFrom
public V1Authorization.ResourceAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Authorization.ResourceAttributes.Builder>- Throws:
IOException
-
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
-
setNamespace
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; -
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; -
setNamespaceBytes
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; -
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
-
setVerb
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. +optional
optional string verb = 2; -
clearVerb
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. +optional
optional string verb = 2; -
setVerbBytes
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; -
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
-
setGroup
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3; -
clearGroup
Group is the API Group of the Resource. "*" means all. +optional
optional string group = 3; -
setGroupBytes
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; -
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
-
setVersion
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4; -
clearVersion
Version is the API Version of the Resource. "*" means all. +optional
optional string version = 4; -
setVersionBytes
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; -
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
-
setResource
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5; -
clearResource
Resource is one of the existing resource types. "*" means all. +optional
optional string resource = 5; -
setResourceBytes
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; -
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
-
setSubresource
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6; -
clearSubresource
Subresource is one of the existing resource types. "" means none. +optional
optional string subresource = 6; -
setSubresourceBytes
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; -
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
-
setName
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; -
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; -
setNameBytes
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; -
setUnknownFields
public final V1Authorization.ResourceAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
mergeUnknownFields
public final V1Authorization.ResourceAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-