com.google.cloud.dialogflow.v2.ContextOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/v2/context.proto
package com.google.cloud.dialogflow.v2;
public interface ContextOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.Context)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The unique identifier of the context. Format:
* `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
* The `Context ID` is always converted to lowercase, may only contain
* characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
*
*
* Required. The unique identifier of the context. Format:
* `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
* The `Context ID` is always converted to lowercase, may only contain
* characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
*
*
* string name = 1;
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Optional. The number of conversational query requests after which the
* context expires. If set to `0` (the default) the context expires
* immediately. Contexts expire automatically after 20 minutes if there
* are no matching queries.
*
*
* int32 lifespan_count = 2;
*/
int getLifespanCount();
/**
*
*
*
* Optional. The collection of parameters associated with this context.
* Refer to [this
* doc](https://cloud.google.com/dialogflow-enterprise/docs/intents-actions-parameters)
* for syntax.
*
*
* .google.protobuf.Struct parameters = 3;
*/
boolean hasParameters();
/**
*
*
*
* Optional. The collection of parameters associated with this context.
* Refer to [this
* doc](https://cloud.google.com/dialogflow-enterprise/docs/intents-actions-parameters)
* for syntax.
*
*
* .google.protobuf.Struct parameters = 3;
*/
com.google.protobuf.Struct getParameters();
/**
*
*
*
* Optional. The collection of parameters associated with this context.
* Refer to [this
* doc](https://cloud.google.com/dialogflow-enterprise/docs/intents-actions-parameters)
* for syntax.
*
*
* .google.protobuf.Struct parameters = 3;
*/
com.google.protobuf.StructOrBuilder getParametersOrBuilder();
}