Class CustomPronunciations.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CustomPronunciations.Builder>
com.google.cloud.texttospeech.v1.CustomPronunciations.Builder
All Implemented Interfaces:
CustomPronunciationsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CustomPronunciations

public static final class CustomPronunciations.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomPronunciations.Builder> implements CustomPronunciationsOrBuilder
 A collection of pronunciation customizations.
 
Protobuf type google.cloud.texttospeech.v1.CustomPronunciations
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CustomPronunciations.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CustomPronunciations.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CustomPronunciations.Builder>
    • getDefaultInstanceForType

      public CustomPronunciations getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CustomPronunciations build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CustomPronunciations buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CustomPronunciations.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomPronunciations.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CustomPronunciations.Builder>
    • mergeFrom

      public CustomPronunciations.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomPronunciations.Builder>
      Throws:
      IOException
    • getPronunciationsList

      public List<CustomPronunciationParams> getPronunciationsList()
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
      Specified by:
      getPronunciationsList in interface CustomPronunciationsOrBuilder
    • getPronunciationsCount

      public int getPronunciationsCount()
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
      Specified by:
      getPronunciationsCount in interface CustomPronunciationsOrBuilder
    • getPronunciations

      public CustomPronunciationParams getPronunciations(int index)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
      Specified by:
      getPronunciations in interface CustomPronunciationsOrBuilder
    • setPronunciations

      public CustomPronunciations.Builder setPronunciations(int index, CustomPronunciationParams value)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • setPronunciations

      public CustomPronunciations.Builder setPronunciations(int index, CustomPronunciationParams.Builder builderForValue)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • addPronunciations

      public CustomPronunciations.Builder addPronunciations(CustomPronunciationParams value)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • addPronunciations

      public CustomPronunciations.Builder addPronunciations(int index, CustomPronunciationParams value)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • addPronunciations

      public CustomPronunciations.Builder addPronunciations(CustomPronunciationParams.Builder builderForValue)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • addPronunciations

      public CustomPronunciations.Builder addPronunciations(int index, CustomPronunciationParams.Builder builderForValue)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • addAllPronunciations

      public CustomPronunciations.Builder addAllPronunciations(Iterable<? extends CustomPronunciationParams> values)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • clearPronunciations

      public CustomPronunciations.Builder clearPronunciations()
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • removePronunciations

      public CustomPronunciations.Builder removePronunciations(int index)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • getPronunciationsBuilder

      public CustomPronunciationParams.Builder getPronunciationsBuilder(int index)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • getPronunciationsOrBuilder

      public CustomPronunciationParamsOrBuilder getPronunciationsOrBuilder(int index)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
      Specified by:
      getPronunciationsOrBuilder in interface CustomPronunciationsOrBuilder
    • getPronunciationsOrBuilderList

      public List<? extends CustomPronunciationParamsOrBuilder> getPronunciationsOrBuilderList()
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
      Specified by:
      getPronunciationsOrBuilderList in interface CustomPronunciationsOrBuilder
    • addPronunciationsBuilder

      public CustomPronunciationParams.Builder addPronunciationsBuilder()
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • addPronunciationsBuilder

      public CustomPronunciationParams.Builder addPronunciationsBuilder(int index)
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
    • getPronunciationsBuilderList

      public List<CustomPronunciationParams.Builder> getPronunciationsBuilderList()
       The pronunciation customizations are applied.
       
      repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;