Interface PackageOccurrenceOrBuilder (2.37.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
VersionOrBuilder

hasLicense()

public abstract boolean hasLicense()

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

.grafeas.v1.License license = 6;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the version field is set.