Interface UploadEvaluationAudioRequestOrBuilder (0.3.0)

public interface UploadEvaluationAudioRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

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
ByteString

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
String

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
ByteString

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
String

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
ByteString

The bytes for previousAudioGcsUri.