Interface IngestContextReferencesRequestOrBuilder

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

@Generated public interface IngestContextReferencesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getConversation

      String getConversation()
       Required. Resource identifier of the conversation to ingest context
       information for. Format: `projects/<Project ID>/locations/<Location
       ID>/conversations/<Conversation ID>`.
       
      string conversation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The conversation.
    • getConversationBytes

      com.google.protobuf.ByteString getConversationBytes()
       Required. Resource identifier of the conversation to ingest context
       information for. Format: `projects/<Project ID>/locations/<Location
       ID>/conversations/<Conversation ID>`.
       
      string conversation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for conversation.
    • getContextReferencesCount

      int getContextReferencesCount()
       Required. The context references to ingest. The key is the name of the
       context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
    • containsContextReferences

      boolean containsContextReferences(String key)
       Required. The context references to ingest. The key is the name of the
       context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
    • getContextReferences

      Deprecated.
    • getContextReferencesMap

      Map<String,Conversation.ContextReference> getContextReferencesMap()
       Required. The context references to ingest. The key is the name of the
       context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
    • getContextReferencesOrDefault

      Conversation.ContextReference getContextReferencesOrDefault(String key, Conversation.ContextReference defaultValue)
       Required. The context references to ingest. The key is the name of the
       context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];
    • getContextReferencesOrThrow

      Conversation.ContextReference getContextReferencesOrThrow(String key)
       Required. The context references to ingest. The key is the name of the
       context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 2 [(.google.api.field_behavior) = REQUIRED];