Class Form.Builder (2.6.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
TypeDescription
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
NameDescription
valuesIterable<String>

The fields to add.

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

The fields to add.

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

The bytes of the fields to add.

Returns
TypeDescription
Form.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Form build()
Returns
TypeDescription
Form

buildPartial()

public Form buildPartial()
Returns
TypeDescription
Form

clear()

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

clearActionUri()

public Form.Builder clearActionUri()

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

string action_uri = 1;

Returns
TypeDescription
Form.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFields()

public Form.Builder clearFields()

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Returns
TypeDescription
Form.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Form.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Form.Builder
Overrides

clone()

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

getActionUri()

public String getActionUri()

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

string action_uri = 1;

Returns
TypeDescription
String

The actionUri.

getActionUriBytes()

public ByteString getActionUriBytes()

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

string action_uri = 1;

Returns
TypeDescription
ByteString

The bytes for actionUri.

getDefaultInstanceForType()

public Form getDefaultInstanceForType()
Returns
TypeDescription
Form

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFields(int index)

public String getFields(int index)

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of fields.

getFieldsList()

public ProtocolStringList getFieldsList()

! The names of form fields related to the vulnerability.

repeated string fields = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the fields.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Form other)

public Form.Builder mergeFrom(Form other)
Parameter
NameDescription
otherForm
Returns
TypeDescription
Form.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Form.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The actionUri to set.

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

The bytes for actionUri to set.

Returns
TypeDescription
Form.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The fields to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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