public static final class Results.Builder extends GeneratedMessageV3.Builder<Results.Builder> implements ResultsOrBuilder
Artifacts created by the build pipeline.
Protobuf type google.events.cloud.cloudbuild.v1.Results
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Results.BuilderImplements
ResultsOrBuilderStatic 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.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.events.cloud.cloudbuild.v1.BuiltImage> |
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.events.cloud.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.events.cloud.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.events.cloud.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.events.cloud.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.events.cloud.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.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
BuiltImage.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 |
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 |
clearArtifactManifest()
public Results.Builder clearArtifactManifest()
Path to the artifact manifest. Only populated when artifacts are uploaded.
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.
.google.events.cloud.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 |
clearImages()
public Results.Builder clearImages()
Container images that were built as a part of the build.
repeated .google.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Returns | |
---|---|
Type | Description |
Results.Builder |
clearNumArtifacts()
public Results.Builder clearNumArtifacts()
Number of artifacts uploaded. Only populated when artifacts are uploaded.
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 |
clone()
public Results.Builder clone()
Returns | |
---|---|
Type | Description |
Results.Builder |
getArtifactManifest()
public String getArtifactManifest()
Path to the artifact manifest. Only populated when artifacts are uploaded.
string artifact_manifest = 4;
Returns | |
---|---|
Type | Description |
String | The artifactManifest. |
getArtifactManifestBytes()
public ByteString getArtifactManifestBytes()
Path to the artifact manifest. Only populated when artifacts are uploaded.
string artifact_manifest = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for artifactManifest. |
getArtifactTiming()
public TimeSpan getArtifactTiming()
Time to push all non-container artifacts.
.google.events.cloud.cloudbuild.v1.TimeSpan artifact_timing = 7;
Returns | |
---|---|
Type | Description |
TimeSpan | The artifactTiming. |
getArtifactTimingBuilder()
public TimeSpan.Builder getArtifactTimingBuilder()
Time to push all non-container artifacts.
.google.events.cloud.cloudbuild.v1.TimeSpan artifact_timing = 7;
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
getArtifactTimingOrBuilder()
public TimeSpanOrBuilder getArtifactTimingOrBuilder()
Time to push all non-container artifacts.
.google.events.cloud.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 |
getImages(int index)
public BuiltImage getImages(int index)
Container images that were built as a part of the build.
repeated .google.events.cloud.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.events.cloud.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.events.cloud.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.events.cloud.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.events.cloud.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.events.cloud.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.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.cloudbuild.v1.BuiltImageOrBuilder> |
getNumArtifacts()
public long getNumArtifacts()
Number of artifacts uploaded. Only populated when artifacts are uploaded.
int64 num_artifacts = 5;
Returns | |
---|---|
Type | Description |
long | The numArtifacts. |
hasArtifactTiming()
public boolean hasArtifactTiming()
Time to push all non-container artifacts.
.google.events.cloud.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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeArtifactTiming(TimeSpan value)
public Results.Builder mergeArtifactTiming(TimeSpan value)
Time to push all non-container artifacts.
.google.events.cloud.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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Results.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Results.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Results.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Results.Builder |
removeImages(int index)
public Results.Builder removeImages(int index)
Container images that were built as a part of the build.
repeated .google.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Results.Builder |
setArtifactManifest(String value)
public Results.Builder setArtifactManifest(String value)
Path to the artifact manifest. Only populated when artifacts are uploaded.
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. Only populated when artifacts are uploaded.
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.
.google.events.cloud.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.
.google.events.cloud.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 |
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.events.cloud.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.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | BuiltImage.Builder |
Returns | |
---|---|
Type | Description |
Results.Builder |
setNumArtifacts(long value)
public Results.Builder setNumArtifacts(long value)
Number of artifacts uploaded. Only populated when artifacts are uploaded.
int64 num_artifacts = 5;
Parameter | |
---|---|
Name | Description |
value | long The numArtifacts to set. |
Returns | |
---|---|
Type | Description |
Results.Builder | This builder for chaining. |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Results.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Results.Builder |