# Interface AppSnapshotOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface AppSnapshotOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAgents(int index)

    public abstract Agent getAgents(int index)

Optional. List of agents in the app.

`repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Agent` |   |

### getAgentsCount()

    public abstract int getAgentsCount()

Optional. List of agents in the app.

`repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getAgentsList()

    public abstract List<Agent> getAgentsList()

Optional. List of agents in the app.

`repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Agent>` |   |

### getAgentsOrBuilder(int index)

    public abstract AgentOrBuilder getAgentsOrBuilder(int index)

Optional. List of agents in the app.

`repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.AgentOrBuilder` |   |

### getAgentsOrBuilderList()

    public abstract List<? extends AgentOrBuilder> getAgentsOrBuilderList()

Optional. List of agents in the app.

`repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.ces.v1.AgentOrBuilder>` |   |

### getApp()

    public abstract App getApp()

Optional. The basic settings for the app.

`.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.App` | The app. |

### getAppOrBuilder()

    public abstract AppOrBuilder getAppOrBuilder()

Optional. The basic settings for the app.

`.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.AppOrBuilder` |   |

### getExamples(int index)

    public abstract Example getExamples(int index)

Optional. List of examples in the app.

`
repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Example` |   |

### getExamplesCount()

    public abstract int getExamplesCount()

Optional. List of examples in the app.

`
repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getExamplesList()

    public abstract List<Example> getExamplesList()

Optional. List of examples in the app.

`
repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Example>` |   |

### getExamplesOrBuilder(int index)

    public abstract ExampleOrBuilder getExamplesOrBuilder(int index)

Optional. List of examples in the app.

`
repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.ExampleOrBuilder` |   |

### getExamplesOrBuilderList()

    public abstract List<? extends ExampleOrBuilder> getExamplesOrBuilderList()

Optional. List of examples in the app.

`
repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.ces.v1.ExampleOrBuilder>` |   |

### getGuardrails(int index)

    public abstract Guardrail getGuardrails(int index)

Optional. List of guardrails in the app.

`
repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Guardrail` |   |

### getGuardrailsCount()

    public abstract int getGuardrailsCount()

Optional. List of guardrails in the app.

`
repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getGuardrailsList()

    public abstract List<Guardrail> getGuardrailsList()

Optional. List of guardrails in the app.

`
repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Guardrail>` |   |

### getGuardrailsOrBuilder(int index)

    public abstract GuardrailOrBuilder getGuardrailsOrBuilder(int index)

Optional. List of guardrails in the app.

`
repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.GuardrailOrBuilder` |   |

### getGuardrailsOrBuilderList()

    public abstract List<? extends GuardrailOrBuilder> getGuardrailsOrBuilderList()

Optional. List of guardrails in the app.

`
repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.ces.v1.GuardrailOrBuilder>` |   |

### getTools(int index)

    public abstract Tool getTools(int index)

Optional. List of tools in the app.

`repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Tool` |   |

### getToolsCount()

    public abstract int getToolsCount()

Optional. List of tools in the app.

`repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getToolsList()

    public abstract List<Tool> getToolsList()

Optional. List of tools in the app.

`repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Tool>` |   |

### getToolsOrBuilder(int index)

    public abstract ToolOrBuilder getToolsOrBuilder(int index)

Optional. List of tools in the app.

`repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.ToolOrBuilder` |   |

### getToolsOrBuilderList()

    public abstract List<? extends ToolOrBuilder> getToolsOrBuilderList()

Optional. List of tools in the app.

`repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.ces.v1.ToolOrBuilder>` |   |

### getToolsets(int index)

    public abstract Toolset getToolsets(int index)

Optional. List of toolsets in the app.

`
repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Toolset` |   |

### getToolsetsCount()

    public abstract int getToolsetsCount()

Optional. List of toolsets in the app.

`
repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getToolsetsList()

    public abstract List<Toolset> getToolsetsList()

Optional. List of toolsets in the app.

`
repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Toolset>` |   |

### getToolsetsOrBuilder(int index)

    public abstract ToolsetOrBuilder getToolsetsOrBuilder(int index)

Optional. List of toolsets in the app.

`
repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.ToolsetOrBuilder` |   |

### getToolsetsOrBuilderList()

    public abstract List<? extends ToolsetOrBuilder> getToolsetsOrBuilderList()

Optional. List of toolsets in the app.

`
repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.ces.v1.ToolsetOrBuilder>` |   |

### hasApp()

    public abstract boolean hasApp()

Optional. The basic settings for the app.

`.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];`

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