public interface ExampleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
String |
getSourceText()
Sentence in source language.
|
com.google.protobuf.ByteString |
getSourceTextBytes()
Sentence in source language.
|
String |
getTargetText()
Sentence in target language.
|
com.google.protobuf.ByteString |
getTargetTextBytes()
Sentence in target language.
|
String |
getUsage()
Output only.
|
com.google.protobuf.ByteString |
getUsageBytes()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];com.google.protobuf.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];String getSourceText()
Sentence in source language.
string source_text = 2;com.google.protobuf.ByteString getSourceTextBytes()
Sentence in source language.
string source_text = 2;String getTargetText()
Sentence in target language.
string target_text = 3;com.google.protobuf.ByteString getTargetTextBytes()
Sentence in target language.
string target_text = 3;String getUsage()
Output only. Usage of the sentence pair. Options are TRAIN|VALIDATION|TEST.
string usage = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getUsageBytes()
Output only. Usage of the sentence pair. Options are TRAIN|VALIDATION|TEST.
string usage = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2024 Google LLC. All rights reserved.