Interface ArtifactsOrBuilder (0.16.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.

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.events.cloud.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.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;

Returns
Type Description
Artifacts.ArtifactObjectsOrBuilder

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.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;

Returns
Type Description
boolean

Whether the objects field is set.