Class Principal
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.rbac.v2.Principal
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PrincipalOrBuilder,Serializable
public final class Principal extends com.google.protobuf.GeneratedMessageV3 implements PrincipalOrBuilder
Principal defines an identity or a group of identities for a downstream subject. [#next-free-field: 12]
Protobuf typeenvoy.config.rbac.v2.Principal- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrincipal.AuthenticatedAuthentication attributes for a downstream.static interfacePrincipal.AuthenticatedOrBuilderstatic classPrincipal.BuilderPrincipal defines an identity or a group of identities for a downstream subject.static classPrincipal.IdentifierCasestatic classPrincipal.SetUsed in the `and_ids` and `or_ids` fields in the `identifier` oneof.static interfacePrincipal.SetOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAND_IDS_FIELD_NUMBERstatic intANY_FIELD_NUMBERstatic intAUTHENTICATED_FIELD_NUMBERstatic intDIRECT_REMOTE_IP_FIELD_NUMBERstatic intHEADER_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intNOT_ID_FIELD_NUMBERstatic intOR_IDS_FIELD_NUMBERstatic intREMOTE_IP_FIELD_NUMBERstatic intSOURCE_IP_FIELD_NUMBERstatic intURL_PATH_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)Principal.SetgetAndIds()A set of identifiers that all must match in order to define the downstream.Principal.SetOrBuildergetAndIdsOrBuilder()A set of identifiers that all must match in order to define the downstream.booleangetAny()When any is set, it matches any downstream.Principal.AuthenticatedgetAuthenticated()Authenticated attributes that identify the downstream.Principal.AuthenticatedOrBuildergetAuthenticatedOrBuilder()Authenticated attributes that identify the downstream.static PrincipalgetDefaultInstance()PrincipalgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()CidrRangegetDirectRemoteIp()A CIDR block that describes the downstream remote/origin address.CidrRangeOrBuildergetDirectRemoteIpOrBuilder()A CIDR block that describes the downstream remote/origin address.HeaderMatchergetHeader()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.HeaderMatcherOrBuildergetHeaderOrBuilder()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Principal.IdentifierCasegetIdentifierCase()MetadataMatchergetMetadata()Metadata that describes additional information about the principal.MetadataMatcherOrBuildergetMetadataOrBuilder()Metadata that describes additional information about the principal.PrincipalgetNotId()Negates matching the provided principal.PrincipalOrBuildergetNotIdOrBuilder()Negates matching the provided principal.Principal.SetgetOrIds()A set of identifiers at least one must match in order to define the downstream.Principal.SetOrBuildergetOrIdsOrBuilder()A set of identifiers at least one must match in order to define the downstream.com.google.protobuf.Parser<Principal>getParserForType()CidrRangegetRemoteIp()A CIDR block that describes the downstream remote/origin address.CidrRangeOrBuildergetRemoteIpOrBuilder()A CIDR block that describes the downstream remote/origin address.intgetSerializedSize()CidrRangegetSourceIp()Deprecated.envoy.config.rbac.v2.Principal.source_ip is deprecated.CidrRangeOrBuildergetSourceIpOrBuilder()Deprecated.com.google.protobuf.UnknownFieldSetgetUnknownFields()PathMatchergetUrlPath()A URL path on the incoming HTTP request.PathMatcherOrBuildergetUrlPathOrBuilder()A URL path on the incoming HTTP request.booleanhasAndIds()A set of identifiers that all must match in order to define the downstream.booleanhasAny()When any is set, it matches any downstream.booleanhasAuthenticated()Authenticated attributes that identify the downstream.booleanhasDirectRemoteIp()A CIDR block that describes the downstream remote/origin address.inthashCode()booleanhasHeader()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.booleanhasMetadata()Metadata that describes additional information about the principal.booleanhasNotId()Negates matching the provided principal.booleanhasOrIds()A set of identifiers at least one must match in order to define the downstream.booleanhasRemoteIp()A CIDR block that describes the downstream remote/origin address.booleanhasSourceIp()Deprecated.envoy.config.rbac.v2.Principal.source_ip is deprecated.booleanhasUrlPath()A URL path on the incoming HTTP request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Principal.BuildernewBuilder()static Principal.BuildernewBuilder(Principal prototype)Principal.BuildernewBuilderForType()protected Principal.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PrincipalparseDelimitedFrom(InputStream input)static PrincipalparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PrincipalparseFrom(byte[] data)static PrincipalparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PrincipalparseFrom(com.google.protobuf.ByteString data)static PrincipalparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PrincipalparseFrom(com.google.protobuf.CodedInputStream input)static PrincipalparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PrincipalparseFrom(InputStream input)static PrincipalparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PrincipalparseFrom(ByteBuffer data)static PrincipalparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Principal>parser()Principal.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
AND_IDS_FIELD_NUMBER
public static final int AND_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OR_IDS_FIELD_NUMBER
public static final int OR_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANY_FIELD_NUMBER
public static final int ANY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHENTICATED_FIELD_NUMBER
public static final int AUTHENTICATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_IP_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIRECT_REMOTE_IP_FIELD_NUMBER
public static final int DIRECT_REMOTE_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_IP_FIELD_NUMBER
public static final int REMOTE_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_PATH_FIELD_NUMBER
public static final int URL_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOT_ID_FIELD_NUMBER
public static final int NOT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getIdentifierCase
public Principal.IdentifierCase getIdentifierCase()
- Specified by:
getIdentifierCasein interfacePrincipalOrBuilder
-
hasAndIds
public boolean hasAndIds()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set and_ids = 1;- Specified by:
hasAndIdsin interfacePrincipalOrBuilder- Returns:
- Whether the andIds field is set.
-
getAndIds
public Principal.Set getAndIds()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set and_ids = 1;- Specified by:
getAndIdsin interfacePrincipalOrBuilder- Returns:
- The andIds.
-
getAndIdsOrBuilder
public Principal.SetOrBuilder getAndIdsOrBuilder()
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set and_ids = 1;- Specified by:
getAndIdsOrBuilderin interfacePrincipalOrBuilder
-
hasOrIds
public boolean hasOrIds()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set or_ids = 2;- Specified by:
hasOrIdsin interfacePrincipalOrBuilder- Returns:
- Whether the orIds field is set.
-
getOrIds
public Principal.Set getOrIds()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set or_ids = 2;- Specified by:
getOrIdsin interfacePrincipalOrBuilder- Returns:
- The orIds.
-
getOrIdsOrBuilder
public Principal.SetOrBuilder getOrIdsOrBuilder()
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v2.Principal.Set or_ids = 2;- Specified by:
getOrIdsOrBuilderin interfacePrincipalOrBuilder
-
hasAny
public boolean hasAny()
When any is set, it matches any downstream.
bool any = 3 [(.validate.rules) = { ... }- Specified by:
hasAnyin interfacePrincipalOrBuilder- Returns:
- Whether the any field is set.
-
getAny
public boolean getAny()
When any is set, it matches any downstream.
bool any = 3 [(.validate.rules) = { ... }- Specified by:
getAnyin interfacePrincipalOrBuilder- Returns:
- The any.
-
hasAuthenticated
public boolean hasAuthenticated()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;- Specified by:
hasAuthenticatedin interfacePrincipalOrBuilder- Returns:
- Whether the authenticated field is set.
-
getAuthenticated
public Principal.Authenticated getAuthenticated()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;- Specified by:
getAuthenticatedin interfacePrincipalOrBuilder- Returns:
- The authenticated.
-
getAuthenticatedOrBuilder
public Principal.AuthenticatedOrBuilder getAuthenticatedOrBuilder()
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v2.Principal.Authenticated authenticated = 4;- Specified by:
getAuthenticatedOrBuilderin interfacePrincipalOrBuilder
-
hasSourceIp
@Deprecated public boolean hasSourceIp()
Deprecated.envoy.config.rbac.v2.Principal.source_ip is deprecated. See envoy/config/rbac/v2/rbac.proto;l=208A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];- Specified by:
hasSourceIpin interfacePrincipalOrBuilder- Returns:
- Whether the sourceIp field is set.
-
getSourceIp
@Deprecated public CidrRange getSourceIp()
Deprecated.envoy.config.rbac.v2.Principal.source_ip is deprecated. See envoy/config/rbac/v2/rbac.proto;l=208A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];- Specified by:
getSourceIpin interfacePrincipalOrBuilder- Returns:
- The sourceIp.
-
getSourceIpOrBuilder
@Deprecated public CidrRangeOrBuilder getSourceIpOrBuilder()
Deprecated.A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF.
.envoy.api.v2.core.CidrRange source_ip = 5 [deprecated = true];- Specified by:
getSourceIpOrBuilderin interfacePrincipalOrBuilder
-
hasDirectRemoteIp
public boolean hasDirectRemoteIp()
A CIDR block that describes the downstream remote/origin address. Note: This is always the physical peer even if the :ref:`remote_ip <envoy_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;- Specified by:
hasDirectRemoteIpin interfacePrincipalOrBuilder- Returns:
- Whether the directRemoteIp field is set.
-
getDirectRemoteIp
public CidrRange getDirectRemoteIp()
A CIDR block that describes the downstream remote/origin address. Note: This is always the physical peer even if the :ref:`remote_ip <envoy_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;- Specified by:
getDirectRemoteIpin interfacePrincipalOrBuilder- Returns:
- The directRemoteIp.
-
getDirectRemoteIpOrBuilder
public CidrRangeOrBuilder getDirectRemoteIpOrBuilder()
A CIDR block that describes the downstream remote/origin address. Note: This is always the physical peer even if the :ref:`remote_ip <envoy_api_field_config.rbac.v2.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange direct_remote_ip = 10;- Specified by:
getDirectRemoteIpOrBuilderin interfacePrincipalOrBuilder
-
hasRemoteIp
public boolean hasRemoteIp()
A CIDR block that describes the downstream remote/origin address. Note: This may not be the physical peer and could be different from the :ref:`direct_remote_ip <envoy_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;- Specified by:
hasRemoteIpin interfacePrincipalOrBuilder- Returns:
- Whether the remoteIp field is set.
-
getRemoteIp
public CidrRange getRemoteIp()
A CIDR block that describes the downstream remote/origin address. Note: This may not be the physical peer and could be different from the :ref:`direct_remote_ip <envoy_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;- Specified by:
getRemoteIpin interfacePrincipalOrBuilder- Returns:
- The remoteIp.
-
getRemoteIpOrBuilder
public CidrRangeOrBuilder getRemoteIpOrBuilder()
A CIDR block that describes the downstream remote/origin address. Note: This may not be the physical peer and could be different from the :ref:`direct_remote_ip <envoy_api_field_config.rbac.v2.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.api.v2.core.CidrRange remote_ip = 11;- Specified by:
getRemoteIpOrBuilderin interfacePrincipalOrBuilder
-
hasHeader
public boolean hasHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request. Note: the pseudo-header :path includes the query and fragment string. Use the `url_path` field if you want to match the URL path without the query and fragment string.
.envoy.api.v2.route.HeaderMatcher header = 6;- Specified by:
hasHeaderin interfacePrincipalOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
public HeaderMatcher getHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request. Note: the pseudo-header :path includes the query and fragment string. Use the `url_path` field if you want to match the URL path without the query and fragment string.
.envoy.api.v2.route.HeaderMatcher header = 6;- Specified by:
getHeaderin interfacePrincipalOrBuilder- Returns:
- The header.
-
getHeaderOrBuilder
public HeaderMatcherOrBuilder getHeaderOrBuilder()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request. Note: the pseudo-header :path includes the query and fragment string. Use the `url_path` field if you want to match the URL path without the query and fragment string.
.envoy.api.v2.route.HeaderMatcher header = 6;- Specified by:
getHeaderOrBuilderin interfacePrincipalOrBuilder
-
hasUrlPath
public boolean hasUrlPath()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.PathMatcher url_path = 9;- Specified by:
hasUrlPathin interfacePrincipalOrBuilder- Returns:
- Whether the urlPath field is set.
-
getUrlPath
public PathMatcher getUrlPath()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.PathMatcher url_path = 9;- Specified by:
getUrlPathin interfacePrincipalOrBuilder- Returns:
- The urlPath.
-
getUrlPathOrBuilder
public PathMatcherOrBuilder getUrlPathOrBuilder()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.PathMatcher url_path = 9;- Specified by:
getUrlPathOrBuilderin interfacePrincipalOrBuilder
-
hasMetadata
public boolean hasMetadata()
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;- Specified by:
hasMetadatain interfacePrincipalOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public MetadataMatcher getMetadata()
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;- Specified by:
getMetadatain interfacePrincipalOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public MetadataMatcherOrBuilder getMetadataOrBuilder()
Metadata that describes additional information about the principal.
.envoy.type.matcher.MetadataMatcher metadata = 7;- Specified by:
getMetadataOrBuilderin interfacePrincipalOrBuilder
-
hasNotId
public 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.v2.Principal not_id = 8;- Specified by:
hasNotIdin interfacePrincipalOrBuilder- Returns:
- Whether the notId field is set.
-
getNotId
public 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.v2.Principal not_id = 8;- Specified by:
getNotIdin interfacePrincipalOrBuilder- Returns:
- The notId.
-
getNotIdOrBuilder
public 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.v2.Principal not_id = 8;- Specified by:
getNotIdOrBuilderin interfacePrincipalOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Principal parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Principal parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Principal parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Principal parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Principal parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Principal.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Principal.Builder newBuilder()
-
newBuilder
public static Principal.Builder newBuilder(Principal prototype)
-
toBuilder
public Principal.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Principal.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Principal getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Principal> parser()
-
getParserForType
public com.google.protobuf.Parser<Principal> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Principal getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-