Package com.google.cloud.translate.v3
Interface TranslateTextGlossaryConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TranslateTextGlossaryConfig
,TranslateTextGlossaryConfig.Builder
public interface TranslateTextGlossaryConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getGlossary()
Required.com.google.protobuf.ByteString
getGlossaryBytes()
Required.boolean
getIgnoreCase()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getGlossary
String getGlossary()
Required. The `glossary` to be applied for this translation. The format depends on the 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:
- The glossary.
-
getGlossaryBytes
com.google.protobuf.ByteString getGlossaryBytes()
Required. The `glossary` to be applied for this translation. The format depends on the 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:
- The bytes for glossary.
-
getIgnoreCase
boolean getIgnoreCase()
Optional. Indicates match is case insensitive. The default value is `false` if missing.
bool ignore_case = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The ignoreCase.
-
-