Class Permission.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Permission.Builder> implements PermissionOrBuilder
Permission defines an action (or actions) that a principal can take. [#next-free-field: 13]
Protobuf typeenvoy.config.rbac.v3.Permission
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Permission.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Permissionbuild()PermissionbuildPartial()Permission.Builderclear()Permission.BuilderclearAndRules()A set of rules that all must match in order to define the action.Permission.BuilderclearAny()When any is set, it matches any action.Permission.BuilderclearDestinationIp()A CIDR block that describes the destination IP.Permission.BuilderclearDestinationPort()A port number that describes the destination port connecting to.Permission.BuilderclearDestinationPortRange()A port number range that describes a range of destination ports connecting to.Permission.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Permission.BuilderclearHeader()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Permission.BuilderclearMatcher()Extension for configuring custom matchers for RBAC.Permission.BuilderclearMetadata()Metadata that describes additional information about the action.Permission.BuilderclearNotRule()Negates matching the provided permission.Permission.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Permission.BuilderclearOrRules()A set of rules where at least one must match in order to define the action.Permission.BuilderclearRequestedServerName()The request server from the client's connection request.Permission.BuilderclearRule()Permission.BuilderclearUrlPath()A URL path on the incoming HTTP request.Permission.Builderclone()Permission.SetgetAndRules()A set of rules that all must match in order to define the action.Permission.Set.BuildergetAndRulesBuilder()A set of rules that all must match in order to define the action.Permission.SetOrBuildergetAndRulesOrBuilder()A set of rules that all must match in order to define the action.booleangetAny()When any is set, it matches any action.PermissiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CidrRangegetDestinationIp()A CIDR block that describes the destination IP.CidrRange.BuildergetDestinationIpBuilder()A CIDR block that describes the destination IP.CidrRangeOrBuildergetDestinationIpOrBuilder()A CIDR block that describes the destination IP.intgetDestinationPort()A port number that describes the destination port connecting to.Int32RangegetDestinationPortRange()A port number range that describes a range of destination ports connecting to.Int32Range.BuildergetDestinationPortRangeBuilder()A port number range that describes a range of destination ports connecting to.Int32RangeOrBuildergetDestinationPortRangeOrBuilder()A port number range that describes a range of destination ports connecting to.HeaderMatchergetHeader()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.HeaderMatcher.BuildergetHeaderBuilder()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.HeaderMatcherOrBuildergetHeaderOrBuilder()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.TypedExtensionConfiggetMatcher()Extension for configuring custom matchers for RBAC.TypedExtensionConfig.BuildergetMatcherBuilder()Extension for configuring custom matchers for RBAC.TypedExtensionConfigOrBuildergetMatcherOrBuilder()Extension for configuring custom matchers for RBAC.MetadataMatchergetMetadata()Metadata that describes additional information about the action.MetadataMatcher.BuildergetMetadataBuilder()Metadata that describes additional information about the action.MetadataMatcherOrBuildergetMetadataOrBuilder()Metadata that describes additional information about the action.PermissiongetNotRule()Negates matching the provided permission.Permission.BuildergetNotRuleBuilder()Negates matching the provided permission.PermissionOrBuildergetNotRuleOrBuilder()Negates matching the provided permission.Permission.SetgetOrRules()A set of rules where at least one must match in order to define the action.Permission.Set.BuildergetOrRulesBuilder()A set of rules where at least one must match in order to define the action.Permission.SetOrBuildergetOrRulesOrBuilder()A set of rules where at least one must match in order to define the action.StringMatchergetRequestedServerName()The request server from the client's connection request.StringMatcher.BuildergetRequestedServerNameBuilder()The request server from the client's connection request.StringMatcherOrBuildergetRequestedServerNameOrBuilder()The request server from the client's connection request.Permission.RuleCasegetRuleCase()PathMatchergetUrlPath()A URL path on the incoming HTTP request.PathMatcher.BuildergetUrlPathBuilder()A URL path on the incoming HTTP request.PathMatcherOrBuildergetUrlPathOrBuilder()A URL path on the incoming HTTP request.booleanhasAndRules()A set of rules that all must match in order to define the action.booleanhasAny()When any is set, it matches any action.booleanhasDestinationIp()A CIDR block that describes the destination IP.booleanhasDestinationPort()A port number that describes the destination port connecting to.booleanhasDestinationPortRange()A port number range that describes a range of destination ports connecting to.booleanhasHeader()A header (or pseudo-header such as :path or :method) on the incoming HTTP request.booleanhasMatcher()Extension for configuring custom matchers for RBAC.booleanhasMetadata()Metadata that describes additional information about the action.booleanhasNotRule()Negates matching the provided permission.booleanhasOrRules()A set of rules where at least one must match in order to define the action.booleanhasRequestedServerName()The request server from the client's connection request.booleanhasUrlPath()A URL path on the incoming HTTP request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Permission.BuildermergeAndRules(Permission.Set value)A set of rules that all must match in order to define the action.Permission.BuildermergeDestinationIp(CidrRange value)A CIDR block that describes the destination IP.Permission.BuildermergeDestinationPortRange(Int32Range value)A port number range that describes a range of destination ports connecting to.Permission.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Permission.BuildermergeFrom(com.google.protobuf.Message other)Permission.BuildermergeFrom(Permission other)Permission.BuildermergeHeader(HeaderMatcher value)A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Permission.BuildermergeMatcher(TypedExtensionConfig value)Extension for configuring custom matchers for RBAC.Permission.BuildermergeMetadata(MetadataMatcher value)Metadata that describes additional information about the action.Permission.BuildermergeNotRule(Permission value)Negates matching the provided permission.Permission.BuildermergeOrRules(Permission.Set value)A set of rules where at least one must match in order to define the action.Permission.BuildermergeRequestedServerName(StringMatcher value)The request server from the client's connection request.Permission.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Permission.BuildermergeUrlPath(PathMatcher value)A URL path on the incoming HTTP request.Permission.BuildersetAndRules(Permission.Set value)A set of rules that all must match in order to define the action.Permission.BuildersetAndRules(Permission.Set.Builder builderForValue)A set of rules that all must match in order to define the action.Permission.BuildersetAny(boolean value)When any is set, it matches any action.Permission.BuildersetDestinationIp(CidrRange value)A CIDR block that describes the destination IP.Permission.BuildersetDestinationIp(CidrRange.Builder builderForValue)A CIDR block that describes the destination IP.Permission.BuildersetDestinationPort(int value)A port number that describes the destination port connecting to.Permission.BuildersetDestinationPortRange(Int32Range value)A port number range that describes a range of destination ports connecting to.Permission.BuildersetDestinationPortRange(Int32Range.Builder builderForValue)A port number range that describes a range of destination ports connecting to.Permission.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Permission.BuildersetHeader(HeaderMatcher value)A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Permission.BuildersetHeader(HeaderMatcher.Builder builderForValue)A header (or pseudo-header such as :path or :method) on the incoming HTTP request.Permission.BuildersetMatcher(TypedExtensionConfig value)Extension for configuring custom matchers for RBAC.Permission.BuildersetMatcher(TypedExtensionConfig.Builder builderForValue)Extension for configuring custom matchers for RBAC.Permission.BuildersetMetadata(MetadataMatcher value)Metadata that describes additional information about the action.Permission.BuildersetMetadata(MetadataMatcher.Builder builderForValue)Metadata that describes additional information about the action.Permission.BuildersetNotRule(Permission value)Negates matching the provided permission.Permission.BuildersetNotRule(Permission.Builder builderForValue)Negates matching the provided permission.Permission.BuildersetOrRules(Permission.Set value)A set of rules where at least one must match in order to define the action.Permission.BuildersetOrRules(Permission.Set.Builder builderForValue)A set of rules where at least one must match in order to define the action.Permission.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Permission.BuildersetRequestedServerName(StringMatcher value)The request server from the client's connection request.Permission.BuildersetRequestedServerName(StringMatcher.Builder builderForValue)The request server from the client's connection request.Permission.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Permission.BuildersetUrlPath(PathMatcher value)A URL path on the incoming HTTP request.Permission.BuildersetUrlPath(PathMatcher.Builder builderForValue)A URL path on the incoming HTTP request.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
clear
public Permission.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
getDefaultInstanceForType
public Permission getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Permission build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Permission buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Permission.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
setField
public Permission.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
clearField
public Permission.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
clearOneof
public Permission.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
setRepeatedField
public Permission.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
addRepeatedField
public Permission.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
mergeFrom
public Permission.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Permission.Builder>
-
mergeFrom
public Permission.Builder mergeFrom(Permission other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
mergeFrom
public Permission.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Permission.Builder>- Throws:
IOException
-
getRuleCase
public Permission.RuleCase getRuleCase()
- Specified by:
getRuleCasein 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:
hasAndRulesin 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:
getAndRulesin 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:
getAndRulesOrBuilderin interfacePermissionOrBuilder
-
hasOrRules
public boolean hasOrRules()
A set of rules where at least one must match in order to define the action.
.envoy.config.rbac.v3.Permission.Set or_rules = 2;- Specified by:
hasOrRulesin 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:
getOrRulesin 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:
getOrRulesOrBuilderin interfacePermissionOrBuilder
-
hasAny
public boolean hasAny()
When any is set, it matches any action.
bool any = 3 [(.validate.rules) = { ... }- Specified by:
hasAnyin 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:
getAnyin 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:
hasHeaderin 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:
getHeaderin 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:
getHeaderOrBuilderin interfacePermissionOrBuilder
-
hasUrlPath
public boolean hasUrlPath()
A URL path on the incoming HTTP request. Only available for HTTP.
.envoy.type.matcher.v3.PathMatcher url_path = 10;- Specified by:
hasUrlPathin 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:
getUrlPathin 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:
getUrlPathOrBuilderin interfacePermissionOrBuilder
-
hasDestinationIp
public boolean hasDestinationIp()
A CIDR block that describes the destination IP.
.envoy.config.core.v3.CidrRange destination_ip = 5;- Specified by:
hasDestinationIpin 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:
getDestinationIpin 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:
getDestinationIpOrBuilderin interfacePermissionOrBuilder
-
hasDestinationPort
public boolean hasDestinationPort()
A port number that describes the destination port connecting to.
uint32 destination_port = 6 [(.validate.rules) = { ... }- Specified by:
hasDestinationPortin 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:
getDestinationPortin 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:
hasDestinationPortRangein 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:
getDestinationPortRangein 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:
getDestinationPortRangeOrBuilderin interfacePermissionOrBuilder
-
hasMetadata
public boolean hasMetadata()
Metadata that describes additional information about the action.
.envoy.type.matcher.v3.MetadataMatcher metadata = 7;- Specified by:
hasMetadatain 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:
getMetadatain 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:
getMetadataOrBuilderin interfacePermissionOrBuilder
-
hasNotRule
public boolean hasNotRule()
Negates matching the provided permission. For instance, if the value of ``not_rule`` would match, this permission would not match. Conversely, if the value of ``not_rule`` would not match, this permission would match.
.envoy.config.rbac.v3.Permission not_rule = 8;- Specified by:
hasNotRulein 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:
getNotRulein 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:
getNotRuleOrBuilderin interfacePermissionOrBuilder
-
hasRequestedServerName
public boolean hasRequestedServerName()
The request server from the client's connection request. This is typically TLS SNI. .. attention:: The behavior of this field may be affected by how Envoy is configured as explained below. * If the :ref:`TLS Inspector <config_listener_filters_tls_inspector>` filter is not added, and if a ``FilterChainMatch`` is not defined for the :ref:`server name <envoy_v3_api_field_config.listener.v3.FilterChainMatch.server_names>`, a TLS connection's requested SNI server name will be treated as if it wasn't present. * A :ref:`listener filter <arch_overview_listener_filters>` may overwrite a connection's requested server name within Envoy. Please refer to :ref:`this FAQ entry <faq_how_to_setup_sni>` to learn to setup SNI..envoy.type.matcher.v3.StringMatcher requested_server_name = 9;- Specified by:
hasRequestedServerNamein 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:
getRequestedServerNamein 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:
getRequestedServerNameOrBuilderin interfacePermissionOrBuilder
-
hasMatcher
public boolean hasMatcher()
Extension for configuring custom matchers for RBAC. [#extension-category: envoy.rbac.matchers]
.envoy.config.core.v3.TypedExtensionConfig matcher = 12;- Specified by:
hasMatcherin 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:
getMatcherin 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:
getMatcherOrBuilderin interfacePermissionOrBuilder
-
setUnknownFields
public final Permission.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
mergeUnknownFields
public final Permission.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Permission.Builder>
-
-