Class Xxe (2.49.0)

public final class Xxe extends GeneratedMessageV3 implements XxeOrBuilder

Information reported for an XXE.

Protobuf type google.cloud.websecurityscanner.v1.Xxe

Implements

XxeOrBuilder

Static Fields

PAYLOAD_LOCATION_FIELD_NUMBER

public static final int PAYLOAD_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

PAYLOAD_VALUE_FIELD_NUMBER

public static final int PAYLOAD_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Xxe getDefaultInstance()
Returns
Type Description
Xxe

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Xxe.Builder newBuilder()
Returns
Type Description
Xxe.Builder

newBuilder(Xxe prototype)

public static Xxe.Builder newBuilder(Xxe prototype)
Parameter
Name Description
prototype Xxe
Returns
Type Description
Xxe.Builder

parseDelimitedFrom(InputStream input)

public static Xxe parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Xxe
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Xxe parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Xxe
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Xxe parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Xxe
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Xxe
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Xxe parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Xxe
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Xxe
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Xxe parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Xxe
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Xxe
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Xxe parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Xxe
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Xxe
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Xxe parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Xxe
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Xxe
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Xxe> parser()
Returns
Type Description
Parser<Xxe>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Xxe getDefaultInstanceForType()
Returns
Type Description
Xxe

getParserForType()

public Parser<Xxe> getParserForType()
Returns
Type Description
Parser<Xxe>
Overrides

getPayloadLocation()

public Xxe.Location getPayloadLocation()

Location within the request where the payload was placed.

.google.cloud.websecurityscanner.v1.Xxe.Location payload_location = 2;

Returns
Type Description
Xxe.Location

The payloadLocation.

getPayloadLocationValue()

public int getPayloadLocationValue()

Location within the request where the payload was placed.

.google.cloud.websecurityscanner.v1.Xxe.Location payload_location = 2;

Returns
Type Description
int

The enum numeric value on the wire for payloadLocation.

getPayloadValue()

public String getPayloadValue()

The XML string that triggered the XXE vulnerability. Non-payload values might be redacted.

string payload_value = 1;

Returns
Type Description
String

The payloadValue.

getPayloadValueBytes()

public ByteString getPayloadValueBytes()

The XML string that triggered the XXE vulnerability. Non-payload values might be redacted.

string payload_value = 1;

Returns
Type Description
ByteString

The bytes for payloadValue.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Xxe.Builder newBuilderForType()
Returns
Type Description
Xxe.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Xxe.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Xxe.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Xxe.Builder toBuilder()
Returns
Type Description
Xxe.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException