Interface TranslateTextGlossaryConfigOrBuilder (2.3.2)

public interface TranslateTextGlossaryConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGlossary()

public abstract String getGlossary()

Required. The glossary to be applied for this translation. The format depends on glossary:

  • User provided custom glossary: projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}

string glossary = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The glossary.

getGlossaryBytes()

public abstract ByteString getGlossaryBytes()

Required. The glossary to be applied for this translation. The format depends on glossary:

  • User provided custom glossary: projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}

string glossary = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for glossary.

getIgnoreCase()

public abstract boolean getIgnoreCase()

Optional. Indicates match is case-insensitive. Default value is false if missing.

bool ignore_case = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The ignoreCase.