Skip to content

Commit 9b77e4e

Browse files
yoshi-automationcrwilcox
authored andcommitted
Copy proto files alongside protoc versions.
1 parent 1383017 commit 9b77e4e

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

texttospeech/google/cloud/texttospeech_v1/proto/cloud_tts.proto

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 Google Inc.
1+
// Copyright 2018 Google LLC.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -11,35 +11,37 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
1415

1516
syntax = "proto3";
1617

17-
package google.cloud.texttospeech.v1beta1;
18+
package google.cloud.texttospeech.v1;
1819

1920
import "google/api/annotations.proto";
2021

2122
option cc_enable_arenas = true;
22-
option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1;texttospeech";
23+
option csharp_namespace = "Google.Cloud.TextToSpeech.V1";
24+
option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1;texttospeech";
2325
option java_multiple_files = true;
2426
option java_outer_classname = "TextToSpeechProto";
25-
option java_package = "com.google.cloud.texttospeech.v1beta1";
27+
option java_package = "com.google.cloud.texttospeech.v1";
28+
option php_namespace = "Google\\Cloud\\TextToSpeech\\V1";
2629

2730

2831
// Service that implements Google Cloud Text-to-Speech API.
2932
service TextToSpeech {
30-
// Returns a list of [Voice][google.cloud.texttospeech.v1beta1.Voice]
31-
// supported for synthesis.
33+
// Returns a list of Voice supported for synthesis.
3234
rpc ListVoices(ListVoicesRequest) returns (ListVoicesResponse) {
3335
option (google.api.http) = {
34-
get: "/v1beta1/voices"
36+
get: "/v1/voices"
3537
};
3638
}
3739

3840
// Synthesizes speech synchronously: receive results after all text input
3941
// has been processed.
4042
rpc SynthesizeSpeech(SynthesizeSpeechRequest) returns (SynthesizeSpeechResponse) {
4143
option (google.api.http) = {
42-
post: "/v1beta1/text:synthesize"
44+
post: "/v1/text:synthesize"
4345
body: "*"
4446
};
4547
}
@@ -175,6 +177,11 @@ message AudioConfig {
175177
// An identifier which selects 'audio effects' profiles that are applied on
176178
// (post synthesized) text to speech.
177179
// Effects are applied on top of each other in the order they are given.
180+
// See
181+
//
182+
// [audio-profiles](https:
183+
// //cloud.google.com/text-to-speech/docs/audio-profiles)
184+
// for current supported profile ids.
178185
repeated string effects_profile_id = 6;
179186
}
180187

texttospeech/synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-01-24T17:39:41.039359Z",
2+
"updateTime": "2019-02-01T19:05:35.269409Z",
33
"sources": [
44
{
55
"generator": {
@@ -12,8 +12,8 @@
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "9aac88a22468b1e291937f55fa1ef237adfdc63e",
16-
"internalRef": "230568136"
15+
"sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a",
16+
"internalRef": "231974277"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)