Class MultiSpeakerVoiceConfig.Builder

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

public static final class MultiSpeakerVoiceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<MultiSpeakerVoiceConfig.Builder> implements MultiSpeakerVoiceConfigOrBuilder
 Configuration for a multi-speaker text-to-speech request.
 
Protobuf type google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig
  • 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<MultiSpeakerVoiceConfig.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<MultiSpeakerVoiceConfig.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<MultiSpeakerVoiceConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public MultiSpeakerVoiceConfig.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<MultiSpeakerVoiceConfig.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<MultiSpeakerVoiceConfig.Builder>
    • mergeFrom

      public MultiSpeakerVoiceConfig.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<MultiSpeakerVoiceConfig.Builder>
      Throws:
      IOException
    • getSpeakerVoiceConfigsList

      public List<SpeakerVoiceConfig> getSpeakerVoiceConfigsList()
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSpeakerVoiceConfigsList in interface MultiSpeakerVoiceConfigOrBuilder
    • getSpeakerVoiceConfigsCount

      public int getSpeakerVoiceConfigsCount()
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSpeakerVoiceConfigsCount in interface MultiSpeakerVoiceConfigOrBuilder
    • getSpeakerVoiceConfigs

      public SpeakerVoiceConfig getSpeakerVoiceConfigs(int index)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSpeakerVoiceConfigs in interface MultiSpeakerVoiceConfigOrBuilder
    • setSpeakerVoiceConfigs

      public MultiSpeakerVoiceConfig.Builder setSpeakerVoiceConfigs(int index, SpeakerVoiceConfig value)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • setSpeakerVoiceConfigs

      public MultiSpeakerVoiceConfig.Builder setSpeakerVoiceConfigs(int index, SpeakerVoiceConfig.Builder builderForValue)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addSpeakerVoiceConfigs

      public MultiSpeakerVoiceConfig.Builder addSpeakerVoiceConfigs(SpeakerVoiceConfig value)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addSpeakerVoiceConfigs

      public MultiSpeakerVoiceConfig.Builder addSpeakerVoiceConfigs(int index, SpeakerVoiceConfig value)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addSpeakerVoiceConfigs

      public MultiSpeakerVoiceConfig.Builder addSpeakerVoiceConfigs(SpeakerVoiceConfig.Builder builderForValue)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addSpeakerVoiceConfigs

      public MultiSpeakerVoiceConfig.Builder addSpeakerVoiceConfigs(int index, SpeakerVoiceConfig.Builder builderForValue)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllSpeakerVoiceConfigs

      public MultiSpeakerVoiceConfig.Builder addAllSpeakerVoiceConfigs(Iterable<? extends SpeakerVoiceConfig> values)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearSpeakerVoiceConfigs

      public MultiSpeakerVoiceConfig.Builder clearSpeakerVoiceConfigs()
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeSpeakerVoiceConfigs

      public MultiSpeakerVoiceConfig.Builder removeSpeakerVoiceConfigs(int index)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSpeakerVoiceConfigsBuilder

      public SpeakerVoiceConfig.Builder getSpeakerVoiceConfigsBuilder(int index)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSpeakerVoiceConfigsOrBuilder

      public SpeakerVoiceConfigOrBuilder getSpeakerVoiceConfigsOrBuilder(int index)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSpeakerVoiceConfigsOrBuilder in interface MultiSpeakerVoiceConfigOrBuilder
    • getSpeakerVoiceConfigsOrBuilderList

      public List<? extends SpeakerVoiceConfigOrBuilder> getSpeakerVoiceConfigsOrBuilderList()
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSpeakerVoiceConfigsOrBuilderList in interface MultiSpeakerVoiceConfigOrBuilder
    • addSpeakerVoiceConfigsBuilder

      public SpeakerVoiceConfig.Builder addSpeakerVoiceConfigsBuilder()
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addSpeakerVoiceConfigsBuilder

      public SpeakerVoiceConfig.Builder addSpeakerVoiceConfigsBuilder(int index)
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSpeakerVoiceConfigsBuilderList

      public List<SpeakerVoiceConfig.Builder> getSpeakerVoiceConfigsBuilderList()
       Required. A list of configurations for the voices of the speakers. Exactly
       two speaker voice configurations must be provided.
       
      repeated .google.cloud.aiplatform.v1.SpeakerVoiceConfig speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED];