public interface SessionInputOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAudio()
public abstract ByteString getAudio()Optional. Audio data from the end user.
bytes audio = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The audio. |
getBlob()
public abstract Blob getBlob()Optional. Blob data from the end user.
.google.cloud.ces.v1.Blob blob = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Blob |
The blob. |
getBlobOrBuilder()
public abstract BlobOrBuilder getBlobOrBuilder()Optional. Blob data from the end user.
.google.cloud.ces.v1.Blob blob = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BlobOrBuilder |
|
getDtmf()
public abstract String getDtmf()Optional. DTMF digits from the end user.
string dtmf = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The dtmf. |
getDtmfBytes()
public abstract ByteString getDtmfBytes()Optional. DTMF digits from the end user.
string dtmf = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dtmf. |
getEvent()
public abstract Event getEvent()Optional. Event input.
.google.cloud.ces.v1.Event event = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Event |
The event. |
getEventOrBuilder()
public abstract EventOrBuilder getEventOrBuilder()Optional. Event input.
.google.cloud.ces.v1.Event event = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EventOrBuilder |
|
getImage()
public abstract Image getImage()Optional. Image data from the end user.
.google.cloud.ces.v1.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Image |
The image. |
getImageOrBuilder()
public abstract ImageOrBuilder getImageOrBuilder()Optional. Image data from the end user.
.google.cloud.ces.v1.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageOrBuilder |
|
getInputTypeCase()
public abstract SessionInput.InputTypeCase getInputTypeCase()| Returns | |
|---|---|
| Type | Description |
SessionInput.InputTypeCase |
|
getText()
public abstract String getText()Optional. Text data from the end user.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()Optional. Text data from the end user.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
getToolResponses()
public abstract ToolResponses getToolResponses()Optional. Execution results for the tool calls from the client.
.google.cloud.ces.v1.ToolResponses tool_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ToolResponses |
The toolResponses. |
getToolResponsesOrBuilder()
public abstract ToolResponsesOrBuilder getToolResponsesOrBuilder()Optional. Execution results for the tool calls from the client.
.google.cloud.ces.v1.ToolResponses tool_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ToolResponsesOrBuilder |
|
getVariables()
public abstract Struct getVariables()Optional. Contextual variables for the session, keyed by name. Only variables declared in the app will be used by the CES agent.
Unrecognized variables will still be sent to the Dialogflow agent as additional session parameters.
.google.protobuf.Struct variables = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The variables. |
getVariablesOrBuilder()
public abstract StructOrBuilder getVariablesOrBuilder()Optional. Contextual variables for the session, keyed by name. Only variables declared in the app will be used by the CES agent.
Unrecognized variables will still be sent to the Dialogflow agent as additional session parameters.
.google.protobuf.Struct variables = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getWillContinue()
public abstract boolean getWillContinue() Optional. A flag to indicate if the current message is a fragment of a
larger input in the bidi streaming session. When true, the agent will
defer processing until a subsequent message with will_continue set to
false is received.
Note: This flag has no effect on audio and DTMF inputs, which are always processed in real-time.
bool will_continue = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The willContinue. |
hasAudio()
public abstract boolean hasAudio()Optional. Audio data from the end user.
bytes audio = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the audio field is set. |
hasBlob()
public abstract boolean hasBlob()Optional. Blob data from the end user.
.google.cloud.ces.v1.Blob blob = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the blob field is set. |
hasDtmf()
public abstract boolean hasDtmf()Optional. DTMF digits from the end user.
string dtmf = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dtmf field is set. |
hasEvent()
public abstract boolean hasEvent()Optional. Event input.
.google.cloud.ces.v1.Event event = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the event field is set. |
hasImage()
public abstract boolean hasImage()Optional. Image data from the end user.
.google.cloud.ces.v1.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the image field is set. |
hasText()
public abstract boolean hasText()Optional. Text data from the end user.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the text field is set. |
hasToolResponses()
public abstract boolean hasToolResponses()Optional. Execution results for the tool calls from the client.
.google.cloud.ces.v1.ToolResponses tool_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the toolResponses field is set. |
hasVariables()
public abstract boolean hasVariables()Optional. Contextual variables for the session, keyed by name. Only variables declared in the app will be used by the CES agent.
Unrecognized variables will still be sent to the Dialogflow agent as additional session parameters.
.google.protobuf.Struct variables = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the variables field is set. |