- 3.82.0 (latest)
- 3.80.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.72.0
- 3.70.0
- 3.69.0
- 3.66.0
- 3.65.0
- 3.64.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public static final class Artifacts.MavenArtifact.Builder extends GeneratedMessageV3.Builder<Artifacts.MavenArtifact.Builder> implements Artifacts.MavenArtifactOrBuilderA Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
Protobuf type google.devtools.cloudbuild.v1.Artifacts.MavenArtifact
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Artifacts.MavenArtifact.BuilderImplements
Artifacts.MavenArtifactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Artifacts.MavenArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
build()
public Artifacts.MavenArtifact build()| Type | Description |
| Artifacts.MavenArtifact |
buildPartial()
public Artifacts.MavenArtifact buildPartial()| Type | Description |
| Artifacts.MavenArtifact |
clear()
public Artifacts.MavenArtifact.Builder clear()| Type | Description |
| Artifacts.MavenArtifact.Builder |
clearArtifactId()
public Artifacts.MavenArtifact.Builder clearArtifactId() Maven artifactId value used when uploading the artifact to Artifact
Registry.
string artifact_id = 3;
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Artifacts.MavenArtifact.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
clearGroupId()
public Artifacts.MavenArtifact.Builder clearGroupId() Maven groupId value used when uploading the artifact to Artifact
Registry.
string group_id = 4;
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Artifacts.MavenArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
clearPath()
public Artifacts.MavenArtifact.Builder clearPath()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;
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
clearRepository()
public Artifacts.MavenArtifact.Builder clearRepository()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;
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
clearVersion()
public Artifacts.MavenArtifact.Builder clearVersion() Maven version value used when uploading the artifact to Artifact
Registry.
string version = 5;
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
clone()
public Artifacts.MavenArtifact.Builder clone()| Type | Description |
| Artifacts.MavenArtifact.Builder |
getArtifactId()
public String getArtifactId() Maven artifactId value used when uploading the artifact to Artifact
Registry.
string artifact_id = 3;
| Type | Description |
| String | The artifactId. |
getArtifactIdBytes()
public ByteString getArtifactIdBytes() Maven artifactId value used when uploading the artifact to Artifact
Registry.
string artifact_id = 3;
| Type | Description |
| ByteString | The bytes for artifactId. |
getDefaultInstanceForType()
public Artifacts.MavenArtifact getDefaultInstanceForType()| Type | Description |
| Artifacts.MavenArtifact |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getGroupId()
public String getGroupId() Maven groupId value used when uploading the artifact to Artifact
Registry.
string group_id = 4;
| Type | Description |
| String | The groupId. |
getGroupIdBytes()
public ByteString getGroupIdBytes() Maven groupId value used when uploading the artifact to Artifact
Registry.
string group_id = 4;
| Type | Description |
| ByteString | The bytes for groupId. |
getPath()
public 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;
| Type | Description |
| String | The path. |
getPathBytes()
public 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;
| Type | Description |
| ByteString | The bytes for path. |
getRepository()
public 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;
| Type | Description |
| String | The repository. |
getRepositoryBytes()
public 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;
| Type | Description |
| ByteString | The bytes for repository. |
getVersion()
public String getVersion() Maven version value used when uploading the artifact to Artifact
Registry.
string version = 5;
| Type | Description |
| String | The version. |
getVersionBytes()
public ByteString getVersionBytes() Maven version value used when uploading the artifact to Artifact
Registry.
string version = 5;
| Type | Description |
| ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(Artifacts.MavenArtifact other)
public Artifacts.MavenArtifact.Builder mergeFrom(Artifacts.MavenArtifact other)| Name | Description |
| other | Artifacts.MavenArtifact |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Artifacts.MavenArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Artifacts.MavenArtifact.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Artifacts.MavenArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
setArtifactId(String value)
public Artifacts.MavenArtifact.Builder setArtifactId(String value) Maven artifactId value used when uploading the artifact to Artifact
Registry.
string artifact_id = 3;
| Name | Description |
| value | StringThe artifactId to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
setArtifactIdBytes(ByteString value)
public Artifacts.MavenArtifact.Builder setArtifactIdBytes(ByteString value) Maven artifactId value used when uploading the artifact to Artifact
Registry.
string artifact_id = 3;
| Name | Description |
| value | ByteStringThe bytes for artifactId to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Artifacts.MavenArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
setGroupId(String value)
public Artifacts.MavenArtifact.Builder setGroupId(String value) Maven groupId value used when uploading the artifact to Artifact
Registry.
string group_id = 4;
| Name | Description |
| value | StringThe groupId to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
setGroupIdBytes(ByteString value)
public Artifacts.MavenArtifact.Builder setGroupIdBytes(ByteString value) Maven groupId value used when uploading the artifact to Artifact
Registry.
string group_id = 4;
| Name | Description |
| value | ByteStringThe bytes for groupId to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
setPath(String value)
public Artifacts.MavenArtifact.Builder setPath(String value)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;
| Name | Description |
| value | StringThe path to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
setPathBytes(ByteString value)
public Artifacts.MavenArtifact.Builder setPathBytes(ByteString value)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;
| Name | Description |
| value | ByteStringThe bytes for path to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Artifacts.MavenArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
setRepository(String value)
public Artifacts.MavenArtifact.Builder setRepository(String value)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;
| Name | Description |
| value | StringThe repository to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
setRepositoryBytes(ByteString value)
public Artifacts.MavenArtifact.Builder setRepositoryBytes(ByteString value)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;
| Name | Description |
| value | ByteStringThe bytes for repository to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Artifacts.MavenArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Artifacts.MavenArtifact.Builder |
setVersion(String value)
public Artifacts.MavenArtifact.Builder setVersion(String value) Maven version value used when uploading the artifact to Artifact
Registry.
string version = 5;
| Name | Description |
| value | StringThe version to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public Artifacts.MavenArtifact.Builder setVersionBytes(ByteString value) Maven version value used when uploading the artifact to Artifact
Registry.
string version = 5;
| Name | Description |
| value | ByteStringThe bytes for version to set. |
| Type | Description |
| Artifacts.MavenArtifact.Builder | This builder for chaining. |