Class BuiltImage (3.30.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PUSH_TIMING_FIELD_NUMBER

public static final int PUSH_TIMING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BuiltImage getDefaultInstance()
Returns
TypeDescription
BuiltImage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BuiltImage.Builder newBuilder()
Returns
TypeDescription
BuiltImage.Builder

newBuilder(BuiltImage prototype)

public static BuiltImage.Builder newBuilder(BuiltImage prototype)
Parameter
NameDescription
prototypeBuiltImage
Returns
TypeDescription
BuiltImage.Builder

parseDelimitedFrom(InputStream input)

public static BuiltImage parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BuiltImage parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BuiltImage parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BuiltImage parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BuiltImage parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BuiltImage parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BuiltImage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuiltImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BuiltImage> parser()
Returns
TypeDescription
Parser<BuiltImage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BuiltImage getDefaultInstanceForType()
Returns
TypeDescription
BuiltImage

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.

getParserForType()

public Parser<BuiltImage> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimeSpanOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the pushTiming field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BuiltImage.Builder newBuilderForType()
Returns
TypeDescription
BuiltImage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BuiltImage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BuiltImage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BuiltImage.Builder toBuilder()
Returns
TypeDescription
BuiltImage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException