Interface GlossaryEntry.GlossaryTermsPairOrBuilder (2.49.0)

public static interface GlossaryEntry.GlossaryTermsPairOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.