public final class MavenArtifact
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Build API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MavenArtifact() |
| Modifier and Type | Method and Description |
|---|---|
MavenArtifact |
clone() |
String |
getArtifactId()
Maven `artifactId` value used when uploading the artifact to Artifact Registry.
|
String |
getGroupId()
Maven `groupId` value used when uploading the artifact to Artifact Registry.
|
String |
getPath()
Path to an artifact in the build's workspace to be uploaded to Artifact Registry.
|
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 |
getVersion()
Maven `version` value used when uploading the artifact to Artifact Registry.
|
MavenArtifact |
set(String fieldName,
Object value) |
MavenArtifact |
setArtifactId(String artifactId)
Maven `artifactId` value used when uploading the artifact to Artifact Registry.
|
MavenArtifact |
setGroupId(String groupId)
Maven `groupId` value used when uploading the artifact to Artifact Registry.
|
MavenArtifact |
setPath(String path)
Path to an artifact in the build's workspace to be uploaded to Artifact Registry.
|
MavenArtifact |
setRepository(String repository)
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.
|
MavenArtifact |
setVersion(String version)
Maven `version` value used when uploading the artifact to Artifact Registry.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getArtifactId()
null for nonepublic MavenArtifact setArtifactId(String artifactId)
artifactId - artifactId or null for nonepublic String getGroupId()
null for nonepublic MavenArtifact setGroupId(String groupId)
groupId - groupId or null for nonepublic String getPath()
null for nonepublic MavenArtifact setPath(String path)
path - path or null for nonepublic String getRepository()
null for nonepublic MavenArtifact setRepository(String repository)
repository - repository or null for nonepublic String getVersion()
null for nonepublic MavenArtifact setVersion(String version)
version - version or null for nonepublic MavenArtifact set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MavenArtifact clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.