Class FlowTransition (0.89.0)

public final class FlowTransition extends GeneratedMessageV3 implements FlowTransitionOrBuilder

Stores metadata of the transition to a target CX flow. Flow transition actions exit the caller playbook and enter the child flow.

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

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

FLOW_FIELD_NUMBER

public static final int FLOW_FIELD_NUMBER
Field Value
Type Description
int

INPUT_ACTION_PARAMETERS_FIELD_NUMBER

public static final int INPUT_ACTION_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FlowTransition getDefaultInstance()
Returns
Type Description
FlowTransition

getDescriptor()

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

newBuilder()

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

newBuilder(FlowTransition prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FlowTransition getDefaultInstanceForType()
Returns
Type Description
FlowTransition

getDisplayName()

public String getDisplayName()

Output only. The display name of the flow.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The display name of the flow.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getFlow()

public String getFlow()

Required. The unique identifier of the flow. Format: projects/<ProjectID>/locations/<LocationID>/agents/<Agentflows/<FlowID>.

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/<ProjectID>/locations/<LocationID>/agents/<Agentflows/<FlowID>.

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

Returns
Type Description
ByteString

The bytes for flow.

getInputActionParameters() (deprecated)

public Struct getInputActionParameters()

Deprecated. google.cloud.dialogflow.cx.v3beta1.FlowTransition.input_action_parameters is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=408

A list of input parameters for the action.

.google.protobuf.Struct input_action_parameters = 2 [deprecated = true];

Returns
Type Description
Struct

The inputActionParameters.

getInputActionParametersOrBuilder() (deprecated)

public StructOrBuilder getInputActionParametersOrBuilder()

A list of input parameters for the action.

.google.protobuf.Struct input_action_parameters = 2 [deprecated = true];

Returns
Type Description
StructOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasInputActionParameters() (deprecated)

public boolean hasInputActionParameters()

Deprecated. google.cloud.dialogflow.cx.v3beta1.FlowTransition.input_action_parameters is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=408

A list of input parameters for the action.

.google.protobuf.Struct input_action_parameters = 2 [deprecated = true];

Returns
Type Description
boolean

Whether the inputActionParameters field is set.

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 FlowTransition.Builder newBuilderForType()
Returns
Type Description
FlowTransition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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