Class Xxe.Builder (2.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Xxe.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Xxe.Builder
Overrides

build()

public Xxe build()
Returns
TypeDescription
Xxe

buildPartial()

public Xxe buildPartial()
Returns
TypeDescription
Xxe

clear()

public Xxe.Builder clear()
Returns
TypeDescription
Xxe.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Xxe.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Xxe.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Xxe.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Xxe.Builder

This builder for chaining.

clone()

public Xxe.Builder clone()
Returns
TypeDescription
Xxe.Builder
Overrides

getDefaultInstanceForType()

public Xxe getDefaultInstanceForType()
Returns
TypeDescription
Xxe

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Xxe other)

public Xxe.Builder mergeFrom(Xxe other)
Parameter
NameDescription
otherXxe
Returns
TypeDescription
Xxe.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Xxe.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Xxe.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Xxe.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Xxe.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Xxe.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Xxe.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Xxe.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueXxe.Location

The payloadLocation to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The payloadValue to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for payloadValue to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Xxe.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Xxe.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Xxe.Builder
Overrides