- 4.87.0 (latest)
- 4.86.0
- 4.84.0
- 4.82.0
- 4.81.0
- 4.80.0
- 4.79.0
- 4.78.0
- 4.76.0
- 4.74.0
- 4.73.0
- 4.70.0
- 4.69.0
- 4.68.0
- 4.66.0
- 4.65.0
- 4.64.0
- 4.63.0
- 4.62.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class BidiStreamingAnalyzeContentRequest.TurnInput.Builder extends GeneratedMessageV3.Builder<BidiStreamingAnalyzeContentRequest.TurnInput.Builder> implements BidiStreamingAnalyzeContentRequest.TurnInputOrBuilderInput that forms data for a single turn.
Protobuf type
google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BidiStreamingAnalyzeContentRequest.TurnInput.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
build()
public BidiStreamingAnalyzeContentRequest.TurnInput build()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput |
|
buildPartial()
public BidiStreamingAnalyzeContentRequest.TurnInput buildPartial()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput |
|
clear()
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder clear()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
clearEvent()
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder clearEvent()The input event name. This can only be sent once and would cancel the ongoing speech recognition if any. To trigger the Welcome intent use the event "WELCOME"
string event = 3;
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
clearIntent()
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder clearIntent() The intent to be triggered on V3 agent.
Format: projects/<Project ID>/locations/<Location ID>/locations/
<Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be
used to trigger the Welcome intent id if the modality is text.
string intent = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
This builder for chaining. |
clearMainContent()
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder clearMainContent()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
clearText()
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder clearText()The UTF-8 encoded natural language text to be processed.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
This builder for chaining. |
clearVirtualAgentParameters()
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder clearVirtualAgentParameters()Optional. Parameters to be passed to the virtual agent.
.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
clone()
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder clone()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
getDefaultInstanceForType()
public BidiStreamingAnalyzeContentRequest.TurnInput getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEvent()
public String getEvent()The input event name. This can only be sent once and would cancel the ongoing speech recognition if any. To trigger the Welcome intent use the event "WELCOME"
string event = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The event. |
getEventBytes()
public ByteString getEventBytes()The input event name. This can only be sent once and would cancel the ongoing speech recognition if any. To trigger the Welcome intent use the event "WELCOME"
string event = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for event. |
getIntent()
public String getIntent() The intent to be triggered on V3 agent.
Format: projects/<Project ID>/locations/<Location ID>/locations/
<Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be
used to trigger the Welcome intent id if the modality is text.
string intent = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The intent. |
getIntentBytes()
public ByteString getIntentBytes() The intent to be triggered on V3 agent.
Format: projects/<Project ID>/locations/<Location ID>/locations/
<Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be
used to trigger the Welcome intent id if the modality is text.
string intent = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for intent. |
getMainContentCase()
public BidiStreamingAnalyzeContentRequest.TurnInput.MainContentCase getMainContentCase()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.MainContentCase |
|
getText()
public String getText()The UTF-8 encoded natural language text to be processed.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public ByteString getTextBytes()The UTF-8 encoded natural language text to be processed.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
getVirtualAgentParameters()
public Struct getVirtualAgentParameters()Optional. Parameters to be passed to the virtual agent.
.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The virtualAgentParameters. |
getVirtualAgentParametersBuilder()
public Struct.Builder getVirtualAgentParametersBuilder()Optional. Parameters to be passed to the virtual agent.
.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getVirtualAgentParametersOrBuilder()
public StructOrBuilder getVirtualAgentParametersOrBuilder()Optional. Parameters to be passed to the virtual agent.
.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
hasEvent()
public boolean hasEvent()The input event name. This can only be sent once and would cancel the ongoing speech recognition if any. To trigger the Welcome intent use the event "WELCOME"
string event = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the event field is set. |
hasIntent()
public boolean hasIntent() The intent to be triggered on V3 agent.
Format: projects/<Project ID>/locations/<Location ID>/locations/
<Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be
used to trigger the Welcome intent id if the modality is text.
string intent = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the intent field is set. |
hasText()
public boolean hasText()The UTF-8 encoded natural language text to be processed.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the text field is set. |
hasVirtualAgentParameters()
public boolean hasVirtualAgentParameters()Optional. Parameters to be passed to the virtual agent.
.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the virtualAgentParameters field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BidiStreamingAnalyzeContentRequest.TurnInput other)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder mergeFrom(BidiStreamingAnalyzeContentRequest.TurnInput other)| Parameter | |
|---|---|
| Name | Description |
other |
BidiStreamingAnalyzeContentRequest.TurnInput |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BidiStreamingAnalyzeContentRequest.TurnInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
mergeVirtualAgentParameters(Struct value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder mergeVirtualAgentParameters(Struct value)Optional. Parameters to be passed to the virtual agent.
.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
setEvent(String value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setEvent(String value)The input event name. This can only be sent once and would cancel the ongoing speech recognition if any. To trigger the Welcome intent use the event "WELCOME"
string event = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe event to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
This builder for chaining. |
setEventBytes(ByteString value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setEventBytes(ByteString value)The input event name. This can only be sent once and would cancel the ongoing speech recognition if any. To trigger the Welcome intent use the event "WELCOME"
string event = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for event to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
setIntent(String value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setIntent(String value) The intent to be triggered on V3 agent.
Format: projects/<Project ID>/locations/<Location ID>/locations/
<Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be
used to trigger the Welcome intent id if the modality is text.
string intent = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe intent to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
This builder for chaining. |
setIntentBytes(ByteString value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setIntentBytes(ByteString value) The intent to be triggered on V3 agent.
Format: projects/<Project ID>/locations/<Location ID>/locations/
<Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be
used to trigger the Welcome intent id if the modality is text.
string intent = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for intent to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
setText(String value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setText(String value)The UTF-8 encoded natural language text to be processed.
string text = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe text to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
This builder for chaining. |
setTextBytes(ByteString value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setTextBytes(ByteString value)The UTF-8 encoded natural language text to be processed.
string text = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for text to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BidiStreamingAnalyzeContentRequest.TurnInput.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
setVirtualAgentParameters(Struct value)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setVirtualAgentParameters(Struct value)Optional. Parameters to be passed to the virtual agent.
.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|
setVirtualAgentParameters(Struct.Builder builderForValue)
public BidiStreamingAnalyzeContentRequest.TurnInput.Builder setVirtualAgentParameters(Struct.Builder builderForValue)Optional. Parameters to be passed to the virtual agent.
.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.Builder |
|