public static final class Action.FlowStateUpdate.Builder extends GeneratedMessage.Builder<Action.FlowStateUpdate.Builder> implements Action.FlowStateUpdateOrBuilderStores metadata of the state update action, such as a state machine execution in flows.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Action.FlowStateUpdate.BuilderImplements
Action.FlowStateUpdateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
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 |
|
getDefaultInstanceForType()
public Action.FlowStateUpdate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Action.FlowStateUpdate |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for eventType to set. |
| Returns | |
|---|---|
| Type | Description |
Action.FlowStateUpdate.Builder |
This builder for chaining. |
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 |
|
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 |
|