Interface ImportFlowRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportFlowRequest,ImportFlowRequest.Builder
public interface ImportFlowRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportFlowRequest.FlowCasegetFlowCase()com.google.protobuf.ByteStringgetFlowContent()Uncompressed raw byte content for flow.FlowImportStrategygetFlowImportStrategy()Optional.FlowImportStrategyOrBuildergetFlowImportStrategyOrBuilder()Optional.StringgetFlowUri()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import flow from.com.google.protobuf.ByteStringgetFlowUriBytes()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import flow from.ImportFlowRequest.ImportOptiongetImportOption()Flow import mode.intgetImportOptionValue()Flow import mode.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.booleanhasFlowContent()Uncompressed raw byte content for flow.booleanhasFlowImportStrategy()Optional.booleanhasFlowUri()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import flow from.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasFlowUri
boolean hasFlowUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string flow_uri = 2;- Returns:
- Whether the flowUri field is set.
-
getFlowUri
String getFlowUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string flow_uri = 2;- Returns:
- The flowUri.
-
getFlowUriBytes
com.google.protobuf.ByteString getFlowUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string flow_uri = 2;- Returns:
- The bytes for flowUri.
-
hasFlowContent
boolean hasFlowContent()
Uncompressed raw byte content for flow.
bytes flow_content = 3;- Returns:
- Whether the flowContent field is set.
-
getFlowContent
com.google.protobuf.ByteString getFlowContent()
Uncompressed raw byte content for flow.
bytes flow_content = 3;- Returns:
- The flowContent.
-
getImportOptionValue
int getImportOptionValue()
Flow import mode. If not specified, `KEEP` is assumed.
.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4;- Returns:
- The enum numeric value on the wire for importOption.
-
getImportOption
ImportFlowRequest.ImportOption getImportOption()
Flow import mode. If not specified, `KEEP` is assumed.
.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4;- Returns:
- The importOption.
-
hasFlowImportStrategy
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:
- Whether the flowImportStrategy field is set.
-
getFlowImportStrategy
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:
- The flowImportStrategy.
-
getFlowImportStrategyOrBuilder
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];
-
getFlowCase
ImportFlowRequest.FlowCase getFlowCase()
-
-