public static final class Rbac.Principal extends com.google.protobuf.GeneratedMessageV3 implements Rbac.PrincipalOrBuilder
Principal defines an identity or a group of identities for a downstream subject.Protobuf type
envoy.config.rbac.v2alpha.Principal| Modifier and Type | Class and Description |
|---|---|
static class |
Rbac.Principal.Authenticated
Authentication attributes for a downstream.
|
static interface |
Rbac.Principal.AuthenticatedOrBuilder |
static class |
Rbac.Principal.Builder
Principal defines an identity or a group of identities for a downstream subject.
|
static class |
Rbac.Principal.IdentifierCase |
static class |
Rbac.Principal.Set
Used in the `and_ids` and `or_ids` fields in the `identifier` oneof.
|
static interface |
Rbac.Principal.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_IDS_FIELD_NUMBER |
static int |
ANY_FIELD_NUMBER |
static int |
AUTHENTICATED_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
NOT_ID_FIELD_NUMBER |
static int |
OR_IDS_FIELD_NUMBER |
static int |
SOURCE_IP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Rbac.Principal.Set |
getAndIds()
A set of identifiers that all must match in order to define the downstream.
|
Rbac.Principal.SetOrBuilder |
getAndIdsOrBuilder()
A set of identifiers that all must match in order to define the downstream.
|
boolean |
getAny()
When any is set, it matches any downstream.
|
Rbac.Principal.Authenticated |
getAuthenticated()
Authenticated attributes that identify the downstream.
|
Rbac.Principal.AuthenticatedOrBuilder |
getAuthenticatedOrBuilder()
Authenticated attributes that identify the downstream.
|
static Rbac.Principal |
getDefaultInstance() |
Rbac.Principal |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
Rbac.Principal.IdentifierCase |
getIdentifierCase() |
Metadata.MetadataMatcher |
getMetadata()
Metadata that describes additional information about the principal.
|
Metadata.MetadataMatcherOrBuilder |
getMetadataOrBuilder()
Metadata that describes additional information about the principal.
|
Rbac.Principal |
getNotId()
Negates matching the provided principal.
|
Rbac.PrincipalOrBuilder |
getNotIdOrBuilder()
Negates matching the provided principal.
|
Rbac.Principal.Set |
getOrIds()
A set of identifiers at least one must match in order to define the downstream.
|
Rbac.Principal.SetOrBuilder |
getOrIdsOrBuilder()
A set of identifiers at least one must match in order to define the downstream.
|
com.google.protobuf.Parser<Rbac.Principal> |
getParserForType() |
int |
getSerializedSize() |
AddressOuterClass.CidrRange |
getSourceIp()
A CIDR block that describes the downstream IP.
|
AddressOuterClass.CidrRangeOrBuilder |
getSourceIpOrBuilder()
A CIDR block that describes the downstream IP.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAndIds()
A set of identifiers that all must match in order to define the downstream.
|
boolean |
hasAuthenticated()
Authenticated attributes that identify the downstream.
|
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 principal.
|
boolean |
hasNotId()
Negates matching the provided principal.
|
boolean |
hasOrIds()
A set of identifiers at least one must match in order to define the downstream.
|
boolean |
hasSourceIp()
A CIDR block that describes the downstream IP.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Rbac.Principal.Builder |
newBuilder() |
static Rbac.Principal.Builder |
newBuilder(Rbac.Principal prototype) |
Rbac.Principal.Builder |
newBuilderForType() |
protected Rbac.Principal.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Rbac.Principal |
parseDelimitedFrom(InputStream input) |
static Rbac.Principal |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Principal |
parseFrom(byte[] data) |
static Rbac.Principal |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Principal |
parseFrom(ByteBuffer data) |
static Rbac.Principal |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Principal |
parseFrom(com.google.protobuf.ByteString data) |
static Rbac.Principal |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Principal |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Rbac.Principal |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rbac.Principal |
parseFrom(InputStream input) |
static Rbac.Principal |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Rbac.Principal> |
parser() |
Rbac.Principal.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_IDS_FIELD_NUMBER
public static final int OR_IDS_FIELD_NUMBER
public static final int ANY_FIELD_NUMBER
public static final int AUTHENTICATED_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int NOT_ID_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.Principal.IdentifierCase getIdentifierCase()
getIdentifierCase in interface Rbac.PrincipalOrBuilderpublic boolean hasAndIds()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2alpha.Principal.Set and_ids = 1;hasAndIds in interface Rbac.PrincipalOrBuilderpublic Rbac.Principal.Set getAndIds()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2alpha.Principal.Set and_ids = 1;getAndIds in interface Rbac.PrincipalOrBuilderpublic Rbac.Principal.SetOrBuilder getAndIdsOrBuilder()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2alpha.Principal.Set and_ids = 1;getAndIdsOrBuilder in interface Rbac.PrincipalOrBuilderpublic boolean hasOrIds()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2alpha.Principal.Set or_ids = 2;hasOrIds in interface Rbac.PrincipalOrBuilderpublic Rbac.Principal.Set getOrIds()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2alpha.Principal.Set or_ids = 2;getOrIds in interface Rbac.PrincipalOrBuilderpublic Rbac.Principal.SetOrBuilder getOrIdsOrBuilder()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2alpha.Principal.Set or_ids = 2;getOrIdsOrBuilder in interface Rbac.PrincipalOrBuilderpublic boolean getAny()
When any is set, it matches any downstream.
bool any = 3 [(.validate.rules) = { ... }getAny in interface Rbac.PrincipalOrBuilderpublic boolean hasAuthenticated()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2alpha.Principal.Authenticated authenticated = 4;hasAuthenticated in interface Rbac.PrincipalOrBuilderpublic Rbac.Principal.Authenticated getAuthenticated()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2alpha.Principal.Authenticated authenticated = 4;getAuthenticated in interface Rbac.PrincipalOrBuilderpublic Rbac.Principal.AuthenticatedOrBuilder getAuthenticatedOrBuilder()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2alpha.Principal.Authenticated authenticated = 4;getAuthenticatedOrBuilder in interface Rbac.PrincipalOrBuilderpublic boolean hasSourceIp()
A CIDR block that describes the downstream IP.
.envoy.api.v2.core.CidrRange source_ip = 5;hasSourceIp in interface Rbac.PrincipalOrBuilderpublic AddressOuterClass.CidrRange getSourceIp()
A CIDR block that describes the downstream IP.
.envoy.api.v2.core.CidrRange source_ip = 5;getSourceIp in interface Rbac.PrincipalOrBuilderpublic AddressOuterClass.CidrRangeOrBuilder getSourceIpOrBuilder()
A CIDR block that describes the downstream IP.
.envoy.api.v2.core.CidrRange source_ip = 5;getSourceIpOrBuilder in interface Rbac.PrincipalOrBuilderpublic 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 = 6;hasHeader in interface Rbac.PrincipalOrBuilderpublic 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 = 6;getHeader in interface Rbac.PrincipalOrBuilderpublic 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 = 6;getHeaderOrBuilder in interface Rbac.PrincipalOrBuilderpublic boolean hasMetadata()
Metadata that describes additional information about the principal. Only available for HTTP request.
.envoy.type.matcher.MetadataMatcher metadata = 7;hasMetadata in interface Rbac.PrincipalOrBuilderpublic Metadata.MetadataMatcher getMetadata()
Metadata that describes additional information about the principal. Only available for HTTP request.
.envoy.type.matcher.MetadataMatcher metadata = 7;getMetadata in interface Rbac.PrincipalOrBuilderpublic Metadata.MetadataMatcherOrBuilder getMetadataOrBuilder()
Metadata that describes additional information about the principal. Only available for HTTP request.
.envoy.type.matcher.MetadataMatcher metadata = 7;getMetadataOrBuilder in interface Rbac.PrincipalOrBuilderpublic boolean hasNotId()
Negates matching the provided principal. For instance, if the value of `not_id` would match, this principal would not match. Conversely, if the value of `not_id` would not match, this principal would match.
.envoy.config.rbac.v2alpha.Principal not_id = 8;hasNotId in interface Rbac.PrincipalOrBuilderpublic Rbac.Principal getNotId()
Negates matching the provided principal. For instance, if the value of `not_id` would match, this principal would not match. Conversely, if the value of `not_id` would not match, this principal would match.
.envoy.config.rbac.v2alpha.Principal not_id = 8;getNotId in interface Rbac.PrincipalOrBuilderpublic Rbac.PrincipalOrBuilder getNotIdOrBuilder()
Negates matching the provided principal. For instance, if the value of `not_id` would match, this principal would not match. Conversely, if the value of `not_id` would not match, this principal would match.
.envoy.config.rbac.v2alpha.Principal not_id = 8;getNotIdOrBuilder in interface Rbac.PrincipalOrBuilderpublic 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.Principal parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Principal parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Principal parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Principal parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Principal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Principal parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rbac.Principal parseFrom(InputStream input) throws IOException
IOExceptionpublic static Rbac.Principal parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rbac.Principal parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Rbac.Principal parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rbac.Principal parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Rbac.Principal parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Rbac.Principal.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Rbac.Principal.Builder newBuilder()
public static Rbac.Principal.Builder newBuilder(Rbac.Principal prototype)
public Rbac.Principal.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Rbac.Principal.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Rbac.Principal getDefaultInstance()
public static com.google.protobuf.Parser<Rbac.Principal> parser()
public com.google.protobuf.Parser<Rbac.Principal> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Rbac.Principal getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.