Interface ExampleOrBuilder (2.49.0)

public interface ExampleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Output only. The resource name of the example, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name of the example, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getSourceText()

public abstract String getSourceText()

Sentence in source language.

string source_text = 2;

Returns
Type Description
String

The sourceText.

getSourceTextBytes()

public abstract ByteString getSourceTextBytes()

Sentence in source language.

string source_text = 2;

Returns
Type Description
ByteString

The bytes for sourceText.

getTargetText()

public abstract String getTargetText()

Sentence in target language.

string target_text = 3;

Returns
Type Description
String

The targetText.

getTargetTextBytes()

public abstract ByteString getTargetTextBytes()

Sentence in target language.

string target_text = 3;

Returns
Type Description
ByteString

The bytes for targetText.

getUsage()

public abstract String getUsage()

Output only. Usage of the sentence pair. Options are TRAIN|VALIDATION|TEST.

string usage = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The usage.

getUsageBytes()

public abstract ByteString getUsageBytes()

Output only. Usage of the sentence pair. Options are TRAIN|VALIDATION|TEST.

string usage = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for usage.