Interface CompileSuggestionRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      int getContextSize()
      Deprecated.
      Optional.
      String getLatestMessage()
      Deprecated.
      Optional.
      com.google.protobuf.ByteString getLatestMessageBytes()
      Deprecated.
      Optional.
      String getParent()
      Deprecated.
      Required.
      com.google.protobuf.ByteString getParentBytes()
      Deprecated.
      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

      • getParent

        String getParent()
        Deprecated.
         Required. The name of the participant to fetch suggestion for.
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
         
        string parent = 1;
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
        Deprecated.
         Required. The name of the participant to fetch suggestion for.
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
         
        string parent = 1;
        Returns:
        The bytes for parent.
      • getLatestMessage

        String getLatestMessage()
        Deprecated.
         Optional. The name of the latest conversation message to compile suggestion
         for. If empty, it will be the latest message of the conversation.
        
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/messages/<Message ID>`.
         
        string latest_message = 2;
        Returns:
        The latestMessage.
      • getLatestMessageBytes

        com.google.protobuf.ByteString getLatestMessageBytes()
        Deprecated.
         Optional. The name of the latest conversation message to compile suggestion
         for. If empty, it will be the latest message of the conversation.
        
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/messages/<Message ID>`.
         
        string latest_message = 2;
        Returns:
        The bytes for latestMessage.
      • getContextSize

        int getContextSize()
        Deprecated.
         Optional. Max number of messages prior to and including
         [latest_message] to use as context when compiling the
         suggestion. If zero or less than zero, 20 is used.
         
        int32 context_size = 3;
        Returns:
        The contextSize.