Class VulnerableParameters.Builder (2.42.0)

public static final class VulnerableParameters.Builder extends GeneratedMessageV3.Builder<VulnerableParameters.Builder> implements VulnerableParametersOrBuilder

Information about vulnerable request parameters.

Protobuf type google.cloud.websecurityscanner.v1.VulnerableParameters

Static Methods

getDescriptor()

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

Methods

addAllParameterNames(Iterable<String> values)

public VulnerableParameters.Builder addAllParameterNames(Iterable<String> values)

The vulnerable parameter names.

repeated string parameter_names = 1;

Parameter
Name Description
values Iterable<String>

The parameterNames to add.

Returns
Type Description
VulnerableParameters.Builder

This builder for chaining.

addParameterNames(String value)

public VulnerableParameters.Builder addParameterNames(String value)

The vulnerable parameter names.

repeated string parameter_names = 1;

Parameter
Name Description
value String

The parameterNames to add.

Returns
Type Description
VulnerableParameters.Builder

This builder for chaining.

addParameterNamesBytes(ByteString value)

public VulnerableParameters.Builder addParameterNamesBytes(ByteString value)

The vulnerable parameter names.

repeated string parameter_names = 1;

Parameter
Name Description
value ByteString

The bytes of the parameterNames to add.

Returns
Type Description
VulnerableParameters.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VulnerableParameters build()
Returns
Type Description
VulnerableParameters

buildPartial()

public VulnerableParameters buildPartial()
Returns
Type Description
VulnerableParameters

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameterNames()

public VulnerableParameters.Builder clearParameterNames()

The vulnerable parameter names.

repeated string parameter_names = 1;

Returns
Type Description
VulnerableParameters.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VulnerableParameters getDefaultInstanceForType()
Returns
Type Description
VulnerableParameters

getDescriptorForType()

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

getParameterNames(int index)

public String getParameterNames(int index)

The vulnerable parameter names.

repeated string parameter_names = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The parameterNames at the given index.

getParameterNamesBytes(int index)

public ByteString getParameterNamesBytes(int index)

The vulnerable parameter names.

repeated string parameter_names = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the parameterNames at the given index.

getParameterNamesCount()

public int getParameterNamesCount()

The vulnerable parameter names.

repeated string parameter_names = 1;

Returns
Type Description
int

The count of parameterNames.

getParameterNamesList()

public ProtocolStringList getParameterNamesList()

The vulnerable parameter names.

repeated string parameter_names = 1;

Returns
Type Description
ProtocolStringList

A list containing the parameterNames.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VulnerableParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParameterNames(int index, String value)

public VulnerableParameters.Builder setParameterNames(int index, String value)

The vulnerable parameter names.

repeated string parameter_names = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The parameterNames to set.

Returns
Type Description
VulnerableParameters.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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