Class RBAC.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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: 8]
Protobuf typeenvoy.extensions.filters.network.rbac.v3.RBAC
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RBAC.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RBACbuild()RBACbuildPartial()RBAC.Builderclear()RBAC.BuilderclearEnforcementType()RBAC enforcement strategy.RBAC.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RBAC.BuilderclearMatcher()The match tree to use when resolving RBAC action for incoming connections.RBAC.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RBAC.BuilderclearRules()Specify the RBAC rules to be applied globally.RBAC.BuilderclearShadowMatcher()The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.RBAC.BuilderclearShadowRules()Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.RBAC.BuilderclearShadowRulesStatPrefix()If specified, shadow rules will emit stats with the given prefix.RBAC.BuilderclearStatPrefix()The prefix to use when emitting statistics.RBAC.Builderclone()RBACgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RBAC.EnforcementTypegetEnforcementType()RBAC enforcement strategy.intgetEnforcementTypeValue()RBAC enforcement strategy.MatchergetMatcher()The match tree to use when resolving RBAC action for incoming connections.Matcher.BuildergetMatcherBuilder()The match tree to use when resolving RBAC action for incoming connections.MatcherOrBuildergetMatcherOrBuilder()The match tree to use when resolving RBAC action for incoming connections.RBACgetRules()Specify the RBAC rules to be applied globally.RBAC.BuildergetRulesBuilder()Specify the RBAC rules to be applied globally.RBACOrBuildergetRulesOrBuilder()Specify the RBAC rules to be applied globally.MatchergetShadowMatcher()The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.Matcher.BuildergetShadowMatcherBuilder()The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.MatcherOrBuildergetShadowMatcherOrBuilder()The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.RBACgetShadowRules()Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.RBAC.BuildergetShadowRulesBuilder()Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.RBACOrBuildergetShadowRulesOrBuilder()Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.StringgetShadowRulesStatPrefix()If specified, shadow rules will emit stats with the given prefix.com.google.protobuf.ByteStringgetShadowRulesStatPrefixBytes()If specified, shadow rules will emit stats with the given prefix.StringgetStatPrefix()The prefix to use when emitting statistics.com.google.protobuf.ByteStringgetStatPrefixBytes()The prefix to use when emitting statistics.booleanhasMatcher()The match tree to use when resolving RBAC action for incoming connections.booleanhasRules()Specify the RBAC rules to be applied globally.booleanhasShadowMatcher()The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.booleanhasShadowRules()Shadow 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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RBAC.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RBAC.BuildermergeFrom(com.google.protobuf.Message other)RBAC.BuildermergeFrom(RBAC other)RBAC.BuildermergeMatcher(Matcher value)The match tree to use when resolving RBAC action for incoming connections.RBAC.BuildermergeRules(RBAC value)Specify the RBAC rules to be applied globally.RBAC.BuildermergeShadowMatcher(Matcher value)The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.RBAC.BuildermergeShadowRules(RBAC value)Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.RBAC.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RBAC.BuildersetEnforcementType(RBAC.EnforcementType value)RBAC enforcement strategy.RBAC.BuildersetEnforcementTypeValue(int value)RBAC enforcement strategy.RBAC.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RBAC.BuildersetMatcher(Matcher value)The match tree to use when resolving RBAC action for incoming connections.RBAC.BuildersetMatcher(Matcher.Builder builderForValue)The match tree to use when resolving RBAC action for incoming connections.RBAC.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RBAC.BuildersetRules(RBAC value)Specify the RBAC rules to be applied globally.RBAC.BuildersetRules(RBAC.Builder builderForValue)Specify the RBAC rules to be applied globally.RBAC.BuildersetShadowMatcher(Matcher value)The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.RBAC.BuildersetShadowMatcher(Matcher.Builder builderForValue)The match tree to use for emitting stats and logs which can be used for rule testing for incoming connections.RBAC.BuildersetShadowRules(RBAC value)Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.RBAC.BuildersetShadowRules(RBAC.Builder builderForValue)Shadow rules are not enforced by the filter but will emit stats and logs and can be used for rule testing.RBAC.BuildersetShadowRulesStatPrefix(String value)If specified, shadow rules will emit stats with the given prefix.RBAC.BuildersetShadowRulesStatPrefixBytes(com.google.protobuf.ByteString value)If specified, shadow rules will emit stats with the given prefix.RBAC.BuildersetStatPrefix(String value)The prefix to use when emitting statistics.RBAC.BuildersetStatPrefixBytes(com.google.protobuf.ByteString value)The prefix to use when emitting statistics.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, 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<RBAC.Builder>
-
clear
public 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
public RBAC getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RBAC build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RBAC buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RBAC.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
public RBAC.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<RBAC.Builder>
-
clearField
public RBAC.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
-
clearOneof
public RBAC.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public RBAC.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RBAC.Builder>
-
mergeFrom
public RBAC.Builder mergeFrom(RBAC other)
-
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
public RBAC 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
public RBAC.Builder setRules(RBAC value)
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
public RBAC.Builder setRules(RBAC.Builder builderForValue)
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
public RBAC.Builder mergeRules(RBAC value)
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
public RBAC.Builder 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
public RBAC.Builder 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
public RBACOrBuilder 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
public Matcher 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
public RBAC.Builder setMatcher(Matcher value)
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
public RBAC.Builder setMatcher(Matcher.Builder builderForValue)
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
public RBAC.Builder mergeMatcher(Matcher value)
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
public RBAC.Builder 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
public Matcher.Builder 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
public MatcherOrBuilder 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
public RBAC 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
public RBAC.Builder setShadowRules(RBAC value)
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
public RBAC.Builder 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. 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
public RBAC.Builder mergeShadowRules(RBAC value)
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
public RBAC.Builder 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
public RBAC.Builder 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
public RBACOrBuilder 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
public Matcher 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
public RBAC.Builder setShadowMatcher(Matcher value)
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
public RBAC.Builder setShadowMatcher(Matcher.Builder builderForValue)
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
public RBAC.Builder mergeShadowMatcher(Matcher value)
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
public RBAC.Builder 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
public Matcher.Builder 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
public MatcherOrBuilder 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
public String 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
public RBAC.Builder setShadowRulesStatPrefix(String value)
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
public RBAC.Builder 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
public RBAC.Builder setShadowRulesStatPrefixBytes(com.google.protobuf.ByteString value)
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
public String 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
public RBAC.Builder setStatPrefix(String value)
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
public RBAC.Builder clearStatPrefix()
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setStatPrefixBytes
public RBAC.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
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
public RBAC.Builder setEnforcementTypeValue(int value)
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
public RBAC.EnforcementType 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
public RBAC.Builder setEnforcementType(RBAC.EnforcementType value)
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
public RBAC.Builder 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.
-
setUnknownFields
public final RBAC.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
-
mergeUnknownFields
public final RBAC.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>
-
-