- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class VulnerabilityAssessmentNote.Builder extends GeneratedMessageV3.Builder<VulnerabilityAssessmentNote.Builder> implements VulnerabilityAssessmentNoteOrBuilder
A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE.
Protobuf type grafeas.v1.VulnerabilityAssessmentNote
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityAssessmentNote.BuilderImplements
VulnerabilityAssessmentNoteOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityAssessmentNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
build()
public VulnerabilityAssessmentNote build()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote |
buildPartial()
public VulnerabilityAssessmentNote buildPartial()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote |
clear()
public VulnerabilityAssessmentNote.Builder clear()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
clearAssessment()
public VulnerabilityAssessmentNote.Builder clearAssessment()
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityAssessmentNote.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
clearLanguageCode()
public VulnerabilityAssessmentNote.Builder clearLanguageCode()
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
string language_code = 4;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
clearLongDescription()
public VulnerabilityAssessmentNote.Builder clearLongDescription()
A detailed description of this Vex.
string long_description = 3;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityAssessmentNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
clearProduct()
public VulnerabilityAssessmentNote.Builder clearProduct()
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
clearPublisher()
public VulnerabilityAssessmentNote.Builder clearPublisher()
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
clearShortDescription()
public VulnerabilityAssessmentNote.Builder clearShortDescription()
A one sentence description of this Vex.
string short_description = 2;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
clearTitle()
public VulnerabilityAssessmentNote.Builder clearTitle()
The title of the note. E.g. Vex-Debian-11.4
string title = 1;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
clone()
public VulnerabilityAssessmentNote.Builder clone()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
getAssessment()
public VulnerabilityAssessmentNote.Assessment getAssessment()
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment | The assessment. |
getAssessmentBuilder()
public VulnerabilityAssessmentNote.Assessment.Builder getAssessmentBuilder()
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
getAssessmentOrBuilder()
public VulnerabilityAssessmentNote.AssessmentOrBuilder getAssessmentOrBuilder()
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.AssessmentOrBuilder |
getDefaultInstanceForType()
public VulnerabilityAssessmentNote getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLanguageCode()
public String getLanguageCode()
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
string language_code = 4;
Returns | |
---|---|
Type | Description |
String | The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
string language_code = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for languageCode. |
getLongDescription()
public String getLongDescription()
A detailed description of this Vex.
string long_description = 3;
Returns | |
---|---|
Type | Description |
String | The longDescription. |
getLongDescriptionBytes()
public ByteString getLongDescriptionBytes()
A detailed description of this Vex.
string long_description = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for longDescription. |
getProduct()
public VulnerabilityAssessmentNote.Product getProduct()
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Product | The product. |
getProductBuilder()
public VulnerabilityAssessmentNote.Product.Builder getProductBuilder()
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
getProductOrBuilder()
public VulnerabilityAssessmentNote.ProductOrBuilder getProductOrBuilder()
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.ProductOrBuilder |
getPublisher()
public VulnerabilityAssessmentNote.Publisher getPublisher()
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Publisher | The publisher. |
getPublisherBuilder()
public VulnerabilityAssessmentNote.Publisher.Builder getPublisherBuilder()
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Publisher.Builder |
getPublisherOrBuilder()
public VulnerabilityAssessmentNote.PublisherOrBuilder getPublisherOrBuilder()
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.PublisherOrBuilder |
getShortDescription()
public String getShortDescription()
A one sentence description of this Vex.
string short_description = 2;
Returns | |
---|---|
Type | Description |
String | The shortDescription. |
getShortDescriptionBytes()
public ByteString getShortDescriptionBytes()
A one sentence description of this Vex.
string short_description = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for shortDescription. |
getTitle()
public String getTitle()
The title of the note. E.g. Vex-Debian-11.4
string title = 1;
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
The title of the note. E.g. Vex-Debian-11.4
string title = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for title. |
hasAssessment()
public boolean hasAssessment()
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the assessment field is set. |
hasProduct()
public boolean hasProduct()
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the product field is set. |
hasPublisher()
public boolean hasPublisher()
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the publisher field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAssessment(VulnerabilityAssessmentNote.Assessment value)
public VulnerabilityAssessmentNote.Builder mergeAssessment(VulnerabilityAssessmentNote.Assessment value)
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
Parameter | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Assessment |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityAssessmentNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VulnerabilityAssessmentNote.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
mergeFrom(VulnerabilityAssessmentNote other)
public VulnerabilityAssessmentNote.Builder mergeFrom(VulnerabilityAssessmentNote other)
Parameter | |
---|---|
Name | Description |
other | VulnerabilityAssessmentNote |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
mergeProduct(VulnerabilityAssessmentNote.Product value)
public VulnerabilityAssessmentNote.Builder mergeProduct(VulnerabilityAssessmentNote.Product value)
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
Parameter | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Product |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
mergePublisher(VulnerabilityAssessmentNote.Publisher value)
public VulnerabilityAssessmentNote.Builder mergePublisher(VulnerabilityAssessmentNote.Publisher value)
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
Parameter | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Publisher |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityAssessmentNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
setAssessment(VulnerabilityAssessmentNote.Assessment value)
public VulnerabilityAssessmentNote.Builder setAssessment(VulnerabilityAssessmentNote.Assessment value)
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
Parameter | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Assessment |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
setAssessment(VulnerabilityAssessmentNote.Assessment.Builder builderForValue)
public VulnerabilityAssessmentNote.Builder setAssessment(VulnerabilityAssessmentNote.Assessment.Builder builderForValue)
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
Parameter | |
---|---|
Name | Description |
builderForValue | VulnerabilityAssessmentNote.Assessment.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityAssessmentNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
setLanguageCode(String value)
public VulnerabilityAssessmentNote.Builder setLanguageCode(String value)
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
string language_code = 4;
Parameter | |
---|---|
Name | Description |
value | String The languageCode to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public VulnerabilityAssessmentNote.Builder setLanguageCodeBytes(ByteString value)
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
string language_code = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for languageCode to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
setLongDescription(String value)
public VulnerabilityAssessmentNote.Builder setLongDescription(String value)
A detailed description of this Vex.
string long_description = 3;
Parameter | |
---|---|
Name | Description |
value | String The longDescription to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
setLongDescriptionBytes(ByteString value)
public VulnerabilityAssessmentNote.Builder setLongDescriptionBytes(ByteString value)
A detailed description of this Vex.
string long_description = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for longDescription to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
setProduct(VulnerabilityAssessmentNote.Product value)
public VulnerabilityAssessmentNote.Builder setProduct(VulnerabilityAssessmentNote.Product value)
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
Parameter | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Product |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
setProduct(VulnerabilityAssessmentNote.Product.Builder builderForValue)
public VulnerabilityAssessmentNote.Builder setProduct(VulnerabilityAssessmentNote.Product.Builder builderForValue)
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | VulnerabilityAssessmentNote.Product.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
setPublisher(VulnerabilityAssessmentNote.Publisher value)
public VulnerabilityAssessmentNote.Builder setPublisher(VulnerabilityAssessmentNote.Publisher value)
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
Parameter | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Publisher |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
setPublisher(VulnerabilityAssessmentNote.Publisher.Builder builderForValue)
public VulnerabilityAssessmentNote.Builder setPublisher(VulnerabilityAssessmentNote.Publisher.Builder builderForValue)
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | VulnerabilityAssessmentNote.Publisher.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityAssessmentNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |
setShortDescription(String value)
public VulnerabilityAssessmentNote.Builder setShortDescription(String value)
A one sentence description of this Vex.
string short_description = 2;
Parameter | |
---|---|
Name | Description |
value | String The shortDescription to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
setShortDescriptionBytes(ByteString value)
public VulnerabilityAssessmentNote.Builder setShortDescriptionBytes(ByteString value)
A one sentence description of this Vex.
string short_description = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for shortDescription to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
setTitle(String value)
public VulnerabilityAssessmentNote.Builder setTitle(String value)
The title of the note. E.g. Vex-Debian-11.4
string title = 1;
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public VulnerabilityAssessmentNote.Builder setTitleBytes(ByteString value)
The title of the note. E.g. Vex-Debian-11.4
string title = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityAssessmentNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Builder |