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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuiltImage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BuiltImage build()
Returns
buildPartial()
public BuiltImage buildPartial()
Returns
clear()
public BuiltImage.Builder clear()
Returns
Overrides
clearDigest()
public BuiltImage.Builder clearDigest()
Docker Registry 2.0 digest.
string digest = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public BuiltImage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public BuiltImage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public BuiltImage.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BuiltImage getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BuiltImage other)
public BuiltImage.Builder mergeFrom(BuiltImage other)
Parameter
Returns
public BuiltImage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BuiltImage.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BuiltImage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public BuiltImage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BuiltImage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BuiltImage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides