Class FlowImportStrategy.Builder (0.64.0)

public static final class FlowImportStrategy.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FlowImportStrategy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FlowImportStrategy.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public FlowImportStrategy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public FlowImportStrategy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FlowImportStrategy.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FlowImportStrategy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FlowImportStrategy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FlowImportStrategy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FlowImportStrategy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FlowImportStrategy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FlowImportStrategy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FlowImportStrategy.Builder
Overrides