# Interface SkaffoldModules.SkaffoldGCSSourceOrBuilder (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.SkaffoldModules.SkaffoldGCSSourceOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder)

    public static interface SkaffoldModules.SkaffoldGCSSourceOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getPath()

    public abstract String getPath()

Optional. Relative path from the source to the Skaffold file.

`string path = 2;`

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

### getPathBytes()

    public abstract ByteString getPathBytes()

Optional. Relative path from the source to the Skaffold file.

`string path = 2;`

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

### getSource()

    public abstract String getSource()

Required. Cloud Storage source paths to copy recursively. For example,
providing "gs://my-bucket/dir/configs/\*" will result in Skaffold copying
all files within the "dir/configs" directory in the bucket "my-bucket".

`string source = 1;`

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

### getSourceBytes()

    public abstract ByteString getSourceBytes()

Required. Cloud Storage source paths to copy recursively. For example,
providing "gs://my-bucket/dir/configs/\*" will result in Skaffold copying
all files within the "dir/configs" directory in the bucket "my-bucket".

`string source = 1;`

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