public static final class V1Rbac.PolicyRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder> implements V1Rbac.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.v1.PolicyRule
Modifier and Type | Method and Description |
---|---|
V1Rbac.PolicyRule.Builder |
addAllApiGroups(Iterable<String> values)
APIGroups is the name of the APIGroup that contains the resources.
|
V1Rbac.PolicyRule.Builder |
addAllNonResourceURLs(Iterable<String> values)
NonResourceURLs is a set of partial urls that a user should have access to.
|
V1Rbac.PolicyRule.Builder |
addAllResourceNames(Iterable<String> values)
ResourceNames is an optional white list of names that the rule applies to.
|
V1Rbac.PolicyRule.Builder |
addAllResources(Iterable<String> values)
Resources is a list of resources this rule applies to.
|
V1Rbac.PolicyRule.Builder |
addAllVerbs(Iterable<String> values)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.
|
V1Rbac.PolicyRule.Builder |
addApiGroups(String value)
APIGroups is the name of the APIGroup that contains the resources.
|
V1Rbac.PolicyRule.Builder |
addApiGroupsBytes(com.google.protobuf.ByteString value)
APIGroups is the name of the APIGroup that contains the resources.
|
V1Rbac.PolicyRule.Builder |
addNonResourceURLs(String value)
NonResourceURLs is a set of partial urls that a user should have access to.
|
V1Rbac.PolicyRule.Builder |
addNonResourceURLsBytes(com.google.protobuf.ByteString value)
NonResourceURLs is a set of partial urls that a user should have access to.
|
V1Rbac.PolicyRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Rbac.PolicyRule.Builder |
addResourceNames(String value)
ResourceNames is an optional white list of names that the rule applies to.
|
V1Rbac.PolicyRule.Builder |
addResourceNamesBytes(com.google.protobuf.ByteString value)
ResourceNames is an optional white list of names that the rule applies to.
|
V1Rbac.PolicyRule.Builder |
addResources(String value)
Resources is a list of resources this rule applies to.
|
V1Rbac.PolicyRule.Builder |
addResourcesBytes(com.google.protobuf.ByteString value)
Resources is a list of resources this rule applies to.
|
V1Rbac.PolicyRule.Builder |
addVerbs(String value)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.
|
V1Rbac.PolicyRule.Builder |
addVerbsBytes(com.google.protobuf.ByteString value)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.
|
V1Rbac.PolicyRule |
build() |
V1Rbac.PolicyRule |
buildPartial() |
V1Rbac.PolicyRule.Builder |
clear() |
V1Rbac.PolicyRule.Builder |
clearApiGroups()
APIGroups is the name of the APIGroup that contains the resources.
|
V1Rbac.PolicyRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Rbac.PolicyRule.Builder |
clearNonResourceURLs()
NonResourceURLs is a set of partial urls that a user should have access to.
|
V1Rbac.PolicyRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Rbac.PolicyRule.Builder |
clearResourceNames()
ResourceNames is an optional white list of names that the rule applies to.
|
V1Rbac.PolicyRule.Builder |
clearResources()
Resources is a list of resources this rule applies to.
|
V1Rbac.PolicyRule.Builder |
clearVerbs()
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.
|
V1Rbac.PolicyRule.Builder |
clone() |
String |
getApiGroups(int index)
APIGroups is the name of the APIGroup that contains the resources.
|
com.google.protobuf.ByteString |
getApiGroupsBytes(int index)
APIGroups is the name of the APIGroup that contains the resources.
|
int |
getApiGroupsCount()
APIGroups is the name of the APIGroup that contains the resources.
|
com.google.protobuf.ProtocolStringList |
getApiGroupsList()
APIGroups is the name of the APIGroup that contains the resources.
|
V1Rbac.PolicyRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNonResourceURLs(int index)
NonResourceURLs is a set of partial urls that a user should have access to.
|
com.google.protobuf.ByteString |
getNonResourceURLsBytes(int index)
NonResourceURLs is a set of partial urls that a user should have access to.
|
int |
getNonResourceURLsCount()
NonResourceURLs is a set of partial urls that a user should have access to.
|
com.google.protobuf.ProtocolStringList |
getNonResourceURLsList()
NonResourceURLs is a set of partial urls that a user should have access to.
|
String |
getResourceNames(int index)
ResourceNames is an optional white list of names that the rule applies to.
|
com.google.protobuf.ByteString |
getResourceNamesBytes(int index)
ResourceNames is an optional white list of names that the rule applies to.
|
int |
getResourceNamesCount()
ResourceNames is an optional white list of names that the rule applies to.
|
com.google.protobuf.ProtocolStringList |
getResourceNamesList()
ResourceNames is an optional white list of names that the rule applies to.
|
String |
getResources(int index)
Resources is a list of resources this rule applies to.
|
com.google.protobuf.ByteString |
getResourcesBytes(int index)
Resources is a list of resources this rule applies to.
|
int |
getResourcesCount()
Resources is a list of resources this rule applies to.
|
com.google.protobuf.ProtocolStringList |
getResourcesList()
Resources is a list of resources this rule applies to.
|
String |
getVerbs(int index)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.
|
com.google.protobuf.ByteString |
getVerbsBytes(int index)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.
|
int |
getVerbsCount()
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.
|
com.google.protobuf.ProtocolStringList |
getVerbsList()
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Rbac.PolicyRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Rbac.PolicyRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Rbac.PolicyRule.Builder |
mergeFrom(V1Rbac.PolicyRule other) |
V1Rbac.PolicyRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Rbac.PolicyRule.Builder |
setApiGroups(int index,
String value)
APIGroups is the name of the APIGroup that contains the resources.
|
V1Rbac.PolicyRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Rbac.PolicyRule.Builder |
setNonResourceURLs(int index,
String value)
NonResourceURLs is a set of partial urls that a user should have access to.
|
V1Rbac.PolicyRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Rbac.PolicyRule.Builder |
setResourceNames(int index,
String value)
ResourceNames is an optional white list of names that the rule applies to.
|
V1Rbac.PolicyRule.Builder |
setResources(int index,
String value)
Resources is a list of resources this rule applies to.
|
V1Rbac.PolicyRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Rbac.PolicyRule.Builder |
setVerbs(int index,
String value)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1Rbac.PolicyRule build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1Rbac.PolicyRule buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1Rbac.PolicyRule.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule.Builder mergeFrom(V1Rbac.PolicyRule other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public V1Rbac.PolicyRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1Rbac.PolicyRule.Builder>
IOException
public com.google.protobuf.ProtocolStringList getVerbsList()
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
repeated string verbs = 1;
getVerbsList
in interface V1Rbac.PolicyRuleOrBuilder
public int getVerbsCount()
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
repeated string verbs = 1;
getVerbsCount
in interface V1Rbac.PolicyRuleOrBuilder
public String getVerbs(int index)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
repeated string verbs = 1;
getVerbs
in interface V1Rbac.PolicyRuleOrBuilder
public com.google.protobuf.ByteString getVerbsBytes(int index)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
repeated string verbs = 1;
getVerbsBytes
in interface V1Rbac.PolicyRuleOrBuilder
public V1Rbac.PolicyRule.Builder setVerbs(int index, String value)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
repeated string verbs = 1;
public V1Rbac.PolicyRule.Builder addVerbs(String value)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
repeated string verbs = 1;
public V1Rbac.PolicyRule.Builder addAllVerbs(Iterable<String> values)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
repeated string verbs = 1;
public V1Rbac.PolicyRule.Builder clearVerbs()
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
repeated string verbs = 1;
public V1Rbac.PolicyRule.Builder addVerbsBytes(com.google.protobuf.ByteString value)
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
repeated string verbs = 1;
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;
getApiGroupsList
in interface V1Rbac.PolicyRuleOrBuilder
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;
getApiGroupsCount
in interface V1Rbac.PolicyRuleOrBuilder
public String getApiGroups(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;
getApiGroups
in interface V1Rbac.PolicyRuleOrBuilder
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;
getApiGroupsBytes
in interface V1Rbac.PolicyRuleOrBuilder
public V1Rbac.PolicyRule.Builder setApiGroups(int index, String value)
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;
public V1Rbac.PolicyRule.Builder addApiGroups(String value)
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;
public V1Rbac.PolicyRule.Builder addAllApiGroups(Iterable<String> values)
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;
public V1Rbac.PolicyRule.Builder 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;
public V1Rbac.PolicyRule.Builder addApiGroupsBytes(com.google.protobuf.ByteString value)
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;
public com.google.protobuf.ProtocolStringList getResourcesList()
Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional
repeated string resources = 3;
getResourcesList
in interface V1Rbac.PolicyRuleOrBuilder
public int getResourcesCount()
Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional
repeated string resources = 3;
getResourcesCount
in interface V1Rbac.PolicyRuleOrBuilder
public String getResources(int index)
Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional
repeated string resources = 3;
getResources
in interface V1Rbac.PolicyRuleOrBuilder
public com.google.protobuf.ByteString getResourcesBytes(int index)
Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional
repeated string resources = 3;
getResourcesBytes
in interface V1Rbac.PolicyRuleOrBuilder
public V1Rbac.PolicyRule.Builder setResources(int index, String value)
Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional
repeated string resources = 3;
public V1Rbac.PolicyRule.Builder addResources(String value)
Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional
repeated string resources = 3;
public V1Rbac.PolicyRule.Builder addAllResources(Iterable<String> values)
Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional
repeated string resources = 3;
public V1Rbac.PolicyRule.Builder clearResources()
Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional
repeated string resources = 3;
public V1Rbac.PolicyRule.Builder addResourcesBytes(com.google.protobuf.ByteString value)
Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional
repeated string resources = 3;
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;
getResourceNamesList
in interface V1Rbac.PolicyRuleOrBuilder
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;
getResourceNamesCount
in interface V1Rbac.PolicyRuleOrBuilder
public String getResourceNames(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;
getResourceNames
in interface V1Rbac.PolicyRuleOrBuilder
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;
getResourceNamesBytes
in interface V1Rbac.PolicyRuleOrBuilder
public V1Rbac.PolicyRule.Builder setResourceNames(int index, String value)
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;
public V1Rbac.PolicyRule.Builder addResourceNames(String value)
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;
public V1Rbac.PolicyRule.Builder addAllResourceNames(Iterable<String> values)
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;
public V1Rbac.PolicyRule.Builder 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;
public V1Rbac.PolicyRule.Builder addResourceNamesBytes(com.google.protobuf.ByteString value)
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;
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;
getNonResourceURLsList
in interface V1Rbac.PolicyRuleOrBuilder
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;
getNonResourceURLsCount
in interface V1Rbac.PolicyRuleOrBuilder
public String getNonResourceURLs(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;
getNonResourceURLs
in interface V1Rbac.PolicyRuleOrBuilder
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;
getNonResourceURLsBytes
in interface V1Rbac.PolicyRuleOrBuilder
public V1Rbac.PolicyRule.Builder setNonResourceURLs(int index, String value)
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;
public V1Rbac.PolicyRule.Builder addNonResourceURLs(String value)
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;
public V1Rbac.PolicyRule.Builder addAllNonResourceURLs(Iterable<String> values)
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;
public V1Rbac.PolicyRule.Builder 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;
public V1Rbac.PolicyRule.Builder addNonResourceURLsBytes(com.google.protobuf.ByteString value)
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;
public final V1Rbac.PolicyRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
public final V1Rbac.PolicyRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.PolicyRule.Builder>
Copyright © 2021. All rights reserved.