Class Example.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Example.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Example.Builder
- All Implemented Interfaces:
ExampleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Example
public static final class Example.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddActions(int index, Action value) Required.addActions(int index, Action.Builder builderForValue) Required.addActions(Action value) Required.addActions(Action.Builder builderForValue) Required.Required.addActionsBuilder(int index) Required.addAllActions(Iterable<? extends Action> values) Required.build()clear()Required.Required.Output only.Optional.Required.Optional.The unique identifier of the playbook example.Optional.Optional.Output only.Output only.getActions(int index) Required.getActionsBuilder(int index) Required.Required.intRequired.Required.getActionsOrBuilder(int index) Required.List<? extends ActionOrBuilder>Required.Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.getName()The unique identifier of the playbook example.com.google.protobuf.ByteStringThe unique identifier of the playbook example.Optional.Optional.Optional.Optional.Optional.Optional.longOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePlaybookInput(PlaybookInput value) Optional.Optional.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeActions(int index) Required.setActions(int index, Action value) Required.setActions(int index, Action.Builder builderForValue) Required.setConversationState(OutputState value) Required.setConversationStateValue(int value) Required.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setLanguageCode(String value) Optional.setLanguageCodeBytes(com.google.protobuf.ByteString value) Optional.The unique identifier of the playbook example.setNameBytes(com.google.protobuf.ByteString value) The unique identifier of the playbook example.setPlaybookInput(PlaybookInput value) Optional.setPlaybookInput(PlaybookInput.Builder builderForValue) Optional.setPlaybookOutput(PlaybookOutput value) Optional.setPlaybookOutput(PlaybookOutput.Builder builderForValue) Optional.setTokenCount(long value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.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<Example.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<Example.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<Example.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<Example.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Example.Builder>
-
mergeFrom
public Example.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<Example.Builder>- Throws:
IOException
-
getName
The unique identifier of the playbook example. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
string name = 1;- Specified by:
getNamein interfaceExampleOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceExampleOrBuilder- Returns:
- The bytes for name.
-
setName
The unique identifier of the playbook example. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The unique identifier of the playbook example. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The unique identifier of the playbook example. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasPlaybookInput
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];- Specified by:
hasPlaybookInputin interfaceExampleOrBuilder- Returns:
- Whether the playbookInput field is set.
-
getPlaybookInput
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookInputin interfaceExampleOrBuilder- Returns:
- The playbookInput.
-
setPlaybookInput
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setPlaybookInput
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergePlaybookInput
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearPlaybookInput
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookInputBuilder
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookInputOrBuilder
Optional. The input to the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookInputOrBuilderin interfaceExampleOrBuilder
-
hasPlaybookOutput
public 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];- Specified by:
hasPlaybookOutputin interfaceExampleOrBuilder- Returns:
- Whether the playbookOutput field is set.
-
getPlaybookOutput
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookOutputin interfaceExampleOrBuilder- Returns:
- The playbookOutput.
-
setPlaybookOutput
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setPlaybookOutput
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergePlaybookOutput
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearPlaybookOutput
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookOutputBuilder
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookOutputOrBuilder
Optional. The output of the playbook in the example.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookOutputOrBuilderin interfaceExampleOrBuilder
-
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];- Specified by:
getActionsListin interfaceExampleOrBuilder
-
getActionsCount
public 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];- Specified by:
getActionsCountin interfaceExampleOrBuilder
-
getActions
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];- Specified by:
getActionsin interfaceExampleOrBuilder
-
setActions
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]; -
setActions
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]; -
addActions
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]; -
addActions
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]; -
addActions
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]; -
addActions
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]; -
addAllActions
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]; -
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]; -
removeActions
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]; -
getActionsBuilder
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
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];- Specified by:
getActionsOrBuilderin interfaceExampleOrBuilder
-
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];- Specified by:
getActionsOrBuilderListin interfaceExampleOrBuilder
-
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]; -
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]; -
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]; -
getDisplayName
Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceExampleOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceExampleOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. The display name of the example.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDescriptionin interfaceExampleOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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];- Specified by:
getDescriptionBytesin interfaceExampleOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. The high level concise description of the example. The max number of characters is 200.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. The high level concise description of the example. The max number of characters is 200.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getTokenCount
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];- Specified by:
getTokenCountin interfaceExampleOrBuilder- Returns:
- The tokenCount.
-
setTokenCount
Output only. Estimated number of tokes current example takes when sent to the LLM.
int64 token_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The tokenCount to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceExampleOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceExampleOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp of initial example creation.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
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]; -
getCreateTimeOrBuilder
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];- Specified by:
getCreateTimeOrBuilderin interfaceExampleOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceExampleOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceExampleOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Last time the example was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
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]; -
getUpdateTimeOrBuilder
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];- Specified by:
getUpdateTimeOrBuilderin interfaceExampleOrBuilder
-
getConversationStateValue
public int getConversationStateValue()Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConversationStateValuein interfaceExampleOrBuilder- Returns:
- The enum numeric value on the wire for conversationState.
-
setConversationStateValue
Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for conversationState to set.- Returns:
- This builder for chaining.
-
getConversationState
Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConversationStatein interfaceExampleOrBuilder- Returns:
- The conversationState.
-
setConversationState
Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The conversationState to set.- Returns:
- This builder for chaining.
-
clearConversationState
Required. Example's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
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];- Specified by:
getLanguageCodein interfaceExampleOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public 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];- Specified by:
getLanguageCodeBytesin interfaceExampleOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
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];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
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];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-