com.google.cloud.speech.v1.SpeechProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-google-cloud-speech-v1 Show documentation
Show all versions of grpc-google-cloud-speech-v1 Show documentation
GRPC library for grpc-google-cloud-speech-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/speech/v1/cloud_speech.proto
package com.google.cloud.speech.v1;
public final class SpeechProto {
private SpeechProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_RecognizeRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_RecognizeRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_LongRunningRecognizeRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_LongRunningRecognizeRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_StreamingRecognizeRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_StreamingRecognizeRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_StreamingRecognitionConfig_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_StreamingRecognitionConfig_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_RecognitionConfig_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_RecognitionConfig_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_SpeechContext_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_SpeechContext_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_RecognitionAudio_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_RecognitionAudio_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_RecognizeResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_RecognizeResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_LongRunningRecognizeResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_LongRunningRecognizeResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_LongRunningRecognizeMetadata_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_LongRunningRecognizeMetadata_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_StreamingRecognizeResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_StreamingRecognizeResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_StreamingRecognitionResult_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_StreamingRecognitionResult_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_SpeechRecognitionResult_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_SpeechRecognitionResult_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_speech_v1_SpeechRecognitionAlternative_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_speech_v1_SpeechRecognitionAlternative_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n)google/cloud/speech/v1/cloud_speech.pr" +
"oto\022\026google.cloud.speech.v1\032\034google/api/" +
"annotations.proto\032#google/longrunning/op" +
"erations.proto\032\031google/protobuf/any.prot" +
"o\032\036google/protobuf/duration.proto\032\037googl" +
"e/protobuf/timestamp.proto\032\027google/rpc/s" +
"tatus.proto\"\206\001\n\020RecognizeRequest\0229\n\006conf" +
"ig\030\001 \001(\0132).google.cloud.speech.v1.Recogn" +
"itionConfig\0227\n\005audio\030\002 \001(\0132(.google.clou" +
"d.speech.v1.RecognitionAudio\"\221\001\n\033LongRun",
"ningRecognizeRequest\0229\n\006config\030\001 \001(\0132).g" +
"oogle.cloud.speech.v1.RecognitionConfig\022" +
"7\n\005audio\030\002 \001(\0132(.google.cloud.speech.v1." +
"RecognitionAudio\"\231\001\n\031StreamingRecognizeR" +
"equest\022N\n\020streaming_config\030\001 \001(\01322.googl" +
"e.cloud.speech.v1.StreamingRecognitionCo" +
"nfigH\000\022\027\n\raudio_content\030\002 \001(\014H\000B\023\n\021strea" +
"ming_request\"\212\001\n\032StreamingRecognitionCon" +
"fig\0229\n\006config\030\001 \001(\0132).google.cloud.speec" +
"h.v1.RecognitionConfig\022\030\n\020single_utteran",
"ce\030\002 \001(\010\022\027\n\017interim_results\030\003 \001(\010\"\222\003\n\021Re" +
"cognitionConfig\022I\n\010encoding\030\001 \001(\01627.goog" +
"le.cloud.speech.v1.RecognitionConfig.Aud" +
"ioEncoding\022\031\n\021sample_rate_hertz\030\002 \001(\005\022\025\n" +
"\rlanguage_code\030\003 \001(\t\022\030\n\020max_alternatives" +
"\030\004 \001(\005\022\030\n\020profanity_filter\030\005 \001(\010\022>\n\017spee" +
"ch_contexts\030\006 \003(\0132%.google.cloud.speech." +
"v1.SpeechContext\"\213\001\n\rAudioEncoding\022\030\n\024EN" +
"CODING_UNSPECIFIED\020\000\022\014\n\010LINEAR16\020\001\022\010\n\004FL" +
"AC\020\002\022\t\n\005MULAW\020\003\022\007\n\003AMR\020\004\022\n\n\006AMR_WB\020\005\022\014\n\010",
"OGG_OPUS\020\006\022\032\n\026SPEEX_WITH_HEADER_BYTE\020\007\" " +
"\n\rSpeechContext\022\017\n\007phrases\030\001 \003(\t\"D\n\020Reco" +
"gnitionAudio\022\021\n\007content\030\001 \001(\014H\000\022\r\n\003uri\030\002" +
" \001(\tH\000B\016\n\014audio_source\"U\n\021RecognizeRespo" +
"nse\022@\n\007results\030\002 \003(\0132/.google.cloud.spee" +
"ch.v1.SpeechRecognitionResult\"`\n\034LongRun" +
"ningRecognizeResponse\022@\n\007results\030\002 \003(\0132/" +
".google.cloud.speech.v1.SpeechRecognitio" +
"nResult\"\236\001\n\034LongRunningRecognizeMetadata" +
"\022\030\n\020progress_percent\030\001 \001(\005\022.\n\nstart_time",
"\030\002 \001(\0132\032.google.protobuf.Timestamp\0224\n\020la" +
"st_update_time\030\003 \001(\0132\032.google.protobuf.T" +
"imestamp\"\261\002\n\032StreamingRecognizeResponse\022" +
"!\n\005error\030\001 \001(\0132\022.google.rpc.Status\022C\n\007re" +
"sults\030\002 \003(\01322.google.cloud.speech.v1.Str" +
"eamingRecognitionResult\022]\n\021speech_event_" +
"type\030\004 \001(\0162B.google.cloud.speech.v1.Stre" +
"amingRecognizeResponse.SpeechEventType\"L" +
"\n\017SpeechEventType\022\034\n\030SPEECH_EVENT_UNSPEC" +
"IFIED\020\000\022\033\n\027END_OF_SINGLE_UTTERANCE\020\001\"\215\001\n",
"\032StreamingRecognitionResult\022J\n\014alternati" +
"ves\030\001 \003(\01324.google.cloud.speech.v1.Speec" +
"hRecognitionAlternative\022\020\n\010is_final\030\002 \001(" +
"\010\022\021\n\tstability\030\003 \001(\002\"e\n\027SpeechRecognitio" +
"nResult\022J\n\014alternatives\030\001 \003(\01324.google.c" +
"loud.speech.v1.SpeechRecognitionAlternat" +
"ive\"F\n\034SpeechRecognitionAlternative\022\022\n\nt" +
"ranscript\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\0022\246\003\n\006" +
"Speech\022\201\001\n\tRecognize\022(.google.cloud.spee" +
"ch.v1.RecognizeRequest\032).google.cloud.sp",
"eech.v1.RecognizeResponse\"\037\202\323\344\223\002\031\"\024/v1/s" +
"peech:recognize:\001*\022\226\001\n\024LongRunningRecogn" +
"ize\0223.google.cloud.speech.v1.LongRunning" +
"RecognizeRequest\032\035.google.longrunning.Op" +
"eration\"*\202\323\344\223\002$\"\037/v1/speech:longrunningr" +
"ecognize:\001*\022\177\n\022StreamingRecognize\0221.goog" +
"le.cloud.speech.v1.StreamingRecognizeReq" +
"uest\0322.google.cloud.speech.v1.StreamingR" +
"ecognizeResponse(\0010\001Bi\n\032com.google.cloud" +
".speech.v1B\013SpeechProtoP\001Z