Interface TextClassificationPredictionInstanceOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The text snippet to make the predictions on.
    com.google.protobuf.ByteString
    The text snippet to make the predictions on.
    The MIME type of the text snippet.
    com.google.protobuf.ByteString
    The MIME type of the text snippet.

    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

    • getContent

      String getContent()
       The text snippet to make the predictions on.
       
      string content = 1;
      Returns:
      The content.
    • getContentBytes

      com.google.protobuf.ByteString getContentBytes()
       The text snippet to make the predictions on.
       
      string content = 1;
      Returns:
      The bytes for content.
    • getMimeType

      String getMimeType()
       The MIME type of the text snippet. The supported MIME types are listed
       below.
       - text/plain
       
      string mime_type = 2;
      Returns:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.ByteString getMimeTypeBytes()
       The MIME type of the text snippet. The supported MIME types are listed
       below.
       - text/plain
       
      string mime_type = 2;
      Returns:
      The bytes for mimeType.