Interface ArtifactsOrBuilder (3.57.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
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 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
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 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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the objects field is set.