public static final class Location.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder> implements LocationOrBuilder
An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in /var/lib/dpkg/status.Protobuf type
grafeas.v1beta1.package.Location| Modifier and Type | Method and Description |
|---|---|
Location.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Location |
build() |
Location |
buildPartial() |
Location.Builder |
clear() |
Location.Builder |
clearCpeUri()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
denoting the package manager version distributing a package.
|
Location.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Location.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Location.Builder |
clearPath()
The path from which we gathered that this package/version is installed.
|
Location.Builder |
clearVersion()
The version installed at this location.
|
Location.Builder |
clone() |
String |
getCpeUri()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
denoting the package manager version distributing a package.
|
com.google.protobuf.ByteString |
getCpeUriBytes()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
denoting the package manager version distributing a package.
|
Location |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPath()
The path from which we gathered that this package/version is installed.
|
com.google.protobuf.ByteString |
getPathBytes()
The path from which we gathered that this package/version is installed.
|
Version |
getVersion()
The version installed at this location.
|
Version.Builder |
getVersionBuilder()
The version installed at this location.
|
VersionOrBuilder |
getVersionOrBuilder()
The version installed at this location.
|
boolean |
hasVersion()
The version installed at this location.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Location.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Location.Builder |
mergeFrom(Location other) |
Location.Builder |
mergeFrom(com.google.protobuf.Message other) |
Location.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Location.Builder |
mergeVersion(Version value)
The version installed at this location.
|
Location.Builder |
setCpeUri(String value)
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
denoting the package manager version distributing a package.
|
Location.Builder |
setCpeUriBytes(com.google.protobuf.ByteString value)
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
denoting the package manager version distributing a package.
|
Location.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Location.Builder |
setPath(String value)
The path from which we gathered that this package/version is installed.
|
Location.Builder |
setPathBytes(com.google.protobuf.ByteString value)
The path from which we gathered that this package/version is installed.
|
Location.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Location.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Location.Builder |
setVersion(Version.Builder builderForValue)
The version installed at this location.
|
Location.Builder |
setVersion(Version value)
The version installed at this location.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Location build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Location buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Location.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Location.Builder>public Location.Builder mergeFrom(Location other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Location.Builder>IOExceptionpublic String getCpeUri()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;getCpeUri in interface LocationOrBuilderpublic com.google.protobuf.ByteString getCpeUriBytes()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;getCpeUriBytes in interface LocationOrBuilderpublic Location.Builder setCpeUri(String value)
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;public Location.Builder clearCpeUri()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;public Location.Builder setCpeUriBytes(com.google.protobuf.ByteString value)
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;public boolean hasVersion()
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;hasVersion in interface LocationOrBuilderpublic Version getVersion()
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;getVersion in interface LocationOrBuilderpublic Location.Builder setVersion(Version value)
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;public Location.Builder setVersion(Version.Builder builderForValue)
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;public Location.Builder mergeVersion(Version value)
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;public Location.Builder clearVersion()
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;public Version.Builder getVersionBuilder()
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;public VersionOrBuilder getVersionOrBuilder()
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;getVersionOrBuilder in interface LocationOrBuilderpublic String getPath()
The path from which we gathered that this package/version is installed.
string path = 3;getPath in interface LocationOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
The path from which we gathered that this package/version is installed.
string path = 3;getPathBytes in interface LocationOrBuilderpublic Location.Builder setPath(String value)
The path from which we gathered that this package/version is installed.
string path = 3;public Location.Builder clearPath()
The path from which we gathered that this package/version is installed.
string path = 3;public Location.Builder setPathBytes(com.google.protobuf.ByteString value)
The path from which we gathered that this package/version is installed.
string path = 3;public final Location.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public final Location.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>Copyright © 2019 Google LLC. All rights reserved.