public static final class FlowInvocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder> implements FlowInvocationOrBuilder
Stores metadata of the invocation of a CX flow.Protobuf type
google.cloud.dialogflow.cx.v3beta1.FlowInvocation| Modifier and Type | Method and Description |
|---|---|
FlowInvocation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FlowInvocation |
build() |
FlowInvocation |
buildPartial() |
FlowInvocation.Builder |
clear() |
FlowInvocation.Builder |
clearDisplayName()
Output only.
|
FlowInvocation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FlowInvocation.Builder |
clearFlow()
Required.
|
FlowInvocation.Builder |
clearFlowState()
Required.
|
FlowInvocation.Builder |
clearInputActionParameters()
Optional.
|
FlowInvocation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FlowInvocation.Builder |
clearOutputActionParameters()
Optional.
|
FlowInvocation.Builder |
clone() |
FlowInvocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Output only.
|
String |
getFlow()
Required.
|
com.google.protobuf.ByteString |
getFlowBytes()
Required.
|
OutputState |
getFlowState()
Required.
|
int |
getFlowStateValue()
Required.
|
com.google.protobuf.Struct |
getInputActionParameters()
Optional.
|
com.google.protobuf.Struct.Builder |
getInputActionParametersBuilder()
Optional.
|
com.google.protobuf.StructOrBuilder |
getInputActionParametersOrBuilder()
Optional.
|
com.google.protobuf.Struct |
getOutputActionParameters()
Optional.
|
com.google.protobuf.Struct.Builder |
getOutputActionParametersBuilder()
Optional.
|
com.google.protobuf.StructOrBuilder |
getOutputActionParametersOrBuilder()
Optional.
|
boolean |
hasInputActionParameters()
Optional.
|
boolean |
hasOutputActionParameters()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlowInvocation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlowInvocation.Builder |
mergeFrom(FlowInvocation other) |
FlowInvocation.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlowInvocation.Builder |
mergeInputActionParameters(com.google.protobuf.Struct value)
Optional.
|
FlowInvocation.Builder |
mergeOutputActionParameters(com.google.protobuf.Struct value)
Optional.
|
FlowInvocation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlowInvocation.Builder |
setDisplayName(String value)
Output only.
|
FlowInvocation.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only.
|
FlowInvocation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FlowInvocation.Builder |
setFlow(String value)
Required.
|
FlowInvocation.Builder |
setFlowBytes(com.google.protobuf.ByteString value)
Required.
|
FlowInvocation.Builder |
setFlowState(OutputState value)
Required.
|
FlowInvocation.Builder |
setFlowStateValue(int value)
Required.
|
FlowInvocation.Builder |
setInputActionParameters(com.google.protobuf.Struct.Builder builderForValue)
Optional.
|
FlowInvocation.Builder |
setInputActionParameters(com.google.protobuf.Struct value)
Optional.
|
FlowInvocation.Builder |
setOutputActionParameters(com.google.protobuf.Struct.Builder builderForValue)
Optional.
|
FlowInvocation.Builder |
setOutputActionParameters(com.google.protobuf.Struct value)
Optional.
|
FlowInvocation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FlowInvocation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public FlowInvocation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public FlowInvocation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FlowInvocation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FlowInvocation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FlowInvocation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public FlowInvocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public FlowInvocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public FlowInvocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public FlowInvocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public FlowInvocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public FlowInvocation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlowInvocation.Builder>public FlowInvocation.Builder mergeFrom(FlowInvocation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public FlowInvocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlowInvocation.Builder>IOExceptionpublic String getFlow()
Required. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getFlow in interface FlowInvocationOrBuilderpublic com.google.protobuf.ByteString getFlowBytes()
Required. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getFlowBytes in interface FlowInvocationOrBuilderpublic FlowInvocation.Builder setFlow(String value)
Required. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The flow to set.public FlowInvocation.Builder clearFlow()
Required. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public FlowInvocation.Builder setFlowBytes(com.google.protobuf.ByteString value)
Required. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for flow to set.public String getDisplayName()
Output only. The display name of the flow.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayName in interface FlowInvocationOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Output only. The display name of the flow.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayNameBytes in interface FlowInvocationOrBuilderpublic FlowInvocation.Builder setDisplayName(String value)
Output only. The display name of the flow.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The displayName to set.public FlowInvocation.Builder clearDisplayName()
Output only. The display name of the flow.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];public FlowInvocation.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. The display name of the flow.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for displayName to set.public boolean hasInputActionParameters()
Optional. A list of input parameters for the flow.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
hasInputActionParameters in interface FlowInvocationOrBuilderpublic com.google.protobuf.Struct getInputActionParameters()
Optional. A list of input parameters for the flow.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
getInputActionParameters in interface FlowInvocationOrBuilderpublic FlowInvocation.Builder setInputActionParameters(com.google.protobuf.Struct value)
Optional. A list of input parameters for the flow.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
public FlowInvocation.Builder setInputActionParameters(com.google.protobuf.Struct.Builder builderForValue)
Optional. A list of input parameters for the flow.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
public FlowInvocation.Builder mergeInputActionParameters(com.google.protobuf.Struct value)
Optional. A list of input parameters for the flow.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
public FlowInvocation.Builder clearInputActionParameters()
Optional. A list of input parameters for the flow.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Struct.Builder getInputActionParametersBuilder()
Optional. A list of input parameters for the flow.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.StructOrBuilder getInputActionParametersOrBuilder()
Optional. A list of input parameters for the flow.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
getInputActionParametersOrBuilder in interface FlowInvocationOrBuilderpublic boolean hasOutputActionParameters()
Optional. A list of output parameters generated by the flow invocation.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
hasOutputActionParameters in interface FlowInvocationOrBuilderpublic com.google.protobuf.Struct getOutputActionParameters()
Optional. A list of output parameters generated by the flow invocation.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
getOutputActionParameters in interface FlowInvocationOrBuilderpublic FlowInvocation.Builder setOutputActionParameters(com.google.protobuf.Struct value)
Optional. A list of output parameters generated by the flow invocation.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public FlowInvocation.Builder setOutputActionParameters(com.google.protobuf.Struct.Builder builderForValue)
Optional. A list of output parameters generated by the flow invocation.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public FlowInvocation.Builder mergeOutputActionParameters(com.google.protobuf.Struct value)
Optional. A list of output parameters generated by the flow invocation.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public FlowInvocation.Builder clearOutputActionParameters()
Optional. A list of output parameters generated by the flow invocation.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Struct.Builder getOutputActionParametersBuilder()
Optional. A list of output parameters generated by the flow invocation.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.StructOrBuilder getOutputActionParametersOrBuilder()
Optional. A list of output parameters generated by the flow invocation.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
getOutputActionParametersOrBuilder in interface FlowInvocationOrBuilderpublic int getFlowStateValue()
Required. Flow invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
getFlowStateValue in interface FlowInvocationOrBuilderpublic FlowInvocation.Builder setFlowStateValue(int value)
Required. Flow invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for flowState to set.public OutputState getFlowState()
Required. Flow invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
getFlowState in interface FlowInvocationOrBuilderpublic FlowInvocation.Builder setFlowState(OutputState value)
Required. Flow invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
value - The flowState to set.public FlowInvocation.Builder clearFlowState()
Required. Flow invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];
public final FlowInvocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>public final FlowInvocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlowInvocation.Builder>Copyright © 2025 Google LLC. All rights reserved.