Class PlaybookTransition.Builder

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

public static final class PlaybookTransition.Builder extends com.google.protobuf.GeneratedMessage.Builder<PlaybookTransition.Builder> implements PlaybookTransitionOrBuilder
 Stores metadata of the transition to another target playbook. Playbook
 transition actions exit the caller playbook and enter the target playbook.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.PlaybookTransition
  • 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<PlaybookTransition.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<PlaybookTransition.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<PlaybookTransition.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public PlaybookTransition.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<PlaybookTransition.Builder>
      Throws:
      IOException
    • getPlaybook

      public String getPlaybook()
       Required. The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getPlaybook in interface PlaybookTransitionOrBuilder
      Returns:
      The playbook.
    • getPlaybookBytes

      public com.google.protobuf.ByteString getPlaybookBytes()
       Required. The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getPlaybookBytes in interface PlaybookTransitionOrBuilder
      Returns:
      The bytes for playbook.
    • setPlaybook

      public PlaybookTransition.Builder setPlaybook(String value)
       Required. The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The playbook to set.
      Returns:
      This builder for chaining.
    • clearPlaybook

      public PlaybookTransition.Builder clearPlaybook()
       Required. The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setPlaybookBytes

      public PlaybookTransition.Builder setPlaybookBytes(com.google.protobuf.ByteString value)
       Required. The unique identifier of the playbook.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for playbook to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Output only. The display name of the playbook.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface PlaybookTransitionOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Output only. The display name of the playbook.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayNameBytes in interface PlaybookTransitionOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public PlaybookTransition.Builder setDisplayName(String value)
       Output only. The display name of the playbook.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public PlaybookTransition.Builder clearDisplayName()
       Output only. The display name of the playbook.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public PlaybookTransition.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. The display name of the playbook.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasInputActionParameters

      @Deprecated public boolean hasInputActionParameters()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.PlaybookTransition.input_action_parameters is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=467
       A list of input parameters for the action.
       
      .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
      Specified by:
      hasInputActionParameters in interface PlaybookTransitionOrBuilder
      Returns:
      Whether the inputActionParameters field is set.
    • getInputActionParameters

      @Deprecated public com.google.protobuf.Struct getInputActionParameters()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.PlaybookTransition.input_action_parameters is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=467
       A list of input parameters for the action.
       
      .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
      Specified by:
      getInputActionParameters in interface PlaybookTransitionOrBuilder
      Returns:
      The inputActionParameters.
    • setInputActionParameters

      @Deprecated public PlaybookTransition.Builder setInputActionParameters(com.google.protobuf.Struct value)
      Deprecated.
       A list of input parameters for the action.
       
      .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
    • setInputActionParameters

      @Deprecated public PlaybookTransition.Builder setInputActionParameters(com.google.protobuf.Struct.Builder builderForValue)
      Deprecated.
       A list of input parameters for the action.
       
      .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
    • mergeInputActionParameters

      @Deprecated public PlaybookTransition.Builder mergeInputActionParameters(com.google.protobuf.Struct value)
      Deprecated.
       A list of input parameters for the action.
       
      .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
    • clearInputActionParameters

      @Deprecated public PlaybookTransition.Builder clearInputActionParameters()
      Deprecated.
       A list of input parameters for the action.
       
      .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
    • getInputActionParametersBuilder

      @Deprecated public com.google.protobuf.Struct.Builder getInputActionParametersBuilder()
      Deprecated.
       A list of input parameters for the action.
       
      .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
    • getInputActionParametersOrBuilder

      @Deprecated public com.google.protobuf.StructOrBuilder getInputActionParametersOrBuilder()
      Deprecated.
       A list of input parameters for the action.
       
      .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
      Specified by:
      getInputActionParametersOrBuilder in interface PlaybookTransitionOrBuilder