Class TranslateTextGlossaryConfig (2.9.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class TranslateTextGlossaryConfig extends GeneratedMessageV3 implements TranslateTextGlossaryConfigOrBuilder

Configures which glossary should be used for a specific target language, and defines options for applying that glossary.

Protobuf type google.cloud.translation.v3beta1.TranslateTextGlossaryConfig

Static Fields

GLOSSARY_FIELD_NUMBER

public static final int GLOSSARY_FIELD_NUMBER
Field Value
TypeDescription
int

IGNORE_CASE_FIELD_NUMBER

public static final int IGNORE_CASE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TranslateTextGlossaryConfig getDefaultInstance()
Returns
TypeDescription
TranslateTextGlossaryConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TranslateTextGlossaryConfig.Builder newBuilder()
Returns
TypeDescription
TranslateTextGlossaryConfig.Builder

newBuilder(TranslateTextGlossaryConfig prototype)

public static TranslateTextGlossaryConfig.Builder newBuilder(TranslateTextGlossaryConfig prototype)
Parameter
NameDescription
prototypeTranslateTextGlossaryConfig
Returns
TypeDescription
TranslateTextGlossaryConfig.Builder

parseDelimitedFrom(InputStream input)

public static TranslateTextGlossaryConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TranslateTextGlossaryConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranslateTextGlossaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslateTextGlossaryConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TranslateTextGlossaryConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TranslateTextGlossaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TranslateTextGlossaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslateTextGlossaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TranslateTextGlossaryConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TranslateTextGlossaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TranslateTextGlossaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslateTextGlossaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException