Interface PackageOrBuilder (2.46.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
Name Description
index int
Returns
Type Description
Distribution

getDistributionCount()

public abstract int getDistributionCount()

The various channels by which a package is distributed.

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

Returns
Type Description
int

getDistributionList()

public abstract List<Distribution> getDistributionList()

The various channels by which a package is distributed.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends io.grafeas.v1beta1.pkg.DistributionOrBuilder>

getName()

public abstract String getName()

Required. Immutable. The name of the package.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Immutable. The name of the package.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.