public static final class UploadEvaluationAudioResponse.Builder extends GeneratedMessage.Builder<UploadEvaluationAudioResponse.Builder> implements UploadEvaluationAudioResponseOrBuilderResponse message for EvaluationService.UploadEvaluationAudio.
Protobuf type google.cloud.ces.v1beta.UploadEvaluationAudioResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UploadEvaluationAudioResponse.BuilderImplements
UploadEvaluationAudioResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UploadEvaluationAudioResponse build()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
buildPartial()
public UploadEvaluationAudioResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
clear()
public UploadEvaluationAudioResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
clearAudioGcsUri()
public UploadEvaluationAudioResponse.Builder clearAudioGcsUri() The Google Cloud Storage URI where the uploaded audio file is stored.
Format: gs://<bucket-name>/<object-name>
string audio_gcs_uri = 1;
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
This builder for chaining. |
clearDuration()
public UploadEvaluationAudioResponse.Builder clearDuration()The duration of the audio.
.google.protobuf.Duration duration = 3;
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
clearTranscript()
public UploadEvaluationAudioResponse.Builder clearTranscript()The transcript of the audio, generated by Cloud Speech-to-Text.
string transcript = 2;
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
This builder for chaining. |
getAudioGcsUri()
public String getAudioGcsUri() The Google Cloud Storage URI where the uploaded audio file is stored.
Format: gs://<bucket-name>/<object-name>
string audio_gcs_uri = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The audioGcsUri. |
getAudioGcsUriBytes()
public ByteString getAudioGcsUriBytes() The Google Cloud Storage URI where the uploaded audio file is stored.
Format: gs://<bucket-name>/<object-name>
string audio_gcs_uri = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for audioGcsUri. |
getDefaultInstanceForType()
public UploadEvaluationAudioResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDuration()
public Duration getDuration()The duration of the audio.
.google.protobuf.Duration duration = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The duration. |
getDurationBuilder()
public Duration.Builder getDurationBuilder()The duration of the audio.
.google.protobuf.Duration duration = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()The duration of the audio.
.google.protobuf.Duration duration = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getTranscript()
public String getTranscript()The transcript of the audio, generated by Cloud Speech-to-Text.
string transcript = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The transcript. |
getTranscriptBytes()
public ByteString getTranscriptBytes()The transcript of the audio, generated by Cloud Speech-to-Text.
string transcript = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for transcript. |
hasDuration()
public boolean hasDuration()The duration of the audio.
.google.protobuf.Duration duration = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the duration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDuration(Duration value)
public UploadEvaluationAudioResponse.Builder mergeDuration(Duration value)The duration of the audio.
.google.protobuf.Duration duration = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
mergeFrom(UploadEvaluationAudioResponse other)
public UploadEvaluationAudioResponse.Builder mergeFrom(UploadEvaluationAudioResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
UploadEvaluationAudioResponse |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UploadEvaluationAudioResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UploadEvaluationAudioResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
setAudioGcsUri(String value)
public UploadEvaluationAudioResponse.Builder setAudioGcsUri(String value) The Google Cloud Storage URI where the uploaded audio file is stored.
Format: gs://<bucket-name>/<object-name>
string audio_gcs_uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe audioGcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
This builder for chaining. |
setAudioGcsUriBytes(ByteString value)
public UploadEvaluationAudioResponse.Builder setAudioGcsUriBytes(ByteString value) The Google Cloud Storage URI where the uploaded audio file is stored.
Format: gs://<bucket-name>/<object-name>
string audio_gcs_uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for audioGcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
This builder for chaining. |
setDuration(Duration value)
public UploadEvaluationAudioResponse.Builder setDuration(Duration value)The duration of the audio.
.google.protobuf.Duration duration = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
setDuration(Duration.Builder builderForValue)
public UploadEvaluationAudioResponse.Builder setDuration(Duration.Builder builderForValue)The duration of the audio.
.google.protobuf.Duration duration = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
setTranscript(String value)
public UploadEvaluationAudioResponse.Builder setTranscript(String value)The transcript of the audio, generated by Cloud Speech-to-Text.
string transcript = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe transcript to set. |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
This builder for chaining. |
setTranscriptBytes(ByteString value)
public UploadEvaluationAudioResponse.Builder setTranscriptBytes(ByteString value)The transcript of the audio, generated by Cloud Speech-to-Text.
string transcript = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for transcript to set. |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
This builder for chaining. |