Interface ResultsOrBuilder (3.56.0)

public interface ResultsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArtifactManifest()

public abstract String getArtifactManifest()

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

string artifact_manifest = 4;

Returns
Type Description
String

The artifactManifest.

getArtifactManifestBytes()

public abstract ByteString getArtifactManifestBytes()

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

string artifact_manifest = 4;

Returns
Type Description
ByteString

The bytes for artifactManifest.

getArtifactTiming()

public abstract TimeSpan getArtifactTiming()

Time to push all non-container artifacts to Cloud Storage.

.google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;

Returns
Type Description
TimeSpan

The artifactTiming.

getArtifactTimingOrBuilder()

public abstract TimeSpanOrBuilder getArtifactTimingOrBuilder()

Time to push all non-container artifacts to Cloud Storage.

.google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;

Returns
Type Description
TimeSpanOrBuilder

getBuildStepImages(int index)

public abstract String getBuildStepImages(int index)

List of build step digests, in the order corresponding to build step indices.

repeated string build_step_images = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The buildStepImages at the given index.

getBuildStepImagesBytes(int index)

public abstract ByteString getBuildStepImagesBytes(int index)

List of build step digests, in the order corresponding to build step indices.

repeated string build_step_images = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the buildStepImages at the given index.

getBuildStepImagesCount()

public abstract int getBuildStepImagesCount()

List of build step digests, in the order corresponding to build step indices.

repeated string build_step_images = 3;

Returns
Type Description
int

The count of buildStepImages.

getBuildStepImagesList()

public abstract List<String> getBuildStepImagesList()

List of build step digests, in the order corresponding to build step indices.

repeated string build_step_images = 3;

Returns
Type Description
List<String>

A list containing the buildStepImages.

getBuildStepOutputs(int index)

public abstract ByteString getBuildStepOutputs(int index)

List of build step outputs, produced by builder images, in the order corresponding to build step indices.

Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

repeated bytes build_step_outputs = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ByteString

The buildStepOutputs at the given index.

getBuildStepOutputsCount()

public abstract int getBuildStepOutputsCount()

List of build step outputs, produced by builder images, in the order corresponding to build step indices.

Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

repeated bytes build_step_outputs = 6;

Returns
Type Description
int

The count of buildStepOutputs.

getBuildStepOutputsList()

public abstract List<ByteString> getBuildStepOutputsList()

List of build step outputs, produced by builder images, in the order corresponding to build step indices.

Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

repeated bytes build_step_outputs = 6;

Returns
Type Description
List<ByteString>

A list containing the buildStepOutputs.

getImages(int index)

public abstract BuiltImage getImages(int index)

Container images that were built as a part of the build.

repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;

Parameter
Name Description
index int
Returns
Type Description
BuiltImage

getImagesCount()

public abstract int getImagesCount()

Container images that were built as a part of the build.

repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;

Returns
Type Description
int

getImagesList()

public abstract List<BuiltImage> getImagesList()

Container images that were built as a part of the build.

repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;

Returns
Type Description
List<BuiltImage>

getImagesOrBuilder(int index)

public abstract BuiltImageOrBuilder getImagesOrBuilder(int index)

Container images that were built as a part of the build.

repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;

Parameter
Name Description
index int
Returns
Type Description
BuiltImageOrBuilder

getImagesOrBuilderList()

public abstract List<? extends BuiltImageOrBuilder> getImagesOrBuilderList()

Container images that were built as a part of the build.

repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;

Returns
Type Description
List<? extends com.google.cloudbuild.v1.BuiltImageOrBuilder>

getMavenArtifacts(int index)

public abstract UploadedMavenArtifact getMavenArtifacts(int index)

Maven artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;

Parameter
Name Description
index int
Returns
Type Description
UploadedMavenArtifact

getMavenArtifactsCount()

public abstract int getMavenArtifactsCount()

Maven artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;

Returns
Type Description
int

getMavenArtifactsList()

public abstract List<UploadedMavenArtifact> getMavenArtifactsList()

Maven artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;

Returns
Type Description
List<UploadedMavenArtifact>

getMavenArtifactsOrBuilder(int index)

public abstract UploadedMavenArtifactOrBuilder getMavenArtifactsOrBuilder(int index)

Maven artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;

Parameter
Name Description
index int
Returns
Type Description
UploadedMavenArtifactOrBuilder

getMavenArtifactsOrBuilderList()

public abstract List<? extends UploadedMavenArtifactOrBuilder> getMavenArtifactsOrBuilderList()

Maven artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;

Returns
Type Description
List<? extends com.google.cloudbuild.v1.UploadedMavenArtifactOrBuilder>

getNpmPackages(int index)

public abstract UploadedNpmPackage getNpmPackages(int index)

Npm packages uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;

Parameter
Name Description
index int
Returns
Type Description
UploadedNpmPackage

getNpmPackagesCount()

public abstract int getNpmPackagesCount()

Npm packages uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;

Returns
Type Description
int

getNpmPackagesList()

public abstract List<UploadedNpmPackage> getNpmPackagesList()

Npm packages uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;

Returns
Type Description
List<UploadedNpmPackage>

getNpmPackagesOrBuilder(int index)

public abstract UploadedNpmPackageOrBuilder getNpmPackagesOrBuilder(int index)

Npm packages uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;

Parameter
Name Description
index int
Returns
Type Description
UploadedNpmPackageOrBuilder

getNpmPackagesOrBuilderList()

public abstract List<? extends UploadedNpmPackageOrBuilder> getNpmPackagesOrBuilderList()

Npm packages uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;

Returns
Type Description
List<? extends com.google.cloudbuild.v1.UploadedNpmPackageOrBuilder>

getNumArtifacts()

public abstract long getNumArtifacts()

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

int64 num_artifacts = 5;

Returns
Type Description
long

The numArtifacts.

getPythonPackages(int index)

public abstract UploadedPythonPackage getPythonPackages(int index)

Python artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;

Parameter
Name Description
index int
Returns
Type Description
UploadedPythonPackage

getPythonPackagesCount()

public abstract int getPythonPackagesCount()

Python artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;

Returns
Type Description
int

getPythonPackagesList()

public abstract List<UploadedPythonPackage> getPythonPackagesList()

Python artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;

Returns
Type Description
List<UploadedPythonPackage>

getPythonPackagesOrBuilder(int index)

public abstract UploadedPythonPackageOrBuilder getPythonPackagesOrBuilder(int index)

Python artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;

Parameter
Name Description
index int
Returns
Type Description
UploadedPythonPackageOrBuilder

getPythonPackagesOrBuilderList()

public abstract List<? extends UploadedPythonPackageOrBuilder> getPythonPackagesOrBuilderList()

Python artifacts uploaded to Artifact Registry at the end of the build.

repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;

Returns
Type Description
List<? extends com.google.cloudbuild.v1.UploadedPythonPackageOrBuilder>

hasArtifactTiming()

public abstract boolean hasArtifactTiming()

Time to push all non-container artifacts to Cloud Storage.

.google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;

Returns
Type Description
boolean

Whether the artifactTiming field is set.