implements
// @@protoc_insertion_point(builder_implements:envoy.config.common.mutation_rules.v3.HeaderMutationRules)
io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRulesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.config.common.mutation_rules.v3.MutationRulesProto.internal_static_envoy_config_common_mutation_rules_v3_HeaderMutationRules_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.config.common.mutation_rules.v3.MutationRulesProto.internal_static_envoy_config_common_mutation_rules_v3_HeaderMutationRules_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules.class, io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules.Builder.class);
}
// Construct using io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (allowAllRoutingBuilder_ == null) {
allowAllRouting_ = null;
} else {
allowAllRouting_ = null;
allowAllRoutingBuilder_ = null;
}
if (allowEnvoyBuilder_ == null) {
allowEnvoy_ = null;
} else {
allowEnvoy_ = null;
allowEnvoyBuilder_ = null;
}
if (disallowSystemBuilder_ == null) {
disallowSystem_ = null;
} else {
disallowSystem_ = null;
disallowSystemBuilder_ = null;
}
if (disallowAllBuilder_ == null) {
disallowAll_ = null;
} else {
disallowAll_ = null;
disallowAllBuilder_ = null;
}
if (allowExpressionBuilder_ == null) {
allowExpression_ = null;
} else {
allowExpression_ = null;
allowExpressionBuilder_ = null;
}
if (disallowExpressionBuilder_ == null) {
disallowExpression_ = null;
} else {
disallowExpression_ = null;
disallowExpressionBuilder_ = null;
}
if (disallowIsErrorBuilder_ == null) {
disallowIsError_ = null;
} else {
disallowIsError_ = null;
disallowIsErrorBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.config.common.mutation_rules.v3.MutationRulesProto.internal_static_envoy_config_common_mutation_rules_v3_HeaderMutationRules_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules getDefaultInstanceForType() {
return io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules build() {
io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules buildPartial() {
io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules result = new io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules(this);
if (allowAllRoutingBuilder_ == null) {
result.allowAllRouting_ = allowAllRouting_;
} else {
result.allowAllRouting_ = allowAllRoutingBuilder_.build();
}
if (allowEnvoyBuilder_ == null) {
result.allowEnvoy_ = allowEnvoy_;
} else {
result.allowEnvoy_ = allowEnvoyBuilder_.build();
}
if (disallowSystemBuilder_ == null) {
result.disallowSystem_ = disallowSystem_;
} else {
result.disallowSystem_ = disallowSystemBuilder_.build();
}
if (disallowAllBuilder_ == null) {
result.disallowAll_ = disallowAll_;
} else {
result.disallowAll_ = disallowAllBuilder_.build();
}
if (allowExpressionBuilder_ == null) {
result.allowExpression_ = allowExpression_;
} else {
result.allowExpression_ = allowExpressionBuilder_.build();
}
if (disallowExpressionBuilder_ == null) {
result.disallowExpression_ = disallowExpression_;
} else {
result.disallowExpression_ = disallowExpressionBuilder_.build();
}
if (disallowIsErrorBuilder_ == null) {
result.disallowIsError_ = disallowIsError_;
} else {
result.disallowIsError_ = disallowIsErrorBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules) {
return mergeFrom((io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules other) {
if (other == io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules.getDefaultInstance()) return this;
if (other.hasAllowAllRouting()) {
mergeAllowAllRouting(other.getAllowAllRouting());
}
if (other.hasAllowEnvoy()) {
mergeAllowEnvoy(other.getAllowEnvoy());
}
if (other.hasDisallowSystem()) {
mergeDisallowSystem(other.getDisallowSystem());
}
if (other.hasDisallowAll()) {
mergeDisallowAll(other.getDisallowAll());
}
if (other.hasAllowExpression()) {
mergeAllowExpression(other.getAllowExpression());
}
if (other.hasDisallowExpression()) {
mergeDisallowExpression(other.getDisallowExpression());
}
if (other.hasDisallowIsError()) {
mergeDisallowIsError(other.getDisallowIsError());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.BoolValue allowAllRouting_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> allowAllRoutingBuilder_;
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
* @return Whether the allowAllRouting field is set.
*/
public boolean hasAllowAllRouting() {
return allowAllRoutingBuilder_ != null || allowAllRouting_ != null;
}
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
* @return The allowAllRouting.
*/
public com.google.protobuf.BoolValue getAllowAllRouting() {
if (allowAllRoutingBuilder_ == null) {
return allowAllRouting_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowAllRouting_;
} else {
return allowAllRoutingBuilder_.getMessage();
}
}
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
*/
public Builder setAllowAllRouting(com.google.protobuf.BoolValue value) {
if (allowAllRoutingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
allowAllRouting_ = value;
onChanged();
} else {
allowAllRoutingBuilder_.setMessage(value);
}
return this;
}
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
*/
public Builder setAllowAllRouting(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (allowAllRoutingBuilder_ == null) {
allowAllRouting_ = builderForValue.build();
onChanged();
} else {
allowAllRoutingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
*/
public Builder mergeAllowAllRouting(com.google.protobuf.BoolValue value) {
if (allowAllRoutingBuilder_ == null) {
if (allowAllRouting_ != null) {
allowAllRouting_ =
com.google.protobuf.BoolValue.newBuilder(allowAllRouting_).mergeFrom(value).buildPartial();
} else {
allowAllRouting_ = value;
}
onChanged();
} else {
allowAllRoutingBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
*/
public Builder clearAllowAllRouting() {
if (allowAllRoutingBuilder_ == null) {
allowAllRouting_ = null;
onChanged();
} else {
allowAllRouting_ = null;
allowAllRoutingBuilder_ = null;
}
return this;
}
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
*/
public com.google.protobuf.BoolValue.Builder getAllowAllRoutingBuilder() {
onChanged();
return getAllowAllRoutingFieldBuilder().getBuilder();
}
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
*/
public com.google.protobuf.BoolValueOrBuilder getAllowAllRoutingOrBuilder() {
if (allowAllRoutingBuilder_ != null) {
return allowAllRoutingBuilder_.getMessageOrBuilder();
} else {
return allowAllRouting_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : allowAllRouting_;
}
}
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getAllowAllRoutingFieldBuilder() {
if (allowAllRoutingBuilder_ == null) {
allowAllRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getAllowAllRouting(),
getParentForChildren(),
isClean());
allowAllRouting_ = null;
}
return allowAllRoutingBuilder_;
}
private com.google.protobuf.BoolValue allowEnvoy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> allowEnvoyBuilder_;
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
* @return Whether the allowEnvoy field is set.
*/
public boolean hasAllowEnvoy() {
return allowEnvoyBuilder_ != null || allowEnvoy_ != null;
}
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
* @return The allowEnvoy.
*/
public com.google.protobuf.BoolValue getAllowEnvoy() {
if (allowEnvoyBuilder_ == null) {
return allowEnvoy_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowEnvoy_;
} else {
return allowEnvoyBuilder_.getMessage();
}
}
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
*/
public Builder setAllowEnvoy(com.google.protobuf.BoolValue value) {
if (allowEnvoyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
allowEnvoy_ = value;
onChanged();
} else {
allowEnvoyBuilder_.setMessage(value);
}
return this;
}
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
*/
public Builder setAllowEnvoy(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (allowEnvoyBuilder_ == null) {
allowEnvoy_ = builderForValue.build();
onChanged();
} else {
allowEnvoyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
*/
public Builder mergeAllowEnvoy(com.google.protobuf.BoolValue value) {
if (allowEnvoyBuilder_ == null) {
if (allowEnvoy_ != null) {
allowEnvoy_ =
com.google.protobuf.BoolValue.newBuilder(allowEnvoy_).mergeFrom(value).buildPartial();
} else {
allowEnvoy_ = value;
}
onChanged();
} else {
allowEnvoyBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
*/
public Builder clearAllowEnvoy() {
if (allowEnvoyBuilder_ == null) {
allowEnvoy_ = null;
onChanged();
} else {
allowEnvoy_ = null;
allowEnvoyBuilder_ = null;
}
return this;
}
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
*/
public com.google.protobuf.BoolValue.Builder getAllowEnvoyBuilder() {
onChanged();
return getAllowEnvoyFieldBuilder().getBuilder();
}
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
*/
public com.google.protobuf.BoolValueOrBuilder getAllowEnvoyOrBuilder() {
if (allowEnvoyBuilder_ != null) {
return allowEnvoyBuilder_.getMessageOrBuilder();
} else {
return allowEnvoy_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : allowEnvoy_;
}
}
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getAllowEnvoyFieldBuilder() {
if (allowEnvoyBuilder_ == null) {
allowEnvoyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getAllowEnvoy(),
getParentForChildren(),
isClean());
allowEnvoy_ = null;
}
return allowEnvoyBuilder_;
}
private com.google.protobuf.BoolValue disallowSystem_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> disallowSystemBuilder_;
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
* @return Whether the disallowSystem field is set.
*/
public boolean hasDisallowSystem() {
return disallowSystemBuilder_ != null || disallowSystem_ != null;
}
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
* @return The disallowSystem.
*/
public com.google.protobuf.BoolValue getDisallowSystem() {
if (disallowSystemBuilder_ == null) {
return disallowSystem_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : disallowSystem_;
} else {
return disallowSystemBuilder_.getMessage();
}
}
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
*/
public Builder setDisallowSystem(com.google.protobuf.BoolValue value) {
if (disallowSystemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
disallowSystem_ = value;
onChanged();
} else {
disallowSystemBuilder_.setMessage(value);
}
return this;
}
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
*/
public Builder setDisallowSystem(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (disallowSystemBuilder_ == null) {
disallowSystem_ = builderForValue.build();
onChanged();
} else {
disallowSystemBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
*/
public Builder mergeDisallowSystem(com.google.protobuf.BoolValue value) {
if (disallowSystemBuilder_ == null) {
if (disallowSystem_ != null) {
disallowSystem_ =
com.google.protobuf.BoolValue.newBuilder(disallowSystem_).mergeFrom(value).buildPartial();
} else {
disallowSystem_ = value;
}
onChanged();
} else {
disallowSystemBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
*/
public Builder clearDisallowSystem() {
if (disallowSystemBuilder_ == null) {
disallowSystem_ = null;
onChanged();
} else {
disallowSystem_ = null;
disallowSystemBuilder_ = null;
}
return this;
}
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
*/
public com.google.protobuf.BoolValue.Builder getDisallowSystemBuilder() {
onChanged();
return getDisallowSystemFieldBuilder().getBuilder();
}
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
*/
public com.google.protobuf.BoolValueOrBuilder getDisallowSystemOrBuilder() {
if (disallowSystemBuilder_ != null) {
return disallowSystemBuilder_.getMessageOrBuilder();
} else {
return disallowSystem_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : disallowSystem_;
}
}
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getDisallowSystemFieldBuilder() {
if (disallowSystemBuilder_ == null) {
disallowSystemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getDisallowSystem(),
getParentForChildren(),
isClean());
disallowSystem_ = null;
}
return disallowSystemBuilder_;
}
private com.google.protobuf.BoolValue disallowAll_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> disallowAllBuilder_;
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
* @return Whether the disallowAll field is set.
*/
public boolean hasDisallowAll() {
return disallowAllBuilder_ != null || disallowAll_ != null;
}
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
* @return The disallowAll.
*/
public com.google.protobuf.BoolValue getDisallowAll() {
if (disallowAllBuilder_ == null) {
return disallowAll_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : disallowAll_;
} else {
return disallowAllBuilder_.getMessage();
}
}
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
*/
public Builder setDisallowAll(com.google.protobuf.BoolValue value) {
if (disallowAllBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
disallowAll_ = value;
onChanged();
} else {
disallowAllBuilder_.setMessage(value);
}
return this;
}
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
*/
public Builder setDisallowAll(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (disallowAllBuilder_ == null) {
disallowAll_ = builderForValue.build();
onChanged();
} else {
disallowAllBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
*/
public Builder mergeDisallowAll(com.google.protobuf.BoolValue value) {
if (disallowAllBuilder_ == null) {
if (disallowAll_ != null) {
disallowAll_ =
com.google.protobuf.BoolValue.newBuilder(disallowAll_).mergeFrom(value).buildPartial();
} else {
disallowAll_ = value;
}
onChanged();
} else {
disallowAllBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
*/
public Builder clearDisallowAll() {
if (disallowAllBuilder_ == null) {
disallowAll_ = null;
onChanged();
} else {
disallowAll_ = null;
disallowAllBuilder_ = null;
}
return this;
}
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
*/
public com.google.protobuf.BoolValue.Builder getDisallowAllBuilder() {
onChanged();
return getDisallowAllFieldBuilder().getBuilder();
}
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
*/
public com.google.protobuf.BoolValueOrBuilder getDisallowAllOrBuilder() {
if (disallowAllBuilder_ != null) {
return disallowAllBuilder_.getMessageOrBuilder();
} else {
return disallowAll_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : disallowAll_;
}
}
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getDisallowAllFieldBuilder() {
if (disallowAllBuilder_ == null) {
disallowAllBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getDisallowAll(),
getParentForChildren(),
isClean());
disallowAll_ = null;
}
return disallowAllBuilder_;
}
private io.envoyproxy.envoy.type.matcher.v3.RegexMatcher allowExpression_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher, io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder, io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder> allowExpressionBuilder_;
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
* @return Whether the allowExpression field is set.
*/
public boolean hasAllowExpression() {
return allowExpressionBuilder_ != null || allowExpression_ != null;
}
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
* @return The allowExpression.
*/
public io.envoyproxy.envoy.type.matcher.v3.RegexMatcher getAllowExpression() {
if (allowExpressionBuilder_ == null) {
return allowExpression_ == null ? io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.getDefaultInstance() : allowExpression_;
} else {
return allowExpressionBuilder_.getMessage();
}
}
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
*/
public Builder setAllowExpression(io.envoyproxy.envoy.type.matcher.v3.RegexMatcher value) {
if (allowExpressionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
allowExpression_ = value;
onChanged();
} else {
allowExpressionBuilder_.setMessage(value);
}
return this;
}
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
*/
public Builder setAllowExpression(
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder builderForValue) {
if (allowExpressionBuilder_ == null) {
allowExpression_ = builderForValue.build();
onChanged();
} else {
allowExpressionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
*/
public Builder mergeAllowExpression(io.envoyproxy.envoy.type.matcher.v3.RegexMatcher value) {
if (allowExpressionBuilder_ == null) {
if (allowExpression_ != null) {
allowExpression_ =
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.newBuilder(allowExpression_).mergeFrom(value).buildPartial();
} else {
allowExpression_ = value;
}
onChanged();
} else {
allowExpressionBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
*/
public Builder clearAllowExpression() {
if (allowExpressionBuilder_ == null) {
allowExpression_ = null;
onChanged();
} else {
allowExpression_ = null;
allowExpressionBuilder_ = null;
}
return this;
}
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
*/
public io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder getAllowExpressionBuilder() {
onChanged();
return getAllowExpressionFieldBuilder().getBuilder();
}
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
*/
public io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder getAllowExpressionOrBuilder() {
if (allowExpressionBuilder_ != null) {
return allowExpressionBuilder_.getMessageOrBuilder();
} else {
return allowExpression_ == null ?
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.getDefaultInstance() : allowExpression_;
}
}
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher, io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder, io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder>
getAllowExpressionFieldBuilder() {
if (allowExpressionBuilder_ == null) {
allowExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher, io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder, io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder>(
getAllowExpression(),
getParentForChildren(),
isClean());
allowExpression_ = null;
}
return allowExpressionBuilder_;
}
private io.envoyproxy.envoy.type.matcher.v3.RegexMatcher disallowExpression_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher, io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder, io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder> disallowExpressionBuilder_;
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
* @return Whether the disallowExpression field is set.
*/
public boolean hasDisallowExpression() {
return disallowExpressionBuilder_ != null || disallowExpression_ != null;
}
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
* @return The disallowExpression.
*/
public io.envoyproxy.envoy.type.matcher.v3.RegexMatcher getDisallowExpression() {
if (disallowExpressionBuilder_ == null) {
return disallowExpression_ == null ? io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.getDefaultInstance() : disallowExpression_;
} else {
return disallowExpressionBuilder_.getMessage();
}
}
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
*/
public Builder setDisallowExpression(io.envoyproxy.envoy.type.matcher.v3.RegexMatcher value) {
if (disallowExpressionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
disallowExpression_ = value;
onChanged();
} else {
disallowExpressionBuilder_.setMessage(value);
}
return this;
}
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
*/
public Builder setDisallowExpression(
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder builderForValue) {
if (disallowExpressionBuilder_ == null) {
disallowExpression_ = builderForValue.build();
onChanged();
} else {
disallowExpressionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
*/
public Builder mergeDisallowExpression(io.envoyproxy.envoy.type.matcher.v3.RegexMatcher value) {
if (disallowExpressionBuilder_ == null) {
if (disallowExpression_ != null) {
disallowExpression_ =
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.newBuilder(disallowExpression_).mergeFrom(value).buildPartial();
} else {
disallowExpression_ = value;
}
onChanged();
} else {
disallowExpressionBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
*/
public Builder clearDisallowExpression() {
if (disallowExpressionBuilder_ == null) {
disallowExpression_ = null;
onChanged();
} else {
disallowExpression_ = null;
disallowExpressionBuilder_ = null;
}
return this;
}
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
*/
public io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder getDisallowExpressionBuilder() {
onChanged();
return getDisallowExpressionFieldBuilder().getBuilder();
}
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
*/
public io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder getDisallowExpressionOrBuilder() {
if (disallowExpressionBuilder_ != null) {
return disallowExpressionBuilder_.getMessageOrBuilder();
} else {
return disallowExpression_ == null ?
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.getDefaultInstance() : disallowExpression_;
}
}
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher, io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder, io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder>
getDisallowExpressionFieldBuilder() {
if (disallowExpressionBuilder_ == null) {
disallowExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher, io.envoyproxy.envoy.type.matcher.v3.RegexMatcher.Builder, io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder>(
getDisallowExpression(),
getParentForChildren(),
isClean());
disallowExpression_ = null;
}
return disallowExpressionBuilder_;
}
private com.google.protobuf.BoolValue disallowIsError_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> disallowIsErrorBuilder_;
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
* @return Whether the disallowIsError field is set.
*/
public boolean hasDisallowIsError() {
return disallowIsErrorBuilder_ != null || disallowIsError_ != null;
}
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
* @return The disallowIsError.
*/
public com.google.protobuf.BoolValue getDisallowIsError() {
if (disallowIsErrorBuilder_ == null) {
return disallowIsError_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : disallowIsError_;
} else {
return disallowIsErrorBuilder_.getMessage();
}
}
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
*/
public Builder setDisallowIsError(com.google.protobuf.BoolValue value) {
if (disallowIsErrorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
disallowIsError_ = value;
onChanged();
} else {
disallowIsErrorBuilder_.setMessage(value);
}
return this;
}
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
*/
public Builder setDisallowIsError(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (disallowIsErrorBuilder_ == null) {
disallowIsError_ = builderForValue.build();
onChanged();
} else {
disallowIsErrorBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
*/
public Builder mergeDisallowIsError(com.google.protobuf.BoolValue value) {
if (disallowIsErrorBuilder_ == null) {
if (disallowIsError_ != null) {
disallowIsError_ =
com.google.protobuf.BoolValue.newBuilder(disallowIsError_).mergeFrom(value).buildPartial();
} else {
disallowIsError_ = value;
}
onChanged();
} else {
disallowIsErrorBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
*/
public Builder clearDisallowIsError() {
if (disallowIsErrorBuilder_ == null) {
disallowIsError_ = null;
onChanged();
} else {
disallowIsError_ = null;
disallowIsErrorBuilder_ = null;
}
return this;
}
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
*/
public com.google.protobuf.BoolValue.Builder getDisallowIsErrorBuilder() {
onChanged();
return getDisallowIsErrorFieldBuilder().getBuilder();
}
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
*/
public com.google.protobuf.BoolValueOrBuilder getDisallowIsErrorOrBuilder() {
if (disallowIsErrorBuilder_ != null) {
return disallowIsErrorBuilder_.getMessageOrBuilder();
} else {
return disallowIsError_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : disallowIsError_;
}
}
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getDisallowIsErrorFieldBuilder() {
if (disallowIsErrorBuilder_ == null) {
disallowIsErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getDisallowIsError(),
getParentForChildren(),
isClean());
disallowIsError_ = null;
}
return disallowIsErrorBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.config.common.mutation_rules.v3.HeaderMutationRules)
}
// @@protoc_insertion_point(class_scope:envoy.config.common.mutation_rules.v3.HeaderMutationRules)
private static final io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules();
}
public static io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public HeaderMutationRules parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HeaderMutationRules(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.config.common.mutation_rules.v3.HeaderMutationRules getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}