public static final class Rbac.Permission extends com.google.protobuf.GeneratedMessageV3 implements Rbac.PermissionOrBuilder
Permission defines an action (or actions) that a principal can take.Protobuf type
envoy.config.rbac.v2alpha.Permission| Modifier and Type | Class and Description |
|---|---|
static class |
Rbac.Permission.Builder
Permission defines an action (or actions) that a principal can take.
|
static class |
Rbac.Permission.RuleCase |
static class |
Rbac.Permission.Set
Used in the `and_rules` and `or_rules` fields in the `rule` oneof.
|
static interface |
Rbac.Permission.SetOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
AND_RULES_FIELD_NUMBER |
static int |
ANY_FIELD_NUMBER |
static int |
DESTINATION_IP_FIELD_NUMBER |
static int |
DESTINATION_PORT_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
NOT_RULE_FIELD_NUMBER |
static int |
OR_RULES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Rbac.Permission.Set |
getAndRules()
A set of rules that all must match in order to define the action.
|
Rbac.Permission.SetOrBuilder |
getAndRulesOrBuilder()
A set of rules that all must match in order to define the action.
|
boolean |
getAny()
When any is set, it matches any action.
|
static Rbac.Permission |
getDefaultInstance() |
Rbac.Permission |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AddressOuterClass.CidrRange |
getDestinationIp()
A CIDR block that describes the destination IP.
|
AddressOuterClass.CidrRangeOrBuilder |
getDestinationIpOrBuilder()
A CIDR block that describes the destination IP.
|
int |
getDestinationPort()
A port number that describes the destination port connecting to.
|
RouteOuterClass.HeaderMatcher |
getHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.
|
RouteOuterClass.HeaderMatcherOrBuilder |
getHeaderOrBuilder()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.
|
Metadata.MetadataMatcher |
getMetadata()
Metadata that describes additional information about the action.
|
Metadata.MetadataMatcherOrBuilder |
getMetadataOrBuilder()
Metadata that describes additional information about the action.
|
Rbac.Permission |
getNotRule()
Negates matching the provided permission.
|
Rbac.PermissionOrBuilder |
getNotRuleOrBuilder()
Negates matching the provided permission.
|
Rbac.Permission.Set |
getOrRules()
A set of rules where at least one must match in order to define the action.
|
Rbac.Permission.SetOrBuilder |
getOrRulesOrBuilder()
A set of rules where at least one must match in order to define the action.
|
com.google.protobuf.Parser<Rbac.Permission> |
getParserForType() |
Rbac.Permission.RuleCase |
getRuleCase() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAndRules()
A set of rules that all must match in order to define the action.
|
boolean |
hasDestinationIp()
A CIDR block that describes the destination IP.
|
int |
hashCode() |
boolean |
hasHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.
|
boolean |
hasMetadata()
Metadata that describes additional information about the action.
|
boolean |
hasNotRule()
Negates matching the provided permission.
|
boolean |
hasOrRules()
A set of rules where at least one must match in order to define the action.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Rbac.Permission.Builder |
newBuilder() |
static Rbac.Permission.Builder |
newBuilder(Rbac.Permission prototype) |
Rbac.Permission.Builder |
newBuilderForType() |
protected Rbac.Permission.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Rbac.Permission |
parseDelimitedFrom(InputStream input) |
static Rbac.Permission |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Permission |
parseFrom(byte[] data) |
static Rbac.Permission |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Permission |
parseFrom(ByteBuffer data) |
static Rbac.Permission |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Permission |
parseFrom(com.google.protobuf.ByteString data) |
static Rbac.Permission |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Permission |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Rbac.Permission |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Permission |
parseFrom(InputStream input) |
static Rbac.Permission |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Rbac.Permission> |
parser() |
Rbac.Permission.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 AND_RULES_FIELD_NUMBER
public static final int OR_RULES_FIELD_NUMBER
public static final int ANY_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
public static final int DESTINATION_IP_FIELD_NUMBER
public static final int DESTINATION_PORT_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int NOT_RULE_FIELD_NUMBER
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 Rbac.Permission.RuleCase getRuleCase()
getRuleCase in interface Rbac.PermissionOrBuilderpublic boolean hasAndRules()
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v2alpha.Permission.Set and_rules = 1;hasAndRules in interface Rbac.PermissionOrBuilderpublic Rbac.Permission.Set getAndRules()
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v2alpha.Permission.Set and_rules = 1;getAndRules in interface Rbac.PermissionOrBuilderpublic Rbac.Permission.SetOrBuilder getAndRulesOrBuilder()
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v2alpha.Permission.Set and_rules = 1;getAndRulesOrBuilder in interface Rbac.PermissionOrBuilderpublic boolean hasOrRules()
A set of rules where at least one must match in order to define the action.
.envoy.config.rbac.v2alpha.Permission.Set or_rules = 2;hasOrRules in interface Rbac.PermissionOrBuilderpublic Rbac.Permission.Set getOrRules()
A set of rules where at least one must match in order to define the action.
.envoy.config.rbac.v2alpha.Permission.Set or_rules = 2;getOrRules in interface Rbac.PermissionOrBuilderpublic Rbac.Permission.SetOrBuilder getOrRulesOrBuilder()
A set of rules where at least one must match in order to define the action.
.envoy.config.rbac.v2alpha.Permission.Set or_rules = 2;getOrRulesOrBuilder in interface Rbac.PermissionOrBuilderpublic boolean getAny()
When any is set, it matches any action.
bool any = 3 [(.validate.rules) = { ... }getAny in interface Rbac.PermissionOrBuilderpublic boolean hasHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request.
.envoy.api.v2.route.HeaderMatcher header = 4;hasHeader in interface Rbac.PermissionOrBuilderpublic RouteOuterClass.HeaderMatcher getHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request.
.envoy.api.v2.route.HeaderMatcher header = 4;getHeader in interface Rbac.PermissionOrBuilderpublic RouteOuterClass.HeaderMatcherOrBuilder getHeaderOrBuilder()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request.
.envoy.api.v2.route.HeaderMatcher header = 4;getHeaderOrBuilder in interface Rbac.PermissionOrBuilderpublic boolean hasDestinationIp()
A CIDR block that describes the destination IP.
.envoy.api.v2.core.CidrRange destination_ip = 5;hasDestinationIp in interface Rbac.PermissionOrBuilderpublic AddressOuterClass.CidrRange getDestinationIp()
A CIDR block that describes the destination IP.
.envoy.api.v2.core.CidrRange destination_ip = 5;getDestinationIp in interface Rbac.PermissionOrBuilderpublic AddressOuterClass.CidrRangeOrBuilder getDestinationIpOrBuilder()
A CIDR block that describes the destination IP.
.envoy.api.v2.core.CidrRange destination_ip = 5;getDestinationIpOrBuilder in interface Rbac.PermissionOrBuilderpublic int getDestinationPort()
A port number that describes the destination port connecting to.
uint32 destination_port = 6 [(.validate.rules) = { ... }getDestinationPort in interface Rbac.PermissionOrBuilderpublic boolean hasMetadata()
Metadata that describes additional information about the action. Only available for HTTP request.
.envoy.type.matcher.MetadataMatcher metadata = 7;hasMetadata in interface Rbac.PermissionOrBuilderpublic Metadata.MetadataMatcher getMetadata()
Metadata that describes additional information about the action. Only available for HTTP request.
.envoy.type.matcher.MetadataMatcher metadata = 7;getMetadata in interface Rbac.PermissionOrBuilderpublic Metadata.MetadataMatcherOrBuilder getMetadataOrBuilder()
Metadata that describes additional information about the action. Only available for HTTP request.
.envoy.type.matcher.MetadataMatcher metadata = 7;getMetadataOrBuilder in interface Rbac.PermissionOrBuilderpublic boolean hasNotRule()
Negates matching the provided permission. For instance, if the value of `not_rule` would match, this permission would not match. Conversely, if the value of `not_rule` would not match, this permission would match.
.envoy.config.rbac.v2alpha.Permission not_rule = 8;hasNotRule in interface Rbac.PermissionOrBuilderpublic Rbac.Permission getNotRule()
Negates matching the provided permission. For instance, if the value of `not_rule` would match, this permission would not match. Conversely, if the value of `not_rule` would not match, this permission would match.
.envoy.config.rbac.v2alpha.Permission not_rule = 8;getNotRule in interface Rbac.PermissionOrBuilderpublic Rbac.PermissionOrBuilder getNotRuleOrBuilder()
Negates matching the provided permission. For instance, if the value of `not_rule` would match, this permission would not match. Conversely, if the value of `not_rule` would not match, this permission would match.
.envoy.config.rbac.v2alpha.Permission not_rule = 8;getNotRuleOrBuilder in interface Rbac.PermissionOrBuilderpublic 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 Rbac.Permission parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Permission parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Permission parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Permission parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Permission parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Permission parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Permission parseFrom(InputStream input) throws IOException
IOExceptionpublic static Rbac.Permission parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rbac.Permission parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Rbac.Permission parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rbac.Permission parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Rbac.Permission parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Rbac.Permission.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Rbac.Permission.Builder newBuilder()
public static Rbac.Permission.Builder newBuilder(Rbac.Permission prototype)
public Rbac.Permission.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Rbac.Permission.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Rbac.Permission getDefaultInstance()
public static com.google.protobuf.Parser<Rbac.Permission> parser()
public com.google.protobuf.Parser<Rbac.Permission> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Rbac.Permission getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.