public static enum UrlMap.RedirectHttpResponseCode extends java.lang.Enum<UrlMap.RedirectHttpResponseCode> implements com.google.protobuf.ProtocolMessageEnum
Redirect codes.Protobuf enum
google.appengine.v1.UrlMap.RedirectHttpResponseCode| Enum Constant and Description |
|---|
REDIRECT_HTTP_RESPONSE_CODE_301
`301 Moved Permanently` code.
|
REDIRECT_HTTP_RESPONSE_CODE_302
`302 Moved Temporarily` code.
|
REDIRECT_HTTP_RESPONSE_CODE_303
`303 See Other` code.
|
REDIRECT_HTTP_RESPONSE_CODE_307
`307 Temporary Redirect` code.
|
REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
REDIRECT_HTTP_RESPONSE_CODE_301_VALUE
`301 Moved Permanently` code.
|
static int |
REDIRECT_HTTP_RESPONSE_CODE_302_VALUE
`302 Moved Temporarily` code.
|
static int |
REDIRECT_HTTP_RESPONSE_CODE_303_VALUE
`303 See Other` code.
|
static int |
REDIRECT_HTTP_RESPONSE_CODE_307_VALUE
`307 Temporary Redirect` code.
|
static int |
REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static UrlMap.RedirectHttpResponseCode |
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<UrlMap.RedirectHttpResponseCode> |
internalGetValueMap() |
static UrlMap.RedirectHttpResponseCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UrlMap.RedirectHttpResponseCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UrlMap.RedirectHttpResponseCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UrlMap.RedirectHttpResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlMap.RedirectHttpResponseCode REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED
Not specified. `302` is assumed.
REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED = 0;public static final UrlMap.RedirectHttpResponseCode REDIRECT_HTTP_RESPONSE_CODE_301
`301 Moved Permanently` code.
REDIRECT_HTTP_RESPONSE_CODE_301 = 1;public static final UrlMap.RedirectHttpResponseCode REDIRECT_HTTP_RESPONSE_CODE_302
`302 Moved Temporarily` code.
REDIRECT_HTTP_RESPONSE_CODE_302 = 2;public static final UrlMap.RedirectHttpResponseCode REDIRECT_HTTP_RESPONSE_CODE_303
`303 See Other` code.
REDIRECT_HTTP_RESPONSE_CODE_303 = 3;public static final UrlMap.RedirectHttpResponseCode REDIRECT_HTTP_RESPONSE_CODE_307
`307 Temporary Redirect` code.
REDIRECT_HTTP_RESPONSE_CODE_307 = 4;public static final UrlMap.RedirectHttpResponseCode UNRECOGNIZED
public static final int REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED_VALUE
Not specified. `302` is assumed.
REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED = 0;public static final int REDIRECT_HTTP_RESPONSE_CODE_301_VALUE
`301 Moved Permanently` code.
REDIRECT_HTTP_RESPONSE_CODE_301 = 1;public static final int REDIRECT_HTTP_RESPONSE_CODE_302_VALUE
`302 Moved Temporarily` code.
REDIRECT_HTTP_RESPONSE_CODE_302 = 2;public static final int REDIRECT_HTTP_RESPONSE_CODE_303_VALUE
`303 See Other` code.
REDIRECT_HTTP_RESPONSE_CODE_303 = 3;public static final int REDIRECT_HTTP_RESPONSE_CODE_307_VALUE
`307 Temporary Redirect` code.
REDIRECT_HTTP_RESPONSE_CODE_307 = 4;public static UrlMap.RedirectHttpResponseCode[] values()
for (UrlMap.RedirectHttpResponseCode c : UrlMap.RedirectHttpResponseCode.values()) System.out.println(c);
public static UrlMap.RedirectHttpResponseCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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 UrlMap.RedirectHttpResponseCode valueOf(int value)
forNumber(int) instead.public static UrlMap.RedirectHttpResponseCode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<UrlMap.RedirectHttpResponseCode> 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 UrlMap.RedirectHttpResponseCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)