Class Permission.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.config.rbac.v3.Permission
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Permission
build()
Permission
buildPartial()
private void
buildPartial0(Permission result)
private void
buildPartialOneofs(Permission result)
Permission.Builder
clear()
Permission.Builder
clearAndRules()
A set of rules that all must match in order to define the action.Permission.Builder
clearAny()
When any is set, it matches any action.Permission.Builder
clearDestinationIp()
A CIDR block that describes the destination IP.Permission.Builder
clearDestinationPort()
A port number that describes the destination port connecting to.Permission.Builder
clearDestinationPortRange()
A port number range that describes a range of destination ports connecting to.Permission.Builder
clearHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Permission.Builder
clearMatcher()
Extension for configuring custom matchers for RBAC.Permission.Builder
clearMetadata()
Metadata that describes additional information about the action.Permission.Builder
clearNotRule()
Negates matching the provided permission.Permission.Builder
clearOrRules()
A set of rules where at least one must match in order to define the action.Permission.Builder
clearRequestedServerName()
The request server from the client's connection request.Permission.Builder
clearRule()
Permission.Builder
clearUriTemplate()
URI template path matching.Permission.Builder
clearUrlPath()
A URL path on the incoming HTTP request.Permission.Set
getAndRules()
A set of rules that all must match in order to define the action.Permission.Set.Builder
getAndRulesBuilder()
A set of rules that all must match in order to define the action.private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder,Permission.SetOrBuilder>
getAndRulesFieldBuilder()
A set of rules that all must match in order to define the action.Permission.SetOrBuilder
getAndRulesOrBuilder()
A set of rules that all must match in order to define the action.boolean
getAny()
When any is set, it matches any action.Permission
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
CidrRange
getDestinationIp()
A CIDR block that describes the destination IP.CidrRange.Builder
getDestinationIpBuilder()
A CIDR block that describes the destination IP.private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder,CidrRangeOrBuilder>
getDestinationIpFieldBuilder()
A CIDR block that describes the destination IP.CidrRangeOrBuilder
getDestinationIpOrBuilder()
A CIDR block that describes the destination IP.int
getDestinationPort()
A port number that describes the destination port connecting to.Int32Range
getDestinationPortRange()
A port number range that describes a range of destination ports connecting to.Int32Range.Builder
getDestinationPortRangeBuilder()
A port number range that describes a range of destination ports connecting to.private com.google.protobuf.SingleFieldBuilder<Int32Range,Int32Range.Builder,Int32RangeOrBuilder>
getDestinationPortRangeFieldBuilder()
A port number range that describes a range of destination ports connecting to.Int32RangeOrBuilder
getDestinationPortRangeOrBuilder()
A port number range that describes a range of destination ports connecting to.HeaderMatcher
getHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.HeaderMatcher.Builder
getHeaderBuilder()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.private com.google.protobuf.SingleFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder>
getHeaderFieldBuilder()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.HeaderMatcherOrBuilder
getHeaderOrBuilder()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.TypedExtensionConfig
getMatcher()
Extension for configuring custom matchers for RBAC.TypedExtensionConfig.Builder
getMatcherBuilder()
Extension for configuring custom matchers for RBAC.private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>
getMatcherFieldBuilder()
Extension for configuring custom matchers for RBAC.TypedExtensionConfigOrBuilder
getMatcherOrBuilder()
Extension for configuring custom matchers for RBAC.MetadataMatcher
getMetadata()
Metadata that describes additional information about the action.MetadataMatcher.Builder
getMetadataBuilder()
Metadata that describes additional information about the action.private com.google.protobuf.SingleFieldBuilder<MetadataMatcher,MetadataMatcher.Builder,MetadataMatcherOrBuilder>
getMetadataFieldBuilder()
Metadata that describes additional information about the action.MetadataMatcherOrBuilder
getMetadataOrBuilder()
Metadata that describes additional information about the action.Permission
getNotRule()
Negates matching the provided permission.Permission.Builder
getNotRuleBuilder()
Negates matching the provided permission.private com.google.protobuf.SingleFieldBuilder<Permission,Permission.Builder,PermissionOrBuilder>
getNotRuleFieldBuilder()
Negates matching the provided permission.PermissionOrBuilder
getNotRuleOrBuilder()
Negates matching the provided permission.Permission.Set
getOrRules()
A set of rules where at least one must match in order to define the action.Permission.Set.Builder
getOrRulesBuilder()
A set of rules where at least one must match in order to define the action.private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder,Permission.SetOrBuilder>
getOrRulesFieldBuilder()
A set of rules where at least one must match in order to define the action.Permission.SetOrBuilder
getOrRulesOrBuilder()
A set of rules where at least one must match in order to define the action.StringMatcher
getRequestedServerName()
The request server from the client's connection request.StringMatcher.Builder
getRequestedServerNameBuilder()
The request server from the client's connection request.private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder>
getRequestedServerNameFieldBuilder()
The request server from the client's connection request.StringMatcherOrBuilder
getRequestedServerNameOrBuilder()
The request server from the client's connection request.Permission.RuleCase
getRuleCase()
TypedExtensionConfig
getUriTemplate()
URI template path matching.TypedExtensionConfig.Builder
getUriTemplateBuilder()
URI template path matching.private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>
getUriTemplateFieldBuilder()
URI template path matching.TypedExtensionConfigOrBuilder
getUriTemplateOrBuilder()
URI template path matching.PathMatcher
getUrlPath()
A URL path on the incoming HTTP request.PathMatcher.Builder
getUrlPathBuilder()
A URL path on the incoming HTTP request.private com.google.protobuf.SingleFieldBuilder<PathMatcher,PathMatcher.Builder,PathMatcherOrBuilder>
getUrlPathFieldBuilder()
A URL path on the incoming HTTP request.PathMatcherOrBuilder
getUrlPathOrBuilder()
A URL path on the incoming HTTP request.boolean
hasAndRules()
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
hasDestinationIp()
A CIDR block that describes the destination IP.boolean
hasDestinationPort()
A port number that describes the destination port connecting to.boolean
hasDestinationPortRange()
A port number range that describes a range of destination ports connecting to.boolean
hasHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.boolean
hasMatcher()
Extension for configuring custom matchers for RBAC.boolean
hasMetadata()
Metadata that describes additional information about the action.boolean
hasNotRule()
Negates matching the provided permission.boolean
hasOrRules()
A set of rules where at least one must match in order to define the action.boolean
hasRequestedServerName()
The request server from the client's connection request.boolean
hasUriTemplate()
URI template path matching.boolean
hasUrlPath()
A URL path on the incoming HTTP request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Permission.Builder
mergeAndRules(Permission.Set value)
A set of rules that all must match in order to define the action.Permission.Builder
mergeDestinationIp(CidrRange value)
A CIDR block that describes the destination IP.Permission.Builder
mergeDestinationPortRange(Int32Range value)
A port number range that describes a range of destination ports connecting to.Permission.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Permission.Builder
mergeFrom(com.google.protobuf.Message other)
Permission.Builder
mergeFrom(Permission other)
Permission.Builder
mergeHeader(HeaderMatcher value)
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Permission.Builder
mergeMatcher(TypedExtensionConfig value)
Extension for configuring custom matchers for RBAC.Permission.Builder
mergeMetadata(MetadataMatcher value)
Metadata that describes additional information about the action.Permission.Builder
mergeNotRule(Permission value)
Negates matching the provided permission.Permission.Builder
mergeOrRules(Permission.Set value)
A set of rules where at least one must match in order to define the action.Permission.Builder
mergeRequestedServerName(StringMatcher value)
The request server from the client's connection request.Permission.Builder
mergeUriTemplate(TypedExtensionConfig value)
URI template path matching.Permission.Builder
mergeUrlPath(PathMatcher value)
A URL path on the incoming HTTP request.Permission.Builder
setAndRules(Permission.Set value)
A set of rules that all must match in order to define the action.Permission.Builder
setAndRules(Permission.Set.Builder builderForValue)
A set of rules that all must match in order to define the action.Permission.Builder
setAny(boolean value)
When any is set, it matches any action.Permission.Builder
setDestinationIp(CidrRange value)
A CIDR block that describes the destination IP.Permission.Builder
setDestinationIp(CidrRange.Builder builderForValue)
A CIDR block that describes the destination IP.Permission.Builder
setDestinationPort(int value)
A port number that describes the destination port connecting to.Permission.Builder
setDestinationPortRange(Int32Range value)
A port number range that describes a range of destination ports connecting to.Permission.Builder
setDestinationPortRange(Int32Range.Builder builderForValue)
A port number range that describes a range of destination ports connecting to.Permission.Builder
setHeader(HeaderMatcher value)
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Permission.Builder
setHeader(HeaderMatcher.Builder builderForValue)
A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Permission.Builder
setMatcher(TypedExtensionConfig value)
Extension for configuring custom matchers for RBAC.Permission.Builder
setMatcher(TypedExtensionConfig.Builder builderForValue)
Extension for configuring custom matchers for RBAC.Permission.Builder
setMetadata(MetadataMatcher value)
Metadata that describes additional information about the action.Permission.Builder
setMetadata(MetadataMatcher.Builder builderForValue)
Metadata that describes additional information about the action.Permission.Builder
setNotRule(Permission value)
Negates matching the provided permission.Permission.Builder
setNotRule(Permission.Builder builderForValue)
Negates matching the provided permission.Permission.Builder
setOrRules(Permission.Set value)
A set of rules where at least one must match in order to define the action.Permission.Builder
setOrRules(Permission.Set.Builder builderForValue)
A set of rules where at least one must match in order to define the action.Permission.Builder
setRequestedServerName(StringMatcher value)
The request server from the client's connection request.Permission.Builder
setRequestedServerName(StringMatcher.Builder builderForValue)
The request server from the client's connection request.Permission.Builder
setUriTemplate(TypedExtensionConfig value)
URI template path matching.Permission.Builder
setUriTemplate(TypedExtensionConfig.Builder builderForValue)
URI template path matching.Permission.Builder
setUrlPath(PathMatcher value)
A URL path on the incoming HTTP request.Permission.Builder
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
-
-
-
-
Field Detail
-
ruleCase_
private int ruleCase_
-
rule_
private java.lang.Object rule_
-
bitField0_
private int bitField0_
-
andRulesBuilder_
private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder,Permission.SetOrBuilder> andRulesBuilder_
-
orRulesBuilder_
private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder,Permission.SetOrBuilder> orRulesBuilder_
-
headerBuilder_
private com.google.protobuf.SingleFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder> headerBuilder_
-
urlPathBuilder_
private com.google.protobuf.SingleFieldBuilder<PathMatcher,PathMatcher.Builder,PathMatcherOrBuilder> urlPathBuilder_
-
destinationIpBuilder_
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder,CidrRangeOrBuilder> destinationIpBuilder_
-
destinationPortRangeBuilder_
private com.google.protobuf.SingleFieldBuilder<Int32Range,Int32Range.Builder,Int32RangeOrBuilder> destinationPortRangeBuilder_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<MetadataMatcher,MetadataMatcher.Builder,MetadataMatcherOrBuilder> metadataBuilder_
-
notRuleBuilder_
private com.google.protobuf.SingleFieldBuilder<Permission,Permission.Builder,PermissionOrBuilder> notRuleBuilder_
-
requestedServerNameBuilder_
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder> requestedServerNameBuilder_
-
matcherBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> matcherBuilder_
-
uriTemplateBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> uriTemplateBuilder_
-
-
Method Detail
-
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
public 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
public Permission getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Permission build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Permission buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Permission result)
-
buildPartialOneofs
private void buildPartialOneofs(Permission result)
-
mergeFrom
public Permission.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Permission.Builder>
-
mergeFrom
public Permission.Builder mergeFrom(Permission other)
-
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 java.io.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:
java.io.IOException
-
getRuleCase
public Permission.RuleCase getRuleCase()
- Specified by:
getRuleCase
in interfacePermissionOrBuilder
-
clearRule
public Permission.Builder 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
public Permission.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
public Permission.Builder setAndRules(Permission.Set value)
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
-
setAndRules
public Permission.Builder setAndRules(Permission.Set.Builder builderForValue)
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
-
mergeAndRules
public Permission.Builder mergeAndRules(Permission.Set value)
A set of rules that all must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set and_rules = 1;
-
clearAndRules
public Permission.Builder 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
public Permission.Set.Builder 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
public Permission.SetOrBuilder 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
-
getAndRulesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder,Permission.SetOrBuilder> getAndRulesFieldBuilder()
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
public Permission.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
public Permission.Builder setOrRules(Permission.Set value)
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
public Permission.Builder setOrRules(Permission.Set.Builder builderForValue)
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
public Permission.Builder mergeOrRules(Permission.Set value)
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
public Permission.Builder 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
public Permission.Set.Builder 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
public Permission.SetOrBuilder 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
-
getOrRulesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Permission.Set,Permission.Set.Builder,Permission.SetOrBuilder> getOrRulesFieldBuilder()
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
public Permission.Builder setAny(boolean value)
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
public Permission.Builder 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
public HeaderMatcher getHeader()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request. Note: the pseudo-header :path includes the query and fragment string. Use the ``url_path`` field if you want to match the URL path without the query and fragment string.
.envoy.config.route.v3.HeaderMatcher header = 4;
- Specified by:
getHeader
in interfacePermissionOrBuilder
- Returns:
- The header.
-
setHeader
public Permission.Builder setHeader(HeaderMatcher value)
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
public Permission.Builder setHeader(HeaderMatcher.Builder builderForValue)
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
public Permission.Builder mergeHeader(HeaderMatcher value)
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
public Permission.Builder 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
public HeaderMatcher.Builder 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
public HeaderMatcherOrBuilder getHeaderOrBuilder()
A header (or pseudo-header such as :path or :method) on the incoming HTTP request. Only available for HTTP request. Note: the pseudo-header :path includes the query and fragment string. Use the ``url_path`` field if you want to match the URL path without the query and fragment string.
.envoy.config.route.v3.HeaderMatcher header = 4;
- Specified by:
getHeaderOrBuilder
in interfacePermissionOrBuilder
-
getHeaderFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder> getHeaderFieldBuilder()
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
public PathMatcher 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
public Permission.Builder setUrlPath(PathMatcher value)
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
setUrlPath
public Permission.Builder setUrlPath(PathMatcher.Builder builderForValue)
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
mergeUrlPath
public Permission.Builder mergeUrlPath(PathMatcher value)
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
clearUrlPath
public Permission.Builder clearUrlPath()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
getUrlPathBuilder
public PathMatcher.Builder getUrlPathBuilder()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;
-
getUrlPathOrBuilder
public PathMatcherOrBuilder 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
-
getUrlPathFieldBuilder
private com.google.protobuf.SingleFieldBuilder<PathMatcher,PathMatcher.Builder,PathMatcherOrBuilder> getUrlPathFieldBuilder()
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
public CidrRange 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
public Permission.Builder setDestinationIp(CidrRange value)
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
setDestinationIp
public Permission.Builder setDestinationIp(CidrRange.Builder builderForValue)
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
mergeDestinationIp
public Permission.Builder mergeDestinationIp(CidrRange value)
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
clearDestinationIp
public Permission.Builder clearDestinationIp()
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
getDestinationIpBuilder
public CidrRange.Builder getDestinationIpBuilder()
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
-
getDestinationIpOrBuilder
public CidrRangeOrBuilder getDestinationIpOrBuilder()
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;
- Specified by:
getDestinationIpOrBuilder
in interfacePermissionOrBuilder
-
getDestinationIpFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CidrRange,CidrRange.Builder,CidrRangeOrBuilder> getDestinationIpFieldBuilder()
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
public Permission.Builder setDestinationPort(int value)
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
public Permission.Builder 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
public Int32Range 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
public Permission.Builder setDestinationPortRange(Int32Range value)
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
setDestinationPortRange
public Permission.Builder setDestinationPortRange(Int32Range.Builder builderForValue)
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
mergeDestinationPortRange
public Permission.Builder mergeDestinationPortRange(Int32Range value)
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
clearDestinationPortRange
public Permission.Builder clearDestinationPortRange()
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
getDestinationPortRangeBuilder
public Int32Range.Builder getDestinationPortRangeBuilder()
A port number range that describes a range of destination ports connecting to.
.envoy.type.v3.Int32Range destination_port_range = 11;
-
getDestinationPortRangeOrBuilder
public Int32RangeOrBuilder 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
-
getDestinationPortRangeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Int32Range,Int32Range.Builder,Int32RangeOrBuilder> getDestinationPortRangeFieldBuilder()
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
public MetadataMatcher 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
public Permission.Builder setMetadata(MetadataMatcher value)
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
setMetadata
public Permission.Builder setMetadata(MetadataMatcher.Builder builderForValue)
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
mergeMetadata
public Permission.Builder mergeMetadata(MetadataMatcher value)
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
clearMetadata
public Permission.Builder clearMetadata()
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
getMetadataBuilder
public MetadataMatcher.Builder getMetadataBuilder()
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
-
getMetadataOrBuilder
public MetadataMatcherOrBuilder getMetadataOrBuilder()
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;
- Specified by:
getMetadataOrBuilder
in interfacePermissionOrBuilder
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<MetadataMatcher,MetadataMatcher.Builder,MetadataMatcherOrBuilder> getMetadataFieldBuilder()
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
public Permission 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
public Permission.Builder setNotRule(Permission value)
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
public Permission.Builder setNotRule(Permission.Builder builderForValue)
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
public Permission.Builder mergeNotRule(Permission value)
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
public Permission.Builder 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
public Permission.Builder 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
public PermissionOrBuilder 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
-
getNotRuleFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Permission,Permission.Builder,PermissionOrBuilder> getNotRuleFieldBuilder()
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
public StringMatcher 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
public Permission.Builder setRequestedServerName(StringMatcher value)
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
public Permission.Builder setRequestedServerName(StringMatcher.Builder builderForValue)
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
public Permission.Builder mergeRequestedServerName(StringMatcher value)
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
public Permission.Builder 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
public StringMatcher.Builder 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
public StringMatcherOrBuilder 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
-
getRequestedServerNameFieldBuilder
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder> getRequestedServerNameFieldBuilder()
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
public TypedExtensionConfig 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
public Permission.Builder setMatcher(TypedExtensionConfig value)
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
setMatcher
public Permission.Builder setMatcher(TypedExtensionConfig.Builder builderForValue)
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
mergeMatcher
public Permission.Builder mergeMatcher(TypedExtensionConfig value)
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
clearMatcher
public Permission.Builder clearMatcher()
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
getMatcherBuilder
public TypedExtensionConfig.Builder getMatcherBuilder()
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;
-
getMatcherOrBuilder
public TypedExtensionConfigOrBuilder 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
-
getMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> getMatcherFieldBuilder()
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
public TypedExtensionConfig 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
public Permission.Builder setUriTemplate(TypedExtensionConfig value)
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
setUriTemplate
public Permission.Builder setUriTemplate(TypedExtensionConfig.Builder builderForValue)
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
mergeUriTemplate
public Permission.Builder mergeUriTemplate(TypedExtensionConfig value)
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
clearUriTemplate
public Permission.Builder clearUriTemplate()
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
getUriTemplateBuilder
public TypedExtensionConfig.Builder getUriTemplateBuilder()
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
getUriTemplateOrBuilder
public TypedExtensionConfigOrBuilder getUriTemplateOrBuilder()
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
- Specified by:
getUriTemplateOrBuilder
in interfacePermissionOrBuilder
-
getUriTemplateFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> getUriTemplateFieldBuilder()
URI template path matching. [#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig uri_template = 13;
-
-