Class Results.Builder (3.44.0)

public static final class Results.Builder extends GeneratedMessageV3.Builder<Results.Builder> implements ResultsOrBuilder

Artifacts created by the build pipeline.

Protobuf type google.devtools.cloudbuild.v1.Results

Implements

ResultsOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBuildStepImages(Iterable<String> values)

public Results.Builder addAllBuildStepImages(Iterable<String> values)

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

repeated string build_step_images = 3;

Parameter
Name Description
values Iterable<String>

The buildStepImages to add.

Returns
Type Description
Results.Builder

This builder for chaining.

addAllBuildStepOutputs(Iterable<? extends ByteString> values)

public Results.Builder addAllBuildStepOutputs(Iterable<? extends ByteString> values)

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
values Iterable<? extends com.google.protobuf.ByteString>

The buildStepOutputs to add.

Returns
Type Description
Results.Builder

This builder for chaining.

addAllImages(Iterable<? extends BuiltImage> values)

public Results.Builder addAllImages(Iterable<? extends BuiltImage> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloudbuild.v1.BuiltImage>
Returns
Type Description
Results.Builder

addAllMavenArtifacts(Iterable<? extends UploadedMavenArtifact> values)

public Results.Builder addAllMavenArtifacts(Iterable<? extends UploadedMavenArtifact> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloudbuild.v1.UploadedMavenArtifact>
Returns
Type Description
Results.Builder

addAllNpmPackages(Iterable<? extends UploadedNpmPackage> values)

public Results.Builder addAllNpmPackages(Iterable<? extends UploadedNpmPackage> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloudbuild.v1.UploadedNpmPackage>
Returns
Type Description
Results.Builder

addAllPythonPackages(Iterable<? extends UploadedPythonPackage> values)

public Results.Builder addAllPythonPackages(Iterable<? extends UploadedPythonPackage> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloudbuild.v1.UploadedPythonPackage>
Returns
Type Description
Results.Builder

addBuildStepImages(String value)

public Results.Builder addBuildStepImages(String value)

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

repeated string build_step_images = 3;

Parameter
Name Description
value String

The buildStepImages to add.

Returns
Type Description
Results.Builder

This builder for chaining.

addBuildStepImagesBytes(ByteString value)

public Results.Builder addBuildStepImagesBytes(ByteString value)

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

repeated string build_step_images = 3;

Parameter
Name Description
value ByteString

The bytes of the buildStepImages to add.

Returns
Type Description
Results.Builder

This builder for chaining.

addBuildStepOutputs(ByteString value)

public Results.Builder addBuildStepOutputs(ByteString value)

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
value ByteString

The buildStepOutputs to add.

Returns
Type Description
Results.Builder

This builder for chaining.

addImages(BuiltImage value)

public Results.Builder addImages(BuiltImage value)

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

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

Parameter
Name Description
value BuiltImage
Returns
Type Description
Results.Builder

addImages(BuiltImage.Builder builderForValue)

public Results.Builder addImages(BuiltImage.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue BuiltImage.Builder
Returns
Type Description
Results.Builder

addImages(int index, BuiltImage value)

public Results.Builder addImages(int index, BuiltImage value)

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

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

Parameters
Name Description
index int
value BuiltImage
Returns
Type Description
Results.Builder

addImages(int index, BuiltImage.Builder builderForValue)

public Results.Builder addImages(int index, BuiltImage.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue BuiltImage.Builder
Returns
Type Description
Results.Builder

addImagesBuilder()

public BuiltImage.Builder addImagesBuilder()

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

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

Returns
Type Description
BuiltImage.Builder

addImagesBuilder(int index)

public BuiltImage.Builder addImagesBuilder(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.Builder

addMavenArtifacts(UploadedMavenArtifact value)

public Results.Builder addMavenArtifacts(UploadedMavenArtifact value)

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

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

Parameter
Name Description
value UploadedMavenArtifact
Returns
Type Description
Results.Builder

addMavenArtifacts(UploadedMavenArtifact.Builder builderForValue)

public Results.Builder addMavenArtifacts(UploadedMavenArtifact.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue UploadedMavenArtifact.Builder
Returns
Type Description
Results.Builder

addMavenArtifacts(int index, UploadedMavenArtifact value)

public Results.Builder addMavenArtifacts(int index, UploadedMavenArtifact value)

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

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

Parameters
Name Description
index int
value UploadedMavenArtifact
Returns
Type Description
Results.Builder

addMavenArtifacts(int index, UploadedMavenArtifact.Builder builderForValue)

public Results.Builder addMavenArtifacts(int index, UploadedMavenArtifact.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UploadedMavenArtifact.Builder
Returns
Type Description
Results.Builder

addMavenArtifactsBuilder()

public UploadedMavenArtifact.Builder addMavenArtifactsBuilder()

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

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

Returns
Type Description
UploadedMavenArtifact.Builder

addMavenArtifactsBuilder(int index)

public UploadedMavenArtifact.Builder addMavenArtifactsBuilder(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.Builder

addNpmPackages(UploadedNpmPackage value)

public Results.Builder addNpmPackages(UploadedNpmPackage value)

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

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

Parameter
Name Description
value UploadedNpmPackage
Returns
Type Description
Results.Builder

addNpmPackages(UploadedNpmPackage.Builder builderForValue)

public Results.Builder addNpmPackages(UploadedNpmPackage.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue UploadedNpmPackage.Builder
Returns
Type Description
Results.Builder

addNpmPackages(int index, UploadedNpmPackage value)

public Results.Builder addNpmPackages(int index, UploadedNpmPackage value)

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

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

Parameters
Name Description
index int
value UploadedNpmPackage
Returns
Type Description
Results.Builder

addNpmPackages(int index, UploadedNpmPackage.Builder builderForValue)

public Results.Builder addNpmPackages(int index, UploadedNpmPackage.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UploadedNpmPackage.Builder
Returns
Type Description
Results.Builder

addNpmPackagesBuilder()

public UploadedNpmPackage.Builder addNpmPackagesBuilder()

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

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

Returns
Type Description
UploadedNpmPackage.Builder

addNpmPackagesBuilder(int index)

public UploadedNpmPackage.Builder addNpmPackagesBuilder(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.Builder

addPythonPackages(UploadedPythonPackage value)

public Results.Builder addPythonPackages(UploadedPythonPackage value)

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

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

Parameter
Name Description
value UploadedPythonPackage
Returns
Type Description
Results.Builder

addPythonPackages(UploadedPythonPackage.Builder builderForValue)

public Results.Builder addPythonPackages(UploadedPythonPackage.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue UploadedPythonPackage.Builder
Returns
Type Description
Results.Builder

addPythonPackages(int index, UploadedPythonPackage value)

public Results.Builder addPythonPackages(int index, UploadedPythonPackage value)

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

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

Parameters
Name Description
index int
value UploadedPythonPackage
Returns
Type Description
Results.Builder

addPythonPackages(int index, UploadedPythonPackage.Builder builderForValue)

public Results.Builder addPythonPackages(int index, UploadedPythonPackage.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UploadedPythonPackage.Builder
Returns
Type Description
Results.Builder

addPythonPackagesBuilder()

public UploadedPythonPackage.Builder addPythonPackagesBuilder()

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

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

Returns
Type Description
UploadedPythonPackage.Builder

addPythonPackagesBuilder(int index)

public UploadedPythonPackage.Builder addPythonPackagesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Results.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Results.Builder
Overrides

build()

public Results build()
Returns
Type Description
Results

buildPartial()

public Results buildPartial()
Returns
Type Description
Results

clear()

public Results.Builder clear()
Returns
Type Description
Results.Builder
Overrides

clearArtifactManifest()

public Results.Builder clearArtifactManifest()

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
Results.Builder

This builder for chaining.

clearArtifactTiming()

public Results.Builder clearArtifactTiming()

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

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

Returns
Type Description
Results.Builder

clearBuildStepImages()

public Results.Builder clearBuildStepImages()

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

repeated string build_step_images = 3;

Returns
Type Description
Results.Builder

This builder for chaining.

clearBuildStepOutputs()

public Results.Builder clearBuildStepOutputs()

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
Results.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Results.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Results.Builder
Overrides

clearImages()

public Results.Builder clearImages()

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

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

Returns
Type Description
Results.Builder

clearMavenArtifacts()

public Results.Builder clearMavenArtifacts()

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

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

Returns
Type Description
Results.Builder

clearNpmPackages()

public Results.Builder clearNpmPackages()

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

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

Returns
Type Description
Results.Builder

clearNumArtifacts()

public Results.Builder clearNumArtifacts()

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
Results.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Results.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Results.Builder
Overrides

clearPythonPackages()

public Results.Builder clearPythonPackages()

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

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

Returns
Type Description
Results.Builder

clone()

public Results.Builder clone()
Returns
Type Description
Results.Builder
Overrides

getArtifactManifest()

public 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 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 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.

getArtifactTimingBuilder()

public TimeSpan.Builder getArtifactTimingBuilder()

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

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

Returns
Type Description
TimeSpan.Builder

getArtifactTimingOrBuilder()

public 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 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 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 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 ProtocolStringList getBuildStepImagesList()

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

repeated string build_step_images = 3;

Returns
Type Description
ProtocolStringList

A list containing the buildStepImages.

getBuildStepOutputs(int index)

public 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 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 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.

getDefaultInstanceForType()

public Results getDefaultInstanceForType()
Returns
Type Description
Results

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getImages(int index)

public 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

getImagesBuilder(int index)

public BuiltImage.Builder getImagesBuilder(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.Builder

getImagesBuilderList()

public List<BuiltImage.Builder> getImagesBuilderList()

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

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

Returns
Type Description
List<Builder>

getImagesCount()

public 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 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 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 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 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

getMavenArtifactsBuilder(int index)

public UploadedMavenArtifact.Builder getMavenArtifactsBuilder(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.Builder

getMavenArtifactsBuilderList()

public List<UploadedMavenArtifact.Builder> getMavenArtifactsBuilderList()

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<Builder>

getMavenArtifactsCount()

public 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 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 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 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 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

getNpmPackagesBuilder(int index)

public UploadedNpmPackage.Builder getNpmPackagesBuilder(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.Builder

getNpmPackagesBuilderList()

public List<UploadedNpmPackage.Builder> getNpmPackagesBuilderList()

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<Builder>

getNpmPackagesCount()

public 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 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 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 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 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 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

getPythonPackagesBuilder(int index)

public UploadedPythonPackage.Builder getPythonPackagesBuilder(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.Builder

getPythonPackagesBuilderList()

public List<UploadedPythonPackage.Builder> getPythonPackagesBuilderList()

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<Builder>

getPythonPackagesCount()

public 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 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 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 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeArtifactTiming(TimeSpan value)

public Results.Builder mergeArtifactTiming(TimeSpan value)

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

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

Parameter
Name Description
value TimeSpan
Returns
Type Description
Results.Builder

mergeFrom(Results other)

public Results.Builder mergeFrom(Results other)
Parameter
Name Description
other Results
Returns
Type Description
Results.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Results.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Results.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Results.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Results.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Results.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Results.Builder
Overrides

removeImages(int index)

public Results.Builder removeImages(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
Results.Builder

removeMavenArtifacts(int index)

public Results.Builder removeMavenArtifacts(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
Results.Builder

removeNpmPackages(int index)

public Results.Builder removeNpmPackages(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
Results.Builder

removePythonPackages(int index)

public Results.Builder removePythonPackages(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
Results.Builder

setArtifactManifest(String value)

public Results.Builder setArtifactManifest(String value)

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;

Parameter
Name Description
value String

The artifactManifest to set.

Returns
Type Description
Results.Builder

This builder for chaining.

setArtifactManifestBytes(ByteString value)

public Results.Builder setArtifactManifestBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for artifactManifest to set.

Returns
Type Description
Results.Builder

This builder for chaining.

setArtifactTiming(TimeSpan value)

public Results.Builder setArtifactTiming(TimeSpan value)

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

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

Parameter
Name Description
value TimeSpan
Returns
Type Description
Results.Builder

setArtifactTiming(TimeSpan.Builder builderForValue)

public Results.Builder setArtifactTiming(TimeSpan.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue TimeSpan.Builder
Returns
Type Description
Results.Builder

setBuildStepImages(int index, String value)

public Results.Builder setBuildStepImages(int index, String value)

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

repeated string build_step_images = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The buildStepImages to set.

Returns
Type Description
Results.Builder

This builder for chaining.

setBuildStepOutputs(int index, ByteString value)

public Results.Builder setBuildStepOutputs(int index, ByteString value)

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;

Parameters
Name Description
index int

The index to set the value at.

value ByteString

The buildStepOutputs to set.

Returns
Type Description
Results.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Results.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Results.Builder
Overrides

setImages(int index, BuiltImage value)

public Results.Builder setImages(int index, BuiltImage value)

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

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

Parameters
Name Description
index int
value BuiltImage
Returns
Type Description
Results.Builder

setImages(int index, BuiltImage.Builder builderForValue)

public Results.Builder setImages(int index, BuiltImage.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue BuiltImage.Builder
Returns
Type Description
Results.Builder

setMavenArtifacts(int index, UploadedMavenArtifact value)

public Results.Builder setMavenArtifacts(int index, UploadedMavenArtifact value)

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

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

Parameters
Name Description
index int
value UploadedMavenArtifact
Returns
Type Description
Results.Builder

setMavenArtifacts(int index, UploadedMavenArtifact.Builder builderForValue)

public Results.Builder setMavenArtifacts(int index, UploadedMavenArtifact.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UploadedMavenArtifact.Builder
Returns
Type Description
Results.Builder

setNpmPackages(int index, UploadedNpmPackage value)

public Results.Builder setNpmPackages(int index, UploadedNpmPackage value)

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

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

Parameters
Name Description
index int
value UploadedNpmPackage
Returns
Type Description
Results.Builder

setNpmPackages(int index, UploadedNpmPackage.Builder builderForValue)

public Results.Builder setNpmPackages(int index, UploadedNpmPackage.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UploadedNpmPackage.Builder
Returns
Type Description
Results.Builder

setNumArtifacts(long value)

public Results.Builder setNumArtifacts(long value)

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

int64 num_artifacts = 5;

Parameter
Name Description
value long

The numArtifacts to set.

Returns
Type Description
Results.Builder

This builder for chaining.

setPythonPackages(int index, UploadedPythonPackage value)

public Results.Builder setPythonPackages(int index, UploadedPythonPackage value)

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

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

Parameters
Name Description
index int
value UploadedPythonPackage
Returns
Type Description
Results.Builder

setPythonPackages(int index, UploadedPythonPackage.Builder builderForValue)

public Results.Builder setPythonPackages(int index, UploadedPythonPackage.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UploadedPythonPackage.Builder
Returns
Type Description
Results.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Results.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Results.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Results.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Results.Builder
Overrides