Class Permission.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Permission.Builder>
com.google.protobuf.GeneratedMessage.Builder<Permission.Builder>
io.envoyproxy.envoy.config.rbac.v3.Permission.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,PermissionOrBuilder
,Cloneable
- Enclosing class:
Permission
public static final class Permission.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Permission.Builder>
implements PermissionOrBuilder
Permission defines an action (or actions) that a principal can take. [#next-free-field: 14]Protobuf type
envoy.config.rbac.v3.Permission
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.protobuf.SingleFieldBuilder
<Permission.Set, Permission.Set.Builder, Permission.SetOrBuilder> private int
private com.google.protobuf.SingleFieldBuilder
<CidrRange, CidrRange.Builder, CidrRangeOrBuilder> private com.google.protobuf.SingleFieldBuilder
<Int32Range, Int32Range.Builder, Int32RangeOrBuilder> private com.google.protobuf.SingleFieldBuilder
<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private com.google.protobuf.SingleFieldBuilder
<MetadataMatcher, MetadataMatcher.Builder, MetadataMatcherOrBuilder> private com.google.protobuf.SingleFieldBuilder
<Permission, Permission.Builder, PermissionOrBuilder> private com.google.protobuf.SingleFieldBuilder
<Permission.Set, Permission.Set.Builder, Permission.SetOrBuilder> private com.google.protobuf.SingleFieldBuilder
<StringMatcher, StringMatcher.Builder, StringMatcherOrBuilder> private Object
private int
private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private com.google.protobuf.SingleFieldBuilder
<PathMatcher, PathMatcher.Builder, PathMatcherOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(Permission result) private void
buildPartialOneofs
(Permission result) clear()
A set of rules that all must match in order to define the action.clearAny()
When any is set, it matches any action.A CIDR block that describes the destination IP.A port number that describes the destination port 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.Extension for configuring custom matchers for RBAC.Metadata that describes additional information about the action.Negates matching the provided permission.A set of rules where at least one must match in order to define the action.The request server from the client's connection request.URI template path matching.A URL path on the incoming HTTP request.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.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 final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
A CIDR block that describes the destination IP.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 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.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.Extension for configuring custom matchers for RBAC.Metadata that describes additional information about the action.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.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.A set of rules where at least one must match in order to define the action.The request server from the client's connection request.The request server from the client's connection request.The request server from the client's connection request.URI template path matching.URI template path matching.URI template path matching.A URL path on the incoming HTTP request.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.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.private com.google.protobuf.SingleFieldBuilder
<Permission.Set, Permission.Set.Builder, Permission.SetOrBuilder> A set of rules that all must match in order to define the action.private com.google.protobuf.SingleFieldBuilder
<CidrRange, CidrRange.Builder, CidrRangeOrBuilder> A CIDR block that describes the destination IP.private com.google.protobuf.SingleFieldBuilder
<Int32Range, Int32Range.Builder, Int32RangeOrBuilder> A port number range that describes a range of destination ports connecting to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> A header (or pseudo-header such as :path or :method) on the incoming HTTP request.private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> Extension for configuring custom matchers for RBAC.private com.google.protobuf.SingleFieldBuilder
<MetadataMatcher, MetadataMatcher.Builder, MetadataMatcherOrBuilder> Metadata that describes additional information about the action.private com.google.protobuf.SingleFieldBuilder
<Permission, Permission.Builder, PermissionOrBuilder> Negates matching the provided permission.private com.google.protobuf.SingleFieldBuilder
<Permission.Set, Permission.Set.Builder, Permission.SetOrBuilder> A set of rules where at least one must match in order to define the action.private com.google.protobuf.SingleFieldBuilder
<StringMatcher, StringMatcher.Builder, StringMatcherOrBuilder> The request server from the client's connection request.private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> URI template path matching.private com.google.protobuf.SingleFieldBuilder
<PathMatcher, PathMatcher.Builder, PathMatcherOrBuilder> A URL path on the incoming HTTP request.final boolean
mergeAndRules
(Permission.Set value) A set of rules that all must match in order to define the action.mergeDestinationIp
(CidrRange value) A CIDR block that describes the destination IP.A port number range that describes a range of destination ports connecting to.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Permission other) mergeHeader
(HeaderMatcher value) A header (or pseudo-header such as :path or :method) on the incoming HTTP request.mergeMatcher
(TypedExtensionConfig value) Extension for configuring custom matchers for RBAC.mergeMetadata
(MetadataMatcher value) Metadata that describes additional information about the action.mergeNotRule
(Permission value) Negates matching the provided permission.mergeOrRules
(Permission.Set value) A set of rules where at least one must match in order to define the action.The request server from the client's connection request.URI template path matching.mergeUrlPath
(PathMatcher value) A URL path on the incoming HTTP request.setAndRules
(Permission.Set value) A set of rules that all must match in order to define the action.setAndRules
(Permission.Set.Builder builderForValue) A set of rules that all must match in order to define the action.setAny
(boolean value) When any is set, it matches any action.setDestinationIp
(CidrRange value) A CIDR block that describes the destination IP.setDestinationIp
(CidrRange.Builder builderForValue) A CIDR block that describes the destination IP.setDestinationPort
(int value) A port number that describes the destination port connecting to.A port number range that describes a range of destination ports connecting to.setDestinationPortRange
(Int32Range.Builder builderForValue) A port number range that describes a range of destination ports connecting to.setHeader
(HeaderMatcher value) A header (or pseudo-header such as :path or :method) on the incoming HTTP request.setHeader
(HeaderMatcher.Builder builderForValue) A header (or pseudo-header such as :path or :method) on the incoming HTTP request.setMatcher
(TypedExtensionConfig value) Extension for configuring custom matchers for RBAC.setMatcher
(TypedExtensionConfig.Builder builderForValue) Extension for configuring custom matchers for RBAC.setMetadata
(MetadataMatcher value) Metadata that describes additional information about the action.setMetadata
(MetadataMatcher.Builder builderForValue) Metadata that describes additional information about the action.setNotRule
(Permission value) Negates matching the provided permission.setNotRule
(Permission.Builder builderForValue) Negates matching the provided permission.setOrRules
(Permission.Set value) A set of rules where at least one must match in order to define the action.setOrRules
(Permission.Set.Builder builderForValue) A set of rules where at least one must match in order to define the action.The request server from the client's connection request.setRequestedServerName
(StringMatcher.Builder builderForValue) The request server from the client's connection request.URI template path matching.setUriTemplate
(TypedExtensionConfig.Builder builderForValue) URI template path matching.setUrlPath
(PathMatcher value) A URL path on the incoming HTTP request.setUrlPath
(PathMatcher.Builder builderForValue) A URL path on the incoming HTTP request.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ruleCase_
private int ruleCase_ -
rule_
-
bitField0_
private int bitField0_ -
andRulesBuilder_
private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder, andRulesBuilder_Permission.SetOrBuilder> -
orRulesBuilder_
private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder, orRulesBuilder_Permission.SetOrBuilder> -
headerBuilder_
private com.google.protobuf.SingleFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, headerBuilder_HeaderMatcherOrBuilder> -
urlPathBuilder_
private com.google.protobuf.SingleFieldBuilder<PathMatcher,PathMatcher.Builder, urlPathBuilder_PathMatcherOrBuilder> -
destinationIpBuilder_
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder, destinationIpBuilder_CidrRangeOrBuilder> -
destinationPortRangeBuilder_
private com.google.protobuf.SingleFieldBuilder<Int32Range,Int32Range.Builder, destinationPortRangeBuilder_Int32RangeOrBuilder> -
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<MetadataMatcher,MetadataMatcher.Builder, metadataBuilder_MetadataMatcherOrBuilder> -
notRuleBuilder_
private com.google.protobuf.SingleFieldBuilder<Permission,Permission.Builder, notRuleBuilder_PermissionOrBuilder> -
requestedServerNameBuilder_
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder, requestedServerNameBuilder_StringMatcherOrBuilder> -
matcherBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, matcherBuilder_TypedExtensionConfigOrBuilder> -
uriTemplateBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, uriTemplateBuilder_TypedExtensionConfigOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
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.Builder<Permission.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Permission.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Permission.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Permission.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Permission.Builder>
-
mergeFrom
public Permission.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Permission.Builder>
- Throws:
IOException
-
getRuleCase
- Specified by:
getRuleCase
in interfacePermissionOrBuilder
-
clearRule
-
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.
-
setAndRules
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
-
setAndRules
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
-
mergeAndRules
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
-
clearAndRules
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
-
getAndRulesBuilder
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
-
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
-
internalGetAndRulesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder, internalGetAndRulesFieldBuilder()Permission.SetOrBuilder> A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
-
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.
-
setOrRules
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;
-
setOrRules
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;
-
mergeOrRules
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;
-
clearOrRules
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;
-
getOrRulesBuilder
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;
-
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
-
internalGetOrRulesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder, internalGetOrRulesFieldBuilder()Permission.SetOrBuilder> 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;
-
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.
-
setAny
When any is set, it matches any action.
bool any = 3 [(.validate.rules) = { ... }
- Parameters:
value
- The any to set.- Returns:
- This builder for chaining.
-
clearAny
When any is set, it matches any action.
bool any = 3 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
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.
-
setHeader
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;
-
setHeader
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;
-
mergeHeader
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;
-
clearHeader
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;
-
getHeaderBuilder
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;
-
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
-
internalGetHeaderFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, internalGetHeaderFieldBuilder()HeaderMatcherOrBuilder> 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;
-
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.
-
setUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
setUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
mergeUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
clearUrlPath
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
getUrlPathBuilder
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
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
-
internalGetUrlPathFieldBuilder
private com.google.protobuf.SingleFieldBuilder<PathMatcher,PathMatcher.Builder, internalGetUrlPathFieldBuilder()PathMatcherOrBuilder> A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
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.
-
setDestinationIp
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
setDestinationIp
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
mergeDestinationIp
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
clearDestinationIp
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
getDestinationIpBuilder
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
getDestinationIpOrBuilder
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
- Specified by:
getDestinationIpOrBuilder
in interfacePermissionOrBuilder
-
internalGetDestinationIpFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder, internalGetDestinationIpFieldBuilder()CidrRangeOrBuilder> A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
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.
-
setDestinationPort
A port number that describes the destination port connecting to.
uint32 destination_port = 6 [(.validate.rules) = { ... }
- Parameters:
value
- The destinationPort to set.- Returns:
- This builder for chaining.
-
clearDestinationPort
A port number that describes the destination port connecting to.
uint32 destination_port = 6 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
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.
-
setDestinationPortRange
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
setDestinationPortRange
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
mergeDestinationPortRange
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
clearDestinationPortRange
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
getDestinationPortRangeBuilder
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
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
-
internalGetDestinationPortRangeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Int32Range,Int32Range.Builder, internalGetDestinationPortRangeFieldBuilder()Int32RangeOrBuilder> A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
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.
-
setMetadata
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
setMetadata
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
mergeMetadata
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
clearMetadata
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
getMetadataBuilder
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
getMetadataOrBuilder
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadataOrBuilder
in interfacePermissionOrBuilder
-
internalGetMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<MetadataMatcher,MetadataMatcher.Builder, internalGetMetadataFieldBuilder()MetadataMatcherOrBuilder> Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
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.
-
setNotRule
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;
-
setNotRule
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;
-
mergeNotRule
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;
-
clearNotRule
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;
-
getNotRuleBuilder
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;
-
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
-
internalGetNotRuleFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Permission,Permission.Builder, internalGetNotRuleFieldBuilder()PermissionOrBuilder> 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;
-
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.
-
setRequestedServerName
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;
-
setRequestedServerName
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;
-
mergeRequestedServerName
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;
-
clearRequestedServerName
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;
-
getRequestedServerNameBuilder
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;
-
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
-
internalGetRequestedServerNameFieldBuilder
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder, internalGetRequestedServerNameFieldBuilder()StringMatcherOrBuilder> 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;
-
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.
-
setMatcher
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
setMatcher
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
mergeMatcher
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
clearMatcher
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
getMatcherBuilder
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
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
-
internalGetMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, internalGetMatcherFieldBuilder()TypedExtensionConfigOrBuilder> Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
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.
-
setUriTemplate
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
setUriTemplate
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
mergeUriTemplate
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
clearUriTemplate
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
getUriTemplateBuilder
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
getUriTemplateOrBuilder
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
- Specified by:
getUriTemplateOrBuilder
in interfacePermissionOrBuilder
-
internalGetUriTemplateFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, internalGetUriTemplateFieldBuilder()TypedExtensionConfigOrBuilder> URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-