Class Form (2.20.0)

public final class Form extends GeneratedMessageV3 implements FormOrBuilder

! Information about a vulnerability with an HTML.

Protobuf type google.cloud.websecurityscanner.v1beta.Form

Implements

FormOrBuilder

Static Fields

ACTION_URI_FIELD_NUMBER

public static final int ACTION_URI_FIELD_NUMBER
Field Value
TypeDescription
int

FIELDS_FIELD_NUMBER

public static final int FIELDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Form getDefaultInstance()
Returns
TypeDescription
Form

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Form.Builder newBuilder()
Returns
TypeDescription
Form.Builder

newBuilder(Form prototype)

public static Form.Builder newBuilder(Form prototype)
Parameter
NameDescription
prototypeForm
Returns
TypeDescription
Form.Builder

parseDelimitedFrom(InputStream input)

public static Form parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Form
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Form parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Form
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Form parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Form
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Form parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Form
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Form parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Form
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Form parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Form
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Form parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Form
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Form parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Form
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Form parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Form
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Form parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Form
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Form parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Form
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Form parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Form
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Form> parser()
Returns
TypeDescription
Parser<Form>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<Form> getParserForType()
Returns
TypeDescription
Parser<Form>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Form.Builder newBuilderForType()
Returns
TypeDescription
Form.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Form.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Form.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Form.Builder toBuilder()
Returns
TypeDescription
Form.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException