# Interface UploadEvaluationAudioRequestOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface UploadEvaluationAudioRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAudioContent()

    public abstract ByteString getAudioContent()

Required. The raw audio bytes.
The format of the audio must be single-channel LINEAR16 with a sample
rate of 16kHz (default InputAudioConfig).

`bytes audio_content = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getName()

    public abstract String getName()

Required. The resource name of the Evaluation for which to upload the
evaluation audio. Format:
`projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`

`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Required. The resource name of the Evaluation for which to upload the
evaluation audio. Format:
`projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`

`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getPreviousAudioGcsUri()

    public abstract String getPreviousAudioGcsUri()

Optional. The Google Cloud Storage URI of the previously uploaded audio
file to be deleted. Format: `gs://<bucket-name>/<object-name>`

`string previous_audio_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### getPreviousAudioGcsUriBytes()

    public abstract ByteString getPreviousAudioGcsUriBytes()

Optional. The Google Cloud Storage URI of the previously uploaded audio
file to be deleted. Format: `gs://<bucket-name>/<object-name>`

`string previous_audio_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];`

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