public static interface Artifacts.MavenArtifactOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getArtifactId()
public abstract String getArtifactId() Maven artifactId value used when uploading the artifact to Artifact
Registry.
string artifact_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The artifactId. |
getArtifactIdBytes()
public abstract ByteString getArtifactIdBytes() Maven artifactId value used when uploading the artifact to Artifact
Registry.
string artifact_id = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
String |
The groupId. |
getGroupIdBytes()
public abstract ByteString getGroupIdBytes() Maven groupId value used when uploading the artifact to Artifact
Registry.
string group_id = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for groupId. |
getPath()
public abstract String getPath()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public abstract ByteString getPathBytes()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public abstract ByteString getVersionBytes() Maven version value used when uploading the artifact to Artifact
Registry.
string version = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |