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.
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.
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.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface ArtifactsOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.cloudbuild.v1.ArtifactsOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.cloudbuild.v1.ArtifactsOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.cloudbuild.v1.ArtifactsOrBuilder) \n\n public interface ArtifactsOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getImages(int index)\n\n public abstract String getImages(int index)\n\nA list of images to be pushed upon the successful completion of all build\nsteps.\nThe images will be pushed using the builder service account's credentials.\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\nIf any of the images fail to be pushed, the build is marked FAILURE.\n\n`repeated string images = 1;`\n\n### getImagesBytes(int index)\n\n public abstract ByteString getImagesBytes(int index)\n\nA list of images to be pushed upon the successful completion of all build\nsteps.\nThe images will be pushed using the builder service account's credentials.\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\nIf any of the images fail to be pushed, the build is marked FAILURE.\n\n`repeated string images = 1;`\n\n### getImagesCount()\n\n public abstract int getImagesCount()\n\nA list of images to be pushed upon the successful completion of all build\nsteps.\nThe images will be pushed using the builder service account's credentials.\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\nIf any of the images fail to be pushed, the build is marked FAILURE.\n\n`repeated string images = 1;`\n\n### getImagesList()\n\n public abstract List\u003cString\u003e getImagesList()\n\nA list of images to be pushed upon the successful completion of all build\nsteps.\nThe images will be pushed using the builder service account's credentials.\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\nIf any of the images fail to be pushed, the build is marked FAILURE.\n\n`repeated string images = 1;`\n\n### getObjects()\n\n public abstract Artifacts.ArtifactObjects getObjects()\n\nA list of objects to be uploaded to Cloud Storage upon successful\ncompletion of all build steps.\nFiles in the workspace matching specified paths globs will be uploaded to\nthe specified Cloud Storage location using the builder service account's\ncredentials.\nThe location and generation of the uploaded objects will be stored in the\nBuild resource's results field.\nIf any objects fail to be pushed, the build is marked FAILURE.\n\n`.google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;`\n\n### getObjectsOrBuilder()\n\n public abstract Artifacts.ArtifactObjectsOrBuilder getObjectsOrBuilder()\n\nA list of objects to be uploaded to Cloud Storage upon successful\ncompletion of all build steps.\nFiles in the workspace matching specified paths globs will be uploaded to\nthe specified Cloud Storage location using the builder service account's\ncredentials.\nThe location and generation of the uploaded objects will be stored in the\nBuild resource's results field.\nIf any objects fail to be pushed, the build is marked FAILURE.\n\n`.google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;`\n\n### hasObjects()\n\n public abstract boolean hasObjects()\n\nA list of objects to be uploaded to Cloud Storage upon successful\ncompletion of all build steps.\nFiles in the workspace matching specified paths globs will be uploaded to\nthe specified Cloud Storage location using the builder service account's\ncredentials.\nThe location and generation of the uploaded objects will be stored in the\nBuild resource's results field.\nIf any objects fail to be pushed, the build is marked FAILURE.\n\n`.google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;`"]]