Class Permission
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.rbac.v3.Permission
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,PermissionOrBuilder
,Serializable
public final class Permission
extends com.google.protobuf.GeneratedMessage
implements PermissionOrBuilder
Permission defines an action (or actions) that a principal can take. [#next-free-field: 14]Protobuf type
envoy.config.rbac.v3.Permission
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Permission defines an action (or actions) that a principal can take.static enum
static final class
Used in the ``and_rules`` and ``or_rules`` fields in the ``rule`` 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
private static final Permission
static final int
static final int
static final int
static final int
static final int
private byte
static final int
static final int
static final int
private static final com.google.protobuf.Parser
<Permission> static final int
private Object
private 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
ConstructorsModifierConstructorDescriptionprivate
private
Permission
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
A set of rules that all must match in order to define the action.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 Permission
static final com.google.protobuf.Descriptors.Descriptor
A CIDR block that describes the destination IP.A CIDR block that describes the destination IP.int
A port number that describes the destination port connecting to.A port number range that describes a range of destination ports connecting to.A port number range that describes a range of destination ports connecting to.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.Extension for configuring custom matchers for RBAC.Extension for configuring custom matchers for RBAC.Metadata that describes additional information about the action.Metadata that describes additional information about the action.Negates matching the provided permission.Negates matching the provided permission.A set of rules where at least one must match in order to define the action.A set of rules where at least one must match in order to define the action.com.google.protobuf.Parser
<Permission> The request server from the client's connection request.The request server from the client's connection request.int
URI template path matching.URI template path matching.A URL path on the incoming HTTP request.A URL path on the incoming HTTP request.boolean
A set of rules that all must match in order to define the action.boolean
hasAny()
When any is set, it matches any action.boolean
A CIDR block that describes the destination IP.boolean
A port number that describes the destination port connecting to.boolean
A port number range that describes a range of destination ports connecting to.int
hashCode()
boolean
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.boolean
Extension for configuring custom matchers for RBAC.boolean
Metadata that describes additional information about the action.boolean
Negates matching the provided permission.boolean
A set of rules where at least one must match in order to define the action.boolean
The request server from the client's connection request.boolean
URI template path matching.boolean
A URL path on the incoming HTTP request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
static Permission.Builder
static Permission.Builder
newBuilder
(Permission prototype) protected Permission.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static Permission
parseDelimitedFrom
(InputStream input) static Permission
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Permission
parseFrom
(byte[] data) static Permission
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Permission
parseFrom
(com.google.protobuf.ByteString data) static Permission
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Permission
parseFrom
(com.google.protobuf.CodedInputStream input) static Permission
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Permission
parseFrom
(InputStream input) static Permission
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Permission
parseFrom
(ByteBuffer data) static Permission
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<Permission> 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:
-
ruleCase_
private int ruleCase_ -
rule_
-
AND_RULES_FIELD_NUMBER
public static final int AND_RULES_FIELD_NUMBER- See Also:
-
OR_RULES_FIELD_NUMBER
public static final int OR_RULES_FIELD_NUMBER- See Also:
-
ANY_FIELD_NUMBER
public static final int ANY_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:
-
DESTINATION_IP_FIELD_NUMBER
public static final int DESTINATION_IP_FIELD_NUMBER- See Also:
-
DESTINATION_PORT_FIELD_NUMBER
public static final int DESTINATION_PORT_FIELD_NUMBER- See Also:
-
DESTINATION_PORT_RANGE_FIELD_NUMBER
public static final int DESTINATION_PORT_RANGE_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
NOT_RULE_FIELD_NUMBER
public static final int NOT_RULE_FIELD_NUMBER- See Also:
-
REQUESTED_SERVER_NAME_FIELD_NUMBER
public static final int REQUESTED_SERVER_NAME_FIELD_NUMBER- See Also:
-
MATCHER_FIELD_NUMBER
public static final int MATCHER_FIELD_NUMBER- See Also:
-
URI_TEMPLATE_FIELD_NUMBER
public static final int URI_TEMPLATE_FIELD_NUMBER- See Also:
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
Permission
private Permission(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Permission
private Permission()
-
-
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
-
getRuleCase
- Specified by:
getRuleCase
in interfacePermissionOrBuilder
-
hasAndRules
public boolean hasAndRules()A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
- Specified by:
hasAndRules
in interfacePermissionOrBuilder
- Returns:
- Whether the andRules field is set.
-
getAndRules
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
- Specified by:
getAndRules
in interfacePermissionOrBuilder
- Returns:
- The andRules.
-
getAndRulesOrBuilder
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
- Specified by:
getAndRulesOrBuilder
in interfacePermissionOrBuilder
-
hasOrRules
public boolean hasOrRules()A set of rules where at least one must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set or_rules = 2;
- Specified by:
hasOrRules
in interfacePermissionOrBuilder
- Returns:
- Whether the orRules field is set.
-
getOrRules
A set of rules where at least one must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set or_rules = 2;
- Specified by:
getOrRules
in interfacePermissionOrBuilder
- Returns:
- The orRules.
-
getOrRulesOrBuilder
A set of rules where at least one must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set or_rules = 2;
- Specified by:
getOrRulesOrBuilder
in interfacePermissionOrBuilder
-
hasAny
public boolean hasAny()When any is set, it matches any action.
bool any = 3 [(.validate.rules) = { ... }
- Specified by:
hasAny
in interfacePermissionOrBuilder
- Returns:
- Whether the any field is set.
-
getAny
public boolean getAny()When any is set, it matches any action.
bool any = 3 [(.validate.rules) = { ... }
- Specified by:
getAny
in interfacePermissionOrBuilder
- Returns:
- The any.
-
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 = 4;
- Specified by:
hasHeader
in interfacePermissionOrBuilder
- 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 = 4;
- Specified by:
getHeader
in interfacePermissionOrBuilder
- 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 = 4;
- Specified by:
getHeaderOrBuilder
in interfacePermissionOrBuilder
-
hasUrlPath
public boolean hasUrlPath()A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
- Specified by:
hasUrlPath
in interfacePermissionOrBuilder
- 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 = 10;
- Specified by:
getUrlPath
in interfacePermissionOrBuilder
- Returns:
- The urlPath.
-
getUrlPathOrBuilder
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
- Specified by:
getUrlPathOrBuilder
in interfacePermissionOrBuilder
-
hasDestinationIp
public boolean hasDestinationIp()A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
- Specified by:
hasDestinationIp
in interfacePermissionOrBuilder
- Returns:
- Whether the destinationIp field is set.
-
getDestinationIp
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
- Specified by:
getDestinationIp
in interfacePermissionOrBuilder
- Returns:
- The destinationIp.
-
getDestinationIpOrBuilder
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
- Specified by:
getDestinationIpOrBuilder
in interfacePermissionOrBuilder
-
hasDestinationPort
public boolean hasDestinationPort()A port number that describes the destination port connecting to.
uint32 destination_port = 6 [(.validate.rules) = { ... }
- Specified by:
hasDestinationPort
in interfacePermissionOrBuilder
- Returns:
- Whether the destinationPort field is set.
-
getDestinationPort
public int getDestinationPort()A port number that describes the destination port connecting to.
uint32 destination_port = 6 [(.validate.rules) = { ... }
- Specified by:
getDestinationPort
in interfacePermissionOrBuilder
- Returns:
- The destinationPort.
-
hasDestinationPortRange
public boolean hasDestinationPortRange()A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
- Specified by:
hasDestinationPortRange
in interfacePermissionOrBuilder
- Returns:
- Whether the destinationPortRange field is set.
-
getDestinationPortRange
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
- Specified by:
getDestinationPortRange
in interfacePermissionOrBuilder
- Returns:
- The destinationPortRange.
-
getDestinationPortRangeOrBuilder
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
- Specified by:
getDestinationPortRangeOrBuilder
in interfacePermissionOrBuilder
-
hasMetadata
public boolean hasMetadata()Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
hasMetadata
in interfacePermissionOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadata
in interfacePermissionOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadataOrBuilder
in interfacePermissionOrBuilder
-
hasNotRule
public 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.v3.Permission not_rule = 8;
- Specified by:
hasNotRule
in interfacePermissionOrBuilder
- Returns:
- Whether the notRule field is set.
-
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.v3.Permission not_rule = 8;
- Specified by:
getNotRule
in interfacePermissionOrBuilder
- Returns:
- The notRule.
-
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.v3.Permission not_rule = 8;
- Specified by:
getNotRuleOrBuilder
in interfacePermissionOrBuilder
-
hasRequestedServerName
public boolean hasRequestedServerName()The request server from the client's connection request. This is typically TLS SNI. .. attention:: The behavior of this field may be affected by how Envoy is configured as explained below. * If the :ref:`TLS Inspector <config_listener_filters_tls_inspector>` filter is not added, and if a ``FilterChainMatch`` is not defined for the :ref:`server name <envoy_v3_api_field_config.listener.v3.FilterChainMatch.server_names>`, a TLS connection's requested SNI server name will be treated as if it wasn't present. * A :ref:`listener filter <arch_overview_listener_filters>` may overwrite a connection's requested server name within Envoy. Please refer to :ref:`this FAQ entry <faq_how_to_setup_sni>` to learn to setup SNI.
.envoy.type.matcher.v3.StringMatcher requested_server_name = 9;
- Specified by:
hasRequestedServerName
in interfacePermissionOrBuilder
- Returns:
- Whether the requestedServerName field is set.
-
getRequestedServerName
The request server from the client's connection request. This is typically TLS SNI. .. attention:: The behavior of this field may be affected by how Envoy is configured as explained below. * If the :ref:`TLS Inspector <config_listener_filters_tls_inspector>` filter is not added, and if a ``FilterChainMatch`` is not defined for the :ref:`server name <envoy_v3_api_field_config.listener.v3.FilterChainMatch.server_names>`, a TLS connection's requested SNI server name will be treated as if it wasn't present. * A :ref:`listener filter <arch_overview_listener_filters>` may overwrite a connection's requested server name within Envoy. Please refer to :ref:`this FAQ entry <faq_how_to_setup_sni>` to learn to setup SNI.
.envoy.type.matcher.v3.StringMatcher requested_server_name = 9;
- Specified by:
getRequestedServerName
in interfacePermissionOrBuilder
- Returns:
- The requestedServerName.
-
getRequestedServerNameOrBuilder
The request server from the client's connection request. This is typically TLS SNI. .. attention:: The behavior of this field may be affected by how Envoy is configured as explained below. * If the :ref:`TLS Inspector <config_listener_filters_tls_inspector>` filter is not added, and if a ``FilterChainMatch`` is not defined for the :ref:`server name <envoy_v3_api_field_config.listener.v3.FilterChainMatch.server_names>`, a TLS connection's requested SNI server name will be treated as if it wasn't present. * A :ref:`listener filter <arch_overview_listener_filters>` may overwrite a connection's requested server name within Envoy. Please refer to :ref:`this FAQ entry <faq_how_to_setup_sni>` to learn to setup SNI.
.envoy.type.matcher.v3.StringMatcher requested_server_name = 9;
- Specified by:
getRequestedServerNameOrBuilder
in interfacePermissionOrBuilder
-
hasMatcher
public boolean hasMatcher()Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
- Specified by:
hasMatcher
in interfacePermissionOrBuilder
- Returns:
- Whether the matcher field is set.
-
getMatcher
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
- Specified by:
getMatcher
in interfacePermissionOrBuilder
- Returns:
- The matcher.
-
getMatcherOrBuilder
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
- Specified by:
getMatcherOrBuilder
in interfacePermissionOrBuilder
-
hasUriTemplate
public boolean hasUriTemplate()URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
- Specified by:
hasUriTemplate
in interfacePermissionOrBuilder
- Returns:
- Whether the uriTemplate field is set.
-
getUriTemplate
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
- Specified by:
getUriTemplate
in interfacePermissionOrBuilder
- Returns:
- The uriTemplate.
-
getUriTemplateOrBuilder
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
- Specified by:
getUriTemplateOrBuilder
in interfacePermissionOrBuilder
-
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 Permission parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Permission parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Permission parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Permission parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Permission parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Permission parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Permission parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Permission parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Permission 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 Permission.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
-