Class VulnerabilityAssessmentNote.Product (2.42.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
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerabilityAssessmentNote.Product getDefaultInstance()
Returns
TypeDescription
VulnerabilityAssessmentNote.Product

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VulnerabilityAssessmentNote.Product.Builder newBuilder()
Returns
TypeDescription
VulnerabilityAssessmentNote.Product.Builder

newBuilder(VulnerabilityAssessmentNote.Product prototype)

public static VulnerabilityAssessmentNote.Product.Builder newBuilder(VulnerabilityAssessmentNote.Product prototype)
Parameter
NameDescription
prototypeVulnerabilityAssessmentNote.Product
Returns
TypeDescription
VulnerabilityAssessmentNote.Product.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityAssessmentNote.Product parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VulnerabilityAssessmentNote.Product parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityAssessmentNote.Product parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityAssessmentNote.Product parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VulnerabilityAssessmentNote.Product parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityAssessmentNote.Product parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Product parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Product
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VulnerabilityAssessmentNote.Product getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for id.

getIdentifierCase()

public VulnerabilityAssessmentNote.Product.IdentifierCase getIdentifierCase()
Returns
TypeDescription
VulnerabilityAssessmentNote.Product.IdentifierCase

getName()

public String getName()

Name of the product.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the product.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the genericUri field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VulnerabilityAssessmentNote.Product.Builder newBuilderForType()
Returns
TypeDescription
VulnerabilityAssessmentNote.Product.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityAssessmentNote.Product.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VulnerabilityAssessmentNote.Product.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VulnerabilityAssessmentNote.Product.Builder toBuilder()
Returns
TypeDescription
VulnerabilityAssessmentNote.Product.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException