Class GenerativeInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
com.google.cloud.dialogflow.cx.v3beta1.GenerativeInfo.Builder
- All Implemented Interfaces:
GenerativeInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerativeInfo
public static final class GenerativeInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
implements GenerativeInfoOrBuilder
Represents the information of a query if handled by generative agent resources.Protobuf type
google.cloud.dialogflow.cx.v3beta1.GenerativeInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllCurrentPlaybooks(Iterable<String> values) The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.addCurrentPlaybooks(String value) The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.addCurrentPlaybooksBytes(com.google.protobuf.ByteString value) The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.build()clear()The actions performed by the generative playbook for the current agent response.The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.The actions performed by the generative playbook for the current agent response.The actions performed by the generative playbook for the current agent response.The actions performed by the generative playbook for the current agent response.getCurrentPlaybooks(int index) The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.com.google.protobuf.ByteStringgetCurrentPlaybooksBytes(int index) The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.intThe stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.com.google.protobuf.ProtocolStringListThe stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanThe actions performed by the generative playbook for the current agent response.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeActionTracingInfo(Example value) The actions performed by the generative playbook for the current agent response.mergeFrom(GenerativeInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setActionTracingInfo(Example value) The actions performed by the generative playbook for the current agent response.setActionTracingInfo(Example.Builder builderForValue) The actions performed by the generative playbook for the current agent response.setCurrentPlaybooks(int index, String value) The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerativeInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
-
mergeFrom
public GenerativeInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerativeInfo.Builder>- Throws:
IOException
-
getCurrentPlaybooksList
public com.google.protobuf.ProtocolStringList getCurrentPlaybooksList()The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;- Specified by:
getCurrentPlaybooksListin interfaceGenerativeInfoOrBuilder- Returns:
- A list containing the currentPlaybooks.
-
getCurrentPlaybooksCount
public int getCurrentPlaybooksCount()The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;- Specified by:
getCurrentPlaybooksCountin interfaceGenerativeInfoOrBuilder- Returns:
- The count of currentPlaybooks.
-
getCurrentPlaybooks
The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;- Specified by:
getCurrentPlaybooksin interfaceGenerativeInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The currentPlaybooks at the given index.
-
getCurrentPlaybooksBytes
public com.google.protobuf.ByteString getCurrentPlaybooksBytes(int index) The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;- Specified by:
getCurrentPlaybooksBytesin interfaceGenerativeInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the currentPlaybooks at the given index.
-
setCurrentPlaybooks
The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;- Parameters:
index- The index to set the value at.value- The currentPlaybooks to set.- Returns:
- This builder for chaining.
-
addCurrentPlaybooks
The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;- Parameters:
value- The currentPlaybooks to add.- Returns:
- This builder for chaining.
-
addAllCurrentPlaybooks
The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;- Parameters:
values- The currentPlaybooks to add.- Returns:
- This builder for chaining.
-
clearCurrentPlaybooks
The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;- Returns:
- This builder for chaining.
-
addCurrentPlaybooksBytes
The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
repeated string current_playbooks = 1;- Parameters:
value- The bytes of the currentPlaybooks to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasActionTracingInfoin interfaceGenerativeInfoOrBuilder- Returns:
- Whether the actionTracingInfo field is set.
-
getActionTracingInfo
The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;- Specified by:
getActionTracingInfoin interfaceGenerativeInfoOrBuilder- Returns:
- The actionTracingInfo.
-
setActionTracingInfo
The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2; -
setActionTracingInfo
The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2; -
mergeActionTracingInfo
The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2; -
clearActionTracingInfo
The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2; -
getActionTracingInfoBuilder
The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2; -
getActionTracingInfoOrBuilder
The actions performed by the generative playbook for the current agent response.
.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;- Specified by:
getActionTracingInfoOrBuilderin interfaceGenerativeInfoOrBuilder
-