Class FlowTransition.Builder

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

public static final class FlowTransition.Builder extends com.google.protobuf.GeneratedMessage.Builder<FlowTransition.Builder> implements FlowTransitionOrBuilder
 Stores metadata of the transition to a target CX flow. Flow transition
 actions exit the caller playbook and enter the child flow.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.FlowTransition
  • 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<FlowTransition.Builder>
    • clear

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

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

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

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

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

      public FlowTransition.Builder mergeFrom(FlowTransition other)
    • isInitialized

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

      public FlowTransition.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<FlowTransition.Builder>
      Throws:
      IOException
    • getFlow

      public String getFlow()
       Required. The unique identifier of the flow.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<Agentflows/<FlowID>`.
       
      string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getFlow in interface FlowTransitionOrBuilder
      Returns:
      The flow.
    • getFlowBytes

      public com.google.protobuf.ByteString getFlowBytes()
       Required. The unique identifier of the flow.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<Agentflows/<FlowID>`.
       
      string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getFlowBytes in interface FlowTransitionOrBuilder
      Returns:
      The bytes for flow.
    • setFlow

      public FlowTransition.Builder setFlow(String value)
       Required. The unique identifier of the flow.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<Agentflows/<FlowID>`.
       
      string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The flow to set.
      Returns:
      This builder for chaining.
    • clearFlow

      public FlowTransition.Builder clearFlow()
       Required. The unique identifier of the flow.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<Agentflows/<FlowID>`.
       
      string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setFlowBytes

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

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

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

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

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

      public FlowTransition.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. The display name of the flow.
       
      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.FlowTransition.input_action_parameters is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=485
       A list of input parameters for the action.
       
      .google.protobuf.Struct input_action_parameters = 2 [deprecated = true];
      Specified by:
      hasInputActionParameters in interface FlowTransitionOrBuilder
      Returns:
      Whether the inputActionParameters field is set.
    • getInputActionParameters

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

      @Deprecated public FlowTransition.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 FlowTransition.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 FlowTransition.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 FlowTransition.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 FlowTransitionOrBuilder