Interface ImportFlowRequestOrBuilder (0.45.0)

public interface ImportFlowRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFlowCase()

public abstract ImportFlowRequest.FlowCase getFlowCase()
Returns
Type Description
ImportFlowRequest.FlowCase

getFlowContent()

public abstract ByteString getFlowContent()

Uncompressed raw byte content for flow.

bytes flow_content = 3;

Returns
Type Description
ByteString

The flowContent.

getFlowImportStrategy()

public abstract FlowImportStrategy getFlowImportStrategy()

Optional. Specifies the import strategy used when resolving resource conflicts.

.google.cloud.dialogflow.cx.v3.FlowImportStrategy flow_import_strategy = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FlowImportStrategy

The flowImportStrategy.

getFlowImportStrategyOrBuilder()

public abstract FlowImportStrategyOrBuilder getFlowImportStrategyOrBuilder()

Optional. Specifies the import strategy used when resolving resource conflicts.

.google.cloud.dialogflow.cx.v3.FlowImportStrategy flow_import_strategy = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FlowImportStrategyOrBuilder

getFlowUri()

public abstract String getFlowUri()

The Google Cloud Storage URI to import flow from. The format of this URI must be gs://<bucket-name>/<object-name>.

Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.

string flow_uri = 2;

Returns
Type Description
String

The flowUri.

getFlowUriBytes()

public abstract ByteString getFlowUriBytes()

The Google Cloud Storage URI to import flow from. The format of this URI must be gs://<bucket-name>/<object-name>.

Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.

string flow_uri = 2;

Returns
Type Description
ByteString

The bytes for flowUri.

getImportOption()

public abstract ImportFlowRequest.ImportOption getImportOption()

Flow import mode. If not specified, KEEP is assumed.

.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4;

Returns
Type Description
ImportFlowRequest.ImportOption

The importOption.

getImportOptionValue()

public abstract int getImportOptionValue()

Flow import mode. If not specified, KEEP is assumed.

.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4;

Returns
Type Description
int

The enum numeric value on the wire for importOption.

getParent()

public abstract String getParent()

Required. The agent to import the flow into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The agent to import the flow into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
Type Description
ByteString

The bytes for parent.

hasFlowContent()

public abstract boolean hasFlowContent()

Uncompressed raw byte content for flow.

bytes flow_content = 3;

Returns
Type Description
boolean

Whether the flowContent field is set.

hasFlowImportStrategy()

public abstract boolean hasFlowImportStrategy()

Optional. Specifies the import strategy used when resolving resource conflicts.

.google.cloud.dialogflow.cx.v3.FlowImportStrategy flow_import_strategy = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the flowImportStrategy field is set.

hasFlowUri()

public abstract boolean hasFlowUri()

The Google Cloud Storage URI to import flow from. The format of this URI must be gs://<bucket-name>/<object-name>.

Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.

string flow_uri = 2;

Returns
Type Description
boolean

Whether the flowUri field is set.