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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VulnerabilityAssessmentNote.Product.Builder newBuilder()
newBuilder(VulnerabilityAssessmentNote.Product prototype)
public static VulnerabilityAssessmentNote.Product.Builder newBuilder(VulnerabilityAssessmentNote.Product prototype)
public static VulnerabilityAssessmentNote.Product parseDelimitedFrom(InputStream input)
public static VulnerabilityAssessmentNote.Product parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VulnerabilityAssessmentNote.Product parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote.Product parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VulnerabilityAssessmentNote.Product parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote.Product parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote.Product parseFrom(CodedInputStream input)
public static VulnerabilityAssessmentNote.Product parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote.Product parseFrom(InputStream input)
public static VulnerabilityAssessmentNote.Product parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VulnerabilityAssessmentNote.Product parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote.Product parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VulnerabilityAssessmentNote.Product> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public VulnerabilityAssessmentNote.Product getDefaultInstanceForType()
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()
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;
getIdentifierCase()
public VulnerabilityAssessmentNote.Product.IdentifierCase getIdentifierCase()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VulnerabilityAssessmentNote.Product.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityAssessmentNote.Product.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VulnerabilityAssessmentNote.Product.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides