Class ListFindingTypeStatsRequest.Builder (2.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFindingTypeStatsRequest build()
Returns
TypeDescription
ListFindingTypeStatsRequest

buildPartial()

public ListFindingTypeStatsRequest buildPartial()
Returns
TypeDescription
ListFindingTypeStatsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFindingTypeStatsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListFindingTypeStatsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFindingTypeStatsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListFindingTypeStatsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListFindingTypeStatsRequest other)

public ListFindingTypeStatsRequest.Builder mergeFrom(ListFindingTypeStatsRequest other)
Parameter
NameDescription
otherListFindingTypeStatsRequest
Returns
TypeDescription
ListFindingTypeStatsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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