Class FlowTransition.Builder (0.94.0)

public static final class FlowTransition.Builder extends GeneratedMessage.Builder<FlowTransition.Builder> 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.v3.FlowTransition

Static Methods

getDescriptor()

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

Methods

build()

public FlowTransition build()
Returns
Type Description
FlowTransition

buildPartial()

public FlowTransition buildPartial()
Returns
Type Description
FlowTransition

clear()

public FlowTransition.Builder clear()
Returns
Type Description
FlowTransition.Builder
Overrides

clearDisplayName()

public FlowTransition.Builder clearDisplayName()

Output only. The display name of the flow.

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

Returns
Type Description
FlowTransition.Builder

This builder for chaining.

clearFlow()

public FlowTransition.Builder clearFlow()

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
FlowTransition.Builder

This builder for chaining.

getDefaultInstanceForType()

public FlowTransition getDefaultInstanceForType()
Returns
Type Description
FlowTransition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FlowTransition other)

public FlowTransition.Builder mergeFrom(FlowTransition other)
Parameter
Name Description
other FlowTransition
Returns
Type Description
FlowTransition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FlowTransition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlowTransition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FlowTransition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FlowTransition.Builder
Overrides

setDisplayName(String value)

public FlowTransition.Builder setDisplayName(String value)

Output only. The display name of the flow.

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
FlowTransition.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public FlowTransition.Builder setDisplayNameBytes(ByteString value)

Output only. The display name of the flow.

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
FlowTransition.Builder

This builder for chaining.

setFlow(String value)

public FlowTransition.Builder setFlow(String value)

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) = { ... }

Parameter
Name Description
value String

The flow to set.

Returns
Type Description
FlowTransition.Builder

This builder for chaining.

setFlowBytes(ByteString value)

public FlowTransition.Builder setFlowBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for flow to set.

Returns
Type Description
FlowTransition.Builder

This builder for chaining.