Package io.grafeas.v1beta1.pkg
Class Installation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
- io.grafeas.v1beta1.pkg.Installation.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,InstallationOrBuilder,Cloneable
- Enclosing class:
- Installation
public static final class Installation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder> implements InstallationOrBuilder
This represents how a particular software package may be installed on a system.
Protobuf typegrafeas.v1beta1.package.Installation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Installation.BuilderaddAllLocation(Iterable<? extends Location> values)Required.Installation.BuilderaddLocation(int index, Location value)Required.Installation.BuilderaddLocation(int index, Location.Builder builderForValue)Required.Installation.BuilderaddLocation(Location value)Required.Installation.BuilderaddLocation(Location.Builder builderForValue)Required.Location.BuilderaddLocationBuilder()Required.Location.BuilderaddLocationBuilder(int index)Required.Installation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Installationbuild()InstallationbuildPartial()Installation.Builderclear()Installation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Installation.BuilderclearLocation()Required.Installation.BuilderclearName()Output only.Installation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Installation.Builderclone()InstallationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LocationgetLocation(int index)Required.Location.BuildergetLocationBuilder(int index)Required.List<Location.Builder>getLocationBuilderList()Required.intgetLocationCount()Required.List<Location>getLocationList()Required.LocationOrBuildergetLocationOrBuilder(int index)Required.List<? extends LocationOrBuilder>getLocationOrBuilderList()Required.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Installation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Installation.BuildermergeFrom(com.google.protobuf.Message other)Installation.BuildermergeFrom(Installation other)Installation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Installation.BuilderremoveLocation(int index)Required.Installation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Installation.BuildersetLocation(int index, Location value)Required.Installation.BuildersetLocation(int index, Location.Builder builderForValue)Required.Installation.BuildersetName(String value)Output only.Installation.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Installation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Installation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
clear
public Installation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
getDefaultInstanceForType
public Installation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Installation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Installation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Installation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
setField
public Installation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
clearField
public Installation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
clearOneof
public Installation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
setRepeatedField
public Installation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
addRepeatedField
public Installation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
mergeFrom
public Installation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Installation.Builder>
-
mergeFrom
public Installation.Builder mergeFrom(Installation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
mergeFrom
public Installation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Installation.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. The name of the installed package.
string name = 1;- Specified by:
getNamein interfaceInstallationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the installed package.
string name = 1;- Specified by:
getNameBytesin interfaceInstallationOrBuilder- Returns:
- The bytes for name.
-
setName
public Installation.Builder setName(String value)
Output only. The name of the installed package.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Installation.Builder clearName()
Output only. The name of the installed package.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Installation.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the installed package.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLocationList
public List<Location> getLocationList()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;- Specified by:
getLocationListin interfaceInstallationOrBuilder
-
getLocationCount
public int getLocationCount()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;- Specified by:
getLocationCountin interfaceInstallationOrBuilder
-
getLocation
public Location getLocation(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;- Specified by:
getLocationin interfaceInstallationOrBuilder
-
setLocation
public Installation.Builder setLocation(int index, Location value)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
setLocation
public Installation.Builder setLocation(int index, Location.Builder builderForValue)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
addLocation
public Installation.Builder addLocation(Location value)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
addLocation
public Installation.Builder addLocation(int index, Location value)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
addLocation
public Installation.Builder addLocation(Location.Builder builderForValue)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
addLocation
public Installation.Builder addLocation(int index, Location.Builder builderForValue)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
addAllLocation
public Installation.Builder addAllLocation(Iterable<? extends Location> values)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
clearLocation
public Installation.Builder clearLocation()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
removeLocation
public Installation.Builder removeLocation(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
getLocationBuilder
public Location.Builder getLocationBuilder(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
getLocationOrBuilder
public LocationOrBuilder getLocationOrBuilder(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;- Specified by:
getLocationOrBuilderin interfaceInstallationOrBuilder
-
getLocationOrBuilderList
public List<? extends LocationOrBuilder> getLocationOrBuilderList()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;- Specified by:
getLocationOrBuilderListin interfaceInstallationOrBuilder
-
addLocationBuilder
public Location.Builder addLocationBuilder()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
addLocationBuilder
public Location.Builder addLocationBuilder(int index)
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
getLocationBuilderList
public List<Location.Builder> getLocationBuilderList()
Required. All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
-
setUnknownFields
public final Installation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
mergeUnknownFields
public final Installation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
-