Class Xxe (2.32.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
TypeDescription
int

PAYLOAD_VALUE_FIELD_NUMBER

public static final int PAYLOAD_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Xxe getDefaultInstance()
Returns
TypeDescription
Xxe

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Xxe.Builder newBuilder()
Returns
TypeDescription
Xxe.Builder

newBuilder(Xxe prototype)

public static Xxe.Builder newBuilder(Xxe prototype)
Parameter
NameDescription
prototypeXxe
Returns
TypeDescription
Xxe.Builder

parseDelimitedFrom(InputStream input)

public static Xxe parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Xxe parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Xxe parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Xxe parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Xxe parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Xxe parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Xxe parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Xxe parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Xxe
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Xxe> parser()
Returns
TypeDescription
Parser<Xxe>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Xxe getDefaultInstanceForType()
Returns
TypeDescription
Xxe

getParserForType()

public Parser<Xxe> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for payloadValue.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Xxe.Builder newBuilderForType()
Returns
TypeDescription
Xxe.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Xxe.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Xxe.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Xxe.Builder toBuilder()
Returns
TypeDescription
Xxe.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException