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

    public interface SkaffoldModulesOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getConfigs(int index)

    public abstract String getConfigs(int index)

Optional. The Skaffold Config modules to use from the specified source.

`repeated string configs = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The configs at the given index. |

### getConfigsBytes(int index)

    public abstract ByteString getConfigsBytes(int index)

Optional. The Skaffold Config modules to use from the specified source.

`repeated string configs = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the configs at the given index. |

### getConfigsCount()

    public abstract int getConfigsCount()

Optional. The Skaffold Config modules to use from the specified source.

`repeated string configs = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of configs. |

### getConfigsList()

    public abstract List<String> getConfigsList()

Optional. The Skaffold Config modules to use from the specified source.

`repeated string configs = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the configs. |

### getGit()

    public abstract SkaffoldModules.SkaffoldGitSource getGit()

Remote git repository containing the Skaffold Config modules.

`.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource` | The git. |

### getGitOrBuilder()

    public abstract SkaffoldModules.SkaffoldGitSourceOrBuilder getGitOrBuilder()

Remote git repository containing the Skaffold Config modules.

`.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder` |   |

### getGoogleCloudStorage()

    public abstract SkaffoldModules.SkaffoldGCSSource getGoogleCloudStorage()

Cloud Storage bucket containing the Skaffold Config modules.

`
.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource` | The googleCloudStorage. |

### getGoogleCloudStorageOrBuilder()

    public abstract SkaffoldModules.SkaffoldGCSSourceOrBuilder getGoogleCloudStorageOrBuilder()

Cloud Storage bucket containing the Skaffold Config modules.

`
.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder` |   |

### getSourceCase()

    public abstract SkaffoldModules.SourceCase getSourceCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.SkaffoldModules.SourceCase` |   |

### hasGit()

    public abstract boolean hasGit()

Remote git repository containing the Skaffold Config modules.

`.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the git field is set. |

### hasGoogleCloudStorage()

    public abstract boolean hasGoogleCloudStorage()

Cloud Storage bucket containing the Skaffold Config modules.

`
.google.events.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the googleCloudStorage field is set. |