google-cloud-text_to_speech 0.7.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +0,0 @@
1
- {
2
- "interfaces": {
3
- "google.cloud.texttospeech.v1beta1.TextToSpeech": {
4
- "retry_codes": {
5
- "idempotent": [
6
- "DEADLINE_EXCEEDED",
7
- "UNAVAILABLE"
8
- ],
9
- "non_idempotent": []
10
- },
11
- "retry_params": {
12
- "default": {
13
- "initial_retry_delay_millis": 100,
14
- "retry_delay_multiplier": 1.3,
15
- "max_retry_delay_millis": 60000,
16
- "initial_rpc_timeout_millis": 20000,
17
- "rpc_timeout_multiplier": 1.0,
18
- "max_rpc_timeout_millis": 20000,
19
- "total_timeout_millis": 600000
20
- }
21
- },
22
- "methods": {
23
- "ListVoices": {
24
- "timeout_millis": 60000,
25
- "retry_codes_name": "idempotent",
26
- "retry_params_name": "default"
27
- },
28
- "SynthesizeSpeech": {
29
- "timeout_millis": 60000,
30
- "retry_codes_name": "non_idempotent",
31
- "retry_params_name": "default"
32
- }
33
- }
34
- }
35
- }
36
- }
@@ -1,82 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/texttospeech/v1/cloud_tts.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/annotations_pb'
8
- require 'google/api/client_pb'
9
- require 'google/api/field_behavior_pb'
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_message "google.cloud.texttospeech.v1.ListVoicesRequest" do
12
- optional :language_code, :string, 1
13
- end
14
- add_message "google.cloud.texttospeech.v1.ListVoicesResponse" do
15
- repeated :voices, :message, 1, "google.cloud.texttospeech.v1.Voice"
16
- end
17
- add_message "google.cloud.texttospeech.v1.Voice" do
18
- repeated :language_codes, :string, 1
19
- optional :name, :string, 2
20
- optional :ssml_gender, :enum, 3, "google.cloud.texttospeech.v1.SsmlVoiceGender"
21
- optional :natural_sample_rate_hertz, :int32, 4
22
- end
23
- add_message "google.cloud.texttospeech.v1.SynthesizeSpeechRequest" do
24
- optional :input, :message, 1, "google.cloud.texttospeech.v1.SynthesisInput"
25
- optional :voice, :message, 2, "google.cloud.texttospeech.v1.VoiceSelectionParams"
26
- optional :audio_config, :message, 3, "google.cloud.texttospeech.v1.AudioConfig"
27
- end
28
- add_message "google.cloud.texttospeech.v1.SynthesisInput" do
29
- oneof :input_source do
30
- optional :text, :string, 1
31
- optional :ssml, :string, 2
32
- end
33
- end
34
- add_message "google.cloud.texttospeech.v1.VoiceSelectionParams" do
35
- optional :language_code, :string, 1
36
- optional :name, :string, 2
37
- optional :ssml_gender, :enum, 3, "google.cloud.texttospeech.v1.SsmlVoiceGender"
38
- end
39
- add_message "google.cloud.texttospeech.v1.AudioConfig" do
40
- optional :audio_encoding, :enum, 1, "google.cloud.texttospeech.v1.AudioEncoding"
41
- optional :speaking_rate, :double, 2
42
- optional :pitch, :double, 3
43
- optional :volume_gain_db, :double, 4
44
- optional :sample_rate_hertz, :int32, 5
45
- repeated :effects_profile_id, :string, 6
46
- end
47
- add_message "google.cloud.texttospeech.v1.SynthesizeSpeechResponse" do
48
- optional :audio_content, :bytes, 1
49
- end
50
- add_enum "google.cloud.texttospeech.v1.SsmlVoiceGender" do
51
- value :SSML_VOICE_GENDER_UNSPECIFIED, 0
52
- value :MALE, 1
53
- value :FEMALE, 2
54
- value :NEUTRAL, 3
55
- end
56
- add_enum "google.cloud.texttospeech.v1.AudioEncoding" do
57
- value :AUDIO_ENCODING_UNSPECIFIED, 0
58
- value :LINEAR16, 1
59
- value :MP3, 2
60
- value :OGG_OPUS, 3
61
- end
62
- end
63
-
64
- module Google
65
- module Cloud
66
- module TextToSpeech
67
- end
68
- Texttospeech = TextToSpeech unless const_defined? :Texttospeech
69
- end
70
- end
71
- module Google::Cloud::TextToSpeech::V1
72
- ListVoicesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.ListVoicesRequest").msgclass
73
- ListVoicesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.ListVoicesResponse").msgclass
74
- Voice = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.Voice").msgclass
75
- SynthesizeSpeechRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.SynthesizeSpeechRequest").msgclass
76
- SynthesisInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.SynthesisInput").msgclass
77
- VoiceSelectionParams = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.VoiceSelectionParams").msgclass
78
- AudioConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.AudioConfig").msgclass
79
- SynthesizeSpeechResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.SynthesizeSpeechResponse").msgclass
80
- SsmlVoiceGender = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.SsmlVoiceGender").enummodule
81
- AudioEncoding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.AudioEncoding").enummodule
82
- end
@@ -1,51 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/texttospeech/v1/cloud_tts.proto for package 'Google::Cloud::TextToSpeech::V1'
3
- # Original file comments:
4
- # Copyright 2019 Google LLC.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
- #
19
-
20
-
21
- require 'grpc'
22
- require 'google/cloud/texttospeech/v1/cloud_tts_pb'
23
-
24
- module Google
25
- module Cloud
26
- module TextToSpeech
27
- end
28
- Texttospeech = TextToSpeech unless const_defined? :Texttospeech
29
- end
30
- end
31
- module Google::Cloud::TextToSpeech::V1
32
- module TextToSpeech
33
- # Service that implements Google Cloud Text-to-Speech API.
34
- class Service
35
-
36
- include GRPC::GenericService
37
-
38
- self.marshal_class_method = :encode
39
- self.unmarshal_class_method = :decode
40
- self.service_name = 'google.cloud.texttospeech.v1.TextToSpeech'
41
-
42
- # Returns a list of Voice supported for synthesis.
43
- rpc :ListVoices, ListVoicesRequest, ListVoicesResponse
44
- # Synthesizes speech synchronously: receive results after all text input
45
- # has been processed.
46
- rpc :SynthesizeSpeech, SynthesizeSpeechRequest, SynthesizeSpeechResponse
47
- end
48
-
49
- Stub = Service.rpc_stub_class
50
- end
51
- end
@@ -1,82 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/texttospeech/v1beta1/cloud_tts.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/annotations_pb'
8
- require 'google/api/client_pb'
9
- require 'google/api/field_behavior_pb'
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_message "google.cloud.texttospeech.v1beta1.ListVoicesRequest" do
12
- optional :language_code, :string, 1
13
- end
14
- add_message "google.cloud.texttospeech.v1beta1.ListVoicesResponse" do
15
- repeated :voices, :message, 1, "google.cloud.texttospeech.v1beta1.Voice"
16
- end
17
- add_message "google.cloud.texttospeech.v1beta1.Voice" do
18
- repeated :language_codes, :string, 1
19
- optional :name, :string, 2
20
- optional :ssml_gender, :enum, 3, "google.cloud.texttospeech.v1beta1.SsmlVoiceGender"
21
- optional :natural_sample_rate_hertz, :int32, 4
22
- end
23
- add_message "google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest" do
24
- optional :input, :message, 1, "google.cloud.texttospeech.v1beta1.SynthesisInput"
25
- optional :voice, :message, 2, "google.cloud.texttospeech.v1beta1.VoiceSelectionParams"
26
- optional :audio_config, :message, 3, "google.cloud.texttospeech.v1beta1.AudioConfig"
27
- end
28
- add_message "google.cloud.texttospeech.v1beta1.SynthesisInput" do
29
- oneof :input_source do
30
- optional :text, :string, 1
31
- optional :ssml, :string, 2
32
- end
33
- end
34
- add_message "google.cloud.texttospeech.v1beta1.VoiceSelectionParams" do
35
- optional :language_code, :string, 1
36
- optional :name, :string, 2
37
- optional :ssml_gender, :enum, 3, "google.cloud.texttospeech.v1beta1.SsmlVoiceGender"
38
- end
39
- add_message "google.cloud.texttospeech.v1beta1.AudioConfig" do
40
- optional :audio_encoding, :enum, 1, "google.cloud.texttospeech.v1beta1.AudioEncoding"
41
- optional :speaking_rate, :double, 2
42
- optional :pitch, :double, 3
43
- optional :volume_gain_db, :double, 4
44
- optional :sample_rate_hertz, :int32, 5
45
- repeated :effects_profile_id, :string, 6
46
- end
47
- add_message "google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse" do
48
- optional :audio_content, :bytes, 1
49
- end
50
- add_enum "google.cloud.texttospeech.v1beta1.SsmlVoiceGender" do
51
- value :SSML_VOICE_GENDER_UNSPECIFIED, 0
52
- value :MALE, 1
53
- value :FEMALE, 2
54
- value :NEUTRAL, 3
55
- end
56
- add_enum "google.cloud.texttospeech.v1beta1.AudioEncoding" do
57
- value :AUDIO_ENCODING_UNSPECIFIED, 0
58
- value :LINEAR16, 1
59
- value :MP3, 2
60
- value :OGG_OPUS, 3
61
- end
62
- end
63
-
64
- module Google
65
- module Cloud
66
- module TextToSpeech
67
- end
68
- Texttospeech = TextToSpeech unless const_defined? :Texttospeech
69
- end
70
- end
71
- module Google::Cloud::TextToSpeech::V1beta1
72
- ListVoicesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.ListVoicesRequest").msgclass
73
- ListVoicesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.ListVoicesResponse").msgclass
74
- Voice = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.Voice").msgclass
75
- SynthesizeSpeechRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest").msgclass
76
- SynthesisInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.SynthesisInput").msgclass
77
- VoiceSelectionParams = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.VoiceSelectionParams").msgclass
78
- AudioConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.AudioConfig").msgclass
79
- SynthesizeSpeechResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse").msgclass
80
- SsmlVoiceGender = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.SsmlVoiceGender").enummodule
81
- AudioEncoding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.AudioEncoding").enummodule
82
- end
@@ -1,51 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/texttospeech/v1beta1/cloud_tts.proto for package 'Google::Cloud::TextToSpeech::V1beta1'
3
- # Original file comments:
4
- # Copyright 2019 Google LLC.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
- #
19
-
20
-
21
- require 'grpc'
22
- require 'google/cloud/texttospeech/v1beta1/cloud_tts_pb'
23
-
24
- module Google
25
- module Cloud
26
- module TextToSpeech
27
- end
28
- Texttospeech = TextToSpeech unless const_defined? :Texttospeech
29
- end
30
- end
31
- module Google::Cloud::TextToSpeech::V1beta1
32
- module TextToSpeech
33
- # Service that implements Google Cloud Text-to-Speech API.
34
- class Service
35
-
36
- include GRPC::GenericService
37
-
38
- self.marshal_class_method = :encode
39
- self.unmarshal_class_method = :decode
40
- self.service_name = 'google.cloud.texttospeech.v1beta1.TextToSpeech'
41
-
42
- # Returns a list of Voice supported for synthesis.
43
- rpc :ListVoices, ListVoicesRequest, ListVoicesResponse
44
- # Synthesizes speech synchronously: receive results after all text input
45
- # has been processed.
46
- rpc :SynthesizeSpeech, SynthesizeSpeechRequest, SynthesizeSpeechResponse
47
- end
48
-
49
- Stub = Service.rpc_stub_class
50
- end
51
- end