Class Playbook.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Playbook.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Playbook.Builder
All Implemented Interfaces:
PlaybookOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Playbook

public static final class Playbook.Builder extends com.google.protobuf.GeneratedMessage.Builder<Playbook.Builder> implements PlaybookOrBuilder
 Playbook is the basic building block to instruct the LLM how to execute a
 certain task.

 A playbook consists of a goal to accomplish, an optional list of step by step
 instructions (the step instruction may refers to name of the custom or
 default plugin tools to use) to perform the task,
 a list of contextual input data to be passed in at the beginning of the
 invoked, and a list of output parameters to store the playbook result.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Playbook
  • 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<Playbook.Builder>
    • clear

      public Playbook.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<Playbook.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<Playbook.Builder>
    • getDefaultInstanceForType

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

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

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

      public Playbook.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<Playbook.Builder>
    • mergeFrom

      public Playbook.Builder mergeFrom(Playbook other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Playbook.Builder>
    • mergeFrom

      public Playbook.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<Playbook.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string name = 1;
      Specified by:
      getName in interface PlaybookOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string name = 1;
      Specified by:
      getNameBytes in interface PlaybookOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Playbook.Builder setName(String value)
       The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Playbook.Builder clearName()
       The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Playbook.Builder setNameBytes(com.google.protobuf.ByteString value)
       The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The human-readable name of the playbook, unique within an agent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface PlaybookOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The human-readable name of the playbook, unique within an agent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface PlaybookOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Playbook.Builder setDisplayName(String value)
       Required. The human-readable name of the playbook, unique within an agent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Playbook.Builder clearDisplayName()
       Required. The human-readable name of the playbook, unique within an agent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Playbook.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The human-readable name of the playbook, unique within an agent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getGoal

      public String getGoal()
       Required. High level description of the goal the playbook intend to
       accomplish. A goal should be concise since it's visible to other playbooks
       that may reference this playbook.
       
      string goal = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGoal in interface PlaybookOrBuilder
      Returns:
      The goal.
    • getGoalBytes

      public com.google.protobuf.ByteString getGoalBytes()
       Required. High level description of the goal the playbook intend to
       accomplish. A goal should be concise since it's visible to other playbooks
       that may reference this playbook.
       
      string goal = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGoalBytes in interface PlaybookOrBuilder
      Returns:
      The bytes for goal.
    • setGoal

      public Playbook.Builder setGoal(String value)
       Required. High level description of the goal the playbook intend to
       accomplish. A goal should be concise since it's visible to other playbooks
       that may reference this playbook.
       
      string goal = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The goal to set.
      Returns:
      This builder for chaining.
    • clearGoal

      public Playbook.Builder clearGoal()
       Required. High level description of the goal the playbook intend to
       accomplish. A goal should be concise since it's visible to other playbooks
       that may reference this playbook.
       
      string goal = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setGoalBytes

      public Playbook.Builder setGoalBytes(com.google.protobuf.ByteString value)
       Required. High level description of the goal the playbook intend to
       accomplish. A goal should be concise since it's visible to other playbooks
       that may reference this playbook.
       
      string goal = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for goal to set.
      Returns:
      This builder for chaining.
    • getInputParameterDefinitionsList

      public List<ParameterDefinition> getInputParameterDefinitionsList()
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputParameterDefinitionsList in interface PlaybookOrBuilder
    • getInputParameterDefinitionsCount

      public int getInputParameterDefinitionsCount()
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputParameterDefinitionsCount in interface PlaybookOrBuilder
    • getInputParameterDefinitions

      public ParameterDefinition getInputParameterDefinitions(int index)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputParameterDefinitions in interface PlaybookOrBuilder
    • setInputParameterDefinitions

      public Playbook.Builder setInputParameterDefinitions(int index, ParameterDefinition value)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setInputParameterDefinitions

      public Playbook.Builder setInputParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • addInputParameterDefinitions

      public Playbook.Builder addInputParameterDefinitions(ParameterDefinition value)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • addInputParameterDefinitions

      public Playbook.Builder addInputParameterDefinitions(int index, ParameterDefinition value)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • addInputParameterDefinitions

      public Playbook.Builder addInputParameterDefinitions(ParameterDefinition.Builder builderForValue)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • addInputParameterDefinitions

      public Playbook.Builder addInputParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • addAllInputParameterDefinitions

      public Playbook.Builder addAllInputParameterDefinitions(Iterable<? extends ParameterDefinition> values)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearInputParameterDefinitions

      public Playbook.Builder clearInputParameterDefinitions()
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • removeInputParameterDefinitions

      public Playbook.Builder removeInputParameterDefinitions(int index)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getInputParameterDefinitionsBuilder

      public ParameterDefinition.Builder getInputParameterDefinitionsBuilder(int index)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getInputParameterDefinitionsOrBuilder

      public ParameterDefinitionOrBuilder getInputParameterDefinitionsOrBuilder(int index)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputParameterDefinitionsOrBuilder in interface PlaybookOrBuilder
    • getInputParameterDefinitionsOrBuilderList

      public List<? extends ParameterDefinitionOrBuilder> getInputParameterDefinitionsOrBuilderList()
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputParameterDefinitionsOrBuilderList in interface PlaybookOrBuilder
    • addInputParameterDefinitionsBuilder

      public ParameterDefinition.Builder addInputParameterDefinitionsBuilder()
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • addInputParameterDefinitionsBuilder

      public ParameterDefinition.Builder addInputParameterDefinitionsBuilder(int index)
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getInputParameterDefinitionsBuilderList

      public List<ParameterDefinition.Builder> getInputParameterDefinitionsBuilderList()
       Optional. Defined structured input parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputParameterDefinitionsList

      public List<ParameterDefinition> getOutputParameterDefinitionsList()
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputParameterDefinitionsList in interface PlaybookOrBuilder
    • getOutputParameterDefinitionsCount

      public int getOutputParameterDefinitionsCount()
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputParameterDefinitionsCount in interface PlaybookOrBuilder
    • getOutputParameterDefinitions

      public ParameterDefinition getOutputParameterDefinitions(int index)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputParameterDefinitions in interface PlaybookOrBuilder
    • setOutputParameterDefinitions

      public Playbook.Builder setOutputParameterDefinitions(int index, ParameterDefinition value)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setOutputParameterDefinitions

      public Playbook.Builder setOutputParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputParameterDefinitions

      public Playbook.Builder addOutputParameterDefinitions(ParameterDefinition value)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputParameterDefinitions

      public Playbook.Builder addOutputParameterDefinitions(int index, ParameterDefinition value)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputParameterDefinitions

      public Playbook.Builder addOutputParameterDefinitions(ParameterDefinition.Builder builderForValue)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputParameterDefinitions

      public Playbook.Builder addOutputParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addAllOutputParameterDefinitions

      public Playbook.Builder addAllOutputParameterDefinitions(Iterable<? extends ParameterDefinition> values)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearOutputParameterDefinitions

      public Playbook.Builder clearOutputParameterDefinitions()
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • removeOutputParameterDefinitions

      public Playbook.Builder removeOutputParameterDefinitions(int index)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputParameterDefinitionsBuilder

      public ParameterDefinition.Builder getOutputParameterDefinitionsBuilder(int index)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputParameterDefinitionsOrBuilder

      public ParameterDefinitionOrBuilder getOutputParameterDefinitionsOrBuilder(int index)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputParameterDefinitionsOrBuilder in interface PlaybookOrBuilder
    • getOutputParameterDefinitionsOrBuilderList

      public List<? extends ParameterDefinitionOrBuilder> getOutputParameterDefinitionsOrBuilderList()
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputParameterDefinitionsOrBuilderList in interface PlaybookOrBuilder
    • addOutputParameterDefinitionsBuilder

      public ParameterDefinition.Builder addOutputParameterDefinitionsBuilder()
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputParameterDefinitionsBuilder

      public ParameterDefinition.Builder addOutputParameterDefinitionsBuilder(int index)
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputParameterDefinitionsBuilderList

      public List<ParameterDefinition.Builder> getOutputParameterDefinitionsBuilderList()
       Optional. Defined structured output parameters for this playbook.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • hasInstruction

      public boolean hasInstruction()
       Instruction to accomplish target goal.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction instruction = 17;
      Specified by:
      hasInstruction in interface PlaybookOrBuilder
      Returns:
      Whether the instruction field is set.
    • getInstruction

      public Playbook.Instruction getInstruction()
       Instruction to accomplish target goal.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction instruction = 17;
      Specified by:
      getInstruction in interface PlaybookOrBuilder
      Returns:
      The instruction.
    • setInstruction

      public Playbook.Builder setInstruction(Playbook.Instruction value)
       Instruction to accomplish target goal.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction instruction = 17;
    • setInstruction

      public Playbook.Builder setInstruction(Playbook.Instruction.Builder builderForValue)
       Instruction to accomplish target goal.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction instruction = 17;
    • mergeInstruction

      public Playbook.Builder mergeInstruction(Playbook.Instruction value)
       Instruction to accomplish target goal.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction instruction = 17;
    • clearInstruction

      public Playbook.Builder clearInstruction()
       Instruction to accomplish target goal.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction instruction = 17;
    • getInstructionBuilder

      public Playbook.Instruction.Builder getInstructionBuilder()
       Instruction to accomplish target goal.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction instruction = 17;
    • getInstructionOrBuilder

      public Playbook.InstructionOrBuilder getInstructionOrBuilder()
       Instruction to accomplish target goal.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction instruction = 17;
      Specified by:
      getInstructionOrBuilder in interface PlaybookOrBuilder
    • getTokenCount

      public long getTokenCount()
       Output only. Estimated number of tokes current playbook takes when sent to
       the LLM.
       
      int64 token_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTokenCount in interface PlaybookOrBuilder
      Returns:
      The tokenCount.
    • setTokenCount

      public Playbook.Builder setTokenCount(long value)
       Output only. Estimated number of tokes current playbook takes when sent to
       the LLM.
       
      int64 token_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The tokenCount to set.
      Returns:
      This builder for chaining.
    • clearTokenCount

      public Playbook.Builder clearTokenCount()
       Output only. Estimated number of tokes current playbook takes when sent to
       the LLM.
       
      int64 token_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp of initial playbook creation.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface PlaybookOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp of initial playbook creation.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface PlaybookOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Playbook.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of initial playbook creation.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Playbook.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp of initial playbook creation.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Playbook.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of initial playbook creation.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Playbook.Builder clearCreateTime()
       Output only. The timestamp of initial playbook creation.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp of initial playbook creation.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp of initial playbook creation.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface PlaybookOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Last time the playbook version was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface PlaybookOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Last time the playbook version was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface PlaybookOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Playbook.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Last time the playbook version was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Playbook.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Last time the playbook version was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Playbook.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Last time the playbook version was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Playbook.Builder clearUpdateTime()
       Output only. Last time the playbook version was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Last time the playbook version was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Last time the playbook version was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface PlaybookOrBuilder
    • getReferencedPlaybooksList

      public com.google.protobuf.ProtocolStringList getReferencedPlaybooksList()
       Output only. The resource name of other playbooks referenced by the current
       playbook in the instructions.
       
      repeated string referenced_playbooks = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedPlaybooksList in interface PlaybookOrBuilder
      Returns:
      A list containing the referencedPlaybooks.
    • getReferencedPlaybooksCount

      public int getReferencedPlaybooksCount()
       Output only. The resource name of other playbooks referenced by the current
       playbook in the instructions.
       
      repeated string referenced_playbooks = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedPlaybooksCount in interface PlaybookOrBuilder
      Returns:
      The count of referencedPlaybooks.
    • getReferencedPlaybooks

      public String getReferencedPlaybooks(int index)
       Output only. The resource name of other playbooks referenced by the current
       playbook in the instructions.
       
      repeated string referenced_playbooks = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedPlaybooks in interface PlaybookOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The referencedPlaybooks at the given index.
    • getReferencedPlaybooksBytes

      public com.google.protobuf.ByteString getReferencedPlaybooksBytes(int index)
       Output only. The resource name of other playbooks referenced by the current
       playbook in the instructions.
       
      repeated string referenced_playbooks = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedPlaybooksBytes in interface PlaybookOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the referencedPlaybooks at the given index.
    • setReferencedPlaybooks

      public Playbook.Builder setReferencedPlaybooks(int index, String value)
       Output only. The resource name of other playbooks referenced by the current
       playbook in the instructions.
       
      repeated string referenced_playbooks = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The referencedPlaybooks to set.
      Returns:
      This builder for chaining.
    • addReferencedPlaybooks

      public Playbook.Builder addReferencedPlaybooks(String value)
       Output only. The resource name of other playbooks referenced by the current
       playbook in the instructions.
       
      repeated string referenced_playbooks = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The referencedPlaybooks to add.
      Returns:
      This builder for chaining.
    • addAllReferencedPlaybooks

      public Playbook.Builder addAllReferencedPlaybooks(Iterable<String> values)
       Output only. The resource name of other playbooks referenced by the current
       playbook in the instructions.
       
      repeated string referenced_playbooks = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The referencedPlaybooks to add.
      Returns:
      This builder for chaining.
    • clearReferencedPlaybooks

      public Playbook.Builder clearReferencedPlaybooks()
       Output only. The resource name of other playbooks referenced by the current
       playbook in the instructions.
       
      repeated string referenced_playbooks = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addReferencedPlaybooksBytes

      public Playbook.Builder addReferencedPlaybooksBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of other playbooks referenced by the current
       playbook in the instructions.
       
      repeated string referenced_playbooks = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the referencedPlaybooks to add.
      Returns:
      This builder for chaining.
    • getReferencedFlowsList

      public com.google.protobuf.ProtocolStringList getReferencedFlowsList()
       Output only. The resource name of flows referenced by the current playbook
       in the instructions.
       
      repeated string referenced_flows = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedFlowsList in interface PlaybookOrBuilder
      Returns:
      A list containing the referencedFlows.
    • getReferencedFlowsCount

      public int getReferencedFlowsCount()
       Output only. The resource name of flows referenced by the current playbook
       in the instructions.
       
      repeated string referenced_flows = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedFlowsCount in interface PlaybookOrBuilder
      Returns:
      The count of referencedFlows.
    • getReferencedFlows

      public String getReferencedFlows(int index)
       Output only. The resource name of flows referenced by the current playbook
       in the instructions.
       
      repeated string referenced_flows = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedFlows in interface PlaybookOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The referencedFlows at the given index.
    • getReferencedFlowsBytes

      public com.google.protobuf.ByteString getReferencedFlowsBytes(int index)
       Output only. The resource name of flows referenced by the current playbook
       in the instructions.
       
      repeated string referenced_flows = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedFlowsBytes in interface PlaybookOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the referencedFlows at the given index.
    • setReferencedFlows

      public Playbook.Builder setReferencedFlows(int index, String value)
       Output only. The resource name of flows referenced by the current playbook
       in the instructions.
       
      repeated string referenced_flows = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The referencedFlows to set.
      Returns:
      This builder for chaining.
    • addReferencedFlows

      public Playbook.Builder addReferencedFlows(String value)
       Output only. The resource name of flows referenced by the current playbook
       in the instructions.
       
      repeated string referenced_flows = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The referencedFlows to add.
      Returns:
      This builder for chaining.
    • addAllReferencedFlows

      public Playbook.Builder addAllReferencedFlows(Iterable<String> values)
       Output only. The resource name of flows referenced by the current playbook
       in the instructions.
       
      repeated string referenced_flows = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The referencedFlows to add.
      Returns:
      This builder for chaining.
    • clearReferencedFlows

      public Playbook.Builder clearReferencedFlows()
       Output only. The resource name of flows referenced by the current playbook
       in the instructions.
       
      repeated string referenced_flows = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addReferencedFlowsBytes

      public Playbook.Builder addReferencedFlowsBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of flows referenced by the current playbook
       in the instructions.
       
      repeated string referenced_flows = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the referencedFlows to add.
      Returns:
      This builder for chaining.
    • getReferencedToolsList

      public com.google.protobuf.ProtocolStringList getReferencedToolsList()
       Optional. The resource name of tools referenced by the current playbook in
       the instructions. If not provided explicitly, they are will
       be implied using the tool being referenced in goal and steps.
       
      repeated string referenced_tools = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedToolsList in interface PlaybookOrBuilder
      Returns:
      A list containing the referencedTools.
    • getReferencedToolsCount

      public int getReferencedToolsCount()
       Optional. The resource name of tools referenced by the current playbook in
       the instructions. If not provided explicitly, they are will
       be implied using the tool being referenced in goal and steps.
       
      repeated string referenced_tools = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedToolsCount in interface PlaybookOrBuilder
      Returns:
      The count of referencedTools.
    • getReferencedTools

      public String getReferencedTools(int index)
       Optional. The resource name of tools referenced by the current playbook in
       the instructions. If not provided explicitly, they are will
       be implied using the tool being referenced in goal and steps.
       
      repeated string referenced_tools = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedTools in interface PlaybookOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The referencedTools at the given index.
    • getReferencedToolsBytes

      public com.google.protobuf.ByteString getReferencedToolsBytes(int index)
       Optional. The resource name of tools referenced by the current playbook in
       the instructions. If not provided explicitly, they are will
       be implied using the tool being referenced in goal and steps.
       
      repeated string referenced_tools = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferencedToolsBytes in interface PlaybookOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the referencedTools at the given index.
    • setReferencedTools

      public Playbook.Builder setReferencedTools(int index, String value)
       Optional. The resource name of tools referenced by the current playbook in
       the instructions. If not provided explicitly, they are will
       be implied using the tool being referenced in goal and steps.
       
      repeated string referenced_tools = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The referencedTools to set.
      Returns:
      This builder for chaining.
    • addReferencedTools

      public Playbook.Builder addReferencedTools(String value)
       Optional. The resource name of tools referenced by the current playbook in
       the instructions. If not provided explicitly, they are will
       be implied using the tool being referenced in goal and steps.
       
      repeated string referenced_tools = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The referencedTools to add.
      Returns:
      This builder for chaining.
    • addAllReferencedTools

      public Playbook.Builder addAllReferencedTools(Iterable<String> values)
       Optional. The resource name of tools referenced by the current playbook in
       the instructions. If not provided explicitly, they are will
       be implied using the tool being referenced in goal and steps.
       
      repeated string referenced_tools = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The referencedTools to add.
      Returns:
      This builder for chaining.
    • clearReferencedTools

      public Playbook.Builder clearReferencedTools()
       Optional. The resource name of tools referenced by the current playbook in
       the instructions. If not provided explicitly, they are will
       be implied using the tool being referenced in goal and steps.
       
      repeated string referenced_tools = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addReferencedToolsBytes

      public Playbook.Builder addReferencedToolsBytes(com.google.protobuf.ByteString value)
       Optional. The resource name of tools referenced by the current playbook in
       the instructions. If not provided explicitly, they are will
       be implied using the tool being referenced in goal and steps.
       
      repeated string referenced_tools = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the referencedTools to add.
      Returns:
      This builder for chaining.
    • getInlineActionsList

      public com.google.protobuf.ProtocolStringList getInlineActionsList()
       Optional. Output only. Names of inline actions scoped to this playbook.
       These actions are in addition to those belonging to referenced tools, child
       playbooks, and flows, e.g. actions that are defined in the playbook's code
       block.
       
      repeated string inline_actions = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInlineActionsList in interface PlaybookOrBuilder
      Returns:
      A list containing the inlineActions.
    • getInlineActionsCount

      public int getInlineActionsCount()
       Optional. Output only. Names of inline actions scoped to this playbook.
       These actions are in addition to those belonging to referenced tools, child
       playbooks, and flows, e.g. actions that are defined in the playbook's code
       block.
       
      repeated string inline_actions = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInlineActionsCount in interface PlaybookOrBuilder
      Returns:
      The count of inlineActions.
    • getInlineActions

      public String getInlineActions(int index)
       Optional. Output only. Names of inline actions scoped to this playbook.
       These actions are in addition to those belonging to referenced tools, child
       playbooks, and flows, e.g. actions that are defined in the playbook's code
       block.
       
      repeated string inline_actions = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInlineActions in interface PlaybookOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The inlineActions at the given index.
    • getInlineActionsBytes

      public com.google.protobuf.ByteString getInlineActionsBytes(int index)
       Optional. Output only. Names of inline actions scoped to this playbook.
       These actions are in addition to those belonging to referenced tools, child
       playbooks, and flows, e.g. actions that are defined in the playbook's code
       block.
       
      repeated string inline_actions = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInlineActionsBytes in interface PlaybookOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the inlineActions at the given index.
    • setInlineActions

      public Playbook.Builder setInlineActions(int index, String value)
       Optional. Output only. Names of inline actions scoped to this playbook.
       These actions are in addition to those belonging to referenced tools, child
       playbooks, and flows, e.g. actions that are defined in the playbook's code
       block.
       
      repeated string inline_actions = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The inlineActions to set.
      Returns:
      This builder for chaining.
    • addInlineActions

      public Playbook.Builder addInlineActions(String value)
       Optional. Output only. Names of inline actions scoped to this playbook.
       These actions are in addition to those belonging to referenced tools, child
       playbooks, and flows, e.g. actions that are defined in the playbook's code
       block.
       
      repeated string inline_actions = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The inlineActions to add.
      Returns:
      This builder for chaining.
    • addAllInlineActions

      public Playbook.Builder addAllInlineActions(Iterable<String> values)
       Optional. Output only. Names of inline actions scoped to this playbook.
       These actions are in addition to those belonging to referenced tools, child
       playbooks, and flows, e.g. actions that are defined in the playbook's code
       block.
       
      repeated string inline_actions = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The inlineActions to add.
      Returns:
      This builder for chaining.
    • clearInlineActions

      public Playbook.Builder clearInlineActions()
       Optional. Output only. Names of inline actions scoped to this playbook.
       These actions are in addition to those belonging to referenced tools, child
       playbooks, and flows, e.g. actions that are defined in the playbook's code
       block.
       
      repeated string inline_actions = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addInlineActionsBytes

      public Playbook.Builder addInlineActionsBytes(com.google.protobuf.ByteString value)
       Optional. Output only. Names of inline actions scoped to this playbook.
       These actions are in addition to those belonging to referenced tools, child
       playbooks, and flows, e.g. actions that are defined in the playbook's code
       block.
       
      repeated string inline_actions = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the inlineActions to add.
      Returns:
      This builder for chaining.
    • hasCodeBlock

      public boolean hasCodeBlock()
       Optional. The playbook's scoped code block, which may implement handlers
       and actions.
       
      .google.cloud.dialogflow.cx.v3beta1.CodeBlock code_block = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCodeBlock in interface PlaybookOrBuilder
      Returns:
      Whether the codeBlock field is set.
    • getCodeBlock

      public CodeBlock getCodeBlock()
       Optional. The playbook's scoped code block, which may implement handlers
       and actions.
       
      .google.cloud.dialogflow.cx.v3beta1.CodeBlock code_block = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCodeBlock in interface PlaybookOrBuilder
      Returns:
      The codeBlock.
    • setCodeBlock

      public Playbook.Builder setCodeBlock(CodeBlock value)
       Optional. The playbook's scoped code block, which may implement handlers
       and actions.
       
      .google.cloud.dialogflow.cx.v3beta1.CodeBlock code_block = 21 [(.google.api.field_behavior) = OPTIONAL];
    • setCodeBlock

      public Playbook.Builder setCodeBlock(CodeBlock.Builder builderForValue)
       Optional. The playbook's scoped code block, which may implement handlers
       and actions.
       
      .google.cloud.dialogflow.cx.v3beta1.CodeBlock code_block = 21 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCodeBlock

      public Playbook.Builder mergeCodeBlock(CodeBlock value)
       Optional. The playbook's scoped code block, which may implement handlers
       and actions.
       
      .google.cloud.dialogflow.cx.v3beta1.CodeBlock code_block = 21 [(.google.api.field_behavior) = OPTIONAL];
    • clearCodeBlock

      public Playbook.Builder clearCodeBlock()
       Optional. The playbook's scoped code block, which may implement handlers
       and actions.
       
      .google.cloud.dialogflow.cx.v3beta1.CodeBlock code_block = 21 [(.google.api.field_behavior) = OPTIONAL];
    • getCodeBlockBuilder

      public CodeBlock.Builder getCodeBlockBuilder()
       Optional. The playbook's scoped code block, which may implement handlers
       and actions.
       
      .google.cloud.dialogflow.cx.v3beta1.CodeBlock code_block = 21 [(.google.api.field_behavior) = OPTIONAL];
    • getCodeBlockOrBuilder

      public CodeBlockOrBuilder getCodeBlockOrBuilder()
       Optional. The playbook's scoped code block, which may implement handlers
       and actions.
       
      .google.cloud.dialogflow.cx.v3beta1.CodeBlock code_block = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCodeBlockOrBuilder in interface PlaybookOrBuilder
    • hasLlmModelSettings

      public boolean hasLlmModelSettings()
       Optional. Llm model settings for the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasLlmModelSettings in interface PlaybookOrBuilder
      Returns:
      Whether the llmModelSettings field is set.
    • getLlmModelSettings

      public LlmModelSettings getLlmModelSettings()
       Optional. Llm model settings for the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLlmModelSettings in interface PlaybookOrBuilder
      Returns:
      The llmModelSettings.
    • setLlmModelSettings

      public Playbook.Builder setLlmModelSettings(LlmModelSettings value)
       Optional. Llm model settings for the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 14 [(.google.api.field_behavior) = OPTIONAL];
    • setLlmModelSettings

      public Playbook.Builder setLlmModelSettings(LlmModelSettings.Builder builderForValue)
       Optional. Llm model settings for the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 14 [(.google.api.field_behavior) = OPTIONAL];
    • mergeLlmModelSettings

      public Playbook.Builder mergeLlmModelSettings(LlmModelSettings value)
       Optional. Llm model settings for the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 14 [(.google.api.field_behavior) = OPTIONAL];
    • clearLlmModelSettings

      public Playbook.Builder clearLlmModelSettings()
       Optional. Llm model settings for the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getLlmModelSettingsBuilder

      public LlmModelSettings.Builder getLlmModelSettingsBuilder()
       Optional. Llm model settings for the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getLlmModelSettingsOrBuilder

      public LlmModelSettingsOrBuilder getLlmModelSettingsOrBuilder()
       Optional. Llm model settings for the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLlmModelSettingsOrBuilder in interface PlaybookOrBuilder
    • hasSpeechSettings

      public boolean hasSpeechSettings()
       Optional. Playbook level Settings for speech to text detection.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.SpeechSettings speech_settings = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSpeechSettings in interface PlaybookOrBuilder
      Returns:
      Whether the speechSettings field is set.
    • getSpeechSettings

      public AdvancedSettings.SpeechSettings getSpeechSettings()
       Optional. Playbook level Settings for speech to text detection.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.SpeechSettings speech_settings = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSpeechSettings in interface PlaybookOrBuilder
      Returns:
      The speechSettings.
    • setSpeechSettings

      public Playbook.Builder setSpeechSettings(AdvancedSettings.SpeechSettings value)
       Optional. Playbook level Settings for speech to text detection.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.SpeechSettings speech_settings = 20 [(.google.api.field_behavior) = OPTIONAL];
    • setSpeechSettings

      public Playbook.Builder setSpeechSettings(AdvancedSettings.SpeechSettings.Builder builderForValue)
       Optional. Playbook level Settings for speech to text detection.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.SpeechSettings speech_settings = 20 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSpeechSettings

      public Playbook.Builder mergeSpeechSettings(AdvancedSettings.SpeechSettings value)
       Optional. Playbook level Settings for speech to text detection.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.SpeechSettings speech_settings = 20 [(.google.api.field_behavior) = OPTIONAL];
    • clearSpeechSettings

      public Playbook.Builder clearSpeechSettings()
       Optional. Playbook level Settings for speech to text detection.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.SpeechSettings speech_settings = 20 [(.google.api.field_behavior) = OPTIONAL];
    • getSpeechSettingsBuilder

      public AdvancedSettings.SpeechSettings.Builder getSpeechSettingsBuilder()
       Optional. Playbook level Settings for speech to text detection.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.SpeechSettings speech_settings = 20 [(.google.api.field_behavior) = OPTIONAL];
    • getSpeechSettingsOrBuilder

      public AdvancedSettings.SpeechSettingsOrBuilder getSpeechSettingsOrBuilder()
       Optional. Playbook level Settings for speech to text detection.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.SpeechSettings speech_settings = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSpeechSettingsOrBuilder in interface PlaybookOrBuilder
    • getHandlersList

      public List<Handler> getHandlersList()
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHandlersList in interface PlaybookOrBuilder
    • getHandlersCount

      public int getHandlersCount()
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHandlersCount in interface PlaybookOrBuilder
    • getHandlers

      public Handler getHandlers(int index)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHandlers in interface PlaybookOrBuilder
    • setHandlers

      public Playbook.Builder setHandlers(int index, Handler value)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • setHandlers

      public Playbook.Builder setHandlers(int index, Handler.Builder builderForValue)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addHandlers

      public Playbook.Builder addHandlers(Handler value)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addHandlers

      public Playbook.Builder addHandlers(int index, Handler value)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addHandlers

      public Playbook.Builder addHandlers(Handler.Builder builderForValue)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addHandlers

      public Playbook.Builder addHandlers(int index, Handler.Builder builderForValue)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addAllHandlers

      public Playbook.Builder addAllHandlers(Iterable<? extends Handler> values)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • clearHandlers

      public Playbook.Builder clearHandlers()
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • removeHandlers

      public Playbook.Builder removeHandlers(int index)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getHandlersBuilder

      public Handler.Builder getHandlersBuilder(int index)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getHandlersOrBuilder

      public HandlerOrBuilder getHandlersOrBuilder(int index)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHandlersOrBuilder in interface PlaybookOrBuilder
    • getHandlersOrBuilderList

      public List<? extends HandlerOrBuilder> getHandlersOrBuilderList()
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHandlersOrBuilderList in interface PlaybookOrBuilder
    • addHandlersBuilder

      public Handler.Builder addHandlersBuilder()
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addHandlersBuilder

      public Handler.Builder addHandlersBuilder(int index)
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getHandlersBuilderList

      public List<Handler.Builder> getHandlersBuilderList()
       Optional. A list of registered handlers to execute based on the specified
       triggers.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Handler handlers = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getPlaybookTypeValue

      public int getPlaybookTypeValue()
       Optional. Type of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.PlaybookType playbook_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPlaybookTypeValue in interface PlaybookOrBuilder
      Returns:
      The enum numeric value on the wire for playbookType.
    • setPlaybookTypeValue

      public Playbook.Builder setPlaybookTypeValue(int value)
       Optional. Type of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.PlaybookType playbook_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for playbookType to set.
      Returns:
      This builder for chaining.
    • getPlaybookType

      public Playbook.PlaybookType getPlaybookType()
       Optional. Type of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.PlaybookType playbook_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPlaybookType in interface PlaybookOrBuilder
      Returns:
      The playbookType.
    • setPlaybookType

      public Playbook.Builder setPlaybookType(Playbook.PlaybookType value)
       Optional. Type of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.PlaybookType playbook_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The playbookType to set.
      Returns:
      This builder for chaining.
    • clearPlaybookType

      public Playbook.Builder clearPlaybookType()
       Optional. Type of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.Playbook.PlaybookType playbook_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.