public static enum RouteAction.InternalRedirectAction extends Enum<RouteAction.InternalRedirectAction> implements com.google.protobuf.ProtocolMessageEnum
Configures :ref:`internal redirect <arch_overview_internal_redirects>` behavior. [#next-major-version: remove this definition - it's defined in the InternalRedirectPolicy message.]Protobuf enum
envoy.config.route.v3.RouteAction.InternalRedirectAction| Enum Constant and Description |
|---|
HANDLE_INTERNAL_REDIRECT
HANDLE_INTERNAL_REDIRECT = 1; |
PASS_THROUGH_INTERNAL_REDIRECT
PASS_THROUGH_INTERNAL_REDIRECT = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HANDLE_INTERNAL_REDIRECT_VALUE
HANDLE_INTERNAL_REDIRECT = 1; |
static int |
PASS_THROUGH_INTERNAL_REDIRECT_VALUE
PASS_THROUGH_INTERNAL_REDIRECT = 0; |
| Modifier and Type | Method and Description |
|---|---|
static RouteAction.InternalRedirectAction |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RouteAction.InternalRedirectAction> |
internalGetValueMap() |
static RouteAction.InternalRedirectAction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RouteAction.InternalRedirectAction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RouteAction.InternalRedirectAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteAction.InternalRedirectAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteAction.InternalRedirectAction PASS_THROUGH_INTERNAL_REDIRECT
PASS_THROUGH_INTERNAL_REDIRECT = 0;public static final RouteAction.InternalRedirectAction HANDLE_INTERNAL_REDIRECT
HANDLE_INTERNAL_REDIRECT = 1;public static final RouteAction.InternalRedirectAction UNRECOGNIZED
public static final int PASS_THROUGH_INTERNAL_REDIRECT_VALUE
PASS_THROUGH_INTERNAL_REDIRECT = 0;public static final int HANDLE_INTERNAL_REDIRECT_VALUE
HANDLE_INTERNAL_REDIRECT = 1;public static RouteAction.InternalRedirectAction[] values()
for (RouteAction.InternalRedirectAction c : RouteAction.InternalRedirectAction.values()) System.out.println(c);
public static RouteAction.InternalRedirectAction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RouteAction.InternalRedirectAction valueOf(int value)
forNumber(int) instead.public static RouteAction.InternalRedirectAction forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RouteAction.InternalRedirectAction> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RouteAction.InternalRedirectAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.