public static final class GenerativeInfo.Builder extends GeneratedMessage.Builder<GenerativeInfo.Builder> implements GenerativeInfoOrBuilderRepresents the information of a query if handled by generative agent resources.
Protobuf type google.cloud.dialogflow.cx.v3beta1.GenerativeInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerativeInfo.BuilderImplements
GenerativeInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCurrentPlaybooks(Iterable<String> values)
public GenerativeInfo.Builder addAllCurrentPlaybooks(Iterable<String> values)The stack of playbooks that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The currentPlaybooks to add. |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
This builder for chaining. |
addCurrentPlaybooks(String value)
public GenerativeInfo.Builder addCurrentPlaybooks(String value)The stack of playbooks that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe currentPlaybooks to add. |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
This builder for chaining. |
addCurrentPlaybooksBytes(ByteString value)
public GenerativeInfo.Builder addCurrentPlaybooksBytes(ByteString value)The stack of playbooks that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the currentPlaybooks to add. |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
This builder for chaining. |
build()
public GenerativeInfo build()| Returns | |
|---|---|
| Type | Description |
GenerativeInfo |
|
buildPartial()
public GenerativeInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerativeInfo |
|
clear()
public GenerativeInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
|
clearActionTracingInfo()
public GenerativeInfo.Builder clearActionTracingInfo()The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
|
clearCurrentPlaybooks()
public GenerativeInfo.Builder clearCurrentPlaybooks()The stack of playbooks that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
This builder for chaining. |
getActionTracingInfo()
public Example getActionTracingInfo()The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
| Returns | |
|---|---|
| Type | Description |
Example |
The actionTracingInfo. |
getActionTracingInfoBuilder()
public Example.Builder getActionTracingInfoBuilder()The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
| Returns | |
|---|---|
| Type | Description |
Example.Builder |
|
getActionTracingInfoOrBuilder()
public ExampleOrBuilder getActionTracingInfoOrBuilder()The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
| Returns | |
|---|---|
| Type | Description |
ExampleOrBuilder |
|
getCurrentPlaybooks(int index)
public String getCurrentPlaybooks(int index)The stack of playbooks that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The currentPlaybooks at the given index. |
getCurrentPlaybooksBytes(int index)
public ByteString getCurrentPlaybooksBytes(int index)The stack of playbooks that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the currentPlaybooks at the given index. |
getCurrentPlaybooksCount()
public int getCurrentPlaybooksCount()The stack of playbooks that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of currentPlaybooks. |
getCurrentPlaybooksList()
public ProtocolStringList getCurrentPlaybooksList()The stack of playbooks that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the currentPlaybooks. |
getDefaultInstanceForType()
public GenerativeInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerativeInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasActionTracingInfo()
public boolean hasActionTracingInfo()The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the actionTracingInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeActionTracingInfo(Example value)
public GenerativeInfo.Builder mergeActionTracingInfo(Example value)The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Example |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
|
mergeFrom(GenerativeInfo other)
public GenerativeInfo.Builder mergeFrom(GenerativeInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerativeInfo |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerativeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerativeInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
|
setActionTracingInfo(Example value)
public GenerativeInfo.Builder setActionTracingInfo(Example value)The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Example |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
|
setActionTracingInfo(Example.Builder builderForValue)
public GenerativeInfo.Builder setActionTracingInfo(Example.Builder builderForValue)The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Example.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
|
setCurrentPlaybooks(int index, String value)
public GenerativeInfo.Builder setCurrentPlaybooks(int index, String value)The stack of playbooks that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe currentPlaybooks to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeInfo.Builder |
This builder for chaining. |