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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuiltImage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BuiltImage build()
buildPartial()
public BuiltImage buildPartial()
clear()
public BuiltImage.Builder clear()
Overrides
clearDigest()
public BuiltImage.Builder clearDigest()
Docker Registry 2.0 digest.
string digest = 3;
clearField(Descriptors.FieldDescriptor field)
public BuiltImage.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public BuiltImage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public BuiltImage.Builder clone()
Overrides
getDefaultInstanceForType()
public BuiltImage getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BuiltImage other)
public BuiltImage.Builder mergeFrom(BuiltImage other)
public BuiltImage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BuiltImage.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BuiltImage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public BuiltImage.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BuiltImage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BuiltImage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides