Interface Artifacts.PythonPackageOrBuilder (3.48.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for repository.