Interface ExampleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Example, Example.Builder

@Generated public interface ExampleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Sentence in source language.
    com.google.protobuf.ByteString
    Sentence in source language.
    Sentence in target language.
    com.google.protobuf.ByteString
    Sentence in target language.
    Output only.
    com.google.protobuf.ByteString
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      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:
      The name.
    • getNameBytes

      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];
      Returns:
      The bytes for name.
    • getSourceText

      String getSourceText()
       Sentence in source language.
       
      string source_text = 2;
      Returns:
      The sourceText.
    • getSourceTextBytes

      com.google.protobuf.ByteString getSourceTextBytes()
       Sentence in source language.
       
      string source_text = 2;
      Returns:
      The bytes for sourceText.
    • getTargetText

      String getTargetText()
       Sentence in target language.
       
      string target_text = 3;
      Returns:
      The targetText.
    • getTargetTextBytes

      com.google.protobuf.ByteString getTargetTextBytes()
       Sentence in target language.
       
      string target_text = 3;
      Returns:
      The bytes for targetText.
    • getUsage

      String getUsage()
       Output only. Usage of the sentence pair. Options are TRAIN|VALIDATION|TEST.
       
      string usage = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The usage.
    • getUsageBytes

      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];
      Returns:
      The bytes for usage.