google-cloud-speech 0.23.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,116 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/speech/v1beta1/cloud_speech.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/annotations_pb'
7
- require 'google/longrunning/operations_pb'
8
- require 'google/protobuf/timestamp_pb'
9
- require 'google/rpc/status_pb'
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_message "google.cloud.speech.v1beta1.SyncRecognizeRequest" do
12
- optional :config, :message, 1, "google.cloud.speech.v1beta1.RecognitionConfig"
13
- optional :audio, :message, 2, "google.cloud.speech.v1beta1.RecognitionAudio"
14
- end
15
- add_message "google.cloud.speech.v1beta1.AsyncRecognizeRequest" do
16
- optional :config, :message, 1, "google.cloud.speech.v1beta1.RecognitionConfig"
17
- optional :audio, :message, 2, "google.cloud.speech.v1beta1.RecognitionAudio"
18
- end
19
- add_message "google.cloud.speech.v1beta1.StreamingRecognizeRequest" do
20
- oneof :streaming_request do
21
- optional :streaming_config, :message, 1, "google.cloud.speech.v1beta1.StreamingRecognitionConfig"
22
- optional :audio_content, :bytes, 2
23
- end
24
- end
25
- add_message "google.cloud.speech.v1beta1.StreamingRecognitionConfig" do
26
- optional :config, :message, 1, "google.cloud.speech.v1beta1.RecognitionConfig"
27
- optional :single_utterance, :bool, 2
28
- optional :interim_results, :bool, 3
29
- end
30
- add_message "google.cloud.speech.v1beta1.RecognitionConfig" do
31
- optional :encoding, :enum, 1, "google.cloud.speech.v1beta1.RecognitionConfig.AudioEncoding"
32
- optional :sample_rate, :int32, 2
33
- optional :language_code, :string, 3
34
- optional :max_alternatives, :int32, 4
35
- optional :profanity_filter, :bool, 5
36
- optional :speech_context, :message, 6, "google.cloud.speech.v1beta1.SpeechContext"
37
- end
38
- add_enum "google.cloud.speech.v1beta1.RecognitionConfig.AudioEncoding" do
39
- value :ENCODING_UNSPECIFIED, 0
40
- value :LINEAR16, 1
41
- value :FLAC, 2
42
- value :MULAW, 3
43
- value :AMR, 4
44
- value :AMR_WB, 5
45
- end
46
- add_message "google.cloud.speech.v1beta1.SpeechContext" do
47
- repeated :phrases, :string, 1
48
- end
49
- add_message "google.cloud.speech.v1beta1.RecognitionAudio" do
50
- oneof :audio_source do
51
- optional :content, :bytes, 1
52
- optional :uri, :string, 2
53
- end
54
- end
55
- add_message "google.cloud.speech.v1beta1.SyncRecognizeResponse" do
56
- repeated :results, :message, 2, "google.cloud.speech.v1beta1.SpeechRecognitionResult"
57
- end
58
- add_message "google.cloud.speech.v1beta1.AsyncRecognizeResponse" do
59
- repeated :results, :message, 2, "google.cloud.speech.v1beta1.SpeechRecognitionResult"
60
- end
61
- add_message "google.cloud.speech.v1beta1.AsyncRecognizeMetadata" do
62
- optional :progress_percent, :int32, 1
63
- optional :start_time, :message, 2, "google.protobuf.Timestamp"
64
- optional :last_update_time, :message, 3, "google.protobuf.Timestamp"
65
- end
66
- add_message "google.cloud.speech.v1beta1.StreamingRecognizeResponse" do
67
- optional :error, :message, 1, "google.rpc.Status"
68
- repeated :results, :message, 2, "google.cloud.speech.v1beta1.StreamingRecognitionResult"
69
- optional :result_index, :int32, 3
70
- optional :endpointer_type, :enum, 4, "google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType"
71
- end
72
- add_enum "google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType" do
73
- value :ENDPOINTER_EVENT_UNSPECIFIED, 0
74
- value :START_OF_SPEECH, 1
75
- value :END_OF_SPEECH, 2
76
- value :END_OF_AUDIO, 3
77
- value :END_OF_UTTERANCE, 4
78
- end
79
- add_message "google.cloud.speech.v1beta1.StreamingRecognitionResult" do
80
- repeated :alternatives, :message, 1, "google.cloud.speech.v1beta1.SpeechRecognitionAlternative"
81
- optional :is_final, :bool, 2
82
- optional :stability, :float, 3
83
- end
84
- add_message "google.cloud.speech.v1beta1.SpeechRecognitionResult" do
85
- repeated :alternatives, :message, 1, "google.cloud.speech.v1beta1.SpeechRecognitionAlternative"
86
- end
87
- add_message "google.cloud.speech.v1beta1.SpeechRecognitionAlternative" do
88
- optional :transcript, :string, 1
89
- optional :confidence, :float, 2
90
- end
91
- end
92
-
93
- module Google
94
- module Cloud
95
- module Speech
96
- module V1beta1
97
- SyncRecognizeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.SyncRecognizeRequest").msgclass
98
- AsyncRecognizeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.AsyncRecognizeRequest").msgclass
99
- StreamingRecognizeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.StreamingRecognizeRequest").msgclass
100
- StreamingRecognitionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.StreamingRecognitionConfig").msgclass
101
- RecognitionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.RecognitionConfig").msgclass
102
- RecognitionConfig::AudioEncoding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.RecognitionConfig.AudioEncoding").enummodule
103
- SpeechContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.SpeechContext").msgclass
104
- RecognitionAudio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.RecognitionAudio").msgclass
105
- SyncRecognizeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.SyncRecognizeResponse").msgclass
106
- AsyncRecognizeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.AsyncRecognizeResponse").msgclass
107
- AsyncRecognizeMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.AsyncRecognizeMetadata").msgclass
108
- StreamingRecognizeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.StreamingRecognizeResponse").msgclass
109
- StreamingRecognizeResponse::EndpointerType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType").enummodule
110
- StreamingRecognitionResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.StreamingRecognitionResult").msgclass
111
- SpeechRecognitionResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.SpeechRecognitionResult").msgclass
112
- SpeechRecognitionAlternative = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1beta1.SpeechRecognitionAlternative").msgclass
113
- end
114
- end
115
- end
116
- end