Interface PackageOccurrenceOrBuilder (2.47.0)

public interface PackageOccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArchitecture()

public abstract 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];

Returns
Type Description
Architecture

The architecture.

getArchitectureValue()

public abstract 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];

Returns
Type Description
int

The enum numeric value on the wire for architecture.

getCpeUri()

public abstract 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];

Returns
Type Description
String

The cpeUri.

getCpeUriBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for cpeUri.

getLicense()

public abstract License getLicense()

Licenses that have been declared by the authors of the package.

.grafeas.v1.License license = 6;

Returns
Type Description
License

The license.

getLicenseOrBuilder()

public abstract LicenseOrBuilder getLicenseOrBuilder()

Licenses that have been declared by the authors of the package.

.grafeas.v1.License license = 6;

Returns
Type Description
LicenseOrBuilder

getLocation(int index)

public abstract Location getLocation(int index)

All of the places within the filesystem versions of this package have been found.

repeated .grafeas.v1.Location location = 2;

Parameter
Name Description
index int
Returns
Type Description
Location

getLocationCount()

public abstract int getLocationCount()

All of the places within the filesystem versions of this package have been found.

repeated .grafeas.v1.Location location = 2;

Returns
Type Description
int

getLocationList()

public abstract List<Location> getLocationList()

All of the places within the filesystem versions of this package have been found.

repeated .grafeas.v1.Location location = 2;

Returns
Type Description
List<Location>

getLocationOrBuilder(int index)

public abstract LocationOrBuilder getLocationOrBuilder(int index)

All of the places within the filesystem versions of this package have been found.

repeated .grafeas.v1.Location location = 2;

Parameter
Name Description
index int
Returns
Type Description
LocationOrBuilder

getLocationOrBuilderList()

public abstract List<? extends LocationOrBuilder> getLocationOrBuilderList()

All of the places within the filesystem versions of this package have been found.

repeated .grafeas.v1.Location location = 2;

Returns
Type Description
List<? extends io.grafeas.v1.LocationOrBuilder>

getName()

public abstract String getName()

The name of the installed package.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the installed package.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getPackageType()

public abstract 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];

Returns
Type Description
String

The packageType.

getPackageTypeBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for packageType.

getVersion()

public abstract Version getVersion()

The version of the package.

.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

The version of the package.

.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VersionOrBuilder

hasLicense()

public abstract boolean hasLicense()

Licenses that have been declared by the authors of the package.

.grafeas.v1.License license = 6;

Returns
Type Description
boolean

Whether the license field is set.

hasVersion()

public abstract boolean hasVersion()

The version of the package.

.grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the version field is set.