- 3.56.0 (latest)
- 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.Builder extends GeneratedMessageV3.Builder<Artifacts.Builder> implements ArtifactsOrBuilder
Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
Protobuf type google.devtools.cloudbuild.v1.Artifacts
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Artifacts.BuilderImplements
ArtifactsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllImages(Iterable<String> values)
public Artifacts.Builder addAllImages(Iterable<String> values)
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
repeated string images = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The images to add. |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
This builder for chaining. |
addAllMavenArtifacts(Iterable<? extends Artifacts.MavenArtifact> values)
public Artifacts.Builder addAllMavenArtifacts(Iterable<? extends Artifacts.MavenArtifact> values)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloudbuild.v1.Artifacts.MavenArtifact> |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addAllNpmPackages(Iterable<? extends Artifacts.NpmPackage> values)
public Artifacts.Builder addAllNpmPackages(Iterable<? extends Artifacts.NpmPackage> values)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloudbuild.v1.Artifacts.NpmPackage> |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addAllPythonPackages(Iterable<? extends Artifacts.PythonPackage> values)
public Artifacts.Builder addAllPythonPackages(Iterable<? extends Artifacts.PythonPackage> values)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloudbuild.v1.Artifacts.PythonPackage> |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addImages(String value)
public Artifacts.Builder addImages(String value)
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
repeated string images = 1;
Parameter | |
---|---|
Name | Description |
value |
String The images to add. |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
This builder for chaining. |
addImagesBytes(ByteString value)
public Artifacts.Builder addImagesBytes(ByteString value)
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
repeated string images = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the images to add. |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
This builder for chaining. |
addMavenArtifacts(Artifacts.MavenArtifact value)
public Artifacts.Builder addMavenArtifacts(Artifacts.MavenArtifact value)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameter | |
---|---|
Name | Description |
value |
Artifacts.MavenArtifact |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addMavenArtifacts(Artifacts.MavenArtifact.Builder builderForValue)
public Artifacts.Builder addMavenArtifacts(Artifacts.MavenArtifact.Builder builderForValue)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Artifacts.MavenArtifact.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addMavenArtifacts(int index, Artifacts.MavenArtifact value)
public Artifacts.Builder addMavenArtifacts(int index, Artifacts.MavenArtifact value)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Artifacts.MavenArtifact |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addMavenArtifacts(int index, Artifacts.MavenArtifact.Builder builderForValue)
public Artifacts.Builder addMavenArtifacts(int index, Artifacts.MavenArtifact.Builder builderForValue)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Artifacts.MavenArtifact.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addMavenArtifactsBuilder()
public Artifacts.MavenArtifact.Builder addMavenArtifactsBuilder()
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder |
addMavenArtifactsBuilder(int index)
public Artifacts.MavenArtifact.Builder addMavenArtifactsBuilder(int index)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder |
addNpmPackages(Artifacts.NpmPackage value)
public Artifacts.Builder addNpmPackages(Artifacts.NpmPackage value)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameter | |
---|---|
Name | Description |
value |
Artifacts.NpmPackage |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addNpmPackages(Artifacts.NpmPackage.Builder builderForValue)
public Artifacts.Builder addNpmPackages(Artifacts.NpmPackage.Builder builderForValue)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Artifacts.NpmPackage.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addNpmPackages(int index, Artifacts.NpmPackage value)
public Artifacts.Builder addNpmPackages(int index, Artifacts.NpmPackage value)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Artifacts.NpmPackage |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addNpmPackages(int index, Artifacts.NpmPackage.Builder builderForValue)
public Artifacts.Builder addNpmPackages(int index, Artifacts.NpmPackage.Builder builderForValue)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Artifacts.NpmPackage.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addNpmPackagesBuilder()
public Artifacts.NpmPackage.Builder addNpmPackagesBuilder()
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Returns | |
---|---|
Type | Description |
Artifacts.NpmPackage.Builder |
addNpmPackagesBuilder(int index)
public Artifacts.NpmPackage.Builder addNpmPackagesBuilder(int index)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.NpmPackage.Builder |
addPythonPackages(Artifacts.PythonPackage value)
public Artifacts.Builder addPythonPackages(Artifacts.PythonPackage value)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameter | |
---|---|
Name | Description |
value |
Artifacts.PythonPackage |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addPythonPackages(Artifacts.PythonPackage.Builder builderForValue)
public Artifacts.Builder addPythonPackages(Artifacts.PythonPackage.Builder builderForValue)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Artifacts.PythonPackage.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addPythonPackages(int index, Artifacts.PythonPackage value)
public Artifacts.Builder addPythonPackages(int index, Artifacts.PythonPackage value)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Artifacts.PythonPackage |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addPythonPackages(int index, Artifacts.PythonPackage.Builder builderForValue)
public Artifacts.Builder addPythonPackages(int index, Artifacts.PythonPackage.Builder builderForValue)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Artifacts.PythonPackage.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
addPythonPackagesBuilder()
public Artifacts.PythonPackage.Builder addPythonPackagesBuilder()
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Returns | |
---|---|
Type | Description |
Artifacts.PythonPackage.Builder |
addPythonPackagesBuilder(int index)
public Artifacts.PythonPackage.Builder addPythonPackagesBuilder(int index)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.PythonPackage.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Artifacts.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
build()
public Artifacts build()
Returns | |
---|---|
Type | Description |
Artifacts |
buildPartial()
public Artifacts buildPartial()
Returns | |
---|---|
Type | Description |
Artifacts |
clear()
public Artifacts.Builder clear()
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
clearField(Descriptors.FieldDescriptor field)
public Artifacts.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
clearImages()
public Artifacts.Builder clearImages()
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
repeated string images = 1;
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
This builder for chaining. |
clearMavenArtifacts()
public Artifacts.Builder clearMavenArtifacts()
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
clearNpmPackages()
public Artifacts.Builder clearNpmPackages()
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
clearObjects()
public Artifacts.Builder clearObjects()
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Artifacts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
clearPythonPackages()
public Artifacts.Builder clearPythonPackages()
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
clone()
public Artifacts.Builder clone()
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
getDefaultInstanceForType()
public Artifacts getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Artifacts |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getImages(int index)
public String getImages(int index)
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
repeated string images = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The images at the given index. |
getImagesBytes(int index)
public ByteString getImagesBytes(int index)
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
repeated string images = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the images at the given index. |
getImagesCount()
public int getImagesCount()
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
repeated string images = 1;
Returns | |
---|---|
Type | Description |
int |
The count of images. |
getImagesList()
public ProtocolStringList getImagesList()
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
repeated string images = 1;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the images. |
getMavenArtifacts(int index)
public Artifacts.MavenArtifact getMavenArtifacts(int index)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact |
getMavenArtifactsBuilder(int index)
public Artifacts.MavenArtifact.Builder getMavenArtifactsBuilder(int index)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact.Builder |
getMavenArtifactsBuilderList()
public List<Artifacts.MavenArtifact.Builder> getMavenArtifactsBuilderList()
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getMavenArtifactsCount()
public int getMavenArtifactsCount()
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Returns | |
---|---|
Type | Description |
int |
getMavenArtifactsList()
public List<Artifacts.MavenArtifact> getMavenArtifactsList()
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Returns | |
---|---|
Type | Description |
List<MavenArtifact> |
getMavenArtifactsOrBuilder(int index)
public Artifacts.MavenArtifactOrBuilder getMavenArtifactsOrBuilder(int index)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifactOrBuilder |
getMavenArtifactsOrBuilderList()
public List<? extends Artifacts.MavenArtifactOrBuilder> getMavenArtifactsOrBuilderList()
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloudbuild.v1.Artifacts.MavenArtifactOrBuilder> |
getNpmPackages(int index)
public Artifacts.NpmPackage getNpmPackages(int index)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.NpmPackage |
getNpmPackagesBuilder(int index)
public Artifacts.NpmPackage.Builder getNpmPackagesBuilder(int index)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.NpmPackage.Builder |
getNpmPackagesBuilderList()
public List<Artifacts.NpmPackage.Builder> getNpmPackagesBuilderList()
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Returns | |
---|---|
Type | Description |
List<Builder> |
getNpmPackagesCount()
public int getNpmPackagesCount()
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Returns | |
---|---|
Type | Description |
int |
getNpmPackagesList()
public List<Artifacts.NpmPackage> getNpmPackagesList()
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Returns | |
---|---|
Type | Description |
List<NpmPackage> |
getNpmPackagesOrBuilder(int index)
public Artifacts.NpmPackageOrBuilder getNpmPackagesOrBuilder(int index)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.NpmPackageOrBuilder |
getNpmPackagesOrBuilderList()
public List<? extends Artifacts.NpmPackageOrBuilder> getNpmPackagesOrBuilderList()
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloudbuild.v1.Artifacts.NpmPackageOrBuilder> |
getObjects()
public Artifacts.ArtifactObjects getObjects()
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
The objects. |
getObjectsBuilder()
public Artifacts.ArtifactObjects.Builder getObjectsBuilder()
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects.Builder |
getObjectsOrBuilder()
public Artifacts.ArtifactObjectsOrBuilder getObjectsOrBuilder()
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjectsOrBuilder |
getPythonPackages(int index)
public Artifacts.PythonPackage getPythonPackages(int index)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.PythonPackage |
getPythonPackagesBuilder(int index)
public Artifacts.PythonPackage.Builder getPythonPackagesBuilder(int index)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.PythonPackage.Builder |
getPythonPackagesBuilderList()
public List<Artifacts.PythonPackage.Builder> getPythonPackagesBuilderList()
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Returns | |
---|---|
Type | Description |
List<Builder> |
getPythonPackagesCount()
public int getPythonPackagesCount()
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Returns | |
---|---|
Type | Description |
int |
getPythonPackagesList()
public List<Artifacts.PythonPackage> getPythonPackagesList()
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Returns | |
---|---|
Type | Description |
List<PythonPackage> |
getPythonPackagesOrBuilder(int index)
public Artifacts.PythonPackageOrBuilder getPythonPackagesOrBuilder(int index)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.PythonPackageOrBuilder |
getPythonPackagesOrBuilderList()
public List<? extends Artifacts.PythonPackageOrBuilder> getPythonPackagesOrBuilderList()
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloudbuild.v1.Artifacts.PythonPackageOrBuilder> |
hasObjects()
public boolean hasObjects()
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the objects field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Artifacts other)
public Artifacts.Builder mergeFrom(Artifacts other)
Parameter | |
---|---|
Name | Description |
other |
Artifacts |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Artifacts.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Artifacts.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
mergeObjects(Artifacts.ArtifactObjects value)
public Artifacts.Builder mergeObjects(Artifacts.ArtifactObjects value)
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
Parameter | |
---|---|
Name | Description |
value |
Artifacts.ArtifactObjects |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Artifacts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
removeMavenArtifacts(int index)
public Artifacts.Builder removeMavenArtifacts(int index)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
removeNpmPackages(int index)
public Artifacts.Builder removeNpmPackages(int index)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
removePythonPackages(int index)
public Artifacts.Builder removePythonPackages(int index)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Artifacts.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setImages(int index, String value)
public Artifacts.Builder setImages(int index, String value)
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
repeated string images = 1;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The images to set. |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
This builder for chaining. |
setMavenArtifacts(int index, Artifacts.MavenArtifact value)
public Artifacts.Builder setMavenArtifacts(int index, Artifacts.MavenArtifact value)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Artifacts.MavenArtifact |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setMavenArtifacts(int index, Artifacts.MavenArtifact.Builder builderForValue)
public Artifacts.Builder setMavenArtifacts(int index, Artifacts.MavenArtifact.Builder builderForValue)
A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Artifacts.MavenArtifact.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setNpmPackages(int index, Artifacts.NpmPackage value)
public Artifacts.Builder setNpmPackages(int index, Artifacts.NpmPackage value)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Artifacts.NpmPackage |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setNpmPackages(int index, Artifacts.NpmPackage.Builder builderForValue)
public Artifacts.Builder setNpmPackages(int index, Artifacts.NpmPackage.Builder builderForValue)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.
If any packages fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Artifacts.NpmPackage.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setObjects(Artifacts.ArtifactObjects value)
public Artifacts.Builder setObjects(Artifacts.ArtifactObjects value)
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
Parameter | |
---|---|
Name | Description |
value |
Artifacts.ArtifactObjects |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setObjects(Artifacts.ArtifactObjects.Builder builderForValue)
public Artifacts.Builder setObjects(Artifacts.ArtifactObjects.Builder builderForValue)
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Artifacts.ArtifactObjects.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setPythonPackages(int index, Artifacts.PythonPackage value)
public Artifacts.Builder setPythonPackages(int index, Artifacts.PythonPackage value)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Artifacts.PythonPackage |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setPythonPackages(int index, Artifacts.PythonPackage.Builder builderForValue)
public Artifacts.Builder setPythonPackages(int index, Artifacts.PythonPackage.Builder builderForValue)
A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Artifacts.PythonPackage.Builder |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Artifacts.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Artifacts.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |