public static final class PackageOccurrence.Builder extends GeneratedMessageV3.Builder<PackageOccurrence.Builder> implements PackageOccurrenceOrBuilder
Details on how a particular software package was installed on a system.Protobuf type
grafeas.v1.PackageOccurrence
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<PackageOccurrence.Builder>
public PackageOccurrence.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public PackageOccurrence getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public PackageOccurrence build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public PackageOccurrence buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public PackageOccurrence.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public PackageOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public PackageOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public PackageOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public PackageOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public PackageOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public PackageOccurrence.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<PackageOccurrence.Builder>
public PackageOccurrence.Builder mergeFrom(PackageOccurrence other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public PackageOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<PackageOccurrence.Builder>
IOException
public String getName()
Output only. The name of the installed package.
string name = 1;
getName
in interface PackageOccurrenceOrBuilder
public ByteString getNameBytes()
Output only. The name of the installed package.
string name = 1;
getNameBytes
in interface PackageOccurrenceOrBuilder
public PackageOccurrence.Builder setName(String value)
Output only. The name of the installed package.
string name = 1;
public PackageOccurrence.Builder clearName()
Output only. The name of the installed package.
string name = 1;
public PackageOccurrence.Builder setNameBytes(ByteString value)
Output only. The name of the installed package.
string name = 1;
public List<Location> getLocationList()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
getLocationList
in interface PackageOccurrenceOrBuilder
public int getLocationCount()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
getLocationCount
in interface PackageOccurrenceOrBuilder
public Location getLocation(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
getLocation
in interface PackageOccurrenceOrBuilder
public PackageOccurrence.Builder setLocation(int index, Location value)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public PackageOccurrence.Builder setLocation(int index, Location.Builder builderForValue)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public PackageOccurrence.Builder addLocation(Location value)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public PackageOccurrence.Builder addLocation(int index, Location value)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public PackageOccurrence.Builder addLocation(Location.Builder builderForValue)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public PackageOccurrence.Builder addLocation(int index, Location.Builder builderForValue)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public PackageOccurrence.Builder addAllLocation(Iterable<? extends Location> values)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public PackageOccurrence.Builder clearLocation()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public PackageOccurrence.Builder removeLocation(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public Location.Builder getLocationBuilder(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public LocationOrBuilder getLocationOrBuilder(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
getLocationOrBuilder
in interface PackageOccurrenceOrBuilder
public List<? extends LocationOrBuilder> getLocationOrBuilderList()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
getLocationOrBuilderList
in interface PackageOccurrenceOrBuilder
public Location.Builder addLocationBuilder()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public Location.Builder addLocationBuilder(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public List<Location.Builder> getLocationBuilderList()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
public final PackageOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
public final PackageOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<PackageOccurrence.Builder>
Copyright © 2019 Google LLC. All rights reserved.