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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Example.Builder>
    • clear

      public Example.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Example.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Example.Builder>
    • getDefaultInstanceForType

      public Example getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Example build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Example buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Example.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Example.Builder>
    • mergeFrom

      public Example.Builder mergeFrom(Example other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Example.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The unique identifier of the playbook example.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
       
      string name = 1;
      Specified by:
      getName in interface ExampleOrBuilder
      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:
      getNameBytes in interface ExampleOrBuilder
      Returns:
      The bytes for name.
    • setName

      public 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;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      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;
      Returns:
      This builder for chaining.
    • setNameBytes

      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;
      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:
      hasPlaybookInput in interface ExampleOrBuilder
      Returns:
      Whether the playbookInput field is set.
    • getPlaybookInput

      public 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];
      Specified by:
      getPlaybookInput in interface ExampleOrBuilder
      Returns:
      The playbookInput.
    • setPlaybookInput

      public 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];
    • setPlaybookInput

      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];
    • mergePlaybookInput

      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];
    • clearPlaybookInput

      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];
    • getPlaybookInputBuilder

      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];
    • getPlaybookInputOrBuilder

      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];
      Specified by:
      getPlaybookInputOrBuilder in interface ExampleOrBuilder
    • 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:
      hasPlaybookOutput in interface ExampleOrBuilder
      Returns:
      Whether the playbookOutput field is set.
    • getPlaybookOutput

      public 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];
      Specified by:
      getPlaybookOutput in interface ExampleOrBuilder
      Returns:
      The playbookOutput.
    • setPlaybookOutput

      public 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];
    • setPlaybookOutput

      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];
    • mergePlaybookOutput

      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];
    • clearPlaybookOutput

      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];
    • getPlaybookOutputBuilder

      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];
    • getPlaybookOutputOrBuilder

      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];
      Specified by:
      getPlaybookOutputOrBuilder in interface ExampleOrBuilder
    • getActionsList

      public 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];
      Specified by:
      getActionsList in interface ExampleOrBuilder
    • 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:
      getActionsCount in interface ExampleOrBuilder
    • getActions

      public 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];
      Specified by:
      getActions in interface ExampleOrBuilder
    • setActions

      public 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];
    • setActions

      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];
    • addActions

      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];
    • addActions

      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];
    • addActions

      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];
    • addActions

      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];
    • addAllActions

      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];
    • clearActions

      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];
    • removeActions

      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];
    • getActionsBuilder

      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];
    • getActionsOrBuilder

      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];
      Specified by:
      getActionsOrBuilder in interface ExampleOrBuilder
    • getActionsOrBuilderList

      public 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];
      Specified by:
      getActionsOrBuilderList in interface ExampleOrBuilder
    • addActionsBuilder

      public 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];
    • addActionsBuilder

      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];
    • getActionsBuilderList

      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];
    • getDisplayName

      public String getDisplayName()
       Required. The display name of the example.
       
      string display_name = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface ExampleOrBuilder
      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:
      getDisplayNameBytes in interface ExampleOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Example.Builder setDisplayName(String value)
       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

      public Example.Builder clearDisplayName()
       Required. The display name of the example.
       
      string display_name = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      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];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      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];
      Specified by:
      getDescription in interface ExampleOrBuilder
      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:
      getDescriptionBytes in interface ExampleOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public 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];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      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];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      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];
      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:
      getTokenCount in interface ExampleOrBuilder
      Returns:
      The tokenCount.
    • setTokenCount

      public 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];
      Parameters:
      value - The tokenCount to set.
      Returns:
      This builder for chaining.
    • clearTokenCount

      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];
      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:
      hasCreateTime in interface ExampleOrBuilder
      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:
      getCreateTime in interface ExampleOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public 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];
    • setCreateTime

      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];
    • mergeCreateTime

      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];
    • clearCreateTime

      public Example.Builder 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:
      getCreateTimeOrBuilder in interface ExampleOrBuilder
    • 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:
      hasUpdateTime in interface ExampleOrBuilder
      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:
      getUpdateTime in interface ExampleOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public 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];
    • setUpdateTime

      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];
    • mergeUpdateTime

      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];
    • clearUpdateTime

      public Example.Builder 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:
      getUpdateTimeOrBuilder in interface ExampleOrBuilder
    • 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:
      getConversationStateValue in interface ExampleOrBuilder
      Returns:
      The enum numeric value on the wire for conversationState.
    • setConversationStateValue

      public Example.Builder setConversationStateValue(int value)
       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

      public OutputState getConversationState()
       Required. Example's output state.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputState conversation_state = 12 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getConversationState in interface ExampleOrBuilder
      Returns:
      The conversationState.
    • setConversationState

      public Example.Builder setConversationState(OutputState value)
       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

      public Example.Builder 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

      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];
      Specified by:
      getLanguageCode in interface ExampleOrBuilder
      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:
      getLanguageCodeBytes in interface ExampleOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      public 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];
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • clearLanguageCode

      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];
      Returns:
      This builder for chaining.
    • setLanguageCodeBytes

      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];
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.