Class Action.FlowStateUpdate (0.89.0)

public static final class Action.FlowStateUpdate extends GeneratedMessageV3 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

Static Fields

DESTINATION_FIELD_NUMBER

public static final int DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

EVENT_TYPE_FIELD_NUMBER

public static final int EVENT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

FUNCTION_CALL_FIELD_NUMBER

public static final int FUNCTION_CALL_FIELD_NUMBER
Field Value
Type Description
int

PAGE_STATE_FIELD_NUMBER

public static final int PAGE_STATE_FIELD_NUMBER
Field Value
Type Description
int

UPDATED_PARAMETERS_FIELD_NUMBER

public static final int UPDATED_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Action.FlowStateUpdate getDefaultInstance()
Returns
Type Description
Action.FlowStateUpdate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Action.FlowStateUpdate.Builder newBuilder()
Returns
Type Description
Action.FlowStateUpdate.Builder

newBuilder(Action.FlowStateUpdate prototype)

public static Action.FlowStateUpdate.Builder newBuilder(Action.FlowStateUpdate prototype)
Parameter
Name Description
prototype Action.FlowStateUpdate
Returns
Type Description
Action.FlowStateUpdate.Builder

parseDelimitedFrom(InputStream input)

public static Action.FlowStateUpdate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action.FlowStateUpdate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Action.FlowStateUpdate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Action.FlowStateUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Action.FlowStateUpdate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Action.FlowStateUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Action.FlowStateUpdate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Action.FlowStateUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Action.FlowStateUpdate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action.FlowStateUpdate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Action.FlowStateUpdate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Action.FlowStateUpdate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.FlowStateUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Action.FlowStateUpdate> parser()
Returns
Type Description
Parser<FlowStateUpdate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Action.FlowStateUpdate getDefaultInstanceForType()
Returns
Type Description
Action.FlowStateUpdate

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;

Returns
Type Description
String

The destination.

getDestinationBytes()

public 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;

Returns
Type Description
ByteString

The bytes for destination.

getEventType()

public String getEventType()

The type of the event that triggered the state update.

string event_type = 1;

Returns
Type Description
String

The eventType.

getEventTypeBytes()

public ByteString getEventTypeBytes()

The type of the event that triggered the state update.

string event_type = 1;

Returns
Type Description
ByteString

The bytes for eventType.

getFunctionCall()

public Action.FlowStateUpdate.FunctionCall getFunctionCall()

The function call to execute.

.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5;

Returns
Type Description
Action.FlowStateUpdate.FunctionCall

The functionCall.

getFunctionCallOrBuilder()

public Action.FlowStateUpdate.FunctionCallOrBuilder getFunctionCallOrBuilder()

The function call to execute.

.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5;

Returns
Type Description
Action.FlowStateUpdate.FunctionCallOrBuilder

getPageState()

public Action.FlowStateUpdate.PageState getPageState()

The updated page and flow state.

.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2;

Returns
Type Description
Action.FlowStateUpdate.PageState

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;

Returns
Type Description
Action.FlowStateUpdate.PageStateOrBuilder

getParserForType()

public Parser<Action.FlowStateUpdate> getParserForType()
Returns
Type Description
Parser<FlowStateUpdate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdatedParameters()

public Struct getUpdatedParameters()

The updated parameters.

.google.protobuf.Struct updated_parameters = 3;

Returns
Type Description
Struct

The updatedParameters.

getUpdatedParametersOrBuilder()

public StructOrBuilder getUpdatedParametersOrBuilder()

The updated parameters.

.google.protobuf.Struct updated_parameters = 3;

Returns
Type Description
StructOrBuilder

hasFunctionCall()

public boolean hasFunctionCall()

The function call to execute.

.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5;

Returns
Type Description
boolean

Whether the functionCall field is set.

hasPageState()

public boolean hasPageState()

The updated page and flow state.

.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2;

Returns
Type Description
boolean

Whether the pageState field is set.

hasUpdatedParameters()

public boolean hasUpdatedParameters()

The updated parameters.

.google.protobuf.Struct updated_parameters = 3;

Returns
Type Description
boolean

Whether the updatedParameters field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Action.FlowStateUpdate.Builder newBuilderForType()
Returns
Type Description
Action.FlowStateUpdate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Action.FlowStateUpdate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Action.FlowStateUpdate.Builder toBuilder()
Returns
Type Description
Action.FlowStateUpdate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException