Interface TextInputOrBuilder

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

    public interface TextInputOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getText()
      Required.
      com.google.protobuf.ByteString getTextBytes()
      Required.
      • 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 Detail

      • getText

        String getText()
         Required. The UTF-8 encoded natural language text to be processed. Text
         length must not exceed 256 characters.
         
        string text = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The text.
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
         Required. The UTF-8 encoded natural language text to be processed. Text
         length must not exceed 256 characters.
         
        string text = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for text.