- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class VulnerabilityAssessmentNote.Product.Builder extends GeneratedMessageV3.Builder<VulnerabilityAssessmentNote.Product.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityAssessmentNote.Product.BuilderImplements
VulnerabilityAssessmentNote.ProductOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityAssessmentNote.Product.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityAssessmentNote.Product.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityAssessmentNote.Product.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
clone()
public VulnerabilityAssessmentNote.Product.Builder clone()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityAssessmentNote.Product.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityAssessmentNote.Product.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityAssessmentNote.Product.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Product.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityAssessmentNote.Product.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Product.Builder |