Interface DistributionOrBuilder (2.68.0)

  public 
  
 interface 
 DistributionOrBuilder 
  
 extends 
  
 MessageOrBuilder 
 

Implements

MessageOrBuilder

Methods

getArchitecture()

  public 
  
 abstract 
  
 Architecture 
  
 getArchitecture 
 () 
 

The CPU architecture for which packages in this distribution channel were built.

.grafeas.v1.Architecture architecture = 2;

Returns
Type
Description

The architecture.

getArchitectureValue()

  public 
  
 abstract 
  
 int 
  
 getArchitectureValue 
 () 
 

The CPU architecture for which packages in this distribution channel were built.

.grafeas.v1.Architecture architecture = 2;

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.

string cpe_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description

The cpeUri.

getCpeUriBytes()

  public 
  
 abstract 
  
 ByteString 
  
 getCpeUriBytes 
 () 
 

The cpe_uri in CPE format denoting the package manager version distributing a package.

string cpe_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description

The bytes for cpeUri.

getDescription()

  public 
  
 abstract 
  
 String 
  
 getDescription 
 () 
 

The distribution channel-specific description of this package.

string description = 6;

Returns
Type
Description

The description.

getDescriptionBytes()

  public 
  
 abstract 
  
 ByteString 
  
 getDescriptionBytes 
 () 
 

The distribution channel-specific description of this package.

string description = 6;

Returns
Type
Description

The bytes for description.

getLatestVersion()

  public 
  
 abstract 
  
 Version 
  
 getLatestVersion 
 () 
 

The latest available version of this package in this distribution channel.

.grafeas.v1.Version latest_version = 3;

Returns
Type
Description

The latestVersion.

getLatestVersionOrBuilder()

  public 
  
 abstract 
  
 VersionOrBuilder 
  
 getLatestVersionOrBuilder 
 () 
 

The latest available version of this package in this distribution channel.

.grafeas.v1.Version latest_version = 3;

Returns
Type
Description

getMaintainer()

  public 
  
 abstract 
  
 String 
  
 getMaintainer 
 () 
 

A freeform string denoting the maintainer of this package.

string maintainer = 4;

Returns
Type
Description

The maintainer.

getMaintainerBytes()

  public 
  
 abstract 
  
 ByteString 
  
 getMaintainerBytes 
 () 
 

A freeform string denoting the maintainer of this package.

string maintainer = 4;

Returns
Type
Description

The bytes for maintainer.

getUrl()

  public 
  
 abstract 
  
 String 
  
 getUrl 
 () 
 

The distribution channel-specific homepage for this package.

string url = 5;

Returns
Type
Description

The url.

getUrlBytes()

  public 
  
 abstract 
  
 ByteString 
  
 getUrlBytes 
 () 
 

The distribution channel-specific homepage for this package.

string url = 5;

Returns
Type
Description

The bytes for url.

hasLatestVersion()

  public 
  
 abstract 
  
 boolean 
  
 hasLatestVersion 
 () 
 

The latest available version of this package in this distribution channel.

.grafeas.v1.Version latest_version = 3;

Returns
Type
Description

Whether the latestVersion field is set.

Create a Mobile Website
View Site in Mobile | Classic
Share by: