Class GetVulnerabilityOccurrencesSummaryRequest.Builder (2.9.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 grafeas.v1beta1.GetVulnerabilityOccurrencesSummaryRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetVulnerabilityOccurrencesSummaryRequest build()
Returns
TypeDescription
GetVulnerabilityOccurrencesSummaryRequest

buildPartial()

public GetVulnerabilityOccurrencesSummaryRequest buildPartial()
Returns
TypeDescription
GetVulnerabilityOccurrencesSummaryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public GetVulnerabilityOccurrencesSummaryRequest.Builder clearFilter()

The filter expression.

string filter = 2;

Returns
TypeDescription
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public GetVulnerabilityOccurrencesSummaryRequest.Builder clearParent()

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

string parent = 1;

Returns
TypeDescription
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetVulnerabilityOccurrencesSummaryRequest getDefaultInstanceForType()
Returns
TypeDescription
GetVulnerabilityOccurrencesSummaryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

The filter expression.

string filter = 2;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

The filter expression.

string filter = 2;

Returns
TypeDescription
ByteString

The bytes for filter.

getParent()

public String getParent()

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

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

string parent = 1;

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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(GetVulnerabilityOccurrencesSummaryRequest other)

public GetVulnerabilityOccurrencesSummaryRequest.Builder mergeFrom(GetVulnerabilityOccurrencesSummaryRequest other)
Parameter
NameDescription
otherGetVulnerabilityOccurrencesSummaryRequest
Returns
TypeDescription
GetVulnerabilityOccurrencesSummaryRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public GetVulnerabilityOccurrencesSummaryRequest.Builder setFilter(String value)

The filter expression.

string filter = 2;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public GetVulnerabilityOccurrencesSummaryRequest.Builder setFilterBytes(ByteString value)

The filter expression.

string filter = 2;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

setParent(String value)

public GetVulnerabilityOccurrencesSummaryRequest.Builder setParent(String value)

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

string parent = 1;

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
GetVulnerabilityOccurrencesSummaryRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public GetVulnerabilityOccurrencesSummaryRequest.Builder setParentBytes(ByteString value)

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

string parent = 1;

Parameter
NameDescription
valueByteString

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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