public static enum Xxe.Location extends Enum<Xxe.Location> implements ProtocolMessageEnum
Locations within a request where XML was substituted.Protobuf enum
google.cloud.websecurityscanner.v1.Xxe.Location
Enum Constant and Description |
---|
COMPLETE_REQUEST_BODY
The XML payload replaced the complete request body.
|
LOCATION_UNSPECIFIED
Unknown Location.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
COMPLETE_REQUEST_BODY_VALUE
The XML payload replaced the complete request body.
|
static int |
LOCATION_UNSPECIFIED_VALUE
Unknown Location.
|
Modifier and Type | Method and Description |
---|---|
static Xxe.Location |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Xxe.Location> |
internalGetValueMap() |
static Xxe.Location |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Xxe.Location |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Xxe.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Xxe.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Xxe.Location LOCATION_UNSPECIFIED
Unknown Location.
LOCATION_UNSPECIFIED = 0;
public static final Xxe.Location COMPLETE_REQUEST_BODY
The XML payload replaced the complete request body.
COMPLETE_REQUEST_BODY = 1;
public static final Xxe.Location UNRECOGNIZED
public static final int LOCATION_UNSPECIFIED_VALUE
Unknown Location.
LOCATION_UNSPECIFIED = 0;
public static final int COMPLETE_REQUEST_BODY_VALUE
The XML payload replaced the complete request body.
COMPLETE_REQUEST_BODY = 1;
public static Xxe.Location[] values()
for (Xxe.Location c : Xxe.Location.values()) System.out.println(c);
public static Xxe.Location 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Xxe.Location valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Xxe.Location forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Xxe.Location> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Xxe.Location valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.