public static final class V1beta1Authorization.ResourceRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder> implements V1beta1Authorization.ResourceRuleOrBuilder
ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.Protobuf type
k8s.io.api.authorization.v1beta1.ResourceRule| Modifier and Type | Method and Description |
|---|---|
V1beta1Authorization.ResourceRule.Builder |
addAllApiGroups(Iterable<String> values)
APIGroups is the name of the APIGroup that contains the resources.
|
V1beta1Authorization.ResourceRule.Builder |
addAllResourceNames(Iterable<String> values)
ResourceNames is an optional white list of names that the rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
addAllResources(Iterable<String> values)
Resources is a list of resources this rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
addAllVerbs(Iterable<String> values)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.
|
V1beta1Authorization.ResourceRule.Builder |
addApiGroups(String value)
APIGroups is the name of the APIGroup that contains the resources.
|
V1beta1Authorization.ResourceRule.Builder |
addApiGroupsBytes(com.google.protobuf.ByteString value)
APIGroups is the name of the APIGroup that contains the resources.
|
V1beta1Authorization.ResourceRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Authorization.ResourceRule.Builder |
addResourceNames(String value)
ResourceNames is an optional white list of names that the rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
addResourceNamesBytes(com.google.protobuf.ByteString value)
ResourceNames is an optional white list of names that the rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
addResources(String value)
Resources is a list of resources this rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
addResourcesBytes(com.google.protobuf.ByteString value)
Resources is a list of resources this rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
addVerbs(String value)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.
|
V1beta1Authorization.ResourceRule.Builder |
addVerbsBytes(com.google.protobuf.ByteString value)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.
|
V1beta1Authorization.ResourceRule |
build() |
V1beta1Authorization.ResourceRule |
buildPartial() |
V1beta1Authorization.ResourceRule.Builder |
clear() |
V1beta1Authorization.ResourceRule.Builder |
clearApiGroups()
APIGroups is the name of the APIGroup that contains the resources.
|
V1beta1Authorization.ResourceRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Authorization.ResourceRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Authorization.ResourceRule.Builder |
clearResourceNames()
ResourceNames is an optional white list of names that the rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
clearResources()
Resources is a list of resources this rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
clearVerbs()
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.
|
V1beta1Authorization.ResourceRule.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.
|
V1beta1Authorization.ResourceRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.
|
com.google.protobuf.ByteString |
getVerbsBytes(int index)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.
|
int |
getVerbsCount()
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.
|
com.google.protobuf.ProtocolStringList |
getVerbsList()
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Authorization.ResourceRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Authorization.ResourceRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Authorization.ResourceRule.Builder |
mergeFrom(V1beta1Authorization.ResourceRule other) |
V1beta1Authorization.ResourceRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Authorization.ResourceRule.Builder |
setApiGroups(int index,
String value)
APIGroups is the name of the APIGroup that contains the resources.
|
V1beta1Authorization.ResourceRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Authorization.ResourceRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Authorization.ResourceRule.Builder |
setResourceNames(int index,
String value)
ResourceNames is an optional white list of names that the rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
setResources(int index,
String value)
Resources is a list of resources this rule applies to.
|
V1beta1Authorization.ResourceRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Authorization.ResourceRule.Builder |
setVerbs(int index,
String value)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Authorization.ResourceRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authorization.ResourceRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authorization.ResourceRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule.Builder mergeFrom(V1beta1Authorization.ResourceRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public V1beta1Authorization.ResourceRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Authorization.ResourceRule.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getVerbsList()
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
repeated string verbs = 1;getVerbsList in interface V1beta1Authorization.ResourceRuleOrBuilderpublic int getVerbsCount()
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
repeated string verbs = 1;getVerbsCount in interface V1beta1Authorization.ResourceRuleOrBuilderpublic String getVerbs(int index)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
repeated string verbs = 1;getVerbs in interface V1beta1Authorization.ResourceRuleOrBuilderpublic com.google.protobuf.ByteString getVerbsBytes(int index)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
repeated string verbs = 1;getVerbsBytes in interface V1beta1Authorization.ResourceRuleOrBuilderpublic V1beta1Authorization.ResourceRule.Builder setVerbs(int index, String value)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
repeated string verbs = 1;public V1beta1Authorization.ResourceRule.Builder addVerbs(String value)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
repeated string verbs = 1;public V1beta1Authorization.ResourceRule.Builder addAllVerbs(Iterable<String> values)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
repeated string verbs = 1;public V1beta1Authorization.ResourceRule.Builder clearVerbs()
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
repeated string verbs = 1;public V1beta1Authorization.ResourceRule.Builder addVerbsBytes(com.google.protobuf.ByteString value)
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
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. "*" means all. +optional
repeated string apiGroups = 2;getApiGroupsList in interface V1beta1Authorization.ResourceRuleOrBuilderpublic 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. "*" means all. +optional
repeated string apiGroups = 2;getApiGroupsCount in interface V1beta1Authorization.ResourceRuleOrBuilderpublic 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. "*" means all. +optional
repeated string apiGroups = 2;getApiGroups in interface V1beta1Authorization.ResourceRuleOrBuilderpublic 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. "*" means all. +optional
repeated string apiGroups = 2;getApiGroupsBytes in interface V1beta1Authorization.ResourceRuleOrBuilderpublic V1beta1Authorization.ResourceRule.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. "*" means all. +optional
repeated string apiGroups = 2;public V1beta1Authorization.ResourceRule.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. "*" means all. +optional
repeated string apiGroups = 2;public V1beta1Authorization.ResourceRule.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. "*" means all. +optional
repeated string apiGroups = 2;public V1beta1Authorization.ResourceRule.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. "*" means all. +optional
repeated string apiGroups = 2;public V1beta1Authorization.ResourceRule.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. "*" means all. +optional
repeated string apiGroups = 2;public com.google.protobuf.ProtocolStringList getResourcesList()
Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;getResourcesList in interface V1beta1Authorization.ResourceRuleOrBuilderpublic int getResourcesCount()
Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;getResourcesCount in interface V1beta1Authorization.ResourceRuleOrBuilderpublic String getResources(int index)
Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;getResources in interface V1beta1Authorization.ResourceRuleOrBuilderpublic com.google.protobuf.ByteString getResourcesBytes(int index)
Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;getResourcesBytes in interface V1beta1Authorization.ResourceRuleOrBuilderpublic V1beta1Authorization.ResourceRule.Builder setResources(int index, String value)
Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;public V1beta1Authorization.ResourceRule.Builder addResources(String value)
Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;public V1beta1Authorization.ResourceRule.Builder addAllResources(Iterable<String> values)
Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;public V1beta1Authorization.ResourceRule.Builder clearResources()
Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups. +optional
repeated string resources = 3;public V1beta1Authorization.ResourceRule.Builder addResourcesBytes(com.google.protobuf.ByteString value)
Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups. +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. "*" means all. +optional
repeated string resourceNames = 4;getResourceNamesList in interface V1beta1Authorization.ResourceRuleOrBuilderpublic int getResourceNamesCount()
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all. +optional
repeated string resourceNames = 4;getResourceNamesCount in interface V1beta1Authorization.ResourceRuleOrBuilderpublic 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. "*" means all. +optional
repeated string resourceNames = 4;getResourceNames in interface V1beta1Authorization.ResourceRuleOrBuilderpublic 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. "*" means all. +optional
repeated string resourceNames = 4;getResourceNamesBytes in interface V1beta1Authorization.ResourceRuleOrBuilderpublic V1beta1Authorization.ResourceRule.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. "*" means all. +optional
repeated string resourceNames = 4;public V1beta1Authorization.ResourceRule.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. "*" means all. +optional
repeated string resourceNames = 4;public V1beta1Authorization.ResourceRule.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. "*" means all. +optional
repeated string resourceNames = 4;public V1beta1Authorization.ResourceRule.Builder clearResourceNames()
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all. +optional
repeated string resourceNames = 4;public V1beta1Authorization.ResourceRule.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. "*" means all. +optional
repeated string resourceNames = 4;public final V1beta1Authorization.ResourceRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>public final V1beta1Authorization.ResourceRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.ResourceRule.Builder>Copyright © 2020. All rights reserved.