Class VulnerabilityAssessmentNote.Product (2.45.0)

public static final class VulnerabilityAssessmentNote.Product extends GeneratedMessageV3 implements VulnerabilityAssessmentNote.ProductOrBuilder

Product contains information about a product and how to uniquely identify it. (-- api-linter: core::0123::resource-annotation=disabled aip.dev/not-precedent: Product is not a separate resource. --)

Protobuf type grafeas.v1.VulnerabilityAssessmentNote.Product

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VulnerabilityAssessmentNote.Product

Static Fields

GENERIC_URI_FIELD_NUMBER

public static final int GENERIC_URI_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VulnerabilityAssessmentNote.Product getDefaultInstance()
Returns
Type Description
VulnerabilityAssessmentNote.Product

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VulnerabilityAssessmentNote.Product.Builder newBuilder()
Returns
Type Description
VulnerabilityAssessmentNote.Product.Builder

newBuilder(VulnerabilityAssessmentNote.Product prototype)

public static VulnerabilityAssessmentNote.Product.Builder newBuilder(VulnerabilityAssessmentNote.Product prototype)
Parameter
Name Description
prototype VulnerabilityAssessmentNote.Product
Returns
Type Description
VulnerabilityAssessmentNote.Product.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityAssessmentNote.Product parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VulnerabilityAssessmentNote.Product parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityAssessmentNote.Product parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityAssessmentNote.Product parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VulnerabilityAssessmentNote.Product parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityAssessmentNote.Product parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Product
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VulnerabilityAssessmentNote.Product> parser()
Returns
Type Description
Parser<Product>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VulnerabilityAssessmentNote.Product getDefaultInstanceForType()
Returns
Type Description
VulnerabilityAssessmentNote.Product

getGenericUri()

public String getGenericUri()

Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.

string generic_uri = 3;

Returns
Type Description
String

The genericUri.

getGenericUriBytes()

public ByteString getGenericUriBytes()

Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.

string generic_uri = 3;

Returns
Type Description
ByteString

The bytes for genericUri.

getId()

public String getId()

Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

getIdentifierCase()

public VulnerabilityAssessmentNote.Product.IdentifierCase getIdentifierCase()
Returns
Type Description
VulnerabilityAssessmentNote.Product.IdentifierCase

getName()

public String getName()

Name of the product.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the product.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<VulnerabilityAssessmentNote.Product> getParserForType()
Returns
Type Description
Parser<Product>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGenericUri()

public boolean hasGenericUri()

Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.

string generic_uri = 3;

Returns
Type Description
boolean

Whether the genericUri field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VulnerabilityAssessmentNote.Product.Builder newBuilderForType()
Returns
Type Description
VulnerabilityAssessmentNote.Product.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityAssessmentNote.Product.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VulnerabilityAssessmentNote.Product.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VulnerabilityAssessmentNote.Product.Builder toBuilder()
Returns
Type Description
VulnerabilityAssessmentNote.Product.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException