Package com.google.cloud.dialogflow.v2
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 TypeMethodDescriptionIf the context content was generated from a tool call, specify the answer record associated with the tool call.com.google.protobuf.ByteStringIf the context content was generated from a tool call, specify the answer record associated with the tool call.Required.com.google.protobuf.ByteStringRequired.Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
Conversation.ContextReference.ContextContent.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.
-