All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.texttospeech.v1.VoiceOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.50.0
Show newest version
/*
 * Copyright 2024 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
 *
 *     https://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.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/texttospeech/v1/cloud_tts.proto

// Protobuf Java Version: 3.25.4
package com.google.cloud.texttospeech.v1;

public interface VoiceOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1.Voice)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The languages that this voice supports, expressed as
   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
   * "en-US", "es-419", "cmn-tw").
   * 
* * repeated string language_codes = 1; * * @return A list containing the languageCodes. */ java.util.List getLanguageCodesList(); /** * * *
   * The languages that this voice supports, expressed as
   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
   * "en-US", "es-419", "cmn-tw").
   * 
* * repeated string language_codes = 1; * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** * * *
   * The languages that this voice supports, expressed as
   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
   * "en-US", "es-419", "cmn-tw").
   * 
* * repeated string language_codes = 1; * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** * * *
   * The languages that this voice supports, expressed as
   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
   * "en-US", "es-419", "cmn-tw").
   * 
* * repeated string language_codes = 1; * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ com.google.protobuf.ByteString getLanguageCodesBytes(int index); /** * * *
   * The name of this voice.  Each distinct voice has a unique name.
   * 
* * string name = 2; * * @return The name. */ java.lang.String getName(); /** * * *
   * The name of this voice.  Each distinct voice has a unique name.
   * 
* * string name = 2; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * The gender of this voice.
   * 
* * .google.cloud.texttospeech.v1.SsmlVoiceGender ssml_gender = 3; * * @return The enum numeric value on the wire for ssmlGender. */ int getSsmlGenderValue(); /** * * *
   * The gender of this voice.
   * 
* * .google.cloud.texttospeech.v1.SsmlVoiceGender ssml_gender = 3; * * @return The ssmlGender. */ com.google.cloud.texttospeech.v1.SsmlVoiceGender getSsmlGender(); /** * * *
   * The natural sample rate (in hertz) for this voice.
   * 
* * int32 natural_sample_rate_hertz = 4; * * @return The naturalSampleRateHertz. */ int getNaturalSampleRateHertz(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy