Class PlaybookOutput.Builder

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

public static final class PlaybookOutput.Builder extends com.google.protobuf.GeneratedMessage.Builder<PlaybookOutput.Builder> implements PlaybookOutputOrBuilder
 Output of the playbook.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.PlaybookOutput
  • 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<PlaybookOutput.Builder>
    • clear

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

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

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

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

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

      public PlaybookOutput.Builder mergeFrom(PlaybookOutput other)
    • isInitialized

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

      public PlaybookOutput.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<PlaybookOutput.Builder>
      Throws:
      IOException
    • getExecutionSummary

      public String getExecutionSummary()
       Optional. Summary string of the execution result of the child playbook.
       
      string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExecutionSummary in interface PlaybookOutputOrBuilder
      Returns:
      The executionSummary.
    • getExecutionSummaryBytes

      public com.google.protobuf.ByteString getExecutionSummaryBytes()
       Optional. Summary string of the execution result of the child playbook.
       
      string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExecutionSummaryBytes in interface PlaybookOutputOrBuilder
      Returns:
      The bytes for executionSummary.
    • setExecutionSummary

      public PlaybookOutput.Builder setExecutionSummary(String value)
       Optional. Summary string of the execution result of the child playbook.
       
      string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The executionSummary to set.
      Returns:
      This builder for chaining.
    • clearExecutionSummary

      public PlaybookOutput.Builder clearExecutionSummary()
       Optional. Summary string of the execution result of the child playbook.
       
      string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setExecutionSummaryBytes

      public PlaybookOutput.Builder setExecutionSummaryBytes(com.google.protobuf.ByteString value)
       Optional. Summary string of the execution result of the child playbook.
       
      string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for executionSummary to set.
      Returns:
      This builder for chaining.
    • getStateValue

      @Deprecated public int getStateValue()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
       End state of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
      Specified by:
      getStateValue in interface PlaybookOutputOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      @Deprecated public PlaybookOutput.Builder setStateValue(int value)
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
       End state of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      @Deprecated public PlaybookOutput.State getState()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
       End state of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
      Specified by:
      getState in interface PlaybookOutputOrBuilder
      Returns:
      The state.
    • setState

      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
       End state of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      @Deprecated public PlaybookOutput.Builder clearState()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526
       End state of the playbook.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
      Returns:
      This builder for chaining.
    • hasActionParameters

      public boolean hasActionParameters()
       Optional. A Struct object of output parameters for the action.
       
      .google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasActionParameters in interface PlaybookOutputOrBuilder
      Returns:
      Whether the actionParameters field is set.
    • getActionParameters

      public com.google.protobuf.Struct getActionParameters()
       Optional. A Struct object of output parameters for the action.
       
      .google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActionParameters in interface PlaybookOutputOrBuilder
      Returns:
      The actionParameters.
    • setActionParameters

      public PlaybookOutput.Builder setActionParameters(com.google.protobuf.Struct value)
       Optional. A Struct object of output parameters for the action.
       
      .google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setActionParameters

      public PlaybookOutput.Builder setActionParameters(com.google.protobuf.Struct.Builder builderForValue)
       Optional. A Struct object of output parameters for the action.
       
      .google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeActionParameters

      public PlaybookOutput.Builder mergeActionParameters(com.google.protobuf.Struct value)
       Optional. A Struct object of output parameters for the action.
       
      .google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearActionParameters

      public PlaybookOutput.Builder clearActionParameters()
       Optional. A Struct object of output parameters for the action.
       
      .google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getActionParametersBuilder

      public com.google.protobuf.Struct.Builder getActionParametersBuilder()
       Optional. A Struct object of output parameters for the action.
       
      .google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getActionParametersOrBuilder

      public com.google.protobuf.StructOrBuilder getActionParametersOrBuilder()
       Optional. A Struct object of output parameters for the action.
       
      .google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActionParametersOrBuilder in interface PlaybookOutputOrBuilder