public static final class VulnerabilityAssessmentNote.Product.Builder extends GeneratedMessage.Builder<VulnerabilityAssessmentNote.Product.Builder> implements VulnerabilityAssessmentNote.ProductOrBuilderProduct 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VulnerabilityAssessmentNote.Product.BuilderImplements
VulnerabilityAssessmentNote.ProductOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VulnerabilityAssessmentNote.Product build()| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product |
|
buildPartial()
public VulnerabilityAssessmentNote.Product buildPartial()| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product |
|
clear()
public VulnerabilityAssessmentNote.Product.Builder clear()| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
|
clearGenericUri()
public VulnerabilityAssessmentNote.Product.Builder clearGenericUri()Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
string generic_uri = 3;
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |
clearId()
public VulnerabilityAssessmentNote.Product.Builder clearId()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 |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |
clearIdentifier()
public VulnerabilityAssessmentNote.Product.Builder clearIdentifier()| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
|
clearName()
public VulnerabilityAssessmentNote.Product.Builder clearName()Name of the product.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public VulnerabilityAssessmentNote.Product getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityAssessmentNote.Product.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VulnerabilityAssessmentNote.Product.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
|
mergeFrom(VulnerabilityAssessmentNote.Product other)
public VulnerabilityAssessmentNote.Product.Builder mergeFrom(VulnerabilityAssessmentNote.Product other)| Parameter | |
|---|---|
| Name | Description |
other |
VulnerabilityAssessmentNote.Product |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
|
setGenericUri(String value)
public VulnerabilityAssessmentNote.Product.Builder setGenericUri(String value)Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
string generic_uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe genericUri to set. |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |
setGenericUriBytes(ByteString value)
public VulnerabilityAssessmentNote.Product.Builder setGenericUriBytes(ByteString value)Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
string generic_uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for genericUri to set. |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |
setId(String value)
public VulnerabilityAssessmentNote.Product.Builder setId(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public VulnerabilityAssessmentNote.Product.Builder setIdBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |
setName(String value)
public VulnerabilityAssessmentNote.Product.Builder setName(String value)Name of the product.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public VulnerabilityAssessmentNote.Product.Builder setNameBytes(ByteString value)Name of the product.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |