public static final class Example.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder> implements ExampleOrBuilder
Example represents a sample execution of the playbook in the conversation. An example consists of a list of ordered actions performed by end user or Dialogflow agent according the playbook instructions to fulfill the task.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Example| Modifier and Type | Method and Description |
|---|---|
Example.Builder |
addActions(Action.Builder builderForValue)
Required.
|
Example.Builder |
addActions(Action value)
Required.
|
Example.Builder |
addActions(int index,
Action.Builder builderForValue)
Required.
|
Example.Builder |
addActions(int index,
Action value)
Required.
|
Action.Builder |
addActionsBuilder()
Required.
|
Action.Builder |
addActionsBuilder(int index)
Required.
|
Example.Builder |
addAllActions(Iterable<? extends Action> values)
Required.
|
Example.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Example |
build() |
Example |
buildPartial() |
Example.Builder |
clear() |
Example.Builder |
clearActions()
Required.
|
Example.Builder |
clearConversationState()
Required.
|
Example.Builder |
clearCreateTime()
Output only.
|
Example.Builder |
clearDescription()
Optional.
|
Example.Builder |
clearDisplayName()
Required.
|
Example.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Example.Builder |
clearLanguageCode()
Optional.
|
Example.Builder |
clearName()
The unique identifier of the playbook example.
|
Example.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Example.Builder |
clearPlaybookInput()
Optional.
|
Example.Builder |
clearPlaybookOutput()
Optional.
|
Example.Builder |
clearTokenCount()
Output only.
|
Example.Builder |
clearUpdateTime()
Output only.
|
Example.Builder |
clone() |
Action |
getActions(int index)
Required.
|
Action.Builder |
getActionsBuilder(int index)
Required.
|
List<Action.Builder> |
getActionsBuilderList()
Required.
|
int |
getActionsCount()
Required.
|
List<Action> |
getActionsList()
Required.
|
ActionOrBuilder |
getActionsOrBuilder(int index)
Required.
|
List<? extends ActionOrBuilder> |
getActionsOrBuilderList()
Required.
|
OutputState |
getConversationState()
Required.
|
int |
getConversationStateValue()
Required.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Example |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getLanguageCode()
Optional.
|
com.google.protobuf.ByteString |
getLanguageCodeBytes()
Optional.
|
String |
getName()
The unique identifier of the playbook example.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique identifier of the playbook example.
|
PlaybookInput |
getPlaybookInput()
Optional.
|
PlaybookInput.Builder |
getPlaybookInputBuilder()
Optional.
|
PlaybookInputOrBuilder |
getPlaybookInputOrBuilder()
Optional.
|
PlaybookOutput |
getPlaybookOutput()
Optional.
|
PlaybookOutput.Builder |
getPlaybookOutputBuilder()
Optional.
|
PlaybookOutputOrBuilder |
getPlaybookOutputOrBuilder()
Optional.
|
long |
getTokenCount()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasPlaybookInput()
Optional.
|
boolean |
hasPlaybookOutput()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Example.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Example.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Example.Builder |
mergeFrom(Example other) |
Example.Builder |
mergeFrom(com.google.protobuf.Message other) |
Example.Builder |
mergePlaybookInput(PlaybookInput value)
Optional.
|
Example.Builder |
mergePlaybookOutput(PlaybookOutput value)
Optional.
|
Example.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Example.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Example.Builder |
removeActions(int index)
Required.
|
Example.Builder |
setActions(int index,
Action.Builder builderForValue)
Required.
|
Example.Builder |
setActions(int index,
Action value)
Required.
|
Example.Builder |
setConversationState(OutputState value)
Required.
|
Example.Builder |
setConversationStateValue(int value)
Required.
|
Example.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Example.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Example.Builder |
setDescription(String value)
Optional.
|
Example.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.
|
Example.Builder |
setDisplayName(String value)
Required.
|
Example.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
Example.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Example.Builder |
setLanguageCode(String value)
Optional.
|
Example.Builder |
setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional.
|
Example.Builder |
setName(String value)
The unique identifier of the playbook example.
|
Example.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the playbook example.
|
Example.Builder |
setPlaybookInput(PlaybookInput.Builder builderForValue)
Optional.
|
Example.Builder |
setPlaybookInput(PlaybookInput value)
Optional.
|
Example.Builder |
setPlaybookOutput(PlaybookOutput.Builder builderForValue)
Optional.
|
Example.Builder |
setPlaybookOutput(PlaybookOutput value)
Optional.
|
Example.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Example.Builder |
setTokenCount(long value)
Output only.
|
Example.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Example.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Example.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public Example.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public Example getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Example build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Example buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Example.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public Example.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public Example.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public Example.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public Example.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public Example.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public Example.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Example.Builder>public Example.Builder mergeFrom(Example other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public Example.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Example.Builder>IOExceptionpublic String getName()
The unique identifier of the playbook example. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
string name = 1;getName in interface ExampleOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The unique identifier of the playbook example. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
string name = 1;getNameBytes in interface ExampleOrBuilderpublic Example.Builder setName(String value)
The unique identifier of the playbook example. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
string name = 1;value - The name to set.public Example.Builder clearName()
The unique identifier of the playbook example. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
string name = 1;public Example.Builder setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the playbook example. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
string name = 1;value - The bytes for name to set.public boolean hasPlaybookInput()
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];
hasPlaybookInput in interface ExampleOrBuilderpublic PlaybookInput getPlaybookInput()
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];
getPlaybookInput in interface ExampleOrBuilderpublic Example.Builder setPlaybookInput(PlaybookInput value)
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];
public Example.Builder setPlaybookInput(PlaybookInput.Builder builderForValue)
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];
public Example.Builder mergePlaybookInput(PlaybookInput value)
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];
public Example.Builder clearPlaybookInput()
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookInput.Builder getPlaybookInputBuilder()
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookInputOrBuilder getPlaybookInputOrBuilder()
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];
getPlaybookInputOrBuilder in interface ExampleOrBuilderpublic boolean hasPlaybookOutput()
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];
hasPlaybookOutput in interface ExampleOrBuilderpublic PlaybookOutput getPlaybookOutput()
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];
getPlaybookOutput in interface ExampleOrBuilderpublic Example.Builder setPlaybookOutput(PlaybookOutput value)
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];
public Example.Builder setPlaybookOutput(PlaybookOutput.Builder builderForValue)
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];
public Example.Builder mergePlaybookOutput(PlaybookOutput value)
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];
public Example.Builder clearPlaybookOutput()
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookOutput.Builder getPlaybookOutputBuilder()
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookOutputOrBuilder getPlaybookOutputOrBuilder()
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];
getPlaybookOutputOrBuilder in interface ExampleOrBuilderpublic List<Action> getActionsList()
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
getActionsList in interface ExampleOrBuilderpublic int getActionsCount()
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
getActionsCount in interface ExampleOrBuilderpublic Action getActions(int index)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
getActions in interface ExampleOrBuilderpublic Example.Builder setActions(int index, Action value)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Example.Builder setActions(int index, Action.Builder builderForValue)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Example.Builder addActions(Action value)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Example.Builder addActions(int index, Action value)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Example.Builder addActions(Action.Builder builderForValue)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Example.Builder addActions(int index, Action.Builder builderForValue)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Example.Builder addAllActions(Iterable<? extends Action> values)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Example.Builder clearActions()
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Example.Builder removeActions(int index)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Action.Builder getActionsBuilder(int index)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public ActionOrBuilder getActionsOrBuilder(int index)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
getActionsOrBuilder in interface ExampleOrBuilderpublic List<? extends ActionOrBuilder> getActionsOrBuilderList()
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
getActionsOrBuilderList in interface ExampleOrBuilderpublic Action.Builder addActionsBuilder()
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public Action.Builder addActionsBuilder(int index)
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public List<Action.Builder> getActionsBuilderList()
Required. The ordered list of actions performed by the end user and the Dialogflow agent.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 2 [(.google.api.field_behavior) = REQUIRED];
public String getDisplayName()
Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface ExampleOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface ExampleOrBuilderpublic Example.Builder setDisplayName(String value)
Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public Example.Builder clearDisplayName()
Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];public Example.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public String getDescription()
Optional. The high level concise description of the example. The max number of characters is 200.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface ExampleOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. The high level concise description of the example. The max number of characters is 200.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface ExampleOrBuilderpublic Example.Builder setDescription(String value)
Optional. The high level concise description of the example. The max number of characters is 200.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public Example.Builder clearDescription()
Optional. The high level concise description of the example. The max number of characters is 200.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];public Example.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. The high level concise description of the example. The max number of characters is 200.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for description to set.public long getTokenCount()
Output only. Estimated number of tokes current example takes when sent to the LLM.
int64 token_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getTokenCount in interface ExampleOrBuilderpublic Example.Builder setTokenCount(long value)
Output only. Estimated number of tokes current example takes when sent to the LLM.
int64 token_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The tokenCount to set.public Example.Builder clearTokenCount()
Output only. Estimated number of tokes current example takes when sent to the LLM.
int64 token_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasCreateTime()
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface ExampleOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface ExampleOrBuilderpublic Example.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Example.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Example.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Example.Builder clearCreateTime()
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface ExampleOrBuilderpublic boolean hasUpdateTime()
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface ExampleOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface ExampleOrBuilderpublic Example.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Example.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Example.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Example.Builder clearUpdateTime()
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface ExampleOrBuilderpublic int getConversationStateValue()
Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];
getConversationStateValue in interface ExampleOrBuilderpublic Example.Builder setConversationStateValue(int value)
Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for conversationState to set.public OutputState getConversationState()
Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];
getConversationState in interface ExampleOrBuilderpublic Example.Builder setConversationState(OutputState value)
Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];
value - The conversationState to set.public Example.Builder clearConversationState()
Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];
public String getLanguageCode()
Optional. The language code of the example. If not specified, the agent's default language is used. Note: languages must be enabled in the agent before they can be used. Note: example's language code is not currently used in dialogflow agents.
string language_code = 13 [(.google.api.field_behavior) = OPTIONAL];getLanguageCode in interface ExampleOrBuilderpublic com.google.protobuf.ByteString getLanguageCodeBytes()
Optional. The language code of the example. If not specified, the agent's default language is used. Note: languages must be enabled in the agent before they can be used. Note: example's language code is not currently used in dialogflow agents.
string language_code = 13 [(.google.api.field_behavior) = OPTIONAL];getLanguageCodeBytes in interface ExampleOrBuilderpublic Example.Builder setLanguageCode(String value)
Optional. The language code of the example. If not specified, the agent's default language is used. Note: languages must be enabled in the agent before they can be used. Note: example's language code is not currently used in dialogflow agents.
string language_code = 13 [(.google.api.field_behavior) = OPTIONAL];value - The languageCode to set.public Example.Builder clearLanguageCode()
Optional. The language code of the example. If not specified, the agent's default language is used. Note: languages must be enabled in the agent before they can be used. Note: example's language code is not currently used in dialogflow agents.
string language_code = 13 [(.google.api.field_behavior) = OPTIONAL];public Example.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional. The language code of the example. If not specified, the agent's default language is used. Note: languages must be enabled in the agent before they can be used. Note: example's language code is not currently used in dialogflow agents.
string language_code = 13 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for languageCode to set.public final Example.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>public final Example.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Example.Builder>Copyright © 2025 Google LLC. All rights reserved.