Class RBAC.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RBAC.Builder>
com.google.protobuf.GeneratedMessage.Builder<RBAC.Builder>
io.envoyproxy.envoy.extensions.filters.http.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.GeneratedMessage.Builder<RBAC.Builder>
implements RBACOrBuilder
RBAC filter config. [#next-free-field: 8]Protobuf type
envoy.extensions.filters.http.rbac.v3.RBAC
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private Matcher
private com.google.protobuf.SingleFieldBuilder
<Matcher, Matcher.Builder, MatcherOrBuilder> private RBAC
private com.google.protobuf.SingleFieldBuilder
<RBAC, RBAC.Builder, RBACOrBuilder> private Object
private Matcher
private com.google.protobuf.SingleFieldBuilder
<Matcher, Matcher.Builder, MatcherOrBuilder> private RBAC
private com.google.protobuf.SingleFieldBuilder
<RBAC, RBAC.Builder, RBACOrBuilder> private Object
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(RBAC result) clear()
The match tree to use when resolving RBAC action for incoming requests.Specify the RBAC rules to be applied globally.If specified, rules will emit stats with the given prefix.The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests.Shadow rules are not enforced by the filter (i.e., returning a 403) but will emit stats and logs and can be used for rule testing.If specified, shadow rules will emit stats with the given prefix.If track_per_rule_stats is true, counters will be published for each rule and shadow rule.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The match tree to use when resolving RBAC action for incoming requests.The match tree to use when resolving RBAC action for incoming requests.The match tree to use when resolving RBAC action for incoming requests.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.If specified, rules will emit stats with the given prefix.com.google.protobuf.ByteString
If specified, rules will emit stats with the given prefix.The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests.The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests.The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests.Shadow rules are not enforced by the filter (i.e., returning a 403) but will emit stats and logs and can be used for rule testing.Shadow rules are not enforced by the filter (i.e., returning a 403) but will emit stats and logs and can be used for rule testing.Shadow rules are not enforced by the filter (i.e., returning a 403) 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.ByteString
If specified, shadow rules will emit stats with the given prefix.boolean
If track_per_rule_stats is true, counters will be published for each rule and shadow rule.boolean
The match tree to use when resolving RBAC action for incoming requests.boolean
hasRules()
Specify the RBAC rules to be applied globally.boolean
The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests.boolean
Shadow rules are not enforced by the filter (i.e., returning a 403) but will emit stats and logs and can be used for rule testing.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<Matcher, Matcher.Builder, MatcherOrBuilder> The match tree to use when resolving RBAC action for incoming requests.private com.google.protobuf.SingleFieldBuilder
<RBAC, RBAC.Builder, RBACOrBuilder> Specify the RBAC rules to be applied globally.private com.google.protobuf.SingleFieldBuilder
<Matcher, Matcher.Builder, MatcherOrBuilder> The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests.private com.google.protobuf.SingleFieldBuilder
<RBAC, RBAC.Builder, RBACOrBuilder> Shadow rules are not enforced by the filter (i.e., returning a 403) but will emit stats and logs and can be used for rule testing.final boolean
private void
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 requests.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 requests.mergeShadowRules
(RBAC value) Shadow rules are not enforced by the filter (i.e., returning a 403) but will emit stats and logs and can be used for rule testing.setMatcher
(Matcher value) The match tree to use when resolving RBAC action for incoming requests.setMatcher
(Matcher.Builder builderForValue) The match tree to use when resolving RBAC action for incoming requests.Specify the RBAC rules to be applied globally.setRules
(RBAC.Builder builderForValue) Specify the RBAC rules to be applied globally.setRulesStatPrefix
(String value) If specified, rules will emit stats with the given prefix.setRulesStatPrefixBytes
(com.google.protobuf.ByteString value) If specified, rules will emit stats with the given prefix.setShadowMatcher
(Matcher value) The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests.setShadowMatcher
(Matcher.Builder builderForValue) The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests.setShadowRules
(RBAC value) Shadow rules are not enforced by the filter (i.e., returning a 403) 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 (i.e., returning a 403) 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.setTrackPerRuleStats
(boolean value) If track_per_rule_stats is true, counters will be published for each rule and shadow rule.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
rules_
-
rulesBuilder_
-
rulesStatPrefix_
-
matcher_
-
matcherBuilder_
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder, matcherBuilder_MatcherOrBuilder> -
shadowRules_
-
shadowRulesBuilder_
-
shadowMatcher_
-
shadowMatcherBuilder_
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder, shadowMatcherBuilder_MatcherOrBuilder> -
shadowRulesStatPrefix_
-
trackPerRuleStats_
private boolean trackPerRuleStats_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RBAC.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
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<RBAC.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<RBAC.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RBAC.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<RBAC.Builder>
-
mergeFrom
public RBAC.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<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:
hasRules
in 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:
getRules
in 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:
getRulesOrBuilder
in interfaceRBACOrBuilder
-
internalGetRulesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RBAC,RBAC.Builder, internalGetRulesFieldBuilder()RBACOrBuilder> 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) = { ... }
-
getRulesStatPrefix
If specified, 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 rules.
string rules_stat_prefix = 6;
- Specified by:
getRulesStatPrefix
in interfaceRBACOrBuilder
- Returns:
- The rulesStatPrefix.
-
getRulesStatPrefixBytes
public com.google.protobuf.ByteString getRulesStatPrefixBytes()If specified, 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 rules.
string rules_stat_prefix = 6;
- Specified by:
getRulesStatPrefixBytes
in interfaceRBACOrBuilder
- Returns:
- The bytes for rulesStatPrefix.
-
setRulesStatPrefix
If specified, 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 rules.
string rules_stat_prefix = 6;
- Parameters:
value
- The rulesStatPrefix to set.- Returns:
- This builder for chaining.
-
clearRulesStatPrefix
If specified, 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 rules.
string rules_stat_prefix = 6;
- Returns:
- This builder for chaining.
-
setRulesStatPrefixBytes
If specified, 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 rules.
string rules_stat_prefix = 6;
- Parameters:
value
- The bytes for rulesStatPrefix to set.- Returns:
- This builder for chaining.
-
hasMatcher
public boolean hasMatcher()The match tree to use when resolving RBAC action for incoming requests. Requests do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all requests.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }
- Specified by:
hasMatcher
in interfaceRBACOrBuilder
- Returns:
- Whether the matcher field is set.
-
getMatcher
The match tree to use when resolving RBAC action for incoming requests. Requests do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all requests.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }
- Specified by:
getMatcher
in interfaceRBACOrBuilder
- Returns:
- The matcher.
-
setMatcher
The match tree to use when resolving RBAC action for incoming requests. Requests do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all requests.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }
-
setMatcher
The match tree to use when resolving RBAC action for incoming requests. Requests do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all requests.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }
-
mergeMatcher
The match tree to use when resolving RBAC action for incoming requests. Requests do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all requests.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }
-
clearMatcher
The match tree to use when resolving RBAC action for incoming requests. Requests do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all requests.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }
-
getMatcherBuilder
The match tree to use when resolving RBAC action for incoming requests. Requests do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all requests.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }
-
getMatcherOrBuilder
The match tree to use when resolving RBAC action for incoming requests. Requests do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all requests.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }
- Specified by:
getMatcherOrBuilder
in interfaceRBACOrBuilder
-
internalGetMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder, internalGetMatcherFieldBuilder()MatcherOrBuilder> The match tree to use when resolving RBAC action for incoming requests. Requests do not match any matcher will be denied. If absent, no enforcing RBAC matcher will be applied. If present and empty, deny all requests.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }
-
hasShadowRules
public boolean hasShadowRules()Shadow rules are not enforced by the filter (i.e., returning a 403) 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:
hasShadowRules
in interfaceRBACOrBuilder
- Returns:
- Whether the shadowRules field is set.
-
getShadowRules
Shadow rules are not enforced by the filter (i.e., returning a 403) 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:
getShadowRules
in interfaceRBACOrBuilder
- Returns:
- The shadowRules.
-
setShadowRules
Shadow rules are not enforced by the filter (i.e., returning a 403) 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 (i.e., returning a 403) 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 (i.e., returning a 403) 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 (i.e., returning a 403) 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 (i.e., returning a 403) 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 (i.e., returning a 403) 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:
getShadowRulesOrBuilder
in interfaceRBACOrBuilder
-
internalGetShadowRulesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RBAC,RBAC.Builder, internalGetShadowRulesFieldBuilder()RBACOrBuilder> Shadow rules are not enforced by the filter (i.e., returning a 403) 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) = { ... }
-
hasShadowMatcher
public boolean hasShadowMatcher()The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }
- Specified by:
hasShadowMatcher
in 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 requests. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }
- Specified by:
getShadowMatcher
in interfaceRBACOrBuilder
- Returns:
- The shadowMatcher.
-
setShadowMatcher
The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }
-
setShadowMatcher
The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }
-
mergeShadowMatcher
The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }
-
clearShadowMatcher
The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }
-
getShadowMatcherBuilder
The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }
-
getShadowMatcherOrBuilder
The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }
- Specified by:
getShadowMatcherOrBuilder
in interfaceRBACOrBuilder
-
internalGetShadowMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder, internalGetShadowMatcherFieldBuilder()MatcherOrBuilder> The match tree to use for emitting stats and logs which can be used for rule testing for incoming requests. If absent, no shadow matcher will be applied.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }
-
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 = 3;
- Specified by:
getShadowRulesStatPrefix
in 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 = 3;
- Specified by:
getShadowRulesStatPrefixBytes
in 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 = 3;
- 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 = 3;
- 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 = 3;
- Parameters:
value
- The bytes for shadowRulesStatPrefix to set.- Returns:
- This builder for chaining.
-
getTrackPerRuleStats
public boolean getTrackPerRuleStats()If track_per_rule_stats is true, counters will be published for each rule and shadow rule.
bool track_per_rule_stats = 7;
- Specified by:
getTrackPerRuleStats
in interfaceRBACOrBuilder
- Returns:
- The trackPerRuleStats.
-
setTrackPerRuleStats
If track_per_rule_stats is true, counters will be published for each rule and shadow rule.
bool track_per_rule_stats = 7;
- Parameters:
value
- The trackPerRuleStats to set.- Returns:
- This builder for chaining.
-
clearTrackPerRuleStats
If track_per_rule_stats is true, counters will be published for each rule and shadow rule.
bool track_per_rule_stats = 7;
- Returns:
- This builder for chaining.
-