Class RBAC.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
io.envoyproxy.envoy.extensions.filters.network.rbac.v3.RBAC.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RBACOrBuilder,Cloneable
- Enclosing class:
- RBAC
public static final class RBAC.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
implements RBACOrBuilder
RBAC network filter config. Header should not be used in rules/shadow_rules in RBAC network filter as this information is only available in :ref:`RBAC http filter <config_http_filters_rbac>`. [#next-free-field: 9]Protobuf type
envoy.extensions.filters.network.rbac.v3.RBAC-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``.RBAC enforcement strategy.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The match tree to use when resolving RBAC action for incoming connections.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specify the RBAC rules to be applied globally.The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.If specified, shadow rules will emit stats with the given prefix.The prefix to use when emitting statistics.clone()com.google.protobuf.DurationDelay the specified duration before closing the connection when the policy evaluation result is ``DENY``.com.google.protobuf.Duration.BuilderDelay the specified duration before closing the connection when the policy evaluation result is ``DENY``.com.google.protobuf.DurationOrBuilderDelay the specified duration before closing the connection when the policy evaluation result is ``DENY``.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRBAC enforcement strategy.intRBAC enforcement strategy.The match tree to use when resolving RBAC action for incoming connections.The match tree to use when resolving RBAC action for incoming connections.The match tree to use when resolving RBAC action for incoming connections.getRules()Specify the RBAC rules to be applied globally.Specify the RBAC rules to be applied globally.Specify the RBAC rules to be applied globally.The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.If specified, shadow rules will emit stats with the given prefix.com.google.protobuf.ByteStringIf specified, shadow rules will emit stats with the given prefix.The prefix to use when emitting statistics.com.google.protobuf.ByteStringThe prefix to use when emitting statistics.booleanDelay the specified duration before closing the connection when the policy evaluation result is ``DENY``.booleanThe match tree to use when resolving RBAC action for incoming connections.booleanhasRules()Specify the RBAC rules to be applied globally.booleanThe match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.booleanShadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDelayDeny(com.google.protobuf.Duration value) Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMatcher(Matcher value) The match tree to use when resolving RBAC action for incoming connections.mergeRules(RBAC value) Specify the RBAC rules to be applied globally.mergeShadowMatcher(Matcher value) The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.mergeShadowRules(RBAC value) Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.final RBAC.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDelayDeny(com.google.protobuf.Duration value) Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``.setDelayDeny(com.google.protobuf.Duration.Builder builderForValue) Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``.RBAC enforcement strategy.setEnforcementTypeValue(int value) RBAC enforcement strategy.setMatcher(Matcher value) The match tree to use when resolving RBAC action for incoming connections.setMatcher(Matcher.Builder builderForValue) The match tree to use when resolving RBAC action for incoming connections.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Specify the RBAC rules to be applied globally.setRules(RBAC.Builder builderForValue) Specify the RBAC rules to be applied globally.setShadowMatcher(Matcher value) The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.setShadowMatcher(Matcher.Builder builderForValue) The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.setShadowRules(RBAC value) Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.setShadowRules(RBAC.Builder builderForValue) Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.setShadowRulesStatPrefix(String value) If specified, shadow rules will emit stats with the given prefix.setShadowRulesStatPrefixBytes(com.google.protobuf.ByteString value) If specified, shadow rules will emit stats with the given prefix.setStatPrefix(String value) The prefix to use when emitting statistics.setStatPrefixBytes(com.google.protobuf.ByteString value) The prefix to use when emitting statistics.final RBAC.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<RBAC.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<RBAC.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<RBAC.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<RBAC.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
-
setRepeatedField
public RBAC.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<RBAC.Builder>
-
addRepeatedField
public RBAC.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<RBAC.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RBAC.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
-
mergeFrom
public RBAC.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<RBAC.Builder>- Throws:
IOException
-
hasRules
public boolean hasRules()Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied. If present and empty, DENY. If both rules and matcher are configured, rules will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasRulesin interfaceRBACOrBuilder- Returns:
- Whether the rules field is set.
-
getRules
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied. If present and empty, DENY. If both rules and matcher are configured, rules will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getRulesin interfaceRBACOrBuilder- Returns:
- The rules.
-
setRules
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied. If present and empty, DENY. If both rules and matcher are configured, rules will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
setRules
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied. If present and empty, DENY. If both rules and matcher are configured, rules will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
mergeRules
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied. If present and empty, DENY. If both rules and matcher are configured, rules will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
clearRules
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied. If present and empty, DENY. If both rules and matcher are configured, rules will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
getRulesBuilder
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied. If present and empty, DENY. If both rules and matcher are configured, rules will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
getRulesOrBuilder
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied. If present and empty, DENY. If both rules and matcher are configured, rules will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getRulesOrBuilderin interfaceRBACOrBuilder
-
hasMatcher
public boolean hasMatcher()The match tree to use when resolving RBAC action for incoming connections. Connections do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all connections.
.xds.type.matcher.v3.Matcher matcher = 6 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasMatcherin interfaceRBACOrBuilder- Returns:
- Whether the matcher field is set.
-
getMatcher
The match tree to use when resolving RBAC action for incoming connections. Connections do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all connections.
.xds.type.matcher.v3.Matcher matcher = 6 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getMatcherin interfaceRBACOrBuilder- Returns:
- The matcher.
-
setMatcher
The match tree to use when resolving RBAC action for incoming connections. Connections do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all connections.
.xds.type.matcher.v3.Matcher matcher = 6 [(.udpa.annotations.field_migrate) = { ... } -
setMatcher
The match tree to use when resolving RBAC action for incoming connections. Connections do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all connections.
.xds.type.matcher.v3.Matcher matcher = 6 [(.udpa.annotations.field_migrate) = { ... } -
mergeMatcher
The match tree to use when resolving RBAC action for incoming connections. Connections do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all connections.
.xds.type.matcher.v3.Matcher matcher = 6 [(.udpa.annotations.field_migrate) = { ... } -
clearMatcher
The match tree to use when resolving RBAC action for incoming connections. Connections do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all connections.
.xds.type.matcher.v3.Matcher matcher = 6 [(.udpa.annotations.field_migrate) = { ... } -
getMatcherBuilder
The match tree to use when resolving RBAC action for incoming connections. Connections do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all connections.
.xds.type.matcher.v3.Matcher matcher = 6 [(.udpa.annotations.field_migrate) = { ... } -
getMatcherOrBuilder
The match tree to use when resolving RBAC action for incoming connections. Connections do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all connections.
.xds.type.matcher.v3.Matcher matcher = 6 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getMatcherOrBuilderin interfaceRBACOrBuilder
-
hasShadowRules
public boolean hasShadowRules()Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing. If absent, no shadow RBAC policy will be applied. If both shadow rules and shadow matcher are configured, shadow rules will be ignored.
.envoy.config.rbac.v3.RBAC shadow_rules = 2 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasShadowRulesin interfaceRBACOrBuilder- Returns:
- Whether the shadowRules field is set.
-
getShadowRules
Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing. If absent, no shadow RBAC policy will be applied. If both shadow rules and shadow matcher are configured, shadow rules will be ignored.
.envoy.config.rbac.v3.RBAC shadow_rules = 2 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getShadowRulesin interfaceRBACOrBuilder- Returns:
- The shadowRules.
-
setShadowRules
Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing. If absent, no shadow RBAC policy will be applied. If both shadow rules and shadow matcher are configured, shadow rules will be ignored.
.envoy.config.rbac.v3.RBAC shadow_rules = 2 [(.udpa.annotations.field_migrate) = { ... } -
setShadowRules
Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing. If absent, no shadow RBAC policy will be applied. If both shadow rules and shadow matcher are configured, shadow rules will be ignored.
.envoy.config.rbac.v3.RBAC shadow_rules = 2 [(.udpa.annotations.field_migrate) = { ... } -
mergeShadowRules
Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing. If absent, no shadow RBAC policy will be applied. If both shadow rules and shadow matcher are configured, shadow rules will be ignored.
.envoy.config.rbac.v3.RBAC shadow_rules = 2 [(.udpa.annotations.field_migrate) = { ... } -
clearShadowRules
Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing. If absent, no shadow RBAC policy will be applied. If both shadow rules and shadow matcher are configured, shadow rules will be ignored.
.envoy.config.rbac.v3.RBAC shadow_rules = 2 [(.udpa.annotations.field_migrate) = { ... } -
getShadowRulesBuilder
Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing. If absent, no shadow RBAC policy will be applied. If both shadow rules and shadow matcher are configured, shadow rules will be ignored.
.envoy.config.rbac.v3.RBAC shadow_rules = 2 [(.udpa.annotations.field_migrate) = { ... } -
getShadowRulesOrBuilder
Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing. If absent, no shadow RBAC policy will be applied. If both shadow rules and shadow matcher are configured, shadow rules will be ignored.
.envoy.config.rbac.v3.RBAC shadow_rules = 2 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getShadowRulesOrBuilderin interfaceRBACOrBuilder
-
hasShadowMatcher
public boolean hasShadowMatcher()The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 7 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasShadowMatcherin interfaceRBACOrBuilder- Returns:
- Whether the shadowMatcher field is set.
-
getShadowMatcher
The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 7 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getShadowMatcherin interfaceRBACOrBuilder- Returns:
- The shadowMatcher.
-
setShadowMatcher
The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 7 [(.udpa.annotations.field_migrate) = { ... } -
setShadowMatcher
The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 7 [(.udpa.annotations.field_migrate) = { ... } -
mergeShadowMatcher
The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 7 [(.udpa.annotations.field_migrate) = { ... } -
clearShadowMatcher
The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 7 [(.udpa.annotations.field_migrate) = { ... } -
getShadowMatcherBuilder
The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 7 [(.udpa.annotations.field_migrate) = { ... } -
getShadowMatcherOrBuilder
The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 7 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getShadowMatcherOrBuilderin interfaceRBACOrBuilder
-
getShadowRulesStatPrefix
If specified, shadow rules will emit stats with the given prefix. This is useful to distinguish the stat when there are more than 1 RBAC filter configured with shadow rules.
string shadow_rules_stat_prefix = 5;- Specified by:
getShadowRulesStatPrefixin interfaceRBACOrBuilder- Returns:
- The shadowRulesStatPrefix.
-
getShadowRulesStatPrefixBytes
public com.google.protobuf.ByteString getShadowRulesStatPrefixBytes()If specified, shadow rules will emit stats with the given prefix. This is useful to distinguish the stat when there are more than 1 RBAC filter configured with shadow rules.
string shadow_rules_stat_prefix = 5;- Specified by:
getShadowRulesStatPrefixBytesin interfaceRBACOrBuilder- Returns:
- The bytes for shadowRulesStatPrefix.
-
setShadowRulesStatPrefix
If specified, shadow rules will emit stats with the given prefix. This is useful to distinguish the stat when there are more than 1 RBAC filter configured with shadow rules.
string shadow_rules_stat_prefix = 5;- Parameters:
value- The shadowRulesStatPrefix to set.- Returns:
- This builder for chaining.
-
clearShadowRulesStatPrefix
If specified, shadow rules will emit stats with the given prefix. This is useful to distinguish the stat when there are more than 1 RBAC filter configured with shadow rules.
string shadow_rules_stat_prefix = 5;- Returns:
- This builder for chaining.
-
setShadowRulesStatPrefixBytes
If specified, shadow rules will emit stats with the given prefix. This is useful to distinguish the stat when there are more than 1 RBAC filter configured with shadow rules.
string shadow_rules_stat_prefix = 5;- Parameters:
value- The bytes for shadowRulesStatPrefix to set.- Returns:
- This builder for chaining.
-
getStatPrefix
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }- Specified by:
getStatPrefixin interfaceRBACOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public com.google.protobuf.ByteString getStatPrefixBytes()The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }- Specified by:
getStatPrefixBytesin interfaceRBACOrBuilder- Returns:
- The bytes for statPrefix.
-
setStatPrefix
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }- Parameters:
value- The statPrefix to set.- Returns:
- This builder for chaining.
-
clearStatPrefix
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setStatPrefixBytes
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }- Parameters:
value- The bytes for statPrefix to set.- Returns:
- This builder for chaining.
-
getEnforcementTypeValue
public int getEnforcementTypeValue()RBAC enforcement strategy. By default RBAC will be enforced only once when the first byte of data arrives from the downstream. When used in conjunction with filters that emit dynamic metadata after decoding every payload (e.g., Mongo, MySQL, Kafka) set the enforcement type to CONTINUOUS to enforce RBAC policies on every message boundary.
.envoy.extensions.filters.network.rbac.v3.RBAC.EnforcementType enforcement_type = 4;- Specified by:
getEnforcementTypeValuein interfaceRBACOrBuilder- Returns:
- The enum numeric value on the wire for enforcementType.
-
setEnforcementTypeValue
RBAC enforcement strategy. By default RBAC will be enforced only once when the first byte of data arrives from the downstream. When used in conjunction with filters that emit dynamic metadata after decoding every payload (e.g., Mongo, MySQL, Kafka) set the enforcement type to CONTINUOUS to enforce RBAC policies on every message boundary.
.envoy.extensions.filters.network.rbac.v3.RBAC.EnforcementType enforcement_type = 4;- Parameters:
value- The enum numeric value on the wire for enforcementType to set.- Returns:
- This builder for chaining.
-
getEnforcementType
RBAC enforcement strategy. By default RBAC will be enforced only once when the first byte of data arrives from the downstream. When used in conjunction with filters that emit dynamic metadata after decoding every payload (e.g., Mongo, MySQL, Kafka) set the enforcement type to CONTINUOUS to enforce RBAC policies on every message boundary.
.envoy.extensions.filters.network.rbac.v3.RBAC.EnforcementType enforcement_type = 4;- Specified by:
getEnforcementTypein interfaceRBACOrBuilder- Returns:
- The enforcementType.
-
setEnforcementType
RBAC enforcement strategy. By default RBAC will be enforced only once when the first byte of data arrives from the downstream. When used in conjunction with filters that emit dynamic metadata after decoding every payload (e.g., Mongo, MySQL, Kafka) set the enforcement type to CONTINUOUS to enforce RBAC policies on every message boundary.
.envoy.extensions.filters.network.rbac.v3.RBAC.EnforcementType enforcement_type = 4;- Parameters:
value- The enforcementType to set.- Returns:
- This builder for chaining.
-
clearEnforcementType
RBAC enforcement strategy. By default RBAC will be enforced only once when the first byte of data arrives from the downstream. When used in conjunction with filters that emit dynamic metadata after decoding every payload (e.g., Mongo, MySQL, Kafka) set the enforcement type to CONTINUOUS to enforce RBAC policies on every message boundary.
.envoy.extensions.filters.network.rbac.v3.RBAC.EnforcementType enforcement_type = 4;- Returns:
- This builder for chaining.
-
hasDelayDeny
public boolean hasDelayDeny()Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``. If this is not present, the connection will be closed immediately. This is useful to provide a better protection for Envoy against clients that retries aggressively when the connection is rejected by the RBAC filter.
.google.protobuf.Duration delay_deny = 8;- Specified by:
hasDelayDenyin interfaceRBACOrBuilder- Returns:
- Whether the delayDeny field is set.
-
getDelayDeny
public com.google.protobuf.Duration getDelayDeny()Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``. If this is not present, the connection will be closed immediately. This is useful to provide a better protection for Envoy against clients that retries aggressively when the connection is rejected by the RBAC filter.
.google.protobuf.Duration delay_deny = 8;- Specified by:
getDelayDenyin interfaceRBACOrBuilder- Returns:
- The delayDeny.
-
setDelayDeny
Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``. If this is not present, the connection will be closed immediately. This is useful to provide a better protection for Envoy against clients that retries aggressively when the connection is rejected by the RBAC filter.
.google.protobuf.Duration delay_deny = 8; -
setDelayDeny
Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``. If this is not present, the connection will be closed immediately. This is useful to provide a better protection for Envoy against clients that retries aggressively when the connection is rejected by the RBAC filter.
.google.protobuf.Duration delay_deny = 8; -
mergeDelayDeny
Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``. If this is not present, the connection will be closed immediately. This is useful to provide a better protection for Envoy against clients that retries aggressively when the connection is rejected by the RBAC filter.
.google.protobuf.Duration delay_deny = 8; -
clearDelayDeny
Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``. If this is not present, the connection will be closed immediately. This is useful to provide a better protection for Envoy against clients that retries aggressively when the connection is rejected by the RBAC filter.
.google.protobuf.Duration delay_deny = 8; -
getDelayDenyBuilder
public com.google.protobuf.Duration.Builder getDelayDenyBuilder()Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``. If this is not present, the connection will be closed immediately. This is useful to provide a better protection for Envoy against clients that retries aggressively when the connection is rejected by the RBAC filter.
.google.protobuf.Duration delay_deny = 8; -
getDelayDenyOrBuilder
public com.google.protobuf.DurationOrBuilder getDelayDenyOrBuilder()Delay the specified duration before closing the connection when the policy evaluation result is ``DENY``. If this is not present, the connection will be closed immediately. This is useful to provide a better protection for Envoy against clients that retries aggressively when the connection is rejected by the RBAC filter.
.google.protobuf.Duration delay_deny = 8;- Specified by:
getDelayDenyOrBuilderin interfaceRBACOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
-