Class PlaybookImportStrategy.Builder (0.89.0)

public static final class PlaybookImportStrategy.Builder extends GeneratedMessageV3.Builder<PlaybookImportStrategy.Builder> implements PlaybookImportStrategyOrBuilder

The playbook import strategy used for resource conflict resolution associated with an ImportPlaybookRequest.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PlaybookImportStrategy build()
Returns
Type Description
PlaybookImportStrategy

buildPartial()

public PlaybookImportStrategy buildPartial()
Returns
Type Description
PlaybookImportStrategy

clear()

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

clearField(Descriptors.FieldDescriptor field)

public PlaybookImportStrategy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PlaybookImportStrategy.Builder
Overrides

clearMainPlaybookImportStrategy()

public PlaybookImportStrategy.Builder clearMainPlaybookImportStrategy()

Optional. Specifies the import strategy used when resolving conflicts with the main playbook. If not specified, 'CREATE_NEW' is assumed.

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

Returns
Type Description
PlaybookImportStrategy.Builder

This builder for chaining.

clearNestedResourceImportStrategy()

public PlaybookImportStrategy.Builder clearNestedResourceImportStrategy()

Optional. Specifies the import strategy used when resolving referenced playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.

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

Returns
Type Description
PlaybookImportStrategy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearToolImportStrategy()

public PlaybookImportStrategy.Builder clearToolImportStrategy()

Optional. Specifies the import strategy used when resolving tool conflicts. If not specified, 'CREATE_NEW' is assumed. This will be applied after the main playbook and nested resource import strategies, meaning if the playbook that references the tool is skipped, the tool will also be skipped.

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

Returns
Type Description
PlaybookImportStrategy.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PlaybookImportStrategy getDefaultInstanceForType()
Returns
Type Description
PlaybookImportStrategy

getDescriptorForType()

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

getMainPlaybookImportStrategy()

public ImportStrategy getMainPlaybookImportStrategy()

Optional. Specifies the import strategy used when resolving conflicts with the main playbook. If not specified, 'CREATE_NEW' is assumed.

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

Returns
Type Description
ImportStrategy

The mainPlaybookImportStrategy.

getMainPlaybookImportStrategyValue()

public int getMainPlaybookImportStrategyValue()

Optional. Specifies the import strategy used when resolving conflicts with the main playbook. If not specified, 'CREATE_NEW' is assumed.

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

Returns
Type Description
int

The enum numeric value on the wire for mainPlaybookImportStrategy.

getNestedResourceImportStrategy()

public ImportStrategy getNestedResourceImportStrategy()

Optional. Specifies the import strategy used when resolving referenced playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.

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

Returns
Type Description
ImportStrategy

The nestedResourceImportStrategy.

getNestedResourceImportStrategyValue()

public int getNestedResourceImportStrategyValue()

Optional. Specifies the import strategy used when resolving referenced playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.

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

Returns
Type Description
int

The enum numeric value on the wire for nestedResourceImportStrategy.

getToolImportStrategy()

public ImportStrategy getToolImportStrategy()

Optional. Specifies the import strategy used when resolving tool conflicts. If not specified, 'CREATE_NEW' is assumed. This will be applied after the main playbook and nested resource import strategies, meaning if the playbook that references the tool is skipped, the tool will also be skipped.

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

Returns
Type Description
ImportStrategy

The toolImportStrategy.

getToolImportStrategyValue()

public int getToolImportStrategyValue()

Optional. Specifies the import strategy used when resolving tool conflicts. If not specified, 'CREATE_NEW' is assumed. This will be applied after the main playbook and nested resource import strategies, meaning if the playbook that references the tool is skipped, the tool will also be skipped.

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

Returns
Type Description
int

The enum numeric value on the wire for toolImportStrategy.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PlaybookImportStrategy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMainPlaybookImportStrategy(ImportStrategy value)

public PlaybookImportStrategy.Builder setMainPlaybookImportStrategy(ImportStrategy value)

Optional. Specifies the import strategy used when resolving conflicts with the main playbook. If not specified, 'CREATE_NEW' is assumed.

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

Parameter
Name Description
value ImportStrategy

The mainPlaybookImportStrategy to set.

Returns
Type Description
PlaybookImportStrategy.Builder

This builder for chaining.

setMainPlaybookImportStrategyValue(int value)

public PlaybookImportStrategy.Builder setMainPlaybookImportStrategyValue(int value)

Optional. Specifies the import strategy used when resolving conflicts with the main playbook. If not specified, 'CREATE_NEW' is assumed.

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

Parameter
Name Description
value int

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

Returns
Type Description
PlaybookImportStrategy.Builder

This builder for chaining.

setNestedResourceImportStrategy(ImportStrategy value)

public PlaybookImportStrategy.Builder setNestedResourceImportStrategy(ImportStrategy value)

Optional. Specifies the import strategy used when resolving referenced playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.

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

Parameter
Name Description
value ImportStrategy

The nestedResourceImportStrategy to set.

Returns
Type Description
PlaybookImportStrategy.Builder

This builder for chaining.

setNestedResourceImportStrategyValue(int value)

public PlaybookImportStrategy.Builder setNestedResourceImportStrategyValue(int value)

Optional. Specifies the import strategy used when resolving referenced playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.

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

Parameter
Name Description
value int

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

Returns
Type Description
PlaybookImportStrategy.Builder

This builder for chaining.

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

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

setToolImportStrategy(ImportStrategy value)

public PlaybookImportStrategy.Builder setToolImportStrategy(ImportStrategy value)

Optional. Specifies the import strategy used when resolving tool conflicts. If not specified, 'CREATE_NEW' is assumed. This will be applied after the main playbook and nested resource import strategies, meaning if the playbook that references the tool is skipped, the tool will also be skipped.

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

Parameter
Name Description
value ImportStrategy

The toolImportStrategy to set.

Returns
Type Description
PlaybookImportStrategy.Builder

This builder for chaining.

setToolImportStrategyValue(int value)

public PlaybookImportStrategy.Builder setToolImportStrategyValue(int value)

Optional. Specifies the import strategy used when resolving tool conflicts. If not specified, 'CREATE_NEW' is assumed. This will be applied after the main playbook and nested resource import strategies, meaning if the playbook that references the tool is skipped, the tool will also be skipped.

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

Parameter
Name Description
value int

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

Returns
Type Description
PlaybookImportStrategy.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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