Interface CreateFlowRequestOrBuilder (0.48.0)

public interface CreateFlowRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFlow()

public abstract Flow getFlow()

Required. The flow to create.

.google.cloud.dialogflow.cx.v3.Flow flow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Flow

The flow.

getFlowOrBuilder()

public abstract FlowOrBuilder getFlowOrBuilder()

Required. The flow to create.

.google.cloud.dialogflow.cx.v3.Flow flow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FlowOrBuilder

getLanguageCode()

public abstract String getLanguageCode()

The language of the following fields in flow:

  • Flow.event_handlers.trigger_fulfillment.messages
  • Flow.event_handlers.trigger_fulfillment.conditional_cases
  • Flow.transition_routes.trigger_fulfillment.messages
  • Flow.transition_routes.trigger_fulfillment.conditional_cases

    If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 3;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

The language of the following fields in flow:

  • Flow.event_handlers.trigger_fulfillment.messages
  • Flow.event_handlers.trigger_fulfillment.conditional_cases
  • Flow.transition_routes.trigger_fulfillment.messages
  • Flow.transition_routes.trigger_fulfillment.conditional_cases

    If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 3;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getParent()

public abstract String getParent()

Required. The agent to create a flow for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The agent to create a flow for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasFlow()

public abstract boolean hasFlow()

Required. The flow to create.

.google.cloud.dialogflow.cx.v3.Flow flow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the flow field is set.