public static final class PerRouteConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PerRouteConfig.Builder> implements PerRouteConfigOrBuilder
Per route Configuration for the dynamic forward proxy HTTP filter.Protobuf type
envoy.config.filter.http.dynamic_forward_proxy.v2alpha.PerRouteConfig| Modifier and Type | Method and Description |
|---|---|
PerRouteConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PerRouteConfig |
build() |
PerRouteConfig |
buildPartial() |
PerRouteConfig.Builder |
clear() |
PerRouteConfig.Builder |
clearAutoHostRewriteHeader()
Indicates that before DNS lookup, the host header will be swapped with
the value of this header.
|
PerRouteConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PerRouteConfig.Builder |
clearHostRewrite()
Indicates that before DNS lookup, the host header will be swapped with
this value.
|
PerRouteConfig.Builder |
clearHostRewriteSpecifier() |
PerRouteConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PerRouteConfig.Builder |
clone() |
String |
getAutoHostRewriteHeader()
Indicates that before DNS lookup, the host header will be swapped with
the value of this header.
|
com.google.protobuf.ByteString |
getAutoHostRewriteHeaderBytes()
Indicates that before DNS lookup, the host header will be swapped with
the value of this header.
|
PerRouteConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostRewrite()
Indicates that before DNS lookup, the host header will be swapped with
this value.
|
com.google.protobuf.ByteString |
getHostRewriteBytes()
Indicates that before DNS lookup, the host header will be swapped with
this value.
|
PerRouteConfig.HostRewriteSpecifierCase |
getHostRewriteSpecifierCase() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PerRouteConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PerRouteConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
PerRouteConfig.Builder |
mergeFrom(PerRouteConfig other) |
PerRouteConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PerRouteConfig.Builder |
setAutoHostRewriteHeader(String value)
Indicates that before DNS lookup, the host header will be swapped with
the value of this header.
|
PerRouteConfig.Builder |
setAutoHostRewriteHeaderBytes(com.google.protobuf.ByteString value)
Indicates that before DNS lookup, the host header will be swapped with
the value of this header.
|
PerRouteConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PerRouteConfig.Builder |
setHostRewrite(String value)
Indicates that before DNS lookup, the host header will be swapped with
this value.
|
PerRouteConfig.Builder |
setHostRewriteBytes(com.google.protobuf.ByteString value)
Indicates that before DNS lookup, the host header will be swapped with
this value.
|
PerRouteConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PerRouteConfig.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<PerRouteConfig.Builder>public PerRouteConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PerRouteConfig.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<PerRouteConfig.Builder>public PerRouteConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PerRouteConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PerRouteConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PerRouteConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PerRouteConfig.Builder>public PerRouteConfig.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<PerRouteConfig.Builder>public PerRouteConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PerRouteConfig.Builder>public PerRouteConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PerRouteConfig.Builder>public PerRouteConfig.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<PerRouteConfig.Builder>public PerRouteConfig.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<PerRouteConfig.Builder>public PerRouteConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PerRouteConfig.Builder>public PerRouteConfig.Builder mergeFrom(PerRouteConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PerRouteConfig.Builder>public PerRouteConfig.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<PerRouteConfig.Builder>IOExceptionpublic PerRouteConfig.HostRewriteSpecifierCase getHostRewriteSpecifierCase()
getHostRewriteSpecifierCase in interface PerRouteConfigOrBuilderpublic PerRouteConfig.Builder clearHostRewriteSpecifier()
public String getHostRewrite()
Indicates that before DNS lookup, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 1 [(.udpa.annotations.field_migrate) = { ... }getHostRewrite in interface PerRouteConfigOrBuilderpublic com.google.protobuf.ByteString getHostRewriteBytes()
Indicates that before DNS lookup, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 1 [(.udpa.annotations.field_migrate) = { ... }getHostRewriteBytes in interface PerRouteConfigOrBuilderpublic PerRouteConfig.Builder setHostRewrite(String value)
Indicates that before DNS lookup, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 1 [(.udpa.annotations.field_migrate) = { ... }public PerRouteConfig.Builder clearHostRewrite()
Indicates that before DNS lookup, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 1 [(.udpa.annotations.field_migrate) = { ... }public PerRouteConfig.Builder setHostRewriteBytes(com.google.protobuf.ByteString value)
Indicates that before DNS lookup, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 1 [(.udpa.annotations.field_migrate) = { ... }public String getAutoHostRewriteHeader()
Indicates that before DNS lookup, the host header will be swapped with the value of this header. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite header <envoy_api_field_route.RouteAction.auto_host_rewrite_header>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 2 [(.udpa.annotations.field_migrate) = { ... }getAutoHostRewriteHeader in interface PerRouteConfigOrBuilderpublic com.google.protobuf.ByteString getAutoHostRewriteHeaderBytes()
Indicates that before DNS lookup, the host header will be swapped with the value of this header. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite header <envoy_api_field_route.RouteAction.auto_host_rewrite_header>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 2 [(.udpa.annotations.field_migrate) = { ... }getAutoHostRewriteHeaderBytes in interface PerRouteConfigOrBuilderpublic PerRouteConfig.Builder setAutoHostRewriteHeader(String value)
Indicates that before DNS lookup, the host header will be swapped with the value of this header. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite header <envoy_api_field_route.RouteAction.auto_host_rewrite_header>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 2 [(.udpa.annotations.field_migrate) = { ... }public PerRouteConfig.Builder clearAutoHostRewriteHeader()
Indicates that before DNS lookup, the host header will be swapped with the value of this header. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite header <envoy_api_field_route.RouteAction.auto_host_rewrite_header>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 2 [(.udpa.annotations.field_migrate) = { ... }public PerRouteConfig.Builder setAutoHostRewriteHeaderBytes(com.google.protobuf.ByteString value)
Indicates that before DNS lookup, the host header will be swapped with the value of this header. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite header <envoy_api_field_route.RouteAction.auto_host_rewrite_header>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome. .. note:: If the header appears multiple times only the first value is used.
string auto_host_rewrite_header = 2 [(.udpa.annotations.field_migrate) = { ... }public final PerRouteConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PerRouteConfig.Builder>public final PerRouteConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PerRouteConfig.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.