Interface Artifacts.PythonPackageOrBuilder (3.11.0)

public static interface Artifacts.PythonPackageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPaths(int index)

public abstract String getPaths(int index)

Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.

repeated string paths = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The paths at the given index.

getPathsBytes(int index)

public abstract ByteString getPathsBytes(int index)

Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.

repeated string paths = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the paths at the given index.

getPathsCount()

public abstract int getPathsCount()

Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.

repeated string paths = 2;

Returns
TypeDescription
int

The count of paths.

getPathsList()

public abstract List<String> getPathsList()

Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.

repeated string paths = 2;

Returns
TypeDescription
List<String>

A list containing the paths.

getRepository()

public abstract String getRepository()

Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.

string repository = 1;

Returns
TypeDescription
String

The repository.

getRepositoryBytes()

public abstract ByteString getRepositoryBytes()

Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.

string repository = 1;

Returns
TypeDescription
ByteString

The bytes for repository.