- 2.74.0 (latest)
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PackageOccurrence.BuilderImplements
PackageOccurrenceOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Type | Description |
---|---|
Descriptor |
Methods
addAllLocation(Iterable<? extends Location> values)
public
PackageOccurrence
.
Builder
addAllLocation
(
Iterable
< ?
extends
Location
>
values
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
values | Iterable
< ? extends io.grafeas.v1.Location
>
|
Type | Description |
---|---|
PackageOccurrence.Builder |
addLocation(int index, Location value)
public
PackageOccurrence
.
Builder
addLocation
(
int
index
,
Location
value
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
index | int
|
value | Location
|
Type | Description |
---|---|
PackageOccurrence.Builder |
addLocation(int index, Location.Builder builderForValue)
public
PackageOccurrence
.
Builder
addLocation
(
int
index
,
Location
.
Builder
builderForValue
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
index | int
|
builderForValue | Location.Builder
|
Type | Description |
---|---|
PackageOccurrence.Builder |
addLocation(Location value)
public
PackageOccurrence
.
Builder
addLocation
(
Location
value
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
value | Location
|
Type | Description |
---|---|
PackageOccurrence.Builder |
addLocation(Location.Builder builderForValue)
public
PackageOccurrence
.
Builder
addLocation
(
Location
.
Builder
builderForValue
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
builderForValue | Location.Builder
|
Type | Description |
---|---|
PackageOccurrence.Builder |
addLocationBuilder()
public
Location
.
Builder
addLocationBuilder
()
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Type | Description |
---|---|
Location.Builder |
addLocationBuilder(int index)
public
Location
.
Builder
addLocationBuilder
(
int
index
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
index | int
|
Type | Description |
---|---|
Location.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public
PackageOccurrence
.
Builder
addRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
Name | Description |
---|---|
field | FieldDescriptor
|
value | Object
|
Type | Description |
---|---|
PackageOccurrence.Builder |
build()
public
PackageOccurrence
build
()
Type | Description |
---|---|
PackageOccurrence |
buildPartial()
public
PackageOccurrence
buildPartial
()
Type | Description |
---|---|
PackageOccurrence |
clear()
public
PackageOccurrence
.
Builder
clear
()
Type | Description |
---|---|
PackageOccurrence.Builder |
clearArchitecture()
public
PackageOccurrence
.
Builder
clearArchitecture
()
The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
.grafeas.v1.Architecture architecture = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
clearCpeUri()
public
PackageOccurrence
.
Builder
clearCpeUri
()
The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
string cpe_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public
PackageOccurrence
.
Builder
clearField
(
Descriptors
.
FieldDescriptor
field
)
Name | Description |
---|---|
field | FieldDescriptor
|
Type | Description |
---|---|
PackageOccurrence.Builder |
clearLicense()
public
PackageOccurrence
.
Builder
clearLicense
()
Licenses that have been declared by the authors of the package.
.grafeas.v1.License license = 6;
Type | Description |
---|---|
PackageOccurrence.Builder |
clearLocation()
public
PackageOccurrence
.
Builder
clearLocation
()
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Type | Description |
---|---|
PackageOccurrence.Builder |
clearName()
public
PackageOccurrence
.
Builder
clearName
()
The name of the installed package.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public
PackageOccurrence
.
Builder
clearOneof
(
Descriptors
.
OneofDescriptor
oneof
)
Name | Description |
---|---|
oneof | OneofDescriptor
|
Type | Description |
---|---|
PackageOccurrence.Builder |
clearPackageType()
public
PackageOccurrence
.
Builder
clearPackageType
()
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
clearVersion()
public
PackageOccurrence
.
Builder
clearVersion
()
The version of the package.
.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
PackageOccurrence.Builder |
clone()
public
PackageOccurrence
.
Builder
clone
()
Type | Description |
---|---|
PackageOccurrence.Builder |
getArchitecture()
public
Architecture
getArchitecture
()
The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
.grafeas.v1.Architecture architecture = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
Architecture | The architecture. |
getArchitectureValue()
public
int
getArchitectureValue
()
The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
.grafeas.v1.Architecture architecture = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for architecture. |
getCpeUri()
public
String
getCpeUri
()
The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
string cpe_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
String | The cpeUri. |
getCpeUriBytes()
public
ByteString
getCpeUriBytes
()
The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
string cpe_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
ByteString | The bytes for cpeUri. |
getDefaultInstanceForType()
public
PackageOccurrence
getDefaultInstanceForType
()
Type | Description |
---|---|
PackageOccurrence |
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
Type | Description |
---|---|
Descriptor |
getLicense()
public
License
getLicense
()
Licenses that have been declared by the authors of the package.
.grafeas.v1.License license = 6;
Type | Description |
---|---|
License | The license. |
getLicenseBuilder()
public
License
.
Builder
getLicenseBuilder
()
Licenses that have been declared by the authors of the package.
.grafeas.v1.License license = 6;
Type | Description |
---|---|
License.Builder |
getLicenseOrBuilder()
public
LicenseOrBuilder
getLicenseOrBuilder
()
Licenses that have been declared by the authors of the package.
.grafeas.v1.License license = 6;
Type | Description |
---|---|
LicenseOrBuilder |
getLocation(int index)
public
Location
getLocation
(
int
index
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
index | int
|
Type | Description |
---|---|
Location |
getLocationBuilder(int index)
public
Location
.
Builder
getLocationBuilder
(
int
index
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
index | int
|
Type | Description |
---|---|
Location.Builder |
getLocationBuilderList()
public
List<Location
.
Builder
>
getLocationBuilderList
()
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Type | Description |
---|---|
List < Builder > |
getLocationCount()
public
int
getLocationCount
()
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Type | Description |
---|---|
int |
getLocationList()
public
List<Location>
getLocationList
()
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Type | Description |
---|---|
List < Location > |
getLocationOrBuilder(int index)
public
LocationOrBuilder
getLocationOrBuilder
(
int
index
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
index | int
|
Type | Description |
---|---|
LocationOrBuilder |
getLocationOrBuilderList()
public
List
< ?
extends
LocationOrBuilder
>
getLocationOrBuilderList
()
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Type | Description |
---|---|
List < ? extends io.grafeas.v1.LocationOrBuilder > |
getName()
public
String
getName
()
The name of the installed package.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
String | The name. |
getNameBytes()
public
ByteString
getNameBytes
()
The name of the installed package.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
ByteString | The bytes for name. |
getPackageType()
public
String
getPackageType
()
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
String | The packageType. |
getPackageTypeBytes()
public
ByteString
getPackageTypeBytes
()
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for packageType. |
getVersion()
public
Version
getVersion
()
The version of the package.
.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
Version | The version. |
getVersionBuilder()
public
Version
.
Builder
getVersionBuilder
()
The version of the package.
.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
Version.Builder |
getVersionOrBuilder()
public
VersionOrBuilder
getVersionOrBuilder
()
The version of the package.
.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
---|---|
VersionOrBuilder |
hasLicense()
public
boolean
hasLicense
()
Licenses that have been declared by the authors of the package.
.grafeas.v1.License license = 6;
Type | Description |
boolean | Whether the license field is set. |
hasVersion()
public
boolean
hasVersion
()
The version of the package.
.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the version field is set. |
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
Type | Description |
---|---|
FieldAccessorTable |
isInitialized()
public
final
boolean
isInitialized
()
Type | Description |
---|---|
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
PackageOccurrence
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Name | Description |
input | CodedInputStream
|
extensionRegistry | ExtensionRegistryLite
|
Type | Description |
---|---|
PackageOccurrence.Builder |
Type | Description |
---|---|
IOException |
mergeFrom(Message other)
public
PackageOccurrence
.
Builder
mergeFrom
(
Message
other
)
Name | Description |
---|---|
other | Message
|
Type | Description |
---|---|
PackageOccurrence.Builder |
mergeFrom(PackageOccurrence other)
public
PackageOccurrence
.
Builder
mergeFrom
(
PackageOccurrence
other
)
Name | Description |
---|---|
other | PackageOccurrence
|
Type | Description |
---|---|
PackageOccurrence.Builder |
mergeLicense(License value)
public
PackageOccurrence
.
Builder
mergeLicense
(
License
value
)
Licenses that have been declared by the authors of the package.
.grafeas.v1.License license = 6;
Name | Description |
---|---|
value | License
|
Type | Description |
---|---|
PackageOccurrence.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public
final
PackageOccurrence
.
Builder
mergeUnknownFields
(
UnknownFieldSet
unknownFields
)
Name | Description |
---|---|
unknownFields | UnknownFieldSet
|
Type | Description |
---|---|
PackageOccurrence.Builder |
mergeVersion(Version value)
public
PackageOccurrence
.
Builder
mergeVersion
(
Version
value
)
The version of the package.
.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
---|---|
value | Version
|
Type | Description |
---|---|
PackageOccurrence.Builder |
removeLocation(int index)
public
PackageOccurrence
.
Builder
removeLocation
(
int
index
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
index | int
|
Type | Description |
---|---|
PackageOccurrence.Builder |
setArchitecture(Architecture value)
public
PackageOccurrence
.
Builder
setArchitecture
(
Architecture
value
)
The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
.grafeas.v1.Architecture architecture = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Architecture
The architecture to set. |
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
setArchitectureValue(int value)
public
PackageOccurrence
.
Builder
setArchitectureValue
(
int
value
)
The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
.grafeas.v1.Architecture architecture = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int
The enum numeric value on the wire for architecture to set. |
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
setCpeUri(String value)
public
PackageOccurrence
.
Builder
setCpeUri
(
String
value
)
The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
string cpe_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
---|---|
value | String
The cpeUri to set. |
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
setCpeUriBytes(ByteString value)
public
PackageOccurrence
.
Builder
setCpeUriBytes
(
ByteString
value
)
The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
string cpe_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString
The bytes for cpeUri to set. |
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public
PackageOccurrence
.
Builder
setField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
Name | Description |
---|---|
field | FieldDescriptor
|
value | Object
|
Type | Description |
---|---|
PackageOccurrence.Builder |
setLicense(License value)
public
PackageOccurrence
.
Builder
setLicense
(
License
value
)
Licenses that have been declared by the authors of the package.
.grafeas.v1.License license = 6;
Name | Description |
---|---|
value | License
|
Type | Description |
---|---|
PackageOccurrence.Builder |
setLicense(License.Builder builderForValue)
public
PackageOccurrence
.
Builder
setLicense
(
License
.
Builder
builderForValue
)
Licenses that have been declared by the authors of the package.
.grafeas.v1.License license = 6;
Name | Description |
---|---|
builderForValue | License.Builder
|
Type | Description |
---|---|
PackageOccurrence.Builder |
setLocation(int index, Location value)
public
PackageOccurrence
.
Builder
setLocation
(
int
index
,
Location
value
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
index | int
|
value | Location
|
Type | Description |
---|---|
PackageOccurrence.Builder |
setLocation(int index, Location.Builder builderForValue)
public
PackageOccurrence
.
Builder
setLocation
(
int
index
,
Location
.
Builder
builderForValue
)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Name | Description |
---|---|
index | int
|
builderForValue | Location.Builder
|
Type | Description |
---|---|
PackageOccurrence.Builder |
setName(String value)
public
PackageOccurrence
.
Builder
setName
(
String
value
)
The name of the installed package.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
---|---|
value | String
The name to set. |
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public
PackageOccurrence
.
Builder
setNameBytes
(
ByteString
value
)
The name of the installed package.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString
The bytes for name to set. |
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
setPackageType(String value)
public
PackageOccurrence
.
Builder
setPackageType
(
String
value
)
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String
The packageType to set. |
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
setPackageTypeBytes(ByteString value)
public
PackageOccurrence
.
Builder
setPackageTypeBytes
(
ByteString
value
)
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString
The bytes for packageType to set. |
Type | Description |
PackageOccurrence.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public
PackageOccurrence
.
Builder
setRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
int
index
,
Object
value
)
Name | Description |
---|---|
field | FieldDescriptor
|
index | int
|
value | Object
|
Type | Description |
---|---|
PackageOccurrence.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public
final
PackageOccurrence
.
Builder
setUnknownFields
(
UnknownFieldSet
unknownFields
)
Name | Description |
---|---|
unknownFields | UnknownFieldSet
|
Type | Description |
---|---|
PackageOccurrence.Builder |
setVersion(Version value)
public
PackageOccurrence
.
Builder
setVersion
(
Version
value
)
The version of the package.
.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
---|---|
value | Version
|
Type | Description |
---|---|
PackageOccurrence.Builder |
setVersion(Version.Builder builderForValue)
public
PackageOccurrence
.
Builder
setVersion
(
Version
.
Builder
builderForValue
)
The version of the package.
.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
---|---|
builderForValue | Version.Builder
|
Type | Description |
---|---|
PackageOccurrence.Builder |