Class Xxe.Builder (2.55.0)

public static final class Xxe.Builder extends GeneratedMessageV3.Builder<Xxe.Builder> implements XxeOrBuilder

Information reported for an XXE.

Protobuf type google.cloud.websecurityscanner.v1.Xxe

Implements

XxeOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Xxe.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Xxe.Builder
Overrides

build()

public Xxe build()
Returns
Type Description
Xxe

buildPartial()

public Xxe buildPartial()
Returns
Type Description
Xxe

clear()

public Xxe.Builder clear()
Returns
Type Description
Xxe.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Xxe.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Xxe.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Xxe.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Xxe.Builder
Overrides

clearPayloadLocation()

public Xxe.Builder clearPayloadLocation()

Location within the request where the payload was placed.

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

Returns
Type Description
Xxe.Builder

This builder for chaining.

clearPayloadValue()

public Xxe.Builder clearPayloadValue()

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

string payload_value = 1;

Returns
Type Description
Xxe.Builder

This builder for chaining.

clone()

public Xxe.Builder clone()
Returns
Type Description
Xxe.Builder
Overrides

getDefaultInstanceForType()

public Xxe getDefaultInstanceForType()
Returns
Type Description
Xxe

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Xxe other)

public Xxe.Builder mergeFrom(Xxe other)
Parameter
Name Description
other Xxe
Returns
Type Description
Xxe.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Xxe.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Xxe.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Xxe.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Xxe.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Xxe.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Xxe.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Xxe.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Xxe.Builder
Overrides

setPayloadLocation(Xxe.Location value)

public Xxe.Builder setPayloadLocation(Xxe.Location value)

Location within the request where the payload was placed.

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

Parameter
Name Description
value Xxe.Location

The payloadLocation to set.

Returns
Type Description
Xxe.Builder

This builder for chaining.

setPayloadLocationValue(int value)

public Xxe.Builder setPayloadLocationValue(int value)

Location within the request where the payload was placed.

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

Parameter
Name Description
value int

The enum numeric value on the wire for payloadLocation to set.

Returns
Type Description
Xxe.Builder

This builder for chaining.

setPayloadValue(String value)

public Xxe.Builder setPayloadValue(String value)

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

string payload_value = 1;

Parameter
Name Description
value String

The payloadValue to set.

Returns
Type Description
Xxe.Builder

This builder for chaining.

setPayloadValueBytes(ByteString value)

public Xxe.Builder setPayloadValueBytes(ByteString value)

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

string payload_value = 1;

Parameter
Name Description
value ByteString

The bytes for payloadValue to set.

Returns
Type Description
Xxe.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Xxe.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Xxe.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Xxe.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Xxe.Builder
Overrides