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.Descriptor
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.Resource is one of the existing resource types.com.google.protobuf.ByteString
Resource is one of the existing resource types.Subresource is one of the existing resource types.com.google.protobuf.ByteString
Subresource 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.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.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
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
setField
public V1Authorization.ResourceAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
clearField
public V1Authorization.ResourceAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
clearOneof
public V1Authorization.ResourceAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
addRepeatedField
public V1Authorization.ResourceAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1Authorization.ResourceAttributes.Builder>
-
mergeFrom
public V1Authorization.ResourceAttributes.Builder mergeFrom(V1Authorization.ResourceAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
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
-
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:
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
-
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:
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
-
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:
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
-
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:
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
-
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:
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
-
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:
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
-
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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-
mergeUnknownFields
public final V1Authorization.ResourceAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.ResourceAttributes.Builder>
-