Interface Artifacts.NpmPackageOrBuilder (3.36.0)

public static interface Artifacts.NpmPackageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPackagePath()

public abstract String getPackagePath()

Path to the package.json. e.g. workspace/path/to/package

string package_path = 2;

Returns
TypeDescription
String

The packagePath.

getPackagePathBytes()

public abstract ByteString getPackagePathBytes()

Path to the package.json. e.g. workspace/path/to/package

string package_path = 2;

Returns
TypeDescription
ByteString

The bytes for packagePath.

getRepository()

public abstract String getRepository()

Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"

Npm package in the workspace specified by path will be zipped and 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-npm.pkg.dev/$PROJECT/$REPOSITORY"

Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.

string repository = 1;

Returns
TypeDescription
ByteString

The bytes for repository.