Class GetVulnerabilityOccurrencesSummaryRequest.Builder (2.56.0)

public static final class GetVulnerabilityOccurrencesSummaryRequest.Builder extends GeneratedMessageV3.Builder<GetVulnerabilityOccurrencesSummaryRequest.Builder> implements GetVulnerabilityOccurrencesSummaryRequestOrBuilder

Request to get a vulnerability summary for some set of occurrences.

Protobuf type google.devtools.containeranalysis.v1.GetVulnerabilityOccurrencesSummaryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetVulnerabilityOccurrencesSummaryRequest build()
Returns
Type Description
GetVulnerabilityOccurrencesSummaryRequest

buildPartial()

public GetVulnerabilityOccurrencesSummaryRequest buildPartial()
Returns
Type Description
GetVulnerabilityOccurrencesSummaryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public GetVulnerabilityOccurrencesSummaryRequest.Builder clearFilter()

The filter expression.

string filter = 2;

Returns
Type Description
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public GetVulnerabilityOccurrencesSummaryRequest.Builder clearParent()

Required. The name of the project to get a vulnerability summary for in the form of projects/[PROJECT_ID].

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

Returns
Type Description
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetVulnerabilityOccurrencesSummaryRequest getDefaultInstanceForType()
Returns
Type Description
GetVulnerabilityOccurrencesSummaryRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

The filter expression.

string filter = 2;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

The filter expression.

string filter = 2;

Returns
Type Description
ByteString

The bytes for filter.

getParent()

public String getParent()

Required. The name of the project to get a vulnerability summary for in the form of projects/[PROJECT_ID].

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the project to get a vulnerability summary for in the form of projects/[PROJECT_ID].

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(GetVulnerabilityOccurrencesSummaryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public GetVulnerabilityOccurrencesSummaryRequest.Builder setFilter(String value)

The filter expression.

string filter = 2;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public GetVulnerabilityOccurrencesSummaryRequest.Builder setFilterBytes(ByteString value)

The filter expression.

string filter = 2;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

setParent(String value)

public GetVulnerabilityOccurrencesSummaryRequest.Builder setParent(String value)

Required. The name of the project to get a vulnerability summary for in the form of projects/[PROJECT_ID].

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public GetVulnerabilityOccurrencesSummaryRequest.Builder setParentBytes(ByteString value)

Required. The name of the project to get a vulnerability summary for in the form of projects/[PROJECT_ID].

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
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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