public static final class ListVoicesResponse.Builder extends GeneratedMessageV3.Builder<ListVoicesResponse.Builder> implements ListVoicesResponseOrBuilder
The message returned to the client by the ListVoices
method.
Protobuf type google.cloud.texttospeech.v1beta1.ListVoicesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllVoices(Iterable<? extends Voice> values)
public ListVoicesResponse.Builder addAllVoices(Iterable<? extends Voice> values)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.texttospeech.v1beta1.Voice>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListVoicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addVoices(Voice value)
public ListVoicesResponse.Builder addVoices(Voice value)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameter
Name | Description |
value | Voice
|
Returns
addVoices(Voice.Builder builderForValue)
public ListVoicesResponse.Builder addVoices(Voice.Builder builderForValue)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameter
Returns
addVoices(int index, Voice value)
public ListVoicesResponse.Builder addVoices(int index, Voice value)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameters
Returns
addVoices(int index, Voice.Builder builderForValue)
public ListVoicesResponse.Builder addVoices(int index, Voice.Builder builderForValue)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameters
Returns
addVoicesBuilder()
public Voice.Builder addVoicesBuilder()
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Returns
addVoicesBuilder(int index)
public Voice.Builder addVoicesBuilder(int index)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameter
Returns
build()
public ListVoicesResponse build()
Returns
buildPartial()
public ListVoicesResponse buildPartial()
Returns
clear()
public ListVoicesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListVoicesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListVoicesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVoices()
public ListVoicesResponse.Builder clearVoices()
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Returns
clone()
public ListVoicesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListVoicesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getVoices(int index)
public Voice getVoices(int index)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameter
Returns
getVoicesBuilder(int index)
public Voice.Builder getVoicesBuilder(int index)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameter
Returns
getVoicesBuilderList()
public List<Voice.Builder> getVoicesBuilderList()
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Returns
getVoicesCount()
public int getVoicesCount()
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Returns
getVoicesList()
public List<Voice> getVoicesList()
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Returns
getVoicesOrBuilder(int index)
public VoiceOrBuilder getVoicesOrBuilder(int index)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameter
Returns
getVoicesOrBuilderList()
public List<? extends VoiceOrBuilder> getVoicesOrBuilderList()
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Returns
Type | Description |
List<? extends com.google.cloud.texttospeech.v1beta1.VoiceOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListVoicesResponse other)
public ListVoicesResponse.Builder mergeFrom(ListVoicesResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListVoicesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListVoicesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListVoicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeVoices(int index)
public ListVoicesResponse.Builder removeVoices(int index)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListVoicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListVoicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListVoicesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVoices(int index, Voice value)
public ListVoicesResponse.Builder setVoices(int index, Voice value)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameters
Returns
setVoices(int index, Voice.Builder builderForValue)
public ListVoicesResponse.Builder setVoices(int index, Voice.Builder builderForValue)
The list of voices.
repeated .google.cloud.texttospeech.v1beta1.Voice voices = 1;
Parameters
Returns