Class FlowInvocation.Builder

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

public static final class FlowInvocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<FlowInvocation.Builder> implements FlowInvocationOrBuilder
 Stores metadata of the invocation of a child CX flow. Flow invocation actions
 enter the child flow.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.FlowInvocation
  • 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<FlowInvocation.Builder>
    • clear

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

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

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

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

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

      public FlowInvocation.Builder mergeFrom(FlowInvocation other)
    • isInitialized

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

      public FlowInvocation.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<FlowInvocation.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 FlowInvocationOrBuilder
      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 FlowInvocationOrBuilder
      Returns:
      The bytes for flow.
    • setFlow

      public FlowInvocation.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 FlowInvocation.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 FlowInvocation.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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface FlowInvocationOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

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

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

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

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

      public boolean hasInputActionParameters()
       Optional. A list of input parameters for the flow.
       
      .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasInputActionParameters in interface FlowInvocationOrBuilder
      Returns:
      Whether the inputActionParameters field is set.
    • getInputActionParameters

      public com.google.protobuf.Struct getInputActionParameters()
       Optional. A list of input parameters for the flow.
       
      .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputActionParameters in interface FlowInvocationOrBuilder
      Returns:
      The inputActionParameters.
    • setInputActionParameters

      public FlowInvocation.Builder setInputActionParameters(com.google.protobuf.Struct value)
       Optional. A list of input parameters for the flow.
       
      .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setInputActionParameters

      public FlowInvocation.Builder setInputActionParameters(com.google.protobuf.Struct.Builder builderForValue)
       Optional. A list of input parameters for the flow.
       
      .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeInputActionParameters

      public FlowInvocation.Builder mergeInputActionParameters(com.google.protobuf.Struct value)
       Optional. A list of input parameters for the flow.
       
      .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearInputActionParameters

      public FlowInvocation.Builder clearInputActionParameters()
       Optional. A list of input parameters for the flow.
       
      .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getInputActionParametersBuilder

      public com.google.protobuf.Struct.Builder getInputActionParametersBuilder()
       Optional. A list of input parameters for the flow.
       
      .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getInputActionParametersOrBuilder

      public com.google.protobuf.StructOrBuilder getInputActionParametersOrBuilder()
       Optional. A list of input parameters for the flow.
       
      .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputActionParametersOrBuilder in interface FlowInvocationOrBuilder
    • hasOutputActionParameters

      public boolean hasOutputActionParameters()
       Optional. A list of output parameters generated by the flow invocation.
       
      .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOutputActionParameters in interface FlowInvocationOrBuilder
      Returns:
      Whether the outputActionParameters field is set.
    • getOutputActionParameters

      public com.google.protobuf.Struct getOutputActionParameters()
       Optional. A list of output parameters generated by the flow invocation.
       
      .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputActionParameters in interface FlowInvocationOrBuilder
      Returns:
      The outputActionParameters.
    • setOutputActionParameters

      public FlowInvocation.Builder setOutputActionParameters(com.google.protobuf.Struct value)
       Optional. A list of output parameters generated by the flow invocation.
       
      .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setOutputActionParameters

      public FlowInvocation.Builder setOutputActionParameters(com.google.protobuf.Struct.Builder builderForValue)
       Optional. A list of output parameters generated by the flow invocation.
       
      .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
    • mergeOutputActionParameters

      public FlowInvocation.Builder mergeOutputActionParameters(com.google.protobuf.Struct value)
       Optional. A list of output parameters generated by the flow invocation.
       
      .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearOutputActionParameters

      public FlowInvocation.Builder clearOutputActionParameters()
       Optional. A list of output parameters generated by the flow invocation.
       
      .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputActionParametersBuilder

      public com.google.protobuf.Struct.Builder getOutputActionParametersBuilder()
       Optional. A list of output parameters generated by the flow invocation.
       
      .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputActionParametersOrBuilder

      public com.google.protobuf.StructOrBuilder getOutputActionParametersOrBuilder()
       Optional. A list of output parameters generated by the flow invocation.
       
      .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputActionParametersOrBuilder in interface FlowInvocationOrBuilder
    • getFlowStateValue

      public int getFlowStateValue()
       Required. Flow invocation's output state.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFlowStateValue in interface FlowInvocationOrBuilder
      Returns:
      The enum numeric value on the wire for flowState.
    • setFlowStateValue

      public FlowInvocation.Builder setFlowStateValue(int value)
       Required. Flow invocation's output state.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for flowState to set.
      Returns:
      This builder for chaining.
    • getFlowState

      public OutputState getFlowState()
       Required. Flow invocation's output state.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFlowState in interface FlowInvocationOrBuilder
      Returns:
      The flowState.
    • setFlowState

      public FlowInvocation.Builder setFlowState(OutputState value)
       Required. Flow invocation's output state.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The flowState to set.
      Returns:
      This builder for chaining.
    • clearFlowState

      public FlowInvocation.Builder clearFlowState()
       Required. Flow invocation's output state.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.