public static final class TransliterationConfig.Builder extends GeneratedMessageV3.Builder<TransliterationConfig.Builder> implements TransliterationConfigOrBuilder
Configures transliteration feature on top of translation.
Protobuf type google.cloud.translation.v3.TransliterationConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransliterationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TransliterationConfig build()
buildPartial()
public TransliterationConfig buildPartial()
clear()
public TransliterationConfig.Builder clear()
Overrides
clearEnableTransliteration()
public TransliterationConfig.Builder clearEnableTransliteration()
If true, source text in romanized form can be translated to the target
language.
bool enable_transliteration = 1;
clearField(Descriptors.FieldDescriptor field)
public TransliterationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransliterationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TransliterationConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public TransliterationConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnableTransliteration()
public boolean getEnableTransliteration()
If true, source text in romanized form can be translated to the target
language.
bool enable_transliteration = 1;
Returns |
Type |
Description |
boolean |
The enableTransliteration.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TransliterationConfig other)
public TransliterationConfig.Builder mergeFrom(TransliterationConfig other)
public TransliterationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransliterationConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransliterationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnableTransliteration(boolean value)
public TransliterationConfig.Builder setEnableTransliteration(boolean value)
If true, source text in romanized form can be translated to the target
language.
bool enable_transliteration = 1;
Parameter |
Name |
Description |
value |
boolean
The enableTransliteration to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TransliterationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransliterationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransliterationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides