public static final class RouteOuterClass.RedirectAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RedirectAction.Builder> implements RouteOuterClass.RedirectActionOrBuilder
envoy.api.v2.route.RedirectAction| Modifier and Type | Method and Description |
|---|---|
RouteOuterClass.RedirectAction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.RedirectAction |
build() |
RouteOuterClass.RedirectAction |
buildPartial() |
RouteOuterClass.RedirectAction.Builder |
clear() |
RouteOuterClass.RedirectAction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteOuterClass.RedirectAction.Builder |
clearHostRedirect()
The host portion of the URL will be swapped with this value.
|
RouteOuterClass.RedirectAction.Builder |
clearHttpsRedirect()
The scheme portion of the URL will be swapped with "https".
|
RouteOuterClass.RedirectAction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteOuterClass.RedirectAction.Builder |
clearPathRedirect()
The path portion of the URL will be swapped with this value.
|
RouteOuterClass.RedirectAction.Builder |
clearPathRewriteSpecifier() |
RouteOuterClass.RedirectAction.Builder |
clearPrefixRewrite()
Indicates that during redirection, the matched prefix (or path)
should be swapped with this value.
|
RouteOuterClass.RedirectAction.Builder |
clearResponseCode()
The HTTP status code to use in the redirect response.
|
RouteOuterClass.RedirectAction.Builder |
clearStripQuery()
Indicates that during redirection, the query portion of the URL will
be removed.
|
RouteOuterClass.RedirectAction.Builder |
clone() |
RouteOuterClass.RedirectAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostRedirect()
The host portion of the URL will be swapped with this value.
|
com.google.protobuf.ByteString |
getHostRedirectBytes()
The host portion of the URL will be swapped with this value.
|
boolean |
getHttpsRedirect()
The scheme portion of the URL will be swapped with "https".
|
String |
getPathRedirect()
The path portion of the URL will be swapped with this value.
|
com.google.protobuf.ByteString |
getPathRedirectBytes()
The path portion of the URL will be swapped with this value.
|
RouteOuterClass.RedirectAction.PathRewriteSpecifierCase |
getPathRewriteSpecifierCase() |
String |
getPrefixRewrite()
Indicates that during redirection, the matched prefix (or path)
should be swapped with this value.
|
com.google.protobuf.ByteString |
getPrefixRewriteBytes()
Indicates that during redirection, the matched prefix (or path)
should be swapped with this value.
|
RouteOuterClass.RedirectAction.RedirectResponseCode |
getResponseCode()
The HTTP status code to use in the redirect response.
|
int |
getResponseCodeValue()
The HTTP status code to use in the redirect response.
|
boolean |
getStripQuery()
Indicates that during redirection, the query portion of the URL will
be removed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteOuterClass.RedirectAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteOuterClass.RedirectAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteOuterClass.RedirectAction.Builder |
mergeFrom(RouteOuterClass.RedirectAction other) |
RouteOuterClass.RedirectAction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.RedirectAction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.RedirectAction.Builder |
setHostRedirect(String value)
The host portion of the URL will be swapped with this value.
|
RouteOuterClass.RedirectAction.Builder |
setHostRedirectBytes(com.google.protobuf.ByteString value)
The host portion of the URL will be swapped with this value.
|
RouteOuterClass.RedirectAction.Builder |
setHttpsRedirect(boolean value)
The scheme portion of the URL will be swapped with "https".
|
RouteOuterClass.RedirectAction.Builder |
setPathRedirect(String value)
The path portion of the URL will be swapped with this value.
|
RouteOuterClass.RedirectAction.Builder |
setPathRedirectBytes(com.google.protobuf.ByteString value)
The path portion of the URL will be swapped with this value.
|
RouteOuterClass.RedirectAction.Builder |
setPrefixRewrite(String value)
Indicates that during redirection, the matched prefix (or path)
should be swapped with this value.
|
RouteOuterClass.RedirectAction.Builder |
setPrefixRewriteBytes(com.google.protobuf.ByteString value)
Indicates that during redirection, the matched prefix (or path)
should be swapped with this value.
|
RouteOuterClass.RedirectAction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteOuterClass.RedirectAction.Builder |
setResponseCode(RouteOuterClass.RedirectAction.RedirectResponseCode value)
The HTTP status code to use in the redirect response.
|
RouteOuterClass.RedirectAction.Builder |
setResponseCodeValue(int value)
The HTTP status code to use in the redirect response.
|
RouteOuterClass.RedirectAction.Builder |
setStripQuery(boolean value)
Indicates that during redirection, the query portion of the URL will
be removed.
|
RouteOuterClass.RedirectAction.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<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RedirectAction.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<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteOuterClass.RedirectAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.RedirectAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.RedirectAction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction.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<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction.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<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction.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<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction.Builder mergeFrom(RouteOuterClass.RedirectAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RedirectAction.Builder>public RouteOuterClass.RedirectAction.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<RouteOuterClass.RedirectAction.Builder>IOExceptionpublic RouteOuterClass.RedirectAction.PathRewriteSpecifierCase getPathRewriteSpecifierCase()
getPathRewriteSpecifierCase in interface RouteOuterClass.RedirectActionOrBuilderpublic RouteOuterClass.RedirectAction.Builder clearPathRewriteSpecifier()
public String getHostRedirect()
The host portion of the URL will be swapped with this value.
string host_redirect = 1;getHostRedirect in interface RouteOuterClass.RedirectActionOrBuilderpublic com.google.protobuf.ByteString getHostRedirectBytes()
The host portion of the URL will be swapped with this value.
string host_redirect = 1;getHostRedirectBytes in interface RouteOuterClass.RedirectActionOrBuilderpublic RouteOuterClass.RedirectAction.Builder setHostRedirect(String value)
The host portion of the URL will be swapped with this value.
string host_redirect = 1;public RouteOuterClass.RedirectAction.Builder clearHostRedirect()
The host portion of the URL will be swapped with this value.
string host_redirect = 1;public RouteOuterClass.RedirectAction.Builder setHostRedirectBytes(com.google.protobuf.ByteString value)
The host portion of the URL will be swapped with this value.
string host_redirect = 1;public String getPathRedirect()
The path portion of the URL will be swapped with this value.
string path_redirect = 2;getPathRedirect in interface RouteOuterClass.RedirectActionOrBuilderpublic com.google.protobuf.ByteString getPathRedirectBytes()
The path portion of the URL will be swapped with this value.
string path_redirect = 2;getPathRedirectBytes in interface RouteOuterClass.RedirectActionOrBuilderpublic RouteOuterClass.RedirectAction.Builder setPathRedirect(String value)
The path portion of the URL will be swapped with this value.
string path_redirect = 2;public RouteOuterClass.RedirectAction.Builder clearPathRedirect()
The path portion of the URL will be swapped with this value.
string path_redirect = 2;public RouteOuterClass.RedirectAction.Builder setPathRedirectBytes(com.google.protobuf.ByteString value)
The path portion of the URL will be swapped with this value.
string path_redirect = 2;public String getPrefixRewrite()
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows redirect URLs be dynamically created based on the request. .. attention:: Pay attention to the use of trailing slashes as mentioned in :ref:`RouteAction's prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>`.
string prefix_rewrite = 5;getPrefixRewrite in interface RouteOuterClass.RedirectActionOrBuilderpublic com.google.protobuf.ByteString getPrefixRewriteBytes()
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows redirect URLs be dynamically created based on the request. .. attention:: Pay attention to the use of trailing slashes as mentioned in :ref:`RouteAction's prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>`.
string prefix_rewrite = 5;getPrefixRewriteBytes in interface RouteOuterClass.RedirectActionOrBuilderpublic RouteOuterClass.RedirectAction.Builder setPrefixRewrite(String value)
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows redirect URLs be dynamically created based on the request. .. attention:: Pay attention to the use of trailing slashes as mentioned in :ref:`RouteAction's prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>`.
string prefix_rewrite = 5;public RouteOuterClass.RedirectAction.Builder clearPrefixRewrite()
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows redirect URLs be dynamically created based on the request. .. attention:: Pay attention to the use of trailing slashes as mentioned in :ref:`RouteAction's prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>`.
string prefix_rewrite = 5;public RouteOuterClass.RedirectAction.Builder setPrefixRewriteBytes(com.google.protobuf.ByteString value)
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows redirect URLs be dynamically created based on the request. .. attention:: Pay attention to the use of trailing slashes as mentioned in :ref:`RouteAction's prefix_rewrite <envoy_api_field_route.RouteAction.prefix_rewrite>`.
string prefix_rewrite = 5;public int getResponseCodeValue()
The HTTP status code to use in the redirect response. The default response code is MOVED_PERMANENTLY (301).
.envoy.api.v2.route.RedirectAction.RedirectResponseCode response_code = 3 [(.validate.rules) = { ... }getResponseCodeValue in interface RouteOuterClass.RedirectActionOrBuilderpublic RouteOuterClass.RedirectAction.Builder setResponseCodeValue(int value)
The HTTP status code to use in the redirect response. The default response code is MOVED_PERMANENTLY (301).
.envoy.api.v2.route.RedirectAction.RedirectResponseCode response_code = 3 [(.validate.rules) = { ... }public RouteOuterClass.RedirectAction.RedirectResponseCode getResponseCode()
The HTTP status code to use in the redirect response. The default response code is MOVED_PERMANENTLY (301).
.envoy.api.v2.route.RedirectAction.RedirectResponseCode response_code = 3 [(.validate.rules) = { ... }getResponseCode in interface RouteOuterClass.RedirectActionOrBuilderpublic RouteOuterClass.RedirectAction.Builder setResponseCode(RouteOuterClass.RedirectAction.RedirectResponseCode value)
The HTTP status code to use in the redirect response. The default response code is MOVED_PERMANENTLY (301).
.envoy.api.v2.route.RedirectAction.RedirectResponseCode response_code = 3 [(.validate.rules) = { ... }public RouteOuterClass.RedirectAction.Builder clearResponseCode()
The HTTP status code to use in the redirect response. The default response code is MOVED_PERMANENTLY (301).
.envoy.api.v2.route.RedirectAction.RedirectResponseCode response_code = 3 [(.validate.rules) = { ... }public boolean getHttpsRedirect()
The scheme portion of the URL will be swapped with "https".
bool https_redirect = 4;getHttpsRedirect in interface RouteOuterClass.RedirectActionOrBuilderpublic RouteOuterClass.RedirectAction.Builder setHttpsRedirect(boolean value)
The scheme portion of the URL will be swapped with "https".
bool https_redirect = 4;public RouteOuterClass.RedirectAction.Builder clearHttpsRedirect()
The scheme portion of the URL will be swapped with "https".
bool https_redirect = 4;public boolean getStripQuery()
Indicates that during redirection, the query portion of the URL will be removed. Default value is false.
bool strip_query = 6;getStripQuery in interface RouteOuterClass.RedirectActionOrBuilderpublic RouteOuterClass.RedirectAction.Builder setStripQuery(boolean value)
Indicates that during redirection, the query portion of the URL will be removed. Default value is false.
bool strip_query = 6;public RouteOuterClass.RedirectAction.Builder clearStripQuery()
Indicates that during redirection, the query portion of the URL will be removed. Default value is false.
bool strip_query = 6;public final RouteOuterClass.RedirectAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RedirectAction.Builder>public final RouteOuterClass.RedirectAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RedirectAction.Builder>Copyright © 2018 The Envoy Project. All rights reserved.