public static final class UploadEvaluationAudioRequest.Builder extends GeneratedMessage.Builder<UploadEvaluationAudioRequest.Builder> implements UploadEvaluationAudioRequestOrBuilderRequest message for EvaluationService.UploadEvaluationAudio.
Protobuf type google.cloud.ces.v1beta.UploadEvaluationAudioRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UploadEvaluationAudioRequest.BuilderImplements
UploadEvaluationAudioRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UploadEvaluationAudioRequest build()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest |
|
buildPartial()
public UploadEvaluationAudioRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest |
|
clear()
public UploadEvaluationAudioRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest.Builder |
|
clearAudioContent()
public UploadEvaluationAudioRequest.Builder clearAudioContent()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 |
UploadEvaluationAudioRequest.Builder |
This builder for chaining. |
clearName()
public UploadEvaluationAudioRequest.Builder clearName() 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 |
UploadEvaluationAudioRequest.Builder |
This builder for chaining. |
clearPreviousAudioGcsUri()
public UploadEvaluationAudioRequest.Builder clearPreviousAudioGcsUri() 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 |
UploadEvaluationAudioRequest.Builder |
This builder for chaining. |
getAudioContent()
public 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. |
getDefaultInstanceForType()
public UploadEvaluationAudioRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UploadEvaluationAudioRequest other)
public UploadEvaluationAudioRequest.Builder mergeFrom(UploadEvaluationAudioRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UploadEvaluationAudioRequest |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UploadEvaluationAudioRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UploadEvaluationAudioRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest.Builder |
|
setAudioContent(ByteString value)
public UploadEvaluationAudioRequest.Builder setAudioContent(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe audioContent to set. |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest.Builder |
This builder for chaining. |
setName(String value)
public UploadEvaluationAudioRequest.Builder setName(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UploadEvaluationAudioRequest.Builder setNameBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest.Builder |
This builder for chaining. |
setPreviousAudioGcsUri(String value)
public UploadEvaluationAudioRequest.Builder setPreviousAudioGcsUri(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe previousAudioGcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest.Builder |
This builder for chaining. |
setPreviousAudioGcsUriBytes(ByteString value)
public UploadEvaluationAudioRequest.Builder setPreviousAudioGcsUriBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for previousAudioGcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioRequest.Builder |
This builder for chaining. |