Class ListFindingTypeStatsRequest.Builder (2.48.0)

public static final class ListFindingTypeStatsRequest.Builder extends GeneratedMessageV3.Builder<ListFindingTypeStatsRequest.Builder> implements ListFindingTypeStatsRequestOrBuilder

Request for the ListFindingTypeStats method.

Protobuf type google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFindingTypeStatsRequest build()
Returns
Type Description
ListFindingTypeStatsRequest

buildPartial()

public ListFindingTypeStatsRequest buildPartial()
Returns
Type Description
ListFindingTypeStatsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ListFindingTypeStatsRequest.Builder clearParent()

Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListFindingTypeStatsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFindingTypeStatsRequest getDefaultInstanceForType()
Returns
Type Description
ListFindingTypeStatsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFindingTypeStatsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ListFindingTypeStatsRequest.Builder setParent(String value)

Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListFindingTypeStatsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListFindingTypeStatsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListFindingTypeStatsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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