Package io.kubernetes.client.proto
Class V1beta1Rbac.PolicyRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Rbac.PolicyRule.Builder>
io.kubernetes.client.proto.V1beta1Rbac.PolicyRule.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Rbac.PolicyRuleOrBuilder,Cloneable
- Enclosing class:
- V1beta1Rbac.PolicyRule
public static final class V1beta1Rbac.PolicyRule.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Rbac.PolicyRule.Builder>
implements V1beta1Rbac.PolicyRuleOrBuilder
PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.Protobuf type
k8s.io.api.rbac.v1beta1.PolicyRule-
Method Summary
Modifier and TypeMethodDescriptionaddAllApiGroups(Iterable<String> values) APIGroups is the name of the APIGroup that contains the resources.addAllNonResourceURLs(Iterable<String> values) NonResourceURLs is a set of partial urls that a user should have access to.addAllResourceNames(Iterable<String> values) ResourceNames is an optional white list of names that the rule applies to.addAllResources(Iterable<String> values) Resources is a list of resources this rule applies to.addAllVerbs(Iterable<String> values) Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.addApiGroups(String value) APIGroups is the name of the APIGroup that contains the resources.addApiGroupsBytes(com.google.protobuf.ByteString value) APIGroups is the name of the APIGroup that contains the resources.addNonResourceURLs(String value) NonResourceURLs is a set of partial urls that a user should have access to.addNonResourceURLsBytes(com.google.protobuf.ByteString value) NonResourceURLs is a set of partial urls that a user should have access to.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addResourceNames(String value) ResourceNames is an optional white list of names that the rule applies to.addResourceNamesBytes(com.google.protobuf.ByteString value) ResourceNames is an optional white list of names that the rule applies to.addResources(String value) Resources is a list of resources this rule applies to.addResourcesBytes(com.google.protobuf.ByteString value) Resources is a list of resources this rule applies to.Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.addVerbsBytes(com.google.protobuf.ByteString value) Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.build()clear()APIGroups is the name of the APIGroup that contains the resources.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) NonResourceURLs is a set of partial urls that a user should have access to.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) ResourceNames is an optional white list of names that the rule applies to.Resources is a list of resources this rule applies to.Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.clone()getApiGroups(int index) APIGroups is the name of the APIGroup that contains the resources.com.google.protobuf.ByteStringgetApiGroupsBytes(int index) APIGroups is the name of the APIGroup that contains the resources.intAPIGroups is the name of the APIGroup that contains the resources.com.google.protobuf.ProtocolStringListAPIGroups is the name of the APIGroup that contains the resources.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNonResourceURLs(int index) NonResourceURLs is a set of partial urls that a user should have access to.com.google.protobuf.ByteStringgetNonResourceURLsBytes(int index) NonResourceURLs is a set of partial urls that a user should have access to.intNonResourceURLs is a set of partial urls that a user should have access to.com.google.protobuf.ProtocolStringListNonResourceURLs is a set of partial urls that a user should have access to.getResourceNames(int index) ResourceNames is an optional white list of names that the rule applies to.com.google.protobuf.ByteStringgetResourceNamesBytes(int index) ResourceNames is an optional white list of names that the rule applies to.intResourceNames is an optional white list of names that the rule applies to.com.google.protobuf.ProtocolStringListResourceNames is an optional white list of names that the rule applies to.getResources(int index) Resources is a list of resources this rule applies to.com.google.protobuf.ByteStringgetResourcesBytes(int index) Resources is a list of resources this rule applies to.intResources is a list of resources this rule applies to.com.google.protobuf.ProtocolStringListResources is a list of resources this rule applies to.getVerbs(int index) Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.com.google.protobuf.ByteStringgetVerbsBytes(int index) Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.intVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.com.google.protobuf.ProtocolStringListVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(V1beta1Rbac.PolicyRule other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setApiGroups(int index, String value) APIGroups is the name of the APIGroup that contains the resources.setNonResourceURLs(int index, String value) NonResourceURLs is a set of partial urls that a user should have access to.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceNames(int index, String value) ResourceNames is an optional white list of names that the rule applies to.setResources(int index, String value) Resources is a list of resources this rule applies to.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.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<V1beta1Rbac.PolicyRule.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<V1beta1Rbac.PolicyRule.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<V1beta1Rbac.PolicyRule.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<V1beta1Rbac.PolicyRule.Builder>
-
setField
public V1beta1Rbac.PolicyRule.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<V1beta1Rbac.PolicyRule.Builder>
-
clearField
public V1beta1Rbac.PolicyRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Rbac.PolicyRule.Builder>
-
clearOneof
public V1beta1Rbac.PolicyRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Rbac.PolicyRule.Builder>
-
setRepeatedField
public V1beta1Rbac.PolicyRule.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<V1beta1Rbac.PolicyRule.Builder>
-
addRepeatedField
public V1beta1Rbac.PolicyRule.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<V1beta1Rbac.PolicyRule.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Rbac.PolicyRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Rbac.PolicyRule.Builder>
-
mergeFrom
public V1beta1Rbac.PolicyRule.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<V1beta1Rbac.PolicyRule.Builder>- Throws:
IOException
-
getVerbsList
public com.google.protobuf.ProtocolStringList getVerbsList()Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
repeated string verbs = 1;- Specified by:
getVerbsListin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getVerbsCount
public int getVerbsCount()Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
repeated string verbs = 1;- Specified by:
getVerbsCountin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getVerbs
Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
repeated string verbs = 1;- Specified by:
getVerbsin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getVerbsBytes
public com.google.protobuf.ByteString getVerbsBytes(int index) Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
repeated string verbs = 1;- Specified by:
getVerbsBytesin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
setVerbs
Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
repeated string verbs = 1; -
addVerbs
Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
repeated string verbs = 1; -
addAllVerbs
Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
repeated string verbs = 1; -
clearVerbs
Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
repeated string verbs = 1; -
addVerbsBytes
Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
repeated string verbs = 1; -
getApiGroupsList
public com.google.protobuf.ProtocolStringList getApiGroupsList()APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional
repeated string apiGroups = 2;- Specified by:
getApiGroupsListin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getApiGroupsCount
public int getApiGroupsCount()APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional
repeated string apiGroups = 2;- Specified by:
getApiGroupsCountin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getApiGroups
APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional
repeated string apiGroups = 2;- Specified by:
getApiGroupsin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getApiGroupsBytes
public com.google.protobuf.ByteString getApiGroupsBytes(int index) APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional
repeated string apiGroups = 2;- Specified by:
getApiGroupsBytesin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
setApiGroups
APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional
repeated string apiGroups = 2; -
addApiGroups
APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional
repeated string apiGroups = 2; -
addAllApiGroups
APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional
repeated string apiGroups = 2; -
clearApiGroups
APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional
repeated string apiGroups = 2; -
addApiGroupsBytes
APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional
repeated string apiGroups = 2; -
getResourcesList
public com.google.protobuf.ProtocolStringList getResourcesList()Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;- Specified by:
getResourcesListin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getResourcesCount
public int getResourcesCount()Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;- Specified by:
getResourcesCountin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getResources
Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;- Specified by:
getResourcesin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getResourcesBytes
public com.google.protobuf.ByteString getResourcesBytes(int index) Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;- Specified by:
getResourcesBytesin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
setResources
Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3; -
addResources
Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3; -
addAllResources
Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3; -
clearResources
Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3; -
addResourcesBytes
Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3; -
getResourceNamesList
public com.google.protobuf.ProtocolStringList getResourceNamesList()ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional
repeated string resourceNames = 4;- Specified by:
getResourceNamesListin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getResourceNamesCount
public int getResourceNamesCount()ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional
repeated string resourceNames = 4;- Specified by:
getResourceNamesCountin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getResourceNames
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional
repeated string resourceNames = 4;- Specified by:
getResourceNamesin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getResourceNamesBytes
public com.google.protobuf.ByteString getResourceNamesBytes(int index) ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional
repeated string resourceNames = 4;- Specified by:
getResourceNamesBytesin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
setResourceNames
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional
repeated string resourceNames = 4; -
addResourceNames
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional
repeated string resourceNames = 4; -
addAllResourceNames
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional
repeated string resourceNames = 4; -
clearResourceNames
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional
repeated string resourceNames = 4; -
addResourceNamesBytes
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional
repeated string resourceNames = 4; -
getNonResourceURLsList
public com.google.protobuf.ProtocolStringList getNonResourceURLsList()NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional
repeated string nonResourceURLs = 5;- Specified by:
getNonResourceURLsListin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getNonResourceURLsCount
public int getNonResourceURLsCount()NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional
repeated string nonResourceURLs = 5;- Specified by:
getNonResourceURLsCountin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional
repeated string nonResourceURLs = 5;- Specified by:
getNonResourceURLsin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
getNonResourceURLsBytes
public com.google.protobuf.ByteString getNonResourceURLsBytes(int index) NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional
repeated string nonResourceURLs = 5;- Specified by:
getNonResourceURLsBytesin interfaceV1beta1Rbac.PolicyRuleOrBuilder
-
setNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional
repeated string nonResourceURLs = 5; -
addNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional
repeated string nonResourceURLs = 5; -
addAllNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional
repeated string nonResourceURLs = 5; -
clearNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional
repeated string nonResourceURLs = 5; -
addNonResourceURLsBytes
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional
repeated string nonResourceURLs = 5; -
setUnknownFields
public final V1beta1Rbac.PolicyRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Rbac.PolicyRule.Builder>
-
mergeUnknownFields
public final V1beta1Rbac.PolicyRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Rbac.PolicyRule.Builder>
-