public static final class StreamingReactiveCompanionSuggestionsRequest.Builder extends GeneratedMessage.Builder<StreamingReactiveCompanionSuggestionsRequest.Builder> implements StreamingReactiveCompanionSuggestionsRequestOrBuilderThe request message for Participants.StreamingReactiveCompanionSuggestions.
Protobuf type google.cloud.dialogflow.v2.StreamingReactiveCompanionSuggestionsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamingReactiveCompanionSuggestionsRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StreamingReactiveCompanionSuggestionsRequest build()| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest |
|
buildPartial()
public StreamingReactiveCompanionSuggestionsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest |
|
clear()
public StreamingReactiveCompanionSuggestionsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
clearCancelReactiveQuery()
public StreamingReactiveCompanionSuggestionsRequest.Builder clearCancelReactiveQuery()Signals to cancel the current ongoing reactive query processing.
.google.cloud.dialogflow.v2.CancelQuery cancel_reactive_query = 3;
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
clearInput()
public StreamingReactiveCompanionSuggestionsRequest.Builder clearInput()| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
clearParticipant()
public StreamingReactiveCompanionSuggestionsRequest.Builder clearParticipant() Required. The human-agent participant name.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
This builder for chaining. |
clearSuggestionInput()
public StreamingReactiveCompanionSuggestionsRequest.Builder clearSuggestionInput()An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 5;
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
clearTextInput()
public StreamingReactiveCompanionSuggestionsRequest.Builder clearTextInput()The natural language text to be processed.
string text_input = 2;
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
This builder for chaining. |
getCancelReactiveQuery()
public CancelQuery getCancelReactiveQuery()Signals to cancel the current ongoing reactive query processing.
.google.cloud.dialogflow.v2.CancelQuery cancel_reactive_query = 3;
| Returns | |
|---|---|
| Type | Description |
CancelQuery |
The cancelReactiveQuery. |
getCancelReactiveQueryBuilder()
public CancelQuery.Builder getCancelReactiveQueryBuilder()Signals to cancel the current ongoing reactive query processing.
.google.cloud.dialogflow.v2.CancelQuery cancel_reactive_query = 3;
| Returns | |
|---|---|
| Type | Description |
CancelQuery.Builder |
|
getCancelReactiveQueryOrBuilder()
public CancelQueryOrBuilder getCancelReactiveQueryOrBuilder()Signals to cancel the current ongoing reactive query processing.
.google.cloud.dialogflow.v2.CancelQuery cancel_reactive_query = 3;
| Returns | |
|---|---|
| Type | Description |
CancelQueryOrBuilder |
|
getDefaultInstanceForType()
public StreamingReactiveCompanionSuggestionsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInputCase()
public StreamingReactiveCompanionSuggestionsRequest.InputCase getInputCase()| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.InputCase |
|
getParticipant()
public String getParticipant() Required. The human-agent participant name.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The participant. |
getParticipantBytes()
public ByteString getParticipantBytes() Required. The human-agent participant name.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for participant. |
getSuggestionInput()
public SuggestionInput getSuggestionInput()An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 5;
| Returns | |
|---|---|
| Type | Description |
SuggestionInput |
The suggestionInput. |
getSuggestionInputBuilder()
public SuggestionInput.Builder getSuggestionInputBuilder()An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 5;
| Returns | |
|---|---|
| Type | Description |
SuggestionInput.Builder |
|
getSuggestionInputOrBuilder()
public SuggestionInputOrBuilder getSuggestionInputOrBuilder()An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 5;
| Returns | |
|---|---|
| Type | Description |
SuggestionInputOrBuilder |
|
getTextInput()
public String getTextInput()The natural language text to be processed.
string text_input = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The textInput. |
getTextInputBytes()
public ByteString getTextInputBytes()The natural language text to be processed.
string text_input = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for textInput. |
hasCancelReactiveQuery()
public boolean hasCancelReactiveQuery()Signals to cancel the current ongoing reactive query processing.
.google.cloud.dialogflow.v2.CancelQuery cancel_reactive_query = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cancelReactiveQuery field is set. |
hasSuggestionInput()
public boolean hasSuggestionInput()An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the suggestionInput field is set. |
hasTextInput()
public boolean hasTextInput()The natural language text to be processed.
string text_input = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the textInput field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCancelReactiveQuery(CancelQuery value)
public StreamingReactiveCompanionSuggestionsRequest.Builder mergeCancelReactiveQuery(CancelQuery value)Signals to cancel the current ongoing reactive query processing.
.google.cloud.dialogflow.v2.CancelQuery cancel_reactive_query = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
CancelQuery |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
mergeFrom(StreamingReactiveCompanionSuggestionsRequest other)
public StreamingReactiveCompanionSuggestionsRequest.Builder mergeFrom(StreamingReactiveCompanionSuggestionsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamingReactiveCompanionSuggestionsRequest |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingReactiveCompanionSuggestionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamingReactiveCompanionSuggestionsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
mergeSuggestionInput(SuggestionInput value)
public StreamingReactiveCompanionSuggestionsRequest.Builder mergeSuggestionInput(SuggestionInput value)An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
SuggestionInput |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
setCancelReactiveQuery(CancelQuery value)
public StreamingReactiveCompanionSuggestionsRequest.Builder setCancelReactiveQuery(CancelQuery value)Signals to cancel the current ongoing reactive query processing.
.google.cloud.dialogflow.v2.CancelQuery cancel_reactive_query = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
CancelQuery |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
setCancelReactiveQuery(CancelQuery.Builder builderForValue)
public StreamingReactiveCompanionSuggestionsRequest.Builder setCancelReactiveQuery(CancelQuery.Builder builderForValue)Signals to cancel the current ongoing reactive query processing.
.google.cloud.dialogflow.v2.CancelQuery cancel_reactive_query = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CancelQuery.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
setParticipant(String value)
public StreamingReactiveCompanionSuggestionsRequest.Builder setParticipant(String value) Required. The human-agent participant name.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe participant to set. |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
This builder for chaining. |
setParticipantBytes(ByteString value)
public StreamingReactiveCompanionSuggestionsRequest.Builder setParticipantBytes(ByteString value) Required. The human-agent participant name.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for participant to set. |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
This builder for chaining. |
setSuggestionInput(SuggestionInput value)
public StreamingReactiveCompanionSuggestionsRequest.Builder setSuggestionInput(SuggestionInput value)An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
SuggestionInput |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
setSuggestionInput(SuggestionInput.Builder builderForValue)
public StreamingReactiveCompanionSuggestionsRequest.Builder setSuggestionInput(SuggestionInput.Builder builderForValue)An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SuggestionInput.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
|
setTextInput(String value)
public StreamingReactiveCompanionSuggestionsRequest.Builder setTextInput(String value)The natural language text to be processed.
string text_input = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe textInput to set. |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
This builder for chaining. |
setTextInputBytes(ByteString value)
public StreamingReactiveCompanionSuggestionsRequest.Builder setTextInputBytes(ByteString value)The natural language text to be processed.
string text_input = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for textInput to set. |
| Returns | |
|---|---|
| Type | Description |
StreamingReactiveCompanionSuggestionsRequest.Builder |
This builder for chaining. |