- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.9
- 2.3.0
- 2.2.1
- 2.1.5
public static final class ListVoicesRequest.Builder extends GeneratedMessageV3.Builder<ListVoicesRequest.Builder> implements ListVoicesRequestOrBuilder
The top-level message sent by the client for the ListVoices
method.
Protobuf type google.cloud.texttospeech.v1beta1.ListVoicesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListVoicesRequest.BuilderImplements
ListVoicesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListVoicesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListVoicesRequest.Builder |
build()
public ListVoicesRequest build()
Type | Description |
ListVoicesRequest |
buildPartial()
public ListVoicesRequest buildPartial()
Type | Description |
ListVoicesRequest |
clear()
public ListVoicesRequest.Builder clear()
Type | Description |
ListVoicesRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListVoicesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListVoicesRequest.Builder |
clearLanguageCode()
public ListVoicesRequest.Builder clearLanguageCode()
Optional. Recommended.
BCP-47 language tag.
If not specified, the API will return all supported voices.
If specified, the ListVoices call will only return voices that can be used
to synthesize this language_code. For example, if you specify "en-NZ"
,
all "en-NZ"
voices will be returned. If you specify "no"
, both
"no-\"
(Norwegian) and "nb-\"
(Norwegian Bokmal) voices will be
returned.
string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ListVoicesRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListVoicesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListVoicesRequest.Builder |
clone()
public ListVoicesRequest.Builder clone()
Type | Description |
ListVoicesRequest.Builder |
getDefaultInstanceForType()
public ListVoicesRequest getDefaultInstanceForType()
Type | Description |
ListVoicesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLanguageCode()
public String getLanguageCode()
Optional. Recommended.
BCP-47 language tag.
If not specified, the API will return all supported voices.
If specified, the ListVoices call will only return voices that can be used
to synthesize this language_code. For example, if you specify "en-NZ"
,
all "en-NZ"
voices will be returned. If you specify "no"
, both
"no-\"
(Norwegian) and "nb-\"
(Norwegian Bokmal) voices will be
returned.
string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Optional. Recommended.
BCP-47 language tag.
If not specified, the API will return all supported voices.
If specified, the ListVoices call will only return voices that can be used
to synthesize this language_code. For example, if you specify "en-NZ"
,
all "en-NZ"
voices will be returned. If you specify "no"
, both
"no-\"
(Norwegian) and "nb-\"
(Norwegian Bokmal) voices will be
returned.
string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for languageCode. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListVoicesRequest other)
public ListVoicesRequest.Builder mergeFrom(ListVoicesRequest other)
Name | Description |
other | ListVoicesRequest |
Type | Description |
ListVoicesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListVoicesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListVoicesRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListVoicesRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListVoicesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListVoicesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListVoicesRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListVoicesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListVoicesRequest.Builder |
setLanguageCode(String value)
public ListVoicesRequest.Builder setLanguageCode(String value)
Optional. Recommended.
BCP-47 language tag.
If not specified, the API will return all supported voices.
If specified, the ListVoices call will only return voices that can be used
to synthesize this language_code. For example, if you specify "en-NZ"
,
all "en-NZ"
voices will be returned. If you specify "no"
, both
"no-\"
(Norwegian) and "nb-\"
(Norwegian Bokmal) voices will be
returned.
string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The languageCode to set. |
Type | Description |
ListVoicesRequest.Builder | This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public ListVoicesRequest.Builder setLanguageCodeBytes(ByteString value)
Optional. Recommended.
BCP-47 language tag.
If not specified, the API will return all supported voices.
If specified, the ListVoices call will only return voices that can be used
to synthesize this language_code. For example, if you specify "en-NZ"
,
all "en-NZ"
voices will be returned. If you specify "no"
, both
"no-\"
(Norwegian) and "nb-\"
(Norwegian Bokmal) voices will be
returned.
string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for languageCode to set. |
Type | Description |
ListVoicesRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListVoicesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListVoicesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListVoicesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListVoicesRequest.Builder |