Class BuiltImage (3.51.0)

public final class BuiltImage extends GeneratedMessageV3 implements BuiltImageOrBuilder

An image built by the pipeline.

Protobuf type google.devtools.cloudbuild.v1.BuiltImage

Implements

BuiltImageOrBuilder

Static Fields

DIGEST_FIELD_NUMBER

public static final int DIGEST_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PUSH_TIMING_FIELD_NUMBER

public static final int PUSH_TIMING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BuiltImage getDefaultInstance()
Returns
Type Description
BuiltImage

getDescriptor()

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

newBuilder()

public static BuiltImage.Builder newBuilder()
Returns
Type Description
BuiltImage.Builder

newBuilder(BuiltImage prototype)

public static BuiltImage.Builder newBuilder(BuiltImage prototype)
Parameter
Name Description
prototype BuiltImage
Returns
Type Description
BuiltImage.Builder

parseDelimitedFrom(InputStream input)

public static BuiltImage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BuiltImage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuiltImage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BuiltImage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BuiltImage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuiltImage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BuiltImage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BuiltImage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuiltImage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BuiltImage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BuiltImage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuiltImage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BuiltImage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BuiltImage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuiltImage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BuiltImage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BuiltImage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuiltImage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BuiltImage> parser()
Returns
Type Description
Parser<BuiltImage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BuiltImage getDefaultInstanceForType()
Returns
Type Description
BuiltImage

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.

getParserForType()

public Parser<BuiltImage> getParserForType()
Returns
Type Description
Parser<BuiltImage>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BuiltImage.Builder newBuilderForType()
Returns
Type Description
BuiltImage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BuiltImage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BuiltImage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BuiltImage.Builder toBuilder()
Returns
Type Description
BuiltImage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException