Class VulnerableParameters.Builder (2.40.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
TypeDescription
Descriptor

Methods

addAllParameterNames(Iterable<String> values)

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

The vulnerable parameter names.

repeated string parameter_names = 1;

Parameter
NameDescription
valuesIterable<String>

The parameterNames to add.

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

The parameterNames to add.

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

The bytes of the parameterNames to add.

Returns
TypeDescription
VulnerableParameters.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VulnerableParameters build()
Returns
TypeDescription
VulnerableParameters

buildPartial()

public VulnerableParameters buildPartial()
Returns
TypeDescription
VulnerableParameters

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameterNames()

public VulnerableParameters.Builder clearParameterNames()

The vulnerable parameter names.

repeated string parameter_names = 1;

Returns
TypeDescription
VulnerableParameters.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VulnerableParameters getDefaultInstanceForType()
Returns
TypeDescription
VulnerableParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParameterNames(int index)

public String getParameterNames(int index)

The vulnerable parameter names.

repeated string parameter_names = 1;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the parameterNames at the given index.

getParameterNamesCount()

public int getParameterNamesCount()

The vulnerable parameter names.

repeated string parameter_names = 1;

Returns
TypeDescription
int

The count of parameterNames.

getParameterNamesList()

public ProtocolStringList getParameterNamesList()

The vulnerable parameter names.

repeated string parameter_names = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the parameterNames.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VulnerableParameters other)

public VulnerableParameters.Builder mergeFrom(VulnerableParameters other)
Parameter
NameDescription
otherVulnerableParameters
Returns
TypeDescription
VulnerableParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerableParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerableParameters.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The parameterNames to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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