Class FlowInvocation (0.56.0)

public final class FlowInvocation extends GeneratedMessageV3 implements FlowInvocationOrBuilder

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

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

Static Fields

FLOW_FIELD_NUMBER

public static final int FLOW_FIELD_NUMBER
Field Value
Type Description
int

FLOW_STATE_FIELD_NUMBER

public static final int FLOW_STATE_FIELD_NUMBER
Field Value
Type Description
int

INPUT_PARAMETERS_FIELD_NUMBER

public static final int INPUT_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_PARAMETERS_FIELD_NUMBER

public static final int OUTPUT_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FlowInvocation getDefaultInstance()
Returns
Type Description
FlowInvocation

getDescriptor()

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

newBuilder()

public static FlowInvocation.Builder newBuilder()
Returns
Type Description
FlowInvocation.Builder

newBuilder(FlowInvocation prototype)

public static FlowInvocation.Builder newBuilder(FlowInvocation prototype)
Parameter
Name Description
prototype FlowInvocation
Returns
Type Description
FlowInvocation.Builder

parseDelimitedFrom(InputStream input)

public static FlowInvocation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FlowInvocation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FlowInvocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlowInvocation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FlowInvocation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FlowInvocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FlowInvocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlowInvocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FlowInvocation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FlowInvocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FlowInvocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlowInvocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FlowInvocation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FlowInvocation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FlowInvocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlowInvocation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FlowInvocation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FlowInvocation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FlowInvocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlowInvocation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FlowInvocation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FlowInvocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FlowInvocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlowInvocation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FlowInvocation> parser()
Returns
Type Description
Parser<FlowInvocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FlowInvocation getDefaultInstanceForType()
Returns
Type Description
FlowInvocation

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
ActionParameter

getInputParametersCount()

public int getInputParametersCount()

A list of input parameters for the flow invocation.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
ActionParameter

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameterOrBuilder>

getParserForType()

public Parser<FlowInvocation> getParserForType()
Returns
Type Description
Parser<FlowInvocation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FlowInvocation.Builder newBuilderForType()
Returns
Type Description
FlowInvocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FlowInvocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FlowInvocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FlowInvocation.Builder toBuilder()
Returns
Type Description
FlowInvocation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException