Class FlowInvocation.Builder (0.52.0)

public static final class FlowInvocation.Builder extends GeneratedMessageV3.Builder<FlowInvocation.Builder> implements FlowInvocationOrBuilder

Stores metadata of the invocation of a CX flow. Next Id: 7

Protobuf type google.cloud.dialogflow.cx.v3beta1.FlowInvocation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllInputParameters(Iterable<? extends ActionParameter> values)

public FlowInvocation.Builder addAllInputParameters(Iterable<? extends ActionParameter> values)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameter>
Returns
TypeDescription
FlowInvocation.Builder

addAllOutputParameters(Iterable<? extends ActionParameter> values)

public FlowInvocation.Builder addAllOutputParameters(Iterable<? extends ActionParameter> values)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameter>
Returns
TypeDescription
FlowInvocation.Builder

addInputParameters(ActionParameter value)

public FlowInvocation.Builder addInputParameters(ActionParameter value)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameter
NameDescription
valueActionParameter
Returns
TypeDescription
FlowInvocation.Builder

addInputParameters(ActionParameter.Builder builderForValue)

public FlowInvocation.Builder addInputParameters(ActionParameter.Builder builderForValue)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameter
NameDescription
builderForValueActionParameter.Builder
Returns
TypeDescription
FlowInvocation.Builder

addInputParameters(int index, ActionParameter value)

public FlowInvocation.Builder addInputParameters(int index, ActionParameter value)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameters
NameDescription
indexint
valueActionParameter
Returns
TypeDescription
FlowInvocation.Builder

addInputParameters(int index, ActionParameter.Builder builderForValue)

public FlowInvocation.Builder addInputParameters(int index, ActionParameter.Builder builderForValue)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameters
NameDescription
indexint
builderForValueActionParameter.Builder
Returns
TypeDescription
FlowInvocation.Builder

addInputParametersBuilder()

public ActionParameter.Builder addInputParametersBuilder()

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Returns
TypeDescription
ActionParameter.Builder

addInputParametersBuilder(int index)

public ActionParameter.Builder addInputParametersBuilder(int index)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionParameter.Builder

addOutputParameters(ActionParameter value)

public FlowInvocation.Builder addOutputParameters(ActionParameter value)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameter
NameDescription
valueActionParameter
Returns
TypeDescription
FlowInvocation.Builder

addOutputParameters(ActionParameter.Builder builderForValue)

public FlowInvocation.Builder addOutputParameters(ActionParameter.Builder builderForValue)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameter
NameDescription
builderForValueActionParameter.Builder
Returns
TypeDescription
FlowInvocation.Builder

addOutputParameters(int index, ActionParameter value)

public FlowInvocation.Builder addOutputParameters(int index, ActionParameter value)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameters
NameDescription
indexint
valueActionParameter
Returns
TypeDescription
FlowInvocation.Builder

addOutputParameters(int index, ActionParameter.Builder builderForValue)

public FlowInvocation.Builder addOutputParameters(int index, ActionParameter.Builder builderForValue)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameters
NameDescription
indexint
builderForValueActionParameter.Builder
Returns
TypeDescription
FlowInvocation.Builder

addOutputParametersBuilder()

public ActionParameter.Builder addOutputParametersBuilder()

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Returns
TypeDescription
ActionParameter.Builder

addOutputParametersBuilder(int index)

public ActionParameter.Builder addOutputParametersBuilder(int index)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionParameter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FlowInvocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FlowInvocation.Builder
Overrides

build()

public FlowInvocation build()
Returns
TypeDescription
FlowInvocation

buildPartial()

public FlowInvocation buildPartial()
Returns
TypeDescription
FlowInvocation

clear()

public FlowInvocation.Builder clear()
Returns
TypeDescription
FlowInvocation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FlowInvocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FlowInvocation.Builder
Overrides

clearFlow()

public FlowInvocation.Builder clearFlow()

Required. The unique identifier of the flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent flows/<Flow ID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
FlowInvocation.Builder

This builder for chaining.

clearFlowState()

public FlowInvocation.Builder clearFlowState()

Required. Flow invocation's output state.

.google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FlowInvocation.Builder

This builder for chaining.

clearInputParameters()

public FlowInvocation.Builder clearInputParameters()

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Returns
TypeDescription
FlowInvocation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FlowInvocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FlowInvocation.Builder
Overrides

clearOutputParameters()

public FlowInvocation.Builder clearOutputParameters()

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Returns
TypeDescription
FlowInvocation.Builder

clone()

public FlowInvocation.Builder clone()
Returns
TypeDescription
FlowInvocation.Builder
Overrides

getDefaultInstanceForType()

public FlowInvocation getDefaultInstanceForType()
Returns
TypeDescription
FlowInvocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFlow()

public String getFlow()

Required. The unique identifier of the flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent flows/<Flow ID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The flow.

getFlowBytes()

public ByteString getFlowBytes()

Required. The unique identifier of the flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent flows/<Flow ID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for flow.

getFlowState()

public OutputState getFlowState()

Required. Flow invocation's output state.

.google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OutputState

The flowState.

getFlowStateValue()

public int getFlowStateValue()

Required. Flow invocation's output state.

.google.cloud.dialogflow.cx.v3beta1.OutputState flow_state = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for flowState.

getInputParameters(int index)

public ActionParameter getInputParameters(int index)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionParameter

getInputParametersBuilder(int index)

public ActionParameter.Builder getInputParametersBuilder(int index)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionParameter.Builder

getInputParametersBuilderList()

public List<ActionParameter.Builder> getInputParametersBuilderList()

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Returns
TypeDescription
List<Builder>

getInputParametersCount()

public int getInputParametersCount()

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Returns
TypeDescription
int

getInputParametersList()

public List<ActionParameter> getInputParametersList()

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Returns
TypeDescription
List<ActionParameter>

getInputParametersOrBuilder(int index)

public ActionParameterOrBuilder getInputParametersOrBuilder(int index)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionParameterOrBuilder

getInputParametersOrBuilderList()

public List<? extends ActionParameterOrBuilder> getInputParametersOrBuilderList()

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameterOrBuilder>

getOutputParameters(int index)

public ActionParameter getOutputParameters(int index)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionParameter

getOutputParametersBuilder(int index)

public ActionParameter.Builder getOutputParametersBuilder(int index)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionParameter.Builder

getOutputParametersBuilderList()

public List<ActionParameter.Builder> getOutputParametersBuilderList()

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Returns
TypeDescription
List<Builder>

getOutputParametersCount()

public int getOutputParametersCount()

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Returns
TypeDescription
int

getOutputParametersList()

public List<ActionParameter> getOutputParametersList()

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Returns
TypeDescription
List<ActionParameter>

getOutputParametersOrBuilder(int index)

public ActionParameterOrBuilder getOutputParametersOrBuilder(int index)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionParameterOrBuilder

getOutputParametersOrBuilderList()

public List<? extends ActionParameterOrBuilder> getOutputParametersOrBuilderList()

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameterOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FlowInvocation other)

public FlowInvocation.Builder mergeFrom(FlowInvocation other)
Parameter
NameDescription
otherFlowInvocation
Returns
TypeDescription
FlowInvocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FlowInvocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FlowInvocation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FlowInvocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FlowInvocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FlowInvocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FlowInvocation.Builder
Overrides

removeInputParameters(int index)

public FlowInvocation.Builder removeInputParameters(int index)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FlowInvocation.Builder

removeOutputParameters(int index)

public FlowInvocation.Builder removeOutputParameters(int index)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
FlowInvocation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FlowInvocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FlowInvocation.Builder
Overrides

setFlow(String value)

public FlowInvocation.Builder setFlow(String value)

Required. The unique identifier of the flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent flows/<Flow ID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The flow to set.

Returns
TypeDescription
FlowInvocation.Builder

This builder for chaining.

setFlowBytes(ByteString value)

public FlowInvocation.Builder setFlowBytes(ByteString value)

Required. The unique identifier of the flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent flows/<Flow ID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for flow to set.

Returns
TypeDescription
FlowInvocation.Builder

This builder for chaining.

setFlowState(OutputState value)

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

Parameter
NameDescription
valueOutputState

The flowState to set.

Returns
TypeDescription
FlowInvocation.Builder

This builder for chaining.

setFlowStateValue(int value)

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for flowState to set.

Returns
TypeDescription
FlowInvocation.Builder

This builder for chaining.

setInputParameters(int index, ActionParameter value)

public FlowInvocation.Builder setInputParameters(int index, ActionParameter value)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameters
NameDescription
indexint
valueActionParameter
Returns
TypeDescription
FlowInvocation.Builder

setInputParameters(int index, ActionParameter.Builder builderForValue)

public FlowInvocation.Builder setInputParameters(int index, ActionParameter.Builder builderForValue)

A list of input parameters for the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter input_parameters = 2;

Parameters
NameDescription
indexint
builderForValueActionParameter.Builder
Returns
TypeDescription
FlowInvocation.Builder

setOutputParameters(int index, ActionParameter value)

public FlowInvocation.Builder setOutputParameters(int index, ActionParameter value)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameters
NameDescription
indexint
valueActionParameter
Returns
TypeDescription
FlowInvocation.Builder

setOutputParameters(int index, ActionParameter.Builder builderForValue)

public FlowInvocation.Builder setOutputParameters(int index, ActionParameter.Builder builderForValue)

A list of output parameters generated by the flow invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter output_parameters = 3;

Parameters
NameDescription
indexint
builderForValueActionParameter.Builder
Returns
TypeDescription
FlowInvocation.Builder

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

public FlowInvocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FlowInvocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FlowInvocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FlowInvocation.Builder
Overrides