Interface Artifacts.MavenArtifactOrBuilder (3.16.0)

public static interface Artifacts.MavenArtifactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArtifactId()

public abstract String getArtifactId()

Maven artifactId value used when uploading the artifact to Artifact Registry.

string artifact_id = 3;

Returns
TypeDescription
String

The artifactId.

getArtifactIdBytes()

public abstract ByteString getArtifactIdBytes()

Maven artifactId value used when uploading the artifact to Artifact Registry.

string artifact_id = 3;

Returns
TypeDescription
ByteString

The bytes for artifactId.

getGroupId()

public abstract String getGroupId()

Maven groupId value used when uploading the artifact to Artifact Registry.

string group_id = 4;

Returns
TypeDescription
String

The groupId.

getGroupIdBytes()

public abstract ByteString getGroupIdBytes()

Maven groupId value used when uploading the artifact to Artifact Registry.

string group_id = 4;

Returns
TypeDescription
ByteString

The bytes for groupId.

getPath()

public abstract String getPath()

Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.

string path = 2;

Returns
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.

string path = 2;

Returns
TypeDescription
ByteString

The bytes for path.

getRepository()

public abstract String getRepository()

Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path 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-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.

string repository = 1;

Returns
TypeDescription
ByteString

The bytes for repository.

getVersion()

public abstract String getVersion()

Maven version value used when uploading the artifact to Artifact Registry.

string version = 5;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Maven version value used when uploading the artifact to Artifact Registry.

string version = 5;

Returns
TypeDescription
ByteString

The bytes for version.