Class Results (3.24.0)

public final class Results extends GeneratedMessageV3 implements ResultsOrBuilder

Artifacts created by the build pipeline.

Protobuf type google.devtools.cloudbuild.v1.Results

Implements

ResultsOrBuilder

Static Fields

ARTIFACT_MANIFEST_FIELD_NUMBER

public static final int ARTIFACT_MANIFEST_FIELD_NUMBER
Field Value
TypeDescription
int

ARTIFACT_TIMING_FIELD_NUMBER

public static final int ARTIFACT_TIMING_FIELD_NUMBER
Field Value
TypeDescription
int

BUILD_STEP_IMAGES_FIELD_NUMBER

public static final int BUILD_STEP_IMAGES_FIELD_NUMBER
Field Value
TypeDescription
int

BUILD_STEP_OUTPUTS_FIELD_NUMBER

public static final int BUILD_STEP_OUTPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGES_FIELD_NUMBER

public static final int IMAGES_FIELD_NUMBER
Field Value
TypeDescription
int

MAVEN_ARTIFACTS_FIELD_NUMBER

public static final int MAVEN_ARTIFACTS_FIELD_NUMBER
Field Value
TypeDescription
int

NPM_PACKAGES_FIELD_NUMBER

public static final int NPM_PACKAGES_FIELD_NUMBER
Field Value
TypeDescription
int

NUM_ARTIFACTS_FIELD_NUMBER

public static final int NUM_ARTIFACTS_FIELD_NUMBER
Field Value
TypeDescription
int

PYTHON_PACKAGES_FIELD_NUMBER

public static final int PYTHON_PACKAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Results getDefaultInstance()
Returns
TypeDescription
Results

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Results.Builder newBuilder()
Returns
TypeDescription
Results.Builder

newBuilder(Results prototype)

public static Results.Builder newBuilder(Results prototype)
Parameter
NameDescription
prototypeResults
Returns
TypeDescription
Results.Builder

parseDelimitedFrom(InputStream input)

public static Results parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Results
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Results parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Results
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Results parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Results
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Results parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Results
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Results parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Results
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Results parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Results
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Results parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Results
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Results parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Results
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Results parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Results
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Results parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Results
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Results parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Results
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Results parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Results
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Results> parser()
Returns
TypeDescription
Parser<Results>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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

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

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

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.

getParserForType()

public Parser<Results> getParserForType()
Returns
TypeDescription
Parser<Results>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Results.Builder newBuilderForType()
Returns
TypeDescription
Results.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Results.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Results.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Results.Builder toBuilder()
Returns
TypeDescription
Results.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException