- 2.55.0 (latest)
- 2.54.0
- 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.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
public static final class VulnerabilityLocation.Builder extends GeneratedMessageV3.Builder<VulnerabilityLocation.Builder> implements VulnerabilityLocationOrBuilder
The location of the vulnerability.
Protobuf type grafeas.v1beta1.vulnerability.VulnerabilityLocation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityLocation.BuilderImplements
VulnerabilityLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VulnerabilityLocation.Builder |
build()
public VulnerabilityLocation build()
Type | Description |
VulnerabilityLocation |
buildPartial()
public VulnerabilityLocation buildPartial()
Type | Description |
VulnerabilityLocation |
clear()
public VulnerabilityLocation.Builder clear()
Type | Description |
VulnerabilityLocation.Builder |
clearCpeUri()
public VulnerabilityLocation.Builder clearCpeUri()
Required. The CPE URI in cpe format format. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
Type | Description |
VulnerabilityLocation.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityLocation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VulnerabilityLocation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VulnerabilityLocation.Builder |
clearPackage()
public VulnerabilityLocation.Builder clearPackage()
Required. The package being described.
string package = 2;
Type | Description |
VulnerabilityLocation.Builder | This builder for chaining. |
clearVersion()
public VulnerabilityLocation.Builder clearVersion()
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
Type | Description |
VulnerabilityLocation.Builder |
clone()
public VulnerabilityLocation.Builder clone()
Type | Description |
VulnerabilityLocation.Builder |
getCpeUri()
public String getCpeUri()
Required. The CPE URI in cpe format format. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
Type | Description |
String | The cpeUri. |
getCpeUriBytes()
public ByteString getCpeUriBytes()
Required. The CPE URI in cpe format format. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
Type | Description |
ByteString | The bytes for cpeUri. |
getDefaultInstanceForType()
public VulnerabilityLocation getDefaultInstanceForType()
Type | Description |
VulnerabilityLocation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPackage()
public String getPackage()
Required. The package being described.
string package = 2;
Type | Description |
String | The package. |
getPackageBytes()
public ByteString getPackageBytes()
Required. The package being described.
string package = 2;
Type | Description |
ByteString | The bytes for package. |
getVersion()
public Version getVersion()
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
Type | Description |
Version | The version. |
getVersionBuilder()
public Version.Builder getVersionBuilder()
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
Type | Description |
Version.Builder |
getVersionOrBuilder()
public VersionOrBuilder getVersionOrBuilder()
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
Type | Description |
VersionOrBuilder |
hasVersion()
public boolean hasVersion()
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
Type | Description |
boolean | Whether the version field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VulnerabilityLocation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VulnerabilityLocation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VulnerabilityLocation.Builder |
mergeFrom(VulnerabilityLocation other)
public VulnerabilityLocation.Builder mergeFrom(VulnerabilityLocation other)
Name | Description |
other | VulnerabilityLocation |
Type | Description |
VulnerabilityLocation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VulnerabilityLocation.Builder |
mergeVersion(Version value)
public VulnerabilityLocation.Builder mergeVersion(Version value)
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
Name | Description |
value | Version |
Type | Description |
VulnerabilityLocation.Builder |
setCpeUri(String value)
public VulnerabilityLocation.Builder setCpeUri(String value)
Required. The CPE URI in cpe format format. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
Name | Description |
value | String The cpeUri to set. |
Type | Description |
VulnerabilityLocation.Builder | This builder for chaining. |
setCpeUriBytes(ByteString value)
public VulnerabilityLocation.Builder setCpeUriBytes(ByteString value)
Required. The CPE URI in cpe format format. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
Name | Description |
value | ByteString The bytes for cpeUri to set. |
Type | Description |
VulnerabilityLocation.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VulnerabilityLocation.Builder |
setPackage(String value)
public VulnerabilityLocation.Builder setPackage(String value)
Required. The package being described.
string package = 2;
Name | Description |
value | String The package to set. |
Type | Description |
VulnerabilityLocation.Builder | This builder for chaining. |
setPackageBytes(ByteString value)
public VulnerabilityLocation.Builder setPackageBytes(ByteString value)
Required. The package being described.
string package = 2;
Name | Description |
value | ByteString The bytes for package to set. |
Type | Description |
VulnerabilityLocation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VulnerabilityLocation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VulnerabilityLocation.Builder |
setVersion(Version value)
public VulnerabilityLocation.Builder setVersion(Version value)
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
Name | Description |
value | Version |
Type | Description |
VulnerabilityLocation.Builder |
setVersion(Version.Builder builderForValue)
public VulnerabilityLocation.Builder setVersion(Version.Builder builderForValue)
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
Name | Description |
builderForValue | Version.Builder |
Type | Description |
VulnerabilityLocation.Builder |