Package com.google.cloudbuild.v1
Interface Artifacts.MavenArtifactOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Artifacts.MavenArtifact,Artifacts.MavenArtifact.Builder
- Enclosing class:
- Artifacts
public static interface Artifacts.MavenArtifactOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionMaven `artifactId` value used when uploading the artifact to Artifact Registry.com.google.protobuf.ByteStringMaven `artifactId` value used when uploading the artifact to Artifact Registry.Maven `groupId` value used when uploading the artifact to Artifact Registry.com.google.protobuf.ByteStringMaven `groupId` value used when uploading the artifact to Artifact Registry.getPath()Optional.com.google.protobuf.ByteStringOptional.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.com.google.protobuf.ByteStringArtifact 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.Maven `version` value used when uploading the artifact to Artifact Registry.com.google.protobuf.ByteStringMaven `version` value used when uploading the artifact to Artifact Registry.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRepository
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:
- The repository.
-
getRepositoryBytes
com.google.protobuf.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:
- The bytes for repository.
-
getPath
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:
- The path.
-
getPathBytes
com.google.protobuf.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:
- The bytes for path.
-
getArtifactId
String getArtifactId()Maven `artifactId` value used when uploading the artifact to Artifact Registry.
string artifact_id = 3;- Returns:
- The artifactId.
-
getArtifactIdBytes
com.google.protobuf.ByteString getArtifactIdBytes()Maven `artifactId` value used when uploading the artifact to Artifact Registry.
string artifact_id = 3;- Returns:
- The bytes for artifactId.
-
getGroupId
String getGroupId()Maven `groupId` value used when uploading the artifact to Artifact Registry.
string group_id = 4;- Returns:
- The groupId.
-
getGroupIdBytes
com.google.protobuf.ByteString getGroupIdBytes()Maven `groupId` value used when uploading the artifact to Artifact Registry.
string group_id = 4;- Returns:
- The bytes for groupId.
-
getVersion
String getVersion()Maven `version` value used when uploading the artifact to Artifact Registry.
string version = 5;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Maven `version` value used when uploading the artifact to Artifact Registry.
string version = 5;- Returns:
- The bytes for version.
-