public static interface GlossaryEntry.GlossaryTermsPairOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getSourceTerm()
public abstract GlossaryTerm getSourceTerm()The source term is the term that will get match in the text,
.google.cloud.translation.v3.GlossaryTerm source_term = 1;
| Returns | |
|---|---|
| Type | Description |
GlossaryTerm |
The sourceTerm. |
getSourceTermOrBuilder()
public abstract GlossaryTermOrBuilder getSourceTermOrBuilder()The source term is the term that will get match in the text,
.google.cloud.translation.v3.GlossaryTerm source_term = 1;
| Returns | |
|---|---|
| Type | Description |
GlossaryTermOrBuilder |
|
getTargetTerm()
public abstract GlossaryTerm getTargetTerm()The term that will replace the match source term.
.google.cloud.translation.v3.GlossaryTerm target_term = 2;
| Returns | |
|---|---|
| Type | Description |
GlossaryTerm |
The targetTerm. |
getTargetTermOrBuilder()
public abstract GlossaryTermOrBuilder getTargetTermOrBuilder()The term that will replace the match source term.
.google.cloud.translation.v3.GlossaryTerm target_term = 2;
| Returns | |
|---|---|
| Type | Description |
GlossaryTermOrBuilder |
|
hasSourceTerm()
public abstract boolean hasSourceTerm()The source term is the term that will get match in the text,
.google.cloud.translation.v3.GlossaryTerm source_term = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceTerm field is set. |
hasTargetTerm()
public abstract boolean hasTargetTerm()The term that will replace the match source term.
.google.cloud.translation.v3.GlossaryTerm target_term = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetTerm field is set. |