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.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.GeneratedMessageV3.Builder<RBAC.Builder>
implements RBACOrBuilder
RBAC filter config. [#next-free-field: 8]Protobuf type
envoy.extensions.filters.http.rbac.v3.RBAC-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Match tree for evaluating RBAC actions on incoming requests.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The primary RBAC policy which will be applied globally, to all the incoming requestsIf specified, rules will emit stats with the given prefix.If absent, no shadow matcher will be applied.Shadow policy for testing RBAC rules without enforcing them.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.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMatch tree for evaluating RBAC actions on incoming requests.Match tree for evaluating RBAC actions on incoming requests.Match tree for evaluating RBAC actions on incoming requests.getRules()The primary RBAC policy which will be applied globally, to all the incoming requestsThe primary RBAC policy which will be applied globally, to all the incoming requestsThe primary RBAC policy which will be applied globally, to all the incoming requestsIf specified, rules will emit stats with the given prefix.com.google.protobuf.ByteStringIf specified, rules will emit stats with the given prefix.If absent, no shadow matcher will be applied.If absent, no shadow matcher will be applied.If absent, no shadow matcher will be applied.Shadow policy for testing RBAC rules without enforcing them.Shadow policy for testing RBAC rules without enforcing them.Shadow policy for testing RBAC rules without enforcing them.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.booleanIf ``track_per_rule_stats`` is ``true``, counters will be published for each rule and shadow rule.booleanMatch tree for evaluating RBAC actions on incoming requests.booleanhasRules()The primary RBAC policy which will be applied globally, to all the incoming requestsbooleanIf absent, no shadow matcher will be applied.booleanShadow policy for testing RBAC rules without enforcing them.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMatcher(Matcher value) Match tree for evaluating RBAC actions on incoming requests.mergeRules(RBAC value) The primary RBAC policy which will be applied globally, to all the incoming requestsmergeShadowMatcher(Matcher value) If absent, no shadow matcher will be applied.mergeShadowRules(RBAC value) Shadow policy for testing RBAC rules without enforcing them.final RBAC.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setMatcher(Matcher value) Match tree for evaluating RBAC actions on incoming requests.setMatcher(Matcher.Builder builderForValue) Match tree for evaluating RBAC actions on incoming requests.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The primary RBAC policy which will be applied globally, to all the incoming requestssetRules(RBAC.Builder builderForValue) The primary RBAC policy which will be applied globally, to all the incoming requestssetRulesStatPrefix(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) If absent, no shadow matcher will be applied.setShadowMatcher(Matcher.Builder builderForValue) If absent, no shadow matcher will be applied.setShadowRules(RBAC value) Shadow policy for testing RBAC rules without enforcing them.setShadowRules(RBAC.Builder builderForValue) Shadow policy for testing RBAC rules without enforcing them.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.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()The primary RBAC policy which will be applied globally, to all the incoming requests. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied. .. note:: When 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
The primary RBAC policy which will be applied globally, to all the incoming requests. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied. .. note:: When 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
The primary RBAC policy which will be applied globally, to all the incoming requests. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied. .. note:: When both ``rules`` and ``matcher`` are configured, ``rules`` will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
setRules
The primary RBAC policy which will be applied globally, to all the incoming requests. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied. .. note:: When both ``rules`` and ``matcher`` are configured, ``rules`` will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
mergeRules
The primary RBAC policy which will be applied globally, to all the incoming requests. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied. .. note:: When both ``rules`` and ``matcher`` are configured, ``rules`` will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
clearRules
The primary RBAC policy which will be applied globally, to all the incoming requests. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied. .. note:: When both ``rules`` and ``matcher`` are configured, ``rules`` will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
getRulesBuilder
The primary RBAC policy which will be applied globally, to all the incoming requests. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied. .. note:: When both ``rules`` and ``matcher`` are configured, ``rules`` will be ignored.
.envoy.config.rbac.v3.RBAC rules = 1 [(.udpa.annotations.field_migrate) = { ... } -
getRulesOrBuilder
The primary RBAC policy which will be applied globally, to all the incoming requests. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied. .. note:: When 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
-
getRulesStatPrefix
If specified, rules will emit stats with the given prefix. This is useful for distinguishing metrics when multiple RBAC filters are configured.
string rules_stat_prefix = 6;- Specified by:
getRulesStatPrefixin interfaceRBACOrBuilder- Returns:
- The rulesStatPrefix.
-
getRulesStatPrefixBytes
public com.google.protobuf.ByteString getRulesStatPrefixBytes()If specified, rules will emit stats with the given prefix. This is useful for distinguishing metrics when multiple RBAC filters are configured.
string rules_stat_prefix = 6;- Specified by:
getRulesStatPrefixBytesin interfaceRBACOrBuilder- Returns:
- The bytes for rulesStatPrefix.
-
setRulesStatPrefix
If specified, rules will emit stats with the given prefix. This is useful for distinguishing metrics when multiple RBAC filters are configured.
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 for distinguishing metrics when multiple RBAC filters are configured.
string rules_stat_prefix = 6;- Returns:
- This builder for chaining.
-
setRulesStatPrefixBytes
If specified, rules will emit stats with the given prefix. This is useful for distinguishing metrics when multiple RBAC filters are configured.
string rules_stat_prefix = 6;- Parameters:
value- The bytes for rulesStatPrefix to set.- Returns:
- This builder for chaining.
-
hasMatcher
public boolean hasMatcher()Match tree for evaluating RBAC actions on incoming requests. Requests not matching any matcher will be denied. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasMatcherin interfaceRBACOrBuilder- Returns:
- Whether the matcher field is set.
-
getMatcher
Match tree for evaluating RBAC actions on incoming requests. Requests not matching any matcher will be denied. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getMatcherin interfaceRBACOrBuilder- Returns:
- The matcher.
-
setMatcher
Match tree for evaluating RBAC actions on incoming requests. Requests not matching any matcher will be denied. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... } -
setMatcher
Match tree for evaluating RBAC actions on incoming requests. Requests not matching any matcher will be denied. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... } -
mergeMatcher
Match tree for evaluating RBAC actions on incoming requests. Requests not matching any matcher will be denied. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... } -
clearMatcher
Match tree for evaluating RBAC actions on incoming requests. Requests not matching any matcher will be denied. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... } -
getMatcherBuilder
Match tree for evaluating RBAC actions on incoming requests. Requests not matching any matcher will be denied. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... } -
getMatcherOrBuilder
Match tree for evaluating RBAC actions on incoming requests. Requests not matching any matcher will be denied. * If absent, no RBAC enforcement occurs. * If set but empty, all requests are denied.
.xds.type.matcher.v3.Matcher matcher = 4 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getMatcherOrBuilderin interfaceRBACOrBuilder
-
hasShadowRules
public boolean hasShadowRules()Shadow policy for testing RBAC rules without enforcing them. These rules generate stats and logs but do not deny requests. If absent, no shadow RBAC policy will be applied. .. note:: When 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 policy for testing RBAC rules without enforcing them. These rules generate stats and logs but do not deny requests. If absent, no shadow RBAC policy will be applied. .. note:: When 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 policy for testing RBAC rules without enforcing them. These rules generate stats and logs but do not deny requests. If absent, no shadow RBAC policy will be applied. .. note:: When 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 policy for testing RBAC rules without enforcing them. These rules generate stats and logs but do not deny requests. If absent, no shadow RBAC policy will be applied. .. note:: When 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 policy for testing RBAC rules without enforcing them. These rules generate stats and logs but do not deny requests. If absent, no shadow RBAC policy will be applied. .. note:: When 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 policy for testing RBAC rules without enforcing them. These rules generate stats and logs but do not deny requests. If absent, no shadow RBAC policy will be applied. .. note:: When 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 policy for testing RBAC rules without enforcing them. These rules generate stats and logs but do not deny requests. If absent, no shadow RBAC policy will be applied. .. note:: When 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 policy for testing RBAC rules without enforcing them. These rules generate stats and logs but do not deny requests. If absent, no shadow RBAC policy will be applied. .. note:: When 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()If absent, no shadow matcher will be applied. Match tree for testing RBAC rules through stats and logs without enforcing them. If absent, no shadow matching occurs.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasShadowMatcherin interfaceRBACOrBuilder- Returns:
- Whether the shadowMatcher field is set.
-
getShadowMatcher
If absent, no shadow matcher will be applied. Match tree for testing RBAC rules through stats and logs without enforcing them. If absent, no shadow matching occurs.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getShadowMatcherin interfaceRBACOrBuilder- Returns:
- The shadowMatcher.
-
setShadowMatcher
If absent, no shadow matcher will be applied. Match tree for testing RBAC rules through stats and logs without enforcing them. If absent, no shadow matching occurs.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... } -
setShadowMatcher
If absent, no shadow matcher will be applied. Match tree for testing RBAC rules through stats and logs without enforcing them. If absent, no shadow matching occurs.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... } -
mergeShadowMatcher
If absent, no shadow matcher will be applied. Match tree for testing RBAC rules through stats and logs without enforcing them. If absent, no shadow matching occurs.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... } -
clearShadowMatcher
If absent, no shadow matcher will be applied. Match tree for testing RBAC rules through stats and logs without enforcing them. If absent, no shadow matching occurs.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... } -
getShadowMatcherBuilder
If absent, no shadow matcher will be applied. Match tree for testing RBAC rules through stats and logs without enforcing them. If absent, no shadow matching occurs.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... } -
getShadowMatcherOrBuilder
If absent, no shadow matcher will be applied. Match tree for testing RBAC rules through stats and logs without enforcing them. If absent, no shadow matching occurs.
.xds.type.matcher.v3.Matcher shadow_matcher = 5 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getShadowMatcherOrBuilderin interfaceRBACOrBuilder
-
getShadowRulesStatPrefix
If specified, shadow rules will emit stats with the given prefix. This is useful for distinguishing metrics when multiple RBAC filters use shadow rules.
string shadow_rules_stat_prefix = 3;- 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 for distinguishing metrics when multiple RBAC filters use shadow rules.
string shadow_rules_stat_prefix = 3;- Specified by:
getShadowRulesStatPrefixBytesin interfaceRBACOrBuilder- Returns:
- The bytes for shadowRulesStatPrefix.
-
setShadowRulesStatPrefix
If specified, shadow rules will emit stats with the given prefix. This is useful for distinguishing metrics when multiple RBAC filters use 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 for distinguishing metrics when multiple RBAC filters use 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 for distinguishing metrics when multiple RBAC filters use 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:
getTrackPerRuleStatsin 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.
-
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>
-