# Interface GenerateAppResourceRequest.AppVersionContextOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface GenerateAppResourceRequest.AppVersionContextOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAgentResourceName()

    public abstract String getAgentResourceName()

The resource name of the target agent to be used by the LLM assistant.
Format:
`projects/{project}/locations/{location}/apps/{app}/agents/{agent}`

`string agent_resource_name = 2 [(.google.api.resource_reference) = { ... }`

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

### getAgentResourceNameBytes()

    public abstract ByteString getAgentResourceNameBytes()

The resource name of the target agent to be used by the LLM assistant.
Format:
`projects/{project}/locations/{location}/apps/{app}/agents/{agent}`

`string agent_resource_name = 2 [(.google.api.resource_reference) = { ... }`

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

### getAppVersion()

    public abstract String getAppVersion()

The resource name of the app version to be used by the LLM assistant.
Format:
`projects/{project}/locations/{location}/apps/{app}/versions/{version}`

`string app_version = 1 [(.google.api.resource_reference) = { ... }`

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

### getAppVersionBytes()

    public abstract ByteString getAppVersionBytes()

The resource name of the app version to be used by the LLM assistant.
Format:
`projects/{project}/locations/{location}/apps/{app}/versions/{version}`

`string app_version = 1 [(.google.api.resource_reference) = { ... }`

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