Interface ArtifactsOrBuilder (3.29.0)

public interface ArtifactsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImages(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The images at the given index.

getImagesBytes(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the images at the given index.

getImagesCount()

public abstract 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
TypeDescription
int

The count of images.

getImagesList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the images.

getMavenArtifacts(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Artifacts.MavenArtifact

getMavenArtifactsCount()

public abstract 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
TypeDescription
int

getMavenArtifactsList()

public abstract 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
TypeDescription
List<MavenArtifact>

getMavenArtifactsOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Artifacts.MavenArtifactOrBuilder

getMavenArtifactsOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloudbuild.v1.Artifacts.MavenArtifactOrBuilder>

getNpmPackages(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Artifacts.NpmPackage

getNpmPackagesCount()

public abstract 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
TypeDescription
int

getNpmPackagesList()

public abstract 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
TypeDescription
List<NpmPackage>

getNpmPackagesOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Artifacts.NpmPackageOrBuilder

getNpmPackagesOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloudbuild.v1.Artifacts.NpmPackageOrBuilder>

getObjects()

public abstract 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
TypeDescription
Artifacts.ArtifactObjects

The objects.

getObjectsOrBuilder()

public abstract 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
TypeDescription
Artifacts.ArtifactObjectsOrBuilder

getPythonPackages(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Artifacts.PythonPackage

getPythonPackagesCount()

public abstract 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
TypeDescription
int

getPythonPackagesList()

public abstract 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
TypeDescription
List<PythonPackage>

getPythonPackagesOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Artifacts.PythonPackageOrBuilder

getPythonPackagesOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloudbuild.v1.Artifacts.PythonPackageOrBuilder>

hasObjects()

public abstract 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
TypeDescription
boolean

Whether the objects field is set.