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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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