# Interface BuildArtifactOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.BuildArtifactOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.BuildArtifactOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.BuildArtifactOrBuilder)

    public interface BuildArtifactOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getImage()

    public abstract String getImage()

Image name in Skaffold configuration.

`string image = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The image. |

### getImageBytes()

    public abstract ByteString getImageBytes()

Image name in Skaffold configuration.

`string image = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for image. |

### getTag()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The tag. |

### getTagBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for tag. |