Class BuiltImage.Builder (3.45.0)

public static final class BuiltImage.Builder extends GeneratedMessageV3.Builder<BuiltImage.Builder> implements BuiltImageOrBuilder

An image built by the pipeline.

Protobuf type google.devtools.cloudbuild.v1.BuiltImage

Implements

BuiltImageOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BuiltImage build()
Returns
Type Description
BuiltImage

buildPartial()

public BuiltImage buildPartial()
Returns
Type Description
BuiltImage

clear()

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

clearDigest()

public BuiltImage.Builder clearDigest()

Docker Registry 2.0 digest.

string digest = 3;

Returns
Type Description
BuiltImage.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public BuiltImage.Builder clearName()

Name used to push the container image to Google Container Registry, as presented to docker push.

string name = 1;

Returns
Type Description
BuiltImage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPushTiming()

public BuiltImage.Builder clearPushTiming()

Output only. Stores timing information for pushing the specified image.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuiltImage.Builder

clone()

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

getDefaultInstanceForType()

public BuiltImage getDefaultInstanceForType()
Returns
Type Description
BuiltImage

getDescriptorForType()

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

getDigest()

public String getDigest()

Docker Registry 2.0 digest.

string digest = 3;

Returns
Type Description
String

The digest.

getDigestBytes()

public ByteString getDigestBytes()

Docker Registry 2.0 digest.

string digest = 3;

Returns
Type Description
ByteString

The bytes for digest.

getName()

public String getName()

Name used to push the container image to Google Container Registry, as presented to docker push.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name used to push the container image to Google Container Registry, as presented to docker push.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getPushTiming()

public TimeSpan getPushTiming()

Output only. Stores timing information for pushing the specified image.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimeSpan

The pushTiming.

getPushTimingBuilder()

public TimeSpan.Builder getPushTimingBuilder()

Output only. Stores timing information for pushing the specified image.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimeSpan.Builder

getPushTimingOrBuilder()

public TimeSpanOrBuilder getPushTimingOrBuilder()

Output only. Stores timing information for pushing the specified image.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimeSpanOrBuilder

hasPushTiming()

public boolean hasPushTiming()

Output only. Stores timing information for pushing the specified image.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the pushTiming field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BuiltImage other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePushTiming(TimeSpan value)

public BuiltImage.Builder mergePushTiming(TimeSpan value)

Output only. Stores timing information for pushing the specified image.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TimeSpan
Returns
Type Description
BuiltImage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDigest(String value)

public BuiltImage.Builder setDigest(String value)

Docker Registry 2.0 digest.

string digest = 3;

Parameter
Name Description
value String

The digest to set.

Returns
Type Description
BuiltImage.Builder

This builder for chaining.

setDigestBytes(ByteString value)

public BuiltImage.Builder setDigestBytes(ByteString value)

Docker Registry 2.0 digest.

string digest = 3;

Parameter
Name Description
value ByteString

The bytes for digest to set.

Returns
Type Description
BuiltImage.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public BuiltImage.Builder setName(String value)

Name used to push the container image to Google Container Registry, as presented to docker push.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
BuiltImage.Builder

This builder for chaining.

setNameBytes(ByteString value)

public BuiltImage.Builder setNameBytes(ByteString value)

Name used to push the container image to Google Container Registry, as presented to docker push.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
BuiltImage.Builder

This builder for chaining.

setPushTiming(TimeSpan value)

public BuiltImage.Builder setPushTiming(TimeSpan value)

Output only. Stores timing information for pushing the specified image.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TimeSpan
Returns
Type Description
BuiltImage.Builder

setPushTiming(TimeSpan.Builder builderForValue)

public BuiltImage.Builder setPushTiming(TimeSpan.Builder builderForValue)

Output only. Stores timing information for pushing the specified image.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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