Class Form.Builder (2.54.0)

public static final class Form.Builder extends GeneratedMessageV3.Builder<Form.Builder> implements FormOrBuilder

! Information about a vulnerability with an HTML.

Protobuf type google.cloud.websecurityscanner.v1.Form

Implements

FormOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllFields(Iterable<String> values)

public Form.Builder addAllFields(Iterable<String> values)

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Parameter
Name Description
values Iterable<String>

The fields to add.

Returns
Type Description
Form.Builder

This builder for chaining.

addFields(String value)

public Form.Builder addFields(String value)

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Parameter
Name Description
value String

The fields to add.

Returns
Type Description
Form.Builder

This builder for chaining.

addFieldsBytes(ByteString value)

public Form.Builder addFieldsBytes(ByteString value)

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Parameter
Name Description
value ByteString

The bytes of the fields to add.

Returns
Type Description
Form.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Form build()
Returns
Type Description
Form

buildPartial()

public Form buildPartial()
Returns
Type Description
Form

clear()

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

clearActionUri()

public Form.Builder clearActionUri()

! The URI where to send the form when it's submitted.

string action_uri = 1;

Returns
Type Description
Form.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFields()

public Form.Builder clearFields()

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Returns
Type Description
Form.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getActionUri()

public String getActionUri()

! The URI where to send the form when it's submitted.

string action_uri = 1;

Returns
Type Description
String

The actionUri.

getActionUriBytes()

public ByteString getActionUriBytes()

! The URI where to send the form when it's submitted.

string action_uri = 1;

Returns
Type Description
ByteString

The bytes for actionUri.

getDefaultInstanceForType()

public Form getDefaultInstanceForType()
Returns
Type Description
Form

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFields(int index)

public String getFields(int index)

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The fields at the given index.

getFieldsBytes(int index)

public ByteString getFieldsBytes(int index)

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the fields at the given index.

getFieldsCount()

public int getFieldsCount()

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Returns
Type Description
int

The count of fields.

getFieldsList()

public ProtocolStringList getFieldsList()

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Returns
Type Description
ProtocolStringList

A list containing the fields.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Form other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setActionUri(String value)

public Form.Builder setActionUri(String value)

! The URI where to send the form when it's submitted.

string action_uri = 1;

Parameter
Name Description
value String

The actionUri to set.

Returns
Type Description
Form.Builder

This builder for chaining.

setActionUriBytes(ByteString value)

public Form.Builder setActionUriBytes(ByteString value)

! The URI where to send the form when it's submitted.

string action_uri = 1;

Parameter
Name Description
value ByteString

The bytes for actionUri to set.

Returns
Type Description
Form.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFields(int index, String value)

public Form.Builder setFields(int index, String value)

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The fields to set.

Returns
Type Description
Form.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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