- 3.55.0 (latest)
- 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.MavenArtifactOrBuilder
A 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Artifacts.MavenArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder |
build()
public Artifacts.MavenArtifact build()
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact |
buildPartial()
public Artifacts.MavenArtifact buildPartial()
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact |
clear()
public Artifacts.MavenArtifact.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Artifacts.MavenArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Artifacts.MavenArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder | This builder for chaining. |
clone()
public Artifacts.MavenArtifact.Builder clone()
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder |
getArtifactId()
public 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 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. |
getDefaultInstanceForType()
public Artifacts.MavenArtifact getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGroupId()
public 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 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 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 | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
Maven version
value used when uploading the artifact to Artifact
Registry.
string version = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Artifacts.MavenArtifact other)
public Artifacts.MavenArtifact.Builder mergeFrom(Artifacts.MavenArtifact other)
Parameter | |
---|---|
Name | Description |
other | Artifacts.MavenArtifact |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Artifacts.MavenArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Artifacts.MavenArtifact.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Artifacts.MavenArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The artifactId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for artifactId to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The groupId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for groupId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The path to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for path to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The repository to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for repository to set. |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Artifacts.MavenArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The version to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder | This builder for chaining. |