Send feedback
Class GetVulnerabilityOccurrencesSummaryRequest.Builder (2.4.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.2 keyboard_arrow_down
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetVulnerabilityOccurrencesSummaryRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public GetVulnerabilityOccurrencesSummaryRequest build ()
Returns
buildPartial()
public GetVulnerabilityOccurrencesSummaryRequest buildPartial ()
Returns
clear()
public GetVulnerabilityOccurrencesSummaryRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetVulnerabilityOccurrencesSummaryRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearFilter()
public GetVulnerabilityOccurrencesSummaryRequest . Builder clearFilter ()
The filter expression.
string filter = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetVulnerabilityOccurrencesSummaryRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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
clone()
public GetVulnerabilityOccurrencesSummaryRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public GetVulnerabilityOccurrencesSummaryRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(GetVulnerabilityOccurrencesSummaryRequest other)
public GetVulnerabilityOccurrencesSummaryRequest . Builder mergeFrom ( GetVulnerabilityOccurrencesSummaryRequest other )
Parameter
Returns
public GetVulnerabilityOccurrencesSummaryRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetVulnerabilityOccurrencesSummaryRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetVulnerabilityOccurrencesSummaryRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetVulnerabilityOccurrencesSummaryRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetVulnerabilityOccurrencesSummaryRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetVulnerabilityOccurrencesSummaryRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]