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.Builder
addAllLocation(Iterable<? extends Location> values)
Required.Installation.Builder
addLocation(int index, Location value)
Required.Installation.Builder
addLocation(int index, Location.Builder builderForValue)
Required.Installation.Builder
addLocation(Location value)
Required.Installation.Builder
addLocation(Location.Builder builderForValue)
Required.Location.Builder
addLocationBuilder()
Required.Location.Builder
addLocationBuilder(int index)
Required.Installation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Installation
build()
Installation
buildPartial()
Installation.Builder
clear()
Installation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Installation.Builder
clearLocation()
Required.Installation.Builder
clearName()
Output only.Installation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Installation.Builder
clone()
Installation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Location
getLocation(int index)
Required.Location.Builder
getLocationBuilder(int index)
Required.List<Location.Builder>
getLocationBuilderList()
Required.int
getLocationCount()
Required.List<Location>
getLocationList()
Required.LocationOrBuilder
getLocationOrBuilder(int index)
Required.List<? extends LocationOrBuilder>
getLocationOrBuilderList()
Required.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Installation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Installation.Builder
mergeFrom(com.google.protobuf.Message other)
Installation.Builder
mergeFrom(Installation other)
Installation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Installation.Builder
removeLocation(int index)
Required.Installation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Installation.Builder
setLocation(int index, Location value)
Required.Installation.Builder
setLocation(int index, Location.Builder builderForValue)
Required.Installation.Builder
setName(String value)
Output only.Installation.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Installation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Installation.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
clear
public Installation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
getDefaultInstanceForType
public Installation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Installation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Installation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Installation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
setField
public Installation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
clearField
public Installation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
clearOneof
public Installation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
setRepeatedField
public Installation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
addRepeatedField
public Installation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
mergeFrom
public Installation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Installation.Builder>
-
mergeFrom
public Installation.Builder mergeFrom(Installation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in interfaceInstallationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the installed package.
string name = 1;
- Specified by:
getNameBytes
in 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:
getLocationList
in 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:
getLocationCount
in 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:
getLocation
in 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:
getLocationOrBuilder
in 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:
getLocationOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
mergeUnknownFields
public final Installation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Installation.Builder>
-
-