Interface MessageRestrictionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MessageRestrictions,MessageRestrictions.Builder
public interface MessageRestrictionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanRestrictions that apply to specific fields within this message type.The core restriction to apply to this message type.The core restriction to apply to this message type.Deprecated.intRestrictions that apply to specific fields within this message type.Restrictions that apply to specific fields within this message type.getFieldRestrictionsOrDefault(String key, RestrictionConfig defaultValue) Restrictions that apply to specific fields within this message type.Restrictions that apply to specific fields within this message type.booleanThe core restriction to apply to this message type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasConfig
boolean hasConfig()The core restriction to apply to this message type. The 'matcher' within RestrictionConfig will determine if the message is scrubbed/denied/allowed.
.envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig config = 1;- Returns:
- Whether the config field is set.
-
getConfig
RestrictionConfig getConfig()The core restriction to apply to this message type. The 'matcher' within RestrictionConfig will determine if the message is scrubbed/denied/allowed.
.envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig config = 1;- Returns:
- The config.
-
getConfigOrBuilder
RestrictionConfigOrBuilder getConfigOrBuilder()The core restriction to apply to this message type. The 'matcher' within RestrictionConfig will determine if the message is scrubbed/denied/allowed.
.envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig config = 1; -
getFieldRestrictionsCount
int getFieldRestrictionsCount()Restrictions that apply to specific fields within this message type. Key - field mask (e.g. "social_security_number"). Value - The restriction configuration for that field.
map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2; -
containsFieldRestrictions
Restrictions that apply to specific fields within this message type. Key - field mask (e.g. "social_security_number"). Value - The restriction configuration for that field.
map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2; -
getFieldRestrictions
Deprecated.UsegetFieldRestrictionsMap()instead. -
getFieldRestrictionsMap
Map<String,RestrictionConfig> getFieldRestrictionsMap()Restrictions that apply to specific fields within this message type. Key - field mask (e.g. "social_security_number"). Value - The restriction configuration for that field.
map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2; -
getFieldRestrictionsOrDefault
Restrictions that apply to specific fields within this message type. Key - field mask (e.g. "social_security_number"). Value - The restriction configuration for that field.
map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2; -
getFieldRestrictionsOrThrow
Restrictions that apply to specific fields within this message type. Key - field mask (e.g. "social_security_number"). Value - The restriction configuration for that field.
map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig> field_restrictions = 2;
-