Class BuildArtifact (1.42.0)

public final class BuildArtifact extends GeneratedMessageV3 implements BuildArtifactOrBuilder

Description of an a image to use during Skaffold rendering.

Protobuf type google.cloud.deploy.v1.BuildArtifact

Static Fields

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
Type Description
int

TAG_FIELD_NUMBER

public static final int TAG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BuildArtifact getDefaultInstance()
Returns
Type Description
BuildArtifact

getDescriptor()

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

newBuilder()

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

newBuilder(BuildArtifact prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BuildArtifact getDefaultInstanceForType()
Returns
Type Description
BuildArtifact

getImage()

public String getImage()

Image name in Skaffold configuration.

string image = 3;

Returns
Type Description
String

The image.

getImageBytes()

public ByteString getImageBytes()

Image name in Skaffold configuration.

string image = 3;

Returns
Type Description
ByteString

The bytes for image.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTag()

public String getTag()

Image tag to use. This will generally be the full path to an image, such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:abc123".

string tag = 2;

Returns
Type Description
String

The tag.

getTagBytes()

public ByteString getTagBytes()

Image tag to use. This will generally be the full path to an image, such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:abc123".

string tag = 2;

Returns
Type Description
ByteString

The bytes for tag.

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 BuildArtifact.Builder newBuilderForType()
Returns
Type Description
BuildArtifact.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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