Class Results.Builder (3.25.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
TypeDescription
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
NameDescription
valuesIterable<String>

The buildStepImages to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.protobuf.ByteString>

The buildStepOutputs to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloudbuild.v1.BuiltImage>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloudbuild.v1.UploadedMavenArtifact>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloudbuild.v1.UploadedNpmPackage>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloudbuild.v1.UploadedPythonPackage>
Returns
TypeDescription
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
NameDescription
valueString

The buildStepImages to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the buildStepImages to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The buildStepOutputs to add.

Returns
TypeDescription
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
NameDescription
valueBuiltImage
Returns
TypeDescription
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
NameDescription
builderForValueBuiltImage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueBuiltImage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuiltImage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueUploadedMavenArtifact
Returns
TypeDescription
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
NameDescription
builderForValueUploadedMavenArtifact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueUploadedMavenArtifact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueUploadedMavenArtifact.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueUploadedNpmPackage
Returns
TypeDescription
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
NameDescription
builderForValueUploadedNpmPackage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueUploadedNpmPackage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueUploadedNpmPackage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueUploadedPythonPackage
Returns
TypeDescription
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
NameDescription
builderForValueUploadedPythonPackage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueUploadedPythonPackage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueUploadedPythonPackage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
UploadedPythonPackage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Results.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Results.Builder
Overrides

build()

public Results build()
Returns
TypeDescription
Results

buildPartial()

public Results buildPartial()
Returns
TypeDescription
Results

clear()

public Results.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Results.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Results.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Results.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Results.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Results.Builder

clone()

public Results.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<ByteString>

A list containing the buildStepOutputs.

getDefaultInstanceForType()

public Results getDefaultInstanceForType()
Returns
TypeDescription
Results

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the artifactTiming field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimeSpan
Returns
TypeDescription
Results.Builder

mergeFrom(Results other)

public Results.Builder mergeFrom(Results other)
Parameter
NameDescription
otherResults
Returns
TypeDescription
Results.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Results.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Results.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Results.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Results.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Results.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The artifactManifest to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for artifactManifest to set.

Returns
TypeDescription
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
NameDescription
valueTimeSpan
Returns
TypeDescription
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
NameDescription
builderForValueTimeSpan.Builder
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The buildStepImages to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueByteString

The buildStepOutputs to set.

Returns
TypeDescription
Results.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Results.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueBuiltImage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuiltImage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueUploadedMavenArtifact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueUploadedMavenArtifact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueUploadedNpmPackage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueUploadedNpmPackage.Builder
Returns
TypeDescription
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
NameDescription
valuelong

The numArtifacts to set.

Returns
TypeDescription
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
NameDescription
indexint
valueUploadedPythonPackage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueUploadedPythonPackage.Builder
Returns
TypeDescription
Results.Builder

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

public Results.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Results.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Results.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Results.Builder
Overrides