public static final class Xxe.Builder extends GeneratedMessage.Builder<Xxe.Builder> implements XxeOrBuilderInformation reported for an XXE.
Protobuf type google.cloud.websecurityscanner.v1.Xxe
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Xxe.BuilderImplements
XxeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public Xxe getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Xxe |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Xxe.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Xxe.Builder |
|
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.LocationThe 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 |
intThe 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 |
StringThe 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 |
ByteStringThe bytes for payloadValue to set. |
| Returns | |
|---|---|
| Type | Description |
Xxe.Builder |
This builder for chaining. |