Interface IngestContextReferencesRequestOrBuilder (4.66.0)

public interface IngestContextReferencesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsContextReferences(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
boolean

getContextReferences() (deprecated)

public abstract Map<String,Conversation.ContextReference> getContextReferences()
Returns
Type Description
Map<String,ContextReference>

getContextReferencesCount()

public abstract 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];

Returns
Type Description
int

getContextReferencesMap()

public abstract 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];

Returns
Type Description
Map<String,ContextReference>

getContextReferencesOrDefault(String key, Conversation.ContextReference defaultValue)

public abstract 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];

Parameters
Name Description
key String
defaultValue Conversation.ContextReference
Returns
Type Description
Conversation.ContextReference

getContextReferencesOrThrow(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
Conversation.ContextReference

getConversation()

public abstract 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
Type Description
String

The conversation.

getConversationBytes()

public abstract 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
Type Description
ByteString

The bytes for conversation.