Interface ReferenceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Reference
,Reference.Builder
public interface ReferenceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getSource()
Source of the reference e.g.com.google.protobuf.ByteString
getSourceBytes()
Source of the reference e.g.String
getUri()
Uri for the mentioned source e.g.com.google.protobuf.ByteString
getUriBytes()
Uri for the mentioned source e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSource
String getSource()
Source of the reference e.g. NVD
string source = 1;
- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()
Source of the reference e.g. NVD
string source = 1;
- Returns:
- The bytes for source.
-
getUri
String getUri()
Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
string uri = 2;
- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
string uri = 2;
- Returns:
- The bytes for uri.
-
-