public static final class AdvancedVoiceOptions.SafetySettings.Builder extends GeneratedMessage.Builder<AdvancedVoiceOptions.SafetySettings.Builder> implements AdvancedVoiceOptions.SafetySettingsOrBuilder
Safety settings for the request.
Protobuf type google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySettings
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSettings(Iterable<? extends AdvancedVoiceOptions.SafetySetting> values)
public AdvancedVoiceOptions.SafetySettings.Builder addAllSettings(Iterable<? extends AdvancedVoiceOptions.SafetySetting> values)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting>
|
addSettings(AdvancedVoiceOptions.SafetySetting value)
public AdvancedVoiceOptions.SafetySettings.Builder addSettings(AdvancedVoiceOptions.SafetySetting value)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
addSettings(AdvancedVoiceOptions.SafetySetting.Builder builderForValue)
public AdvancedVoiceOptions.SafetySettings.Builder addSettings(AdvancedVoiceOptions.SafetySetting.Builder builderForValue)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
addSettings(int index, AdvancedVoiceOptions.SafetySetting value)
public AdvancedVoiceOptions.SafetySettings.Builder addSettings(int index, AdvancedVoiceOptions.SafetySetting value)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
addSettings(int index, AdvancedVoiceOptions.SafetySetting.Builder builderForValue)
public AdvancedVoiceOptions.SafetySettings.Builder addSettings(int index, AdvancedVoiceOptions.SafetySetting.Builder builderForValue)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
addSettingsBuilder()
public AdvancedVoiceOptions.SafetySetting.Builder addSettingsBuilder()
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
addSettingsBuilder(int index)
public AdvancedVoiceOptions.SafetySetting.Builder addSettingsBuilder(int index)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public AdvancedVoiceOptions.SafetySettings build()
buildPartial()
public AdvancedVoiceOptions.SafetySettings buildPartial()
clear()
public AdvancedVoiceOptions.SafetySettings.Builder clear()
Overrides
clearSettings()
public AdvancedVoiceOptions.SafetySettings.Builder clearSettings()
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
getDefaultInstanceForType()
public AdvancedVoiceOptions.SafetySettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSettings(int index)
public AdvancedVoiceOptions.SafetySetting getSettings(int index)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSettingsBuilder(int index)
public AdvancedVoiceOptions.SafetySetting.Builder getSettingsBuilder(int index)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSettingsBuilderList()
public List<AdvancedVoiceOptions.SafetySetting.Builder> getSettingsBuilderList()
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
getSettingsCount()
public int getSettingsCount()
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
| Returns |
| Type |
Description |
int |
|
getSettingsList()
public List<AdvancedVoiceOptions.SafetySetting> getSettingsList()
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
getSettingsOrBuilder(int index)
public AdvancedVoiceOptions.SafetySettingOrBuilder getSettingsOrBuilder(int index)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSettingsOrBuilderList()
public List<? extends AdvancedVoiceOptions.SafetySettingOrBuilder> getSettingsOrBuilderList()
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySettingOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AdvancedVoiceOptions.SafetySettings other)
public AdvancedVoiceOptions.SafetySettings.Builder mergeFrom(AdvancedVoiceOptions.SafetySettings other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdvancedVoiceOptions.SafetySettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AdvancedVoiceOptions.SafetySettings.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeSettings(int index)
public AdvancedVoiceOptions.SafetySettings.Builder removeSettings(int index)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
| Parameter |
| Name |
Description |
index |
int
|
setSettings(int index, AdvancedVoiceOptions.SafetySetting value)
public AdvancedVoiceOptions.SafetySettings.Builder setSettings(int index, AdvancedVoiceOptions.SafetySetting value)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;
setSettings(int index, AdvancedVoiceOptions.SafetySetting.Builder builderForValue)
public AdvancedVoiceOptions.SafetySettings.Builder setSettings(int index, AdvancedVoiceOptions.SafetySetting.Builder builderForValue)
The safety settings for the request.
repeated .google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting settings = 1;