public final class UploadEvaluationAudioResponse extends GeneratedMessage implements UploadEvaluationAudioResponseOrBuilderResponse message for EvaluationService.UploadEvaluationAudio.
Protobuf type google.cloud.ces.v1beta.UploadEvaluationAudioResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UploadEvaluationAudioResponseImplements
UploadEvaluationAudioResponseOrBuilderStatic Fields
AUDIO_GCS_URI_FIELD_NUMBER
public static final int AUDIO_GCS_URI_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TRANSCRIPT_FIELD_NUMBER
public static final int TRANSCRIPT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static UploadEvaluationAudioResponse getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static UploadEvaluationAudioResponse.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
newBuilder(UploadEvaluationAudioResponse prototype)
public static UploadEvaluationAudioResponse.Builder newBuilder(UploadEvaluationAudioResponse prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
UploadEvaluationAudioResponse |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
parseDelimitedFrom(InputStream input)
public static UploadEvaluationAudioResponse parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UploadEvaluationAudioResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static UploadEvaluationAudioResponse parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UploadEvaluationAudioResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static UploadEvaluationAudioResponse parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UploadEvaluationAudioResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static UploadEvaluationAudioResponse parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UploadEvaluationAudioResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static UploadEvaluationAudioResponse parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UploadEvaluationAudioResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static UploadEvaluationAudioResponse parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UploadEvaluationAudioResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<UploadEvaluationAudioResponse> parser()| Returns | |
|---|---|
| Type | Description |
Parser<UploadEvaluationAudioResponse> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
getDuration()
public Duration getDuration()The duration of the audio.
.google.protobuf.Duration duration = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The duration. |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()The duration of the audio.
.google.protobuf.Duration duration = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getParserForType()
public Parser<UploadEvaluationAudioResponse> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<UploadEvaluationAudioResponse> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public UploadEvaluationAudioResponse.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UploadEvaluationAudioResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
toBuilder()
public UploadEvaluationAudioResponse.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
UploadEvaluationAudioResponse.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|