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>`.Protobuf type
envoy.config.filter.network.rbac.v2.RBAC| Modifier and Type | Method and Description |
|---|---|
RBAC.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RBAC |
build() |
RBAC |
buildPartial() |
RBAC.Builder |
clear() |
RBAC.Builder |
clearEnforcementType()
RBAC enforcement strategy.
|
RBAC.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RBAC.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RBAC.Builder |
clearRules()
Specify the RBAC rules to be applied globally.
|
RBAC.Builder |
clearShadowRules()
Shadow rules are not enforced by the filter but will emit stats and logs
and can be used for rule testing.
|
RBAC.Builder |
clearStatPrefix()
The prefix to use when emitting statistics.
|
RBAC.Builder |
clone() |
RBAC |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RBAC.EnforcementType |
getEnforcementType()
RBAC enforcement strategy.
|
int |
getEnforcementTypeValue()
RBAC enforcement strategy.
|
RBAC |
getRules()
Specify the RBAC rules to be applied globally.
|
RBAC.Builder |
getRulesBuilder()
Specify the RBAC rules to be applied globally.
|
RBACOrBuilder |
getRulesOrBuilder()
Specify the RBAC rules to be applied globally.
|
RBAC |
getShadowRules()
Shadow rules are not enforced by the filter but will emit stats and logs
and can be used for rule testing.
|
RBAC.Builder |
getShadowRulesBuilder()
Shadow rules are not enforced by the filter but will emit stats and logs
and can be used for rule testing.
|
RBACOrBuilder |
getShadowRulesOrBuilder()
Shadow rules are not enforced by the filter but will emit stats and logs
and can be used for rule testing.
|
String |
getStatPrefix()
The prefix to use when emitting statistics.
|
com.google.protobuf.ByteString |
getStatPrefixBytes()
The prefix to use when emitting statistics.
|
boolean |
hasRules()
Specify the RBAC rules to be applied globally.
|
boolean |
hasShadowRules()
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.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RBAC.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RBAC.Builder |
mergeFrom(com.google.protobuf.Message other) |
RBAC.Builder |
mergeFrom(RBAC other) |
RBAC.Builder |
mergeRules(RBAC value)
Specify the RBAC rules to be applied globally.
|
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.
|
RBAC.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RBAC.Builder |
setEnforcementType(RBAC.EnforcementType value)
RBAC enforcement strategy.
|
RBAC.Builder |
setEnforcementTypeValue(int value)
RBAC enforcement strategy.
|
RBAC.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RBAC.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RBAC.Builder |
setRules(RBAC.Builder builderForValue)
Specify the RBAC rules to be applied globally.
|
RBAC.Builder |
setRules(RBAC value)
Specify the RBAC rules to be applied globally.
|
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.
|
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.
|
RBAC.Builder |
setStatPrefix(String value)
The prefix to use when emitting statistics.
|
RBAC.Builder |
setStatPrefixBytes(com.google.protobuf.ByteString value)
The prefix to use when emitting statistics.
|
RBAC.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public RBAC.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public RBAC getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RBAC build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RBAC buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RBAC.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public RBAC.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public RBAC.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public RBAC.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public RBAC.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public RBAC.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public RBAC.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RBAC.Builder>public RBAC.Builder mergeFrom(RBAC other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public RBAC.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RBAC.Builder>IOExceptionpublic boolean hasRules()
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied.
.envoy.config.rbac.v2.RBAC rules = 1;hasRules in interface RBACOrBuilderpublic RBAC getRules()
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied.
.envoy.config.rbac.v2.RBAC rules = 1;getRules in interface RBACOrBuilderpublic RBAC.Builder setRules(RBAC value)
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied.
.envoy.config.rbac.v2.RBAC rules = 1;public RBAC.Builder setRules(RBAC.Builder builderForValue)
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied.
.envoy.config.rbac.v2.RBAC rules = 1;public RBAC.Builder mergeRules(RBAC value)
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied.
.envoy.config.rbac.v2.RBAC rules = 1;public RBAC.Builder clearRules()
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied.
.envoy.config.rbac.v2.RBAC rules = 1;public RBAC.Builder getRulesBuilder()
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied.
.envoy.config.rbac.v2.RBAC rules = 1;public RBACOrBuilder getRulesOrBuilder()
Specify the RBAC rules to be applied globally. If absent, no enforcing RBAC policy will be applied.
.envoy.config.rbac.v2.RBAC rules = 1;getRulesOrBuilder in interface RBACOrBuilderpublic 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.
.envoy.config.rbac.v2.RBAC shadow_rules = 2;hasShadowRules in interface RBACOrBuilderpublic 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.
.envoy.config.rbac.v2.RBAC shadow_rules = 2;getShadowRules in interface RBACOrBuilderpublic 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.
.envoy.config.rbac.v2.RBAC shadow_rules = 2;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.
.envoy.config.rbac.v2.RBAC shadow_rules = 2;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.
.envoy.config.rbac.v2.RBAC shadow_rules = 2;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.
.envoy.config.rbac.v2.RBAC shadow_rules = 2;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.
.envoy.config.rbac.v2.RBAC shadow_rules = 2;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.
.envoy.config.rbac.v2.RBAC shadow_rules = 2;getShadowRulesOrBuilder in interface RBACOrBuilderpublic String getStatPrefix()
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }getStatPrefix in interface RBACOrBuilderpublic com.google.protobuf.ByteString getStatPrefixBytes()
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }getStatPrefixBytes in interface RBACOrBuilderpublic RBAC.Builder setStatPrefix(String value)
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }public RBAC.Builder clearStatPrefix()
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }public RBAC.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
The prefix to use when emitting statistics.
string stat_prefix = 3 [(.validate.rules) = { ... }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.config.filter.network.rbac.v2.RBAC.EnforcementType enforcement_type = 4;getEnforcementTypeValue in interface RBACOrBuilderpublic 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.config.filter.network.rbac.v2.RBAC.EnforcementType enforcement_type = 4;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.config.filter.network.rbac.v2.RBAC.EnforcementType enforcement_type = 4;getEnforcementType in interface RBACOrBuilderpublic 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.config.filter.network.rbac.v2.RBAC.EnforcementType enforcement_type = 4;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.config.filter.network.rbac.v2.RBAC.EnforcementType enforcement_type = 4;public final RBAC.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>public final RBAC.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RBAC.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.