Class Action.FlowStateUpdate.Builder (0.89.0)

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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Action.FlowStateUpdate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Action.FlowStateUpdate.Builder clear()
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

clearDestination()

public Action.FlowStateUpdate.Builder clearDestination()

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
Action.FlowStateUpdate.Builder

This builder for chaining.

clearEventType()

public Action.FlowStateUpdate.Builder clearEventType()

The type of the event that triggered the state update.

string event_type = 1;

Returns
Type Description
Action.FlowStateUpdate.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Action.FlowStateUpdate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

clearFunctionCall()

public Action.FlowStateUpdate.Builder clearFunctionCall()

The function call to execute.

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

Returns
Type Description
Action.FlowStateUpdate.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.FlowStateUpdate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

clearPageState()

public Action.FlowStateUpdate.Builder clearPageState()

The updated page and flow state.

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

Returns
Type Description
Action.FlowStateUpdate.Builder

clearUpdatedParameters()

public Action.FlowStateUpdate.Builder clearUpdatedParameters()

The updated parameters.

.google.protobuf.Struct updated_parameters = 3;

Returns
Type Description
Action.FlowStateUpdate.Builder

clone()

public Action.FlowStateUpdate.Builder clone()
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getFunctionCallBuilder()

public Action.FlowStateUpdate.FunctionCall.Builder getFunctionCallBuilder()

The function call to execute.

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

Returns
Type Description
Action.FlowStateUpdate.FunctionCall.Builder

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.

getPageStateBuilder()

public Action.FlowStateUpdate.PageState.Builder getPageStateBuilder()

The updated page and flow state.

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

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

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

getUpdatedParameters()

public Struct getUpdatedParameters()

The updated parameters.

.google.protobuf.Struct updated_parameters = 3;

Returns
Type Description
Struct

The updatedParameters.

getUpdatedParametersBuilder()

public Struct.Builder getUpdatedParametersBuilder()

The updated parameters.

.google.protobuf.Struct updated_parameters = 3;

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Action.FlowStateUpdate other)

public Action.FlowStateUpdate.Builder mergeFrom(Action.FlowStateUpdate other)
Parameter
Name Description
other Action.FlowStateUpdate
Returns
Type Description
Action.FlowStateUpdate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Action.FlowStateUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Action.FlowStateUpdate.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

mergeFunctionCall(Action.FlowStateUpdate.FunctionCall value)

public Action.FlowStateUpdate.Builder mergeFunctionCall(Action.FlowStateUpdate.FunctionCall value)

The function call to execute.

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

Parameter
Name Description
value Action.FlowStateUpdate.FunctionCall
Returns
Type Description
Action.FlowStateUpdate.Builder

mergePageState(Action.FlowStateUpdate.PageState value)

public Action.FlowStateUpdate.Builder mergePageState(Action.FlowStateUpdate.PageState value)

The updated page and flow state.

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

Parameter
Name Description
value Action.FlowStateUpdate.PageState
Returns
Type Description
Action.FlowStateUpdate.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Action.FlowStateUpdate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

mergeUpdatedParameters(Struct value)

public Action.FlowStateUpdate.Builder mergeUpdatedParameters(Struct value)

The updated parameters.

.google.protobuf.Struct updated_parameters = 3;

Parameter
Name Description
value Struct
Returns
Type Description
Action.FlowStateUpdate.Builder

setDestination(String value)

public Action.FlowStateUpdate.Builder setDestination(String value)

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;

Parameter
Name Description
value String

The destination to set.

Returns
Type Description
Action.FlowStateUpdate.Builder

This builder for chaining.

setDestinationBytes(ByteString value)

public Action.FlowStateUpdate.Builder setDestinationBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for destination to set.

Returns
Type Description
Action.FlowStateUpdate.Builder

This builder for chaining.

setEventType(String value)

public Action.FlowStateUpdate.Builder setEventType(String value)

The type of the event that triggered the state update.

string event_type = 1;

Parameter
Name Description
value String

The eventType to set.

Returns
Type Description
Action.FlowStateUpdate.Builder

This builder for chaining.

setEventTypeBytes(ByteString value)

public Action.FlowStateUpdate.Builder setEventTypeBytes(ByteString value)

The type of the event that triggered the state update.

string event_type = 1;

Parameter
Name Description
value ByteString

The bytes for eventType to set.

Returns
Type Description
Action.FlowStateUpdate.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Action.FlowStateUpdate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

setFunctionCall(Action.FlowStateUpdate.FunctionCall value)

public Action.FlowStateUpdate.Builder setFunctionCall(Action.FlowStateUpdate.FunctionCall value)

The function call to execute.

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

Parameter
Name Description
value Action.FlowStateUpdate.FunctionCall
Returns
Type Description
Action.FlowStateUpdate.Builder

setFunctionCall(Action.FlowStateUpdate.FunctionCall.Builder builderForValue)

public Action.FlowStateUpdate.Builder setFunctionCall(Action.FlowStateUpdate.FunctionCall.Builder builderForValue)

The function call to execute.

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

Parameter
Name Description
builderForValue Action.FlowStateUpdate.FunctionCall.Builder
Returns
Type Description
Action.FlowStateUpdate.Builder

setPageState(Action.FlowStateUpdate.PageState value)

public Action.FlowStateUpdate.Builder setPageState(Action.FlowStateUpdate.PageState value)

The updated page and flow state.

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

Parameter
Name Description
value Action.FlowStateUpdate.PageState
Returns
Type Description
Action.FlowStateUpdate.Builder

setPageState(Action.FlowStateUpdate.PageState.Builder builderForValue)

public Action.FlowStateUpdate.Builder setPageState(Action.FlowStateUpdate.PageState.Builder builderForValue)

The updated page and flow state.

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

Parameter
Name Description
builderForValue Action.FlowStateUpdate.PageState.Builder
Returns
Type Description
Action.FlowStateUpdate.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Action.FlowStateUpdate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Action.FlowStateUpdate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.FlowStateUpdate.Builder
Overrides

setUpdatedParameters(Struct value)

public Action.FlowStateUpdate.Builder setUpdatedParameters(Struct value)

The updated parameters.

.google.protobuf.Struct updated_parameters = 3;

Parameter
Name Description
value Struct
Returns
Type Description
Action.FlowStateUpdate.Builder

setUpdatedParameters(Struct.Builder builderForValue)

public Action.FlowStateUpdate.Builder setUpdatedParameters(Struct.Builder builderForValue)

The updated parameters.

.google.protobuf.Struct updated_parameters = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Action.FlowStateUpdate.Builder