Interface Conversation.ContextReference.ContextContentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Conversation.ContextReference.ContextContent, Conversation.ContextReference.ContextContent.Builder
Enclosing class:
Conversation.ContextReference

public static interface Conversation.ContextReference.ContextContentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    If the context content was generated from a tool call, specify the answer record associated with the tool call.
    com.google.protobuf.ByteString
    If the context content was generated from a tool call, specify the answer record associated with the tool call.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    int
    Required.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    boolean
    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

    • getContent

      String getContent()
       Required. The information ingested in a single request.
       
      string content = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The content.
    • getContentBytes

      com.google.protobuf.ByteString getContentBytes()
       Required. The information ingested in a single request.
       
      string content = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for content.
    • getContentFormatValue

      int getContentFormatValue()
       Required. The format of the ingested string.
       
      .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent.ContentFormat content_format = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for contentFormat.
    • getContentFormat

       Required. The format of the ingested string.
       
      .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent.ContentFormat content_format = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The contentFormat.
    • hasIngestionTime

      boolean hasIngestionTime()
       Output only. The time when this information was incorporated into the
       relevant context reference.
       
      .google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the ingestionTime field is set.
    • getIngestionTime

      com.google.protobuf.Timestamp getIngestionTime()
       Output only. The time when this information was incorporated into the
       relevant context reference.
       
      .google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The ingestionTime.
    • getIngestionTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getIngestionTimeOrBuilder()
       Output only. The time when this information was incorporated into the
       relevant context reference.
       
      .google.protobuf.Timestamp ingestion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAnswerRecord

      String getAnswerRecord()
       If the context content was generated from a tool call, specify the
       answer record associated with the tool call.
       Format: `projects/<Project ID>/locations/<Location
       ID>/answerRecords/<Answer Record ID>`.
       
      string answer_record = 4;
      Returns:
      The answerRecord.
    • getAnswerRecordBytes

      com.google.protobuf.ByteString getAnswerRecordBytes()
       If the context content was generated from a tool call, specify the
       answer record associated with the tool call.
       Format: `projects/<Project ID>/locations/<Location
       ID>/answerRecords/<Answer Record ID>`.
       
      string answer_record = 4;
      Returns:
      The bytes for answerRecord.