Class Action.FlowStateUpdate.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.Builder
- All Implemented Interfaces:
Action.FlowStateUpdateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Action.FlowStateUpdate
public static final class Action.FlowStateUpdate.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The destination of the transition.The type of the event that triggered the state update.The function call to execute.The updated page and flow state.The updated parameters.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe destination of the transition.com.google.protobuf.ByteStringThe destination of the transition.The type of the event that triggered the state update.com.google.protobuf.ByteStringThe type of the event that triggered the state update.The function call to execute.The function call to execute.The function call to execute.The updated page and flow state.The updated page and flow state.The updated page and flow state.com.google.protobuf.StructThe updated parameters.com.google.protobuf.Struct.BuilderThe updated parameters.com.google.protobuf.StructOrBuilderThe updated parameters.booleanThe function call to execute.booleanThe updated page and flow state.booleanThe updated parameters.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Action.FlowStateUpdate other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The function call to execute.The updated page and flow state.mergeUpdatedParameters(com.google.protobuf.Struct value) The updated parameters.setDestination(String value) The destination of the transition.setDestinationBytes(com.google.protobuf.ByteString value) The destination of the transition.setEventType(String value) The type of the event that triggered the state update.setEventTypeBytes(com.google.protobuf.ByteString value) The type of the event that triggered the state update.The function call to execute.setFunctionCall(Action.FlowStateUpdate.FunctionCall.Builder builderForValue) The function call to execute.The updated page and flow state.setPageState(Action.FlowStateUpdate.PageState.Builder builderForValue) The updated page and flow state.setUpdatedParameters(com.google.protobuf.Struct value) The updated parameters.setUpdatedParameters(com.google.protobuf.Struct.Builder builderForValue) The updated parameters.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.FlowStateUpdate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.Builder>
-
mergeFrom
public Action.FlowStateUpdate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.FlowStateUpdate.Builder>- Throws:
IOException
-
getEventType
The type of the event that triggered the state update.
string event_type = 1;- Specified by:
getEventTypein interfaceAction.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:
getEventTypeBytesin interfaceAction.FlowStateUpdateOrBuilder- Returns:
- The bytes for eventType.
-
setEventType
The type of the event that triggered the state update.
string event_type = 1;- Parameters:
value- The eventType to set.- Returns:
- This builder for chaining.
-
clearEventType
The type of the event that triggered the state update.
string event_type = 1;- Returns:
- This builder for chaining.
-
setEventTypeBytes
The type of the event that triggered the state update.
string event_type = 1;- Parameters:
value- The bytes for eventType to set.- Returns:
- This builder for chaining.
-
hasPageState
public boolean hasPageState()The updated page and flow state.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2;- Specified by:
hasPageStatein interfaceAction.FlowStateUpdateOrBuilder- Returns:
- Whether the pageState field is set.
-
getPageState
The updated page and flow state.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2;- Specified by:
getPageStatein interfaceAction.FlowStateUpdateOrBuilder- Returns:
- The pageState.
-
setPageState
The updated page and flow state.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2; -
setPageState
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; -
mergePageState
The updated page and flow state.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2; -
clearPageState
The updated page and flow state.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2; -
getPageStateBuilder
The updated page and flow state.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2; -
getPageStateOrBuilder
The updated page and flow state.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState page_state = 2;- Specified by:
getPageStateOrBuilderin interfaceAction.FlowStateUpdateOrBuilder
-
hasUpdatedParameters
public boolean hasUpdatedParameters()The updated parameters.
.google.protobuf.Struct updated_parameters = 3;- Specified by:
hasUpdatedParametersin interfaceAction.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:
getUpdatedParametersin interfaceAction.FlowStateUpdateOrBuilder- Returns:
- The updatedParameters.
-
setUpdatedParameters
The updated parameters.
.google.protobuf.Struct updated_parameters = 3; -
setUpdatedParameters
public Action.FlowStateUpdate.Builder setUpdatedParameters(com.google.protobuf.Struct.Builder builderForValue) The updated parameters.
.google.protobuf.Struct updated_parameters = 3; -
mergeUpdatedParameters
The updated parameters.
.google.protobuf.Struct updated_parameters = 3; -
clearUpdatedParameters
The updated parameters.
.google.protobuf.Struct updated_parameters = 3; -
getUpdatedParametersBuilder
public com.google.protobuf.Struct.Builder getUpdatedParametersBuilder()The updated parameters.
.google.protobuf.Struct updated_parameters = 3; -
getUpdatedParametersOrBuilder
public com.google.protobuf.StructOrBuilder getUpdatedParametersOrBuilder()The updated parameters.
.google.protobuf.Struct updated_parameters = 3;- Specified by:
getUpdatedParametersOrBuilderin interfaceAction.FlowStateUpdateOrBuilder
-
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:
getDestinationin interfaceAction.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:
getDestinationBytesin interfaceAction.FlowStateUpdateOrBuilder- Returns:
- The bytes for destination.
-
setDestination
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;- Parameters:
value- The destination to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDestinationBytes
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;- Parameters:
value- The bytes for destination to set.- Returns:
- This builder for chaining.
-
hasFunctionCall
public boolean hasFunctionCall()The function call to execute.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5;- Specified by:
hasFunctionCallin interfaceAction.FlowStateUpdateOrBuilder- Returns:
- Whether the functionCall field is set.
-
getFunctionCall
The function call to execute.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5;- Specified by:
getFunctionCallin interfaceAction.FlowStateUpdateOrBuilder- Returns:
- The functionCall.
-
setFunctionCall
The function call to execute.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5; -
setFunctionCall
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; -
mergeFunctionCall
The function call to execute.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5; -
clearFunctionCall
The function call to execute.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5; -
getFunctionCallBuilder
The function call to execute.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5; -
getFunctionCallOrBuilder
The function call to execute.
.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.FunctionCall function_call = 5;- Specified by:
getFunctionCallOrBuilderin interfaceAction.FlowStateUpdateOrBuilder
-