public static final class V1Authorization.ResourceRule extends com.google.protobuf.GeneratedMessageV3 implements V1Authorization.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.v1.ResourceRule| Modifier and Type | Class and Description |
|---|---|
static class |
V1Authorization.ResourceRule.Builder
ResourceRule is the list of actions the subject is allowed to perform on resources.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APIGROUPS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Authorization.ResourceRule> |
PARSER
Deprecated.
|
static int |
RESOURCENAMES_FIELD_NUMBER |
static int |
RESOURCES_FIELD_NUMBER |
static int |
VERBS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static V1Authorization.ResourceRule |
getDefaultInstance() |
V1Authorization.ResourceRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<V1Authorization.ResourceRule> |
getParserForType() |
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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1Authorization.ResourceRule.Builder |
newBuilder() |
static V1Authorization.ResourceRule.Builder |
newBuilder(V1Authorization.ResourceRule prototype) |
V1Authorization.ResourceRule.Builder |
newBuilderForType() |
protected V1Authorization.ResourceRule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Authorization.ResourceRule |
parseDelimitedFrom(InputStream input) |
static V1Authorization.ResourceRule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.ResourceRule |
parseFrom(byte[] data) |
static V1Authorization.ResourceRule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.ResourceRule |
parseFrom(ByteBuffer data) |
static V1Authorization.ResourceRule |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.ResourceRule |
parseFrom(com.google.protobuf.ByteString data) |
static V1Authorization.ResourceRule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.ResourceRule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Authorization.ResourceRule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.ResourceRule |
parseFrom(InputStream input) |
static V1Authorization.ResourceRule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Authorization.ResourceRule> |
parser() |
V1Authorization.ResourceRule.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERBS_FIELD_NUMBER
public static final int APIGROUPS_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
public static final int RESOURCENAMES_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Authorization.ResourceRule> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 V1Authorization.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 V1Authorization.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 V1Authorization.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 V1Authorization.ResourceRuleOrBuilderpublic 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 V1Authorization.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 V1Authorization.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 V1Authorization.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 V1Authorization.ResourceRuleOrBuilderpublic 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 V1Authorization.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 V1Authorization.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 V1Authorization.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 V1Authorization.ResourceRuleOrBuilderpublic 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 V1Authorization.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 V1Authorization.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 V1Authorization.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 V1Authorization.ResourceRuleOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1Authorization.ResourceRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.ResourceRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.ResourceRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.ResourceRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.ResourceRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.ResourceRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.ResourceRule parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Authorization.ResourceRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Authorization.ResourceRule parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Authorization.ResourceRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Authorization.ResourceRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Authorization.ResourceRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Authorization.ResourceRule.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Authorization.ResourceRule.Builder newBuilder()
public static V1Authorization.ResourceRule.Builder newBuilder(V1Authorization.ResourceRule prototype)
public V1Authorization.ResourceRule.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Authorization.ResourceRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Authorization.ResourceRule getDefaultInstance()
public static com.google.protobuf.Parser<V1Authorization.ResourceRule> parser()
public com.google.protobuf.Parser<V1Authorization.ResourceRule> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Authorization.ResourceRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.