Class BuiltImage.Builder (3.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BuiltImage build()
Returns
TypeDescription
BuiltImage

buildPartial()

public BuiltImage buildPartial()
Returns
TypeDescription
BuiltImage

clear()

public BuiltImage.Builder clear()
Returns
TypeDescription
BuiltImage.Builder
Overrides

clearDigest()

public BuiltImage.Builder clearDigest()

Docker Registry 2.0 digest.

string digest = 3;

Returns
TypeDescription
BuiltImage.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BuiltImage.Builder clone()
Returns
TypeDescription
BuiltImage.Builder
Overrides

getDefaultInstanceForType()

public BuiltImage getDefaultInstanceForType()
Returns
TypeDescription
BuiltImage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDigest()

public String getDigest()

Docker Registry 2.0 digest.

string digest = 3;

Returns
TypeDescription
String

The digest.

getDigestBytes()

public ByteString getDigestBytes()

Docker Registry 2.0 digest.

string digest = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the pushTiming field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BuiltImage other)

public BuiltImage.Builder mergeFrom(BuiltImage other)
Parameter
NameDescription
otherBuiltImage
Returns
TypeDescription
BuiltImage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BuiltImage.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimeSpan
Returns
TypeDescription
BuiltImage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BuiltImage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BuiltImage.Builder
Overrides

setDigest(String value)

public BuiltImage.Builder setDigest(String value)

Docker Registry 2.0 digest.

string digest = 3;

Parameter
NameDescription
valueString

The digest to set.

Returns
TypeDescription
BuiltImage.Builder

This builder for chaining.

setDigestBytes(ByteString value)

public BuiltImage.Builder setDigestBytes(ByteString value)

Docker Registry 2.0 digest.

string digest = 3;

Parameter
NameDescription
valueByteString

The bytes for digest to set.

Returns
TypeDescription
BuiltImage.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BuiltImage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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