Class Playbook

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.Playbook
All Implemented Interfaces:
PlaybookOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Playbook extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • GOAL_FIELD_NUMBER

      public static final int GOAL_FIELD_NUMBER
      See Also:
    • INPUT_PARAMETER_DEFINITIONS_FIELD_NUMBER

      public static final int INPUT_PARAMETER_DEFINITIONS_FIELD_NUMBER
      See Also:
    • OUTPUT_PARAMETER_DEFINITIONS_FIELD_NUMBER

      public static final int OUTPUT_PARAMETER_DEFINITIONS_FIELD_NUMBER
      See Also:
    • INSTRUCTION_FIELD_NUMBER

      public static final int INSTRUCTION_FIELD_NUMBER
      See Also:
    • TOKEN_COUNT_FIELD_NUMBER

      public static final int TOKEN_COUNT_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • REFERENCED_PLAYBOOKS_FIELD_NUMBER

      public static final int REFERENCED_PLAYBOOKS_FIELD_NUMBER
      See Also:
    • REFERENCED_FLOWS_FIELD_NUMBER

      public static final int REFERENCED_FLOWS_FIELD_NUMBER
      See Also:
    • REFERENCED_TOOLS_FIELD_NUMBER

      public static final int REFERENCED_TOOLS_FIELD_NUMBER
      See Also:
    • INLINE_ACTIONS_FIELD_NUMBER

      public static final int INLINE_ACTIONS_FIELD_NUMBER
      See Also:
    • CODE_BLOCK_FIELD_NUMBER

      public static final int CODE_BLOCK_FIELD_NUMBER
      See Also:
    • LLM_MODEL_SETTINGS_FIELD_NUMBER

      public static final int LLM_MODEL_SETTINGS_FIELD_NUMBER
      See Also:
    • SPEECH_SETTINGS_FIELD_NUMBER

      public static final int SPEECH_SETTINGS_FIELD_NUMBER
      See Also:
    • HANDLERS_FIELD_NUMBER

      public static final int HANDLERS_FIELD_NUMBER
      See Also:
    • PLAYBOOK_TYPE_FIELD_NUMBER

      public static final int PLAYBOOK_TYPE_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Playbook parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Playbook parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Playbook parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Playbook parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Playbook parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Playbook parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Playbook parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Playbook parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Playbook parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Playbook parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Playbook parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Playbook parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Playbook.Builder newBuilder()
    • newBuilder

      public static Playbook.Builder newBuilder(Playbook prototype)
    • toBuilder

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

      protected Playbook.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Playbook getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Playbook> parser()
    • getParserForType

      public com.google.protobuf.Parser<Playbook> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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