Interface PackageOrBuilder (2.20.0)

public interface PackageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDistribution(int index)

public abstract Distribution getDistribution(int index)

The various channels by which a package is distributed.

repeated .grafeas.v1beta1.package.Distribution distribution = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
Distribution

getDistributionCount()

public abstract int getDistributionCount()

The various channels by which a package is distributed.

repeated .grafeas.v1beta1.package.Distribution distribution = 10;

Returns
TypeDescription
int

getDistributionList()

public abstract List<Distribution> getDistributionList()

The various channels by which a package is distributed.

repeated .grafeas.v1beta1.package.Distribution distribution = 10;

Returns
TypeDescription
List<Distribution>

getDistributionOrBuilder(int index)

public abstract DistributionOrBuilder getDistributionOrBuilder(int index)

The various channels by which a package is distributed.

repeated .grafeas.v1beta1.package.Distribution distribution = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
DistributionOrBuilder

getDistributionOrBuilderList()

public abstract List<? extends DistributionOrBuilder> getDistributionOrBuilderList()

The various channels by which a package is distributed.

repeated .grafeas.v1beta1.package.Distribution distribution = 10;

Returns
TypeDescription
List<? extends io.grafeas.v1beta1.pkg.DistributionOrBuilder>

getName()

public abstract String getName()

Required. Immutable. The name of the package.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Immutable. The name of the package.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.