Class FlowImportStrategy.Builder (0.52.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.v3.FlowImportStrategy

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FlowImportStrategy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides

build()

public FlowImportStrategy build()
Returns
TypeDescription
FlowImportStrategy

buildPartial()

public FlowImportStrategy buildPartial()
Returns
TypeDescription
FlowImportStrategy

clear()

public FlowImportStrategy.Builder clear()
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FlowImportStrategy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides

clearGlobalImportStrategy()

public FlowImportStrategy.Builder clearGlobalImportStrategy()

Optional. 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.v3.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FlowImportStrategy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FlowImportStrategy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides

clone()

public FlowImportStrategy.Builder clone()
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides

getDefaultInstanceForType()

public FlowImportStrategy getDefaultInstanceForType()
Returns
TypeDescription
FlowImportStrategy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGlobalImportStrategy()

public ImportStrategy getGlobalImportStrategy()

Optional. 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.v3.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ImportStrategy

The globalImportStrategy.

getGlobalImportStrategyValue()

public int getGlobalImportStrategyValue()

Optional. 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.v3.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for globalImportStrategy.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FlowImportStrategy other)

public FlowImportStrategy.Builder mergeFrom(FlowImportStrategy other)
Parameter
NameDescription
otherFlowImportStrategy
Returns
TypeDescription
FlowImportStrategy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FlowImportStrategy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FlowImportStrategy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FlowImportStrategy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FlowImportStrategy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides

setGlobalImportStrategy(ImportStrategy value)

public FlowImportStrategy.Builder setGlobalImportStrategy(ImportStrategy value)

Optional. 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.v3.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueImportStrategy

The globalImportStrategy to set.

Returns
TypeDescription
FlowImportStrategy.Builder

This builder for chaining.

setGlobalImportStrategyValue(int value)

public FlowImportStrategy.Builder setGlobalImportStrategyValue(int value)

Optional. 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.v3.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FlowImportStrategy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FlowImportStrategy.Builder
Overrides