Package com.google.cloud.translate.v3
Interface GlossaryEntry.GlossaryTermsPairOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GlossaryEntry.GlossaryTermsPair,GlossaryEntry.GlossaryTermsPair.Builder
- Enclosing class:
- GlossaryEntry
public static interface GlossaryEntry.GlossaryTermsPairOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe source term is the term that will get match in the text,The source term is the term that will get match in the text,The term that will replace the match source term.The term that will replace the match source term.booleanThe source term is the term that will get match in the text,booleanThe term that will replace the match source term.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSourceTerm
boolean hasSourceTerm()The source term is the term that will get match in the text,
.google.cloud.translation.v3.GlossaryTerm source_term = 1;- Returns:
- Whether the sourceTerm field is set.
-
getSourceTerm
GlossaryTerm getSourceTerm()The source term is the term that will get match in the text,
.google.cloud.translation.v3.GlossaryTerm source_term = 1;- Returns:
- The sourceTerm.
-
getSourceTermOrBuilder
GlossaryTermOrBuilder getSourceTermOrBuilder()The source term is the term that will get match in the text,
.google.cloud.translation.v3.GlossaryTerm source_term = 1; -
hasTargetTerm
boolean hasTargetTerm()The term that will replace the match source term.
.google.cloud.translation.v3.GlossaryTerm target_term = 2;- Returns:
- Whether the targetTerm field is set.
-
getTargetTerm
GlossaryTerm getTargetTerm()The term that will replace the match source term.
.google.cloud.translation.v3.GlossaryTerm target_term = 2;- Returns:
- The targetTerm.
-
getTargetTermOrBuilder
GlossaryTermOrBuilder getTargetTermOrBuilder()The term that will replace the match source term.
.google.cloud.translation.v3.GlossaryTerm target_term = 2;
-