public static final class Location.Builder extends 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.v1.Location
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Location.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Location.Builder>
public Location getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Location build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Location buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Location.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Location.Builder>
public Location.Builder mergeFrom(Location other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Location.Builder>
IOException
public String getCpeUri()
Required. 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 LocationOrBuilder
public ByteString getCpeUriBytes()
Required. 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 LocationOrBuilder
public Location.Builder setCpeUri(String value)
Required. 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()
Required. 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(ByteString value)
Required. 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.v1.Version version = 2;
hasVersion
in interface LocationOrBuilder
public Version getVersion()
The version installed at this location.
.grafeas.v1.Version version = 2;
getVersion
in interface LocationOrBuilder
public Location.Builder setVersion(Version value)
The version installed at this location.
.grafeas.v1.Version version = 2;
public Location.Builder setVersion(Version.Builder builderForValue)
The version installed at this location.
.grafeas.v1.Version version = 2;
public Location.Builder mergeVersion(Version value)
The version installed at this location.
.grafeas.v1.Version version = 2;
public Location.Builder clearVersion()
The version installed at this location.
.grafeas.v1.Version version = 2;
public Version.Builder getVersionBuilder()
The version installed at this location.
.grafeas.v1.Version version = 2;
public VersionOrBuilder getVersionOrBuilder()
The version installed at this location.
.grafeas.v1.Version version = 2;
getVersionOrBuilder
in interface LocationOrBuilder
public String getPath()
The path from which we gathered that this package/version is installed.
string path = 3;
getPath
in interface LocationOrBuilder
public ByteString getPathBytes()
The path from which we gathered that this package/version is installed.
string path = 3;
getPathBytes
in interface LocationOrBuilder
public 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(ByteString value)
The path from which we gathered that this package/version is installed.
string path = 3;
public final Location.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Location.Builder>
public final Location.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Location.Builder>
Copyright © 2019 Google LLC. All rights reserved.