Class SynthesizeSpeechResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SynthesizeSpeechResponse.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.GeneratedMessageV3.Builder<SynthesizeSpeechResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public SynthesizeSpeechResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SynthesizeSpeechResponse.Builder>
      • addRepeatedField

        public SynthesizeSpeechResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SynthesizeSpeechResponse.Builder>
      • isInitialized

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

        public SynthesizeSpeechResponse.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<SynthesizeSpeechResponse.Builder>
        Throws:
        IOException
      • getAudioContent

        public com.google.protobuf.ByteString getAudioContent()
         The audio data bytes encoded as specified in the request, including the
         header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
         For LINEAR16 audio, we include the WAV header. Note: as
         with all bytes fields, protobuffers use a pure binary representation,
         whereas JSON representations use base64.
         
        bytes audio_content = 1;
        Specified by:
        getAudioContent in interface SynthesizeSpeechResponseOrBuilder
        Returns:
        The audioContent.
      • setAudioContent

        public SynthesizeSpeechResponse.Builder setAudioContent​(com.google.protobuf.ByteString value)
         The audio data bytes encoded as specified in the request, including the
         header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
         For LINEAR16 audio, we include the WAV header. Note: as
         with all bytes fields, protobuffers use a pure binary representation,
         whereas JSON representations use base64.
         
        bytes audio_content = 1;
        Parameters:
        value - The audioContent to set.
        Returns:
        This builder for chaining.
      • clearAudioContent

        public SynthesizeSpeechResponse.Builder clearAudioContent()
         The audio data bytes encoded as specified in the request, including the
         header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
         For LINEAR16 audio, we include the WAV header. Note: as
         with all bytes fields, protobuffers use a pure binary representation,
         whereas JSON representations use base64.
         
        bytes audio_content = 1;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SynthesizeSpeechResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SynthesizeSpeechResponse.Builder>
      • mergeUnknownFields

        public final SynthesizeSpeechResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SynthesizeSpeechResponse.Builder>