public static final class GenerativeInfo.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.
|
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 |
String
The currentPlaybooks to add.
|
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 |
ByteString
The bytes of the currentPlaybooks to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerativeInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerativeInfo build()
buildPartial()
public GenerativeInfo buildPartial()
clear()
public GenerativeInfo.Builder clear()
Overrides
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;
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;
clearField(Descriptors.FieldDescriptor field)
public GenerativeInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerativeInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GenerativeInfo.Builder clone()
Overrides
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;
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;
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 |
int
The 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 |
int
The 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;
getDefaultInstanceForType()
public GenerativeInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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
|
mergeFrom(GenerativeInfo other)
public GenerativeInfo.Builder mergeFrom(GenerativeInfo other)
public GenerativeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerativeInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerativeInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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;
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 |
int
The index to set the value at.
|
value |
String
The currentPlaybooks to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GenerativeInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerativeInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerativeInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides