Class Action.FlowStateUpdate

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate
All Implemented Interfaces:
Action.FlowStateUpdateOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Action

public static final class Action.FlowStateUpdate extends com.google.protobuf.GeneratedMessage implements Action.FlowStateUpdateOrBuilder
 Stores metadata of the state update action, such as a state machine
 execution in flows.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate
See Also:
  • Field Details

    • EVENT_TYPE_FIELD_NUMBER

      public static final int EVENT_TYPE_FIELD_NUMBER
      See Also:
    • PAGE_STATE_FIELD_NUMBER

      public static final int PAGE_STATE_FIELD_NUMBER
      See Also:
    • UPDATED_PARAMETERS_FIELD_NUMBER

      public static final int UPDATED_PARAMETERS_FIELD_NUMBER
      See Also:
    • DESTINATION_FIELD_NUMBER

      public static final int DESTINATION_FIELD_NUMBER
      See Also:
    • FUNCTION_CALL_FIELD_NUMBER

      public static final int FUNCTION_CALL_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
    • getEventType

      public String getEventType()
       The type of the event that triggered the state update.
       
      string event_type = 1;
      Specified by:
      getEventType in interface Action.FlowStateUpdateOrBuilder
      Returns:
      The eventType.
    • getEventTypeBytes

      public com.google.protobuf.ByteString getEventTypeBytes()
       The type of the event that triggered the state update.
       
      string event_type = 1;
      Specified by:
      getEventTypeBytes in interface Action.FlowStateUpdateOrBuilder
      Returns:
      The bytes for eventType.
    • hasPageState

      public boolean hasPageState()
       The updated page and flow state.
       
      .google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2;
      Specified by:
      hasPageState in interface Action.FlowStateUpdateOrBuilder
      Returns:
      Whether the pageState field is set.
    • getPageState

      public Action.FlowStateUpdate.PageState getPageState()
       The updated page and flow state.
       
      .google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2;
      Specified by:
      getPageState in interface Action.FlowStateUpdateOrBuilder
      Returns:
      The pageState.
    • getPageStateOrBuilder

      public Action.FlowStateUpdate.PageStateOrBuilder getPageStateOrBuilder()
       The updated page and flow state.
       
      .google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2;
      Specified by:
      getPageStateOrBuilder in interface Action.FlowStateUpdateOrBuilder
    • hasUpdatedParameters

      public boolean hasUpdatedParameters()
       The updated parameters.
       
      .google.protobuf.Struct updated_parameters = 3;
      Specified by:
      hasUpdatedParameters in interface Action.FlowStateUpdateOrBuilder
      Returns:
      Whether the updatedParameters field is set.
    • getUpdatedParameters

      public com.google.protobuf.Struct getUpdatedParameters()
       The updated parameters.
       
      .google.protobuf.Struct updated_parameters = 3;
      Specified by:
      getUpdatedParameters in interface Action.FlowStateUpdateOrBuilder
      Returns:
      The updatedParameters.
    • getUpdatedParametersOrBuilder

      public com.google.protobuf.StructOrBuilder getUpdatedParametersOrBuilder()
       The updated parameters.
       
      .google.protobuf.Struct updated_parameters = 3;
      Specified by:
      getUpdatedParametersOrBuilder in interface Action.FlowStateUpdateOrBuilder
    • getDestination

      public String getDestination()
       The destination of the transition.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`
       or
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookId>`.
       
      string destination = 4;
      Specified by:
      getDestination in interface Action.FlowStateUpdateOrBuilder
      Returns:
      The destination.
    • getDestinationBytes

      public com.google.protobuf.ByteString getDestinationBytes()
       The destination of the transition.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`
       or
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookId>`.
       
      string destination = 4;
      Specified by:
      getDestinationBytes in interface Action.FlowStateUpdateOrBuilder
      Returns:
      The bytes for destination.
    • hasFunctionCall

      public boolean hasFunctionCall()
       The function call to execute.
       
      .google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5;
      Specified by:
      hasFunctionCall in interface Action.FlowStateUpdateOrBuilder
      Returns:
      Whether the functionCall field is set.
    • getFunctionCall

      public Action.FlowStateUpdate.FunctionCall getFunctionCall()
       The function call to execute.
       
      .google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5;
      Specified by:
      getFunctionCall in interface Action.FlowStateUpdateOrBuilder
      Returns:
      The functionCall.
    • getFunctionCallOrBuilder

      public Action.FlowStateUpdate.FunctionCallOrBuilder getFunctionCallOrBuilder()
       The function call to execute.
       
      .google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5;
      Specified by:
      getFunctionCallOrBuilder in interface Action.FlowStateUpdateOrBuilder
    • 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 Action.FlowStateUpdate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Action.FlowStateUpdate parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Action.FlowStateUpdate parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Action.FlowStateUpdate.Builder newBuilder()
    • newBuilder

      public static Action.FlowStateUpdate.Builder newBuilder(Action.FlowStateUpdate prototype)
    • toBuilder

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

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

      public static Action.FlowStateUpdate getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Action.FlowStateUpdate> 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 Action.FlowStateUpdate getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder