Class Principal
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.rbac.v3.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.GeneratedMessage
implements PrincipalOrBuilder
Principal defines an identity or a group of identities for a downstream subject. [#next-free-field: 13]Protobuf type
envoy.config.rbac.v3.Principal
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Authentication attributes for a downstream.static interface
static final class
Principal defines an identity or a group of identities for a downstream subject.static enum
static final class
Used in the ``and_ids`` and ``or_ids`` fields in the ``identifier`` oneof.static interface
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
private static final Principal
static final int
static final int
static final int
private Object
private int
private byte
static final int
static final int
static final int
private static final com.google.protobuf.Parser
<Principal> static final int
private static final long
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
A set of identifiers that all must match in order to define the downstream.A set of identifiers that all must match in order to define the downstream.boolean
getAny()
When any is set, it matches any downstream.Authenticated attributes that identify the downstream.Authenticated attributes that identify the downstream.static Principal
static final com.google.protobuf.Descriptors.Descriptor
A CIDR block that describes the downstream remote/origin address.A CIDR block that describes the downstream remote/origin address.Identifies the principal using a filter state object.Identifies the principal using a filter state object.A header (or pseudo-header such as :path or :method) on the incoming HTTP request.A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Metadata that describes additional information about the principal.Metadata that describes additional information about the principal.getNotId()
Negates matching the provided principal.Negates matching the provided principal.getOrIds()
A set of identifiers at least one must match in order to define the downstream.A set of identifiers at least one must match in order to define the downstream.com.google.protobuf.Parser
<Principal> A CIDR block that describes the downstream remote/origin address.A CIDR block that describes the downstream remote/origin address.int
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated.Deprecated.A URL path on the incoming HTTP request.A URL path on the incoming HTTP request.boolean
A set of identifiers that all must match in order to define the downstream.boolean
hasAny()
When any is set, it matches any downstream.boolean
Authenticated attributes that identify the downstream.boolean
A CIDR block that describes the downstream remote/origin address.boolean
Identifies the principal using a filter state object.int
hashCode()
boolean
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.boolean
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
A CIDR block that describes the downstream remote/origin address.boolean
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated.boolean
A URL path on the incoming HTTP request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
static Principal.Builder
static Principal.Builder
newBuilder
(Principal prototype) protected Principal.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static Principal
parseDelimitedFrom
(InputStream input) static Principal
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Principal
parseFrom
(byte[] data) static Principal
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Principal
parseFrom
(com.google.protobuf.ByteString data) static Principal
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Principal
parseFrom
(com.google.protobuf.CodedInputStream input) static Principal
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Principal
parseFrom
(InputStream input) static Principal
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Principal
parseFrom
(ByteBuffer data) static Principal
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<Principal> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
identifierCase_
private int identifierCase_ -
identifier_
-
AND_IDS_FIELD_NUMBER
public static final int AND_IDS_FIELD_NUMBER- See Also:
-
OR_IDS_FIELD_NUMBER
public static final int OR_IDS_FIELD_NUMBER- See Also:
-
ANY_FIELD_NUMBER
public static final int ANY_FIELD_NUMBER- See Also:
-
AUTHENTICATED_FIELD_NUMBER
public static final int AUTHENTICATED_FIELD_NUMBER- See Also:
-
SOURCE_IP_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER- See Also:
-
DIRECT_REMOTE_IP_FIELD_NUMBER
public static final int DIRECT_REMOTE_IP_FIELD_NUMBER- See Also:
-
REMOTE_IP_FIELD_NUMBER
public static final int REMOTE_IP_FIELD_NUMBER- See Also:
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
URL_PATH_FIELD_NUMBER
public static final int URL_PATH_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
FILTER_STATE_FIELD_NUMBER
public static final int FILTER_STATE_FIELD_NUMBER- See Also:
-
NOT_ID_FIELD_NUMBER
public static final int NOT_ID_FIELD_NUMBER- See Also:
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
Principal
private Principal(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Principal
private Principal()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getIdentifierCase
- Specified by:
getIdentifierCase
in interfacePrincipalOrBuilder
-
hasAndIds
public boolean hasAndIds()A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
- Specified by:
hasAndIds
in interfacePrincipalOrBuilder
- Returns:
- Whether the andIds field is set.
-
getAndIds
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
- Specified by:
getAndIds
in interfacePrincipalOrBuilder
- Returns:
- The andIds.
-
getAndIdsOrBuilder
A set of identifiers that all must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set and_ids = 1;
- Specified by:
getAndIdsOrBuilder
in interfacePrincipalOrBuilder
-
hasOrIds
public boolean hasOrIds()A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
- Specified by:
hasOrIds
in interfacePrincipalOrBuilder
- Returns:
- Whether the orIds field is set.
-
getOrIds
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
- Specified by:
getOrIds
in interfacePrincipalOrBuilder
- Returns:
- The orIds.
-
getOrIdsOrBuilder
A set of identifiers at least one must match in order to define the downstream.
.envoy.config.rbac.v3.Principal.Set or_ids = 2;
- Specified by:
getOrIdsOrBuilder
in interfacePrincipalOrBuilder
-
hasAny
public boolean hasAny()When any is set, it matches any downstream.
bool any = 3 [(.validate.rules) = { ... }
- Specified by:
hasAny
in 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:
getAny
in interfacePrincipalOrBuilder
- Returns:
- The any.
-
hasAuthenticated
public boolean hasAuthenticated()Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
- Specified by:
hasAuthenticated
in interfacePrincipalOrBuilder
- Returns:
- Whether the authenticated field is set.
-
getAuthenticated
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
- Specified by:
getAuthenticated
in interfacePrincipalOrBuilder
- Returns:
- The authenticated.
-
getAuthenticatedOrBuilder
Authenticated attributes that identify the downstream.
.envoy.config.rbac.v3.Principal.Authenticated authenticated = 4;
- Specified by:
getAuthenticatedOrBuilder
in interfacePrincipalOrBuilder
-
hasSourceIp
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated. See envoy/config/rbac/v3/rbac.proto;l=331A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF. This field is deprecated; either use :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` for the same behavior, or use :ref:`direct_remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`.
.envoy.config.core.v3.CidrRange source_ip = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasSourceIp
in interfacePrincipalOrBuilder
- Returns:
- Whether the sourceIp field is set.
-
getSourceIp
Deprecated.envoy.config.rbac.v3.Principal.source_ip is deprecated. See envoy/config/rbac/v3/rbac.proto;l=331A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF. This field is deprecated; either use :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` for the same behavior, or use :ref:`direct_remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`.
.envoy.config.core.v3.CidrRange source_ip = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getSourceIp
in interfacePrincipalOrBuilder
- Returns:
- The sourceIp.
-
getSourceIpOrBuilder
Deprecated.A CIDR block that describes the downstream IP. This address will honor proxy protocol, but will not honor XFF. This field is deprecated; either use :ref:`remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.remote_ip>` for the same behavior, or use :ref:`direct_remote_ip <envoy_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`.
.envoy.config.core.v3.CidrRange source_ip = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getSourceIpOrBuilder
in 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_v3_api_field_config.rbac.v3.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange direct_remote_ip = 10;
- Specified by:
hasDirectRemoteIp
in interfacePrincipalOrBuilder
- Returns:
- Whether the directRemoteIp field is set.
-
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_v3_api_field_config.rbac.v3.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange direct_remote_ip = 10;
- Specified by:
getDirectRemoteIp
in interfacePrincipalOrBuilder
- Returns:
- The directRemoteIp.
-
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_v3_api_field_config.rbac.v3.Principal.remote_ip>` is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange direct_remote_ip = 10;
- Specified by:
getDirectRemoteIpOrBuilder
in 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_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange remote_ip = 11;
- Specified by:
hasRemoteIp
in interfacePrincipalOrBuilder
- Returns:
- Whether the remoteIp field is set.
-
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_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange remote_ip = 11;
- Specified by:
getRemoteIp
in interfacePrincipalOrBuilder
- Returns:
- The remoteIp.
-
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_v3_api_field_config.rbac.v3.Principal.direct_remote_ip>`. E.g, if the remote ip is inferred from for example the x-forwarder-for header, proxy protocol, etc.
.envoy.config.core.v3.CidrRange remote_ip = 11;
- Specified by:
getRemoteIpOrBuilder
in 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.config.route.v3.HeaderMatcher header = 6;
- Specified by:
hasHeader
in interfacePrincipalOrBuilder
- Returns:
- Whether the header field is set.
-
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.config.route.v3.HeaderMatcher header = 6;
- Specified by:
getHeader
in interfacePrincipalOrBuilder
- Returns:
- The header.
-
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.config.route.v3.HeaderMatcher header = 6;
- Specified by:
getHeaderOrBuilder
in interfacePrincipalOrBuilder
-
hasUrlPath
public boolean hasUrlPath()A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
- Specified by:
hasUrlPath
in interfacePrincipalOrBuilder
- Returns:
- Whether the urlPath field is set.
-
getUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
- Specified by:
getUrlPath
in interfacePrincipalOrBuilder
- Returns:
- The urlPath.
-
getUrlPathOrBuilder
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 9;
- Specified by:
getUrlPathOrBuilder
in interfacePrincipalOrBuilder
-
hasMetadata
public boolean hasMetadata()Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
hasMetadata
in interfacePrincipalOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadata
in interfacePrincipalOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
Metadata that describes additional information about the principal.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadataOrBuilder
in interfacePrincipalOrBuilder
-
hasFilterState
public boolean hasFilterState()Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
- Specified by:
hasFilterState
in interfacePrincipalOrBuilder
- Returns:
- Whether the filterState field is set.
-
getFilterState
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
- Specified by:
getFilterState
in interfacePrincipalOrBuilder
- Returns:
- The filterState.
-
getFilterStateOrBuilder
Identifies the principal using a filter state object.
.envoy.type.matcher.v3.FilterStateMatcher filter_state = 12;
- Specified by:
getFilterStateOrBuilder
in 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.v3.Principal not_id = 8;
- Specified by:
hasNotId
in interfacePrincipalOrBuilder
- Returns:
- Whether the notId field is set.
-
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.v3.Principal not_id = 8;
- Specified by:
getNotId
in interfacePrincipalOrBuilder
- Returns:
- The notId.
-
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.v3.Principal not_id = 8;
- Specified by:
getNotIdOrBuilder
in interfacePrincipalOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
- Throws:
IOException
-
parseFrom
public static Principal parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Principal parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Principal parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Principal.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-