Class FlowImportStrategy.Builder (0.94.0)

public static final class FlowImportStrategy.Builder extends GeneratedMessage.Builder<FlowImportStrategy.Builder> implements FlowImportStrategyOrBuilder

The flow import strategy used for resource conflict resolution associated with an ImportFlowRequest.

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

Static Methods

getDescriptor()

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

Methods

build()

public FlowImportStrategy build()
Returns
Type Description
FlowImportStrategy

buildPartial()

public FlowImportStrategy buildPartial()
Returns
Type Description
FlowImportStrategy

clear()

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

clearGlobalImportStrategy()

public FlowImportStrategy.Builder clearGlobalImportStrategy()

Optional. Global flow import strategy for resource conflict resolution. The import Import strategy for resource conflict resolution, applied globally throughout the flow. It will be applied for all display name conflicts in the imported content. If not specified, 'CREATE_NEW' is assumed.

.google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FlowImportStrategy.Builder

This builder for chaining.

getDefaultInstanceForType()

public FlowImportStrategy getDefaultInstanceForType()
Returns
Type Description
FlowImportStrategy

getDescriptorForType()

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

getGlobalImportStrategy()

public ImportStrategy getGlobalImportStrategy()

Optional. Global flow import strategy for resource conflict resolution. The import Import strategy for resource conflict resolution, applied globally throughout the flow. It will be applied for all display name conflicts in the imported content. If not specified, 'CREATE_NEW' is assumed.

.google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportStrategy

The globalImportStrategy.

getGlobalImportStrategyValue()

public int getGlobalImportStrategyValue()

Optional. Global flow import strategy for resource conflict resolution. The import Import strategy for resource conflict resolution, applied globally throughout the flow. It will be applied for all display name conflicts in the imported content. If not specified, 'CREATE_NEW' is assumed.

.google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for globalImportStrategy.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FlowImportStrategy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGlobalImportStrategy(ImportStrategy value)

public FlowImportStrategy.Builder setGlobalImportStrategy(ImportStrategy value)

Optional. Global flow import strategy for resource conflict resolution. The import Import strategy for resource conflict resolution, applied globally throughout the flow. It will be applied for all display name conflicts in the imported content. If not specified, 'CREATE_NEW' is assumed.

.google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImportStrategy

The globalImportStrategy to set.

Returns
Type Description
FlowImportStrategy.Builder

This builder for chaining.

setGlobalImportStrategyValue(int value)

public FlowImportStrategy.Builder setGlobalImportStrategyValue(int value)

Optional. Global flow import strategy for resource conflict resolution. The import Import strategy for resource conflict resolution, applied globally throughout the flow. It will be applied for all display name conflicts in the imported content. If not specified, 'CREATE_NEW' is assumed.

.google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for globalImportStrategy to set.

Returns
Type Description
FlowImportStrategy.Builder

This builder for chaining.