-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add LRS API PiperOrigin-RevId: 493338018 Source-Link: googleapis/googleapis@380b2f0 Source-Link: googleapis/googleapis-gen@5802e4b Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRleHR0b3NwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiNTgwMmU0YmQyNDRmMTFhYmY4OGM4ZWUzOTY4ZGMxZDcyODFjNDk2YSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
693d417
commit 21dce32
Showing
18 changed files
with
17,181 additions
and
9,021 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
...es/google-cloud-texttospeech/protos/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
// Copyright 2022 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.texttospeech.v1beta1; | ||
|
||
import "google/api/annotations.proto"; | ||
import "google/api/client.proto"; | ||
import "google/api/field_behavior.proto"; | ||
import "google/cloud/texttospeech/v1beta1/cloud_tts.proto"; | ||
import "google/longrunning/operations.proto"; | ||
import "google/protobuf/timestamp.proto"; | ||
|
||
option cc_enable_arenas = true; | ||
option csharp_namespace = "Google.Cloud.TextToSpeech.V1Beta1"; | ||
option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1;texttospeech"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "TextToSpeechLongAudioSynthesisProto"; | ||
option java_package = "com.google.cloud.texttospeech.v1beta1"; | ||
option php_namespace = "Google\\Cloud\\TextToSpeech\\V1beta1"; | ||
option ruby_package = "Google::Cloud::TextToSpeech::V1beta1"; | ||
|
||
// Service that implements Google Cloud Text-to-Speech API. | ||
service TextToSpeechLongAudioSynthesize { | ||
option (google.api.default_host) = "texttospeech.googleapis.com"; | ||
option (google.api.oauth_scopes) = | ||
"https://www.googleapis.com/auth/cloud-platform"; | ||
|
||
// Synthesizes long form text asynchronously. | ||
rpc SynthesizeLongAudio(SynthesizeLongAudioRequest) | ||
returns (google.longrunning.Operation) { | ||
option (google.api.http) = { | ||
post: "/v1beta1/{parent=projects/*/locations/*/voices/*}:SynthesizeLongAudio" | ||
body: "*" | ||
}; | ||
option (google.longrunning.operation_info) = { | ||
response_type: "SynthesizeLongAudioResponse" | ||
metadata_type: "SynthesizeLongAudioMetadata" | ||
}; | ||
} | ||
} | ||
|
||
// The top-level message sent by the client for the | ||
// `SynthesizeLongAudio` method. | ||
message SynthesizeLongAudioRequest { | ||
// The resource states of the request in the form of | ||
// projects/*/locations/*/voices/*. | ||
string parent = 1; | ||
|
||
// Required. The Synthesizer requires either plain text or SSML as input. | ||
SynthesisInput input = 2 [(google.api.field_behavior) = REQUIRED]; | ||
|
||
// Required. The configuration of the synthesized audio. | ||
AudioConfig audio_config = 3 [(google.api.field_behavior) = REQUIRED]; | ||
|
||
// Specifies a Cloud Storage URI for the synthesis results. Must be | ||
// specified in the format: `gs://bucket_name/object_name`, and the bucket | ||
// must already exist. | ||
string output_gcs_uri = 4; | ||
|
||
// The desired voice of the synthesized audio. | ||
VoiceSelectionParams voice = 5; | ||
} | ||
|
||
// The message returned to the client by the `SynthesizeLongAudio` method. | ||
message SynthesizeLongAudioResponse {} | ||
|
||
// Metadata for response returned by the `SynthesizeLongAudio` method. | ||
message SynthesizeLongAudioMetadata { | ||
// Time when the request was received. | ||
google.protobuf.Timestamp start_time = 1; | ||
|
||
// Time of the most recent processing update. | ||
google.protobuf.Timestamp last_update_time = 2; | ||
|
||
// The progress of the most recent processing update in percentage, ie. 70.0%. | ||
double progress_percentage = 3; | ||
} |
Oops, something went wrong.