Class PlaybookImportStrategy (0.89.0)

public final class PlaybookImportStrategy extends GeneratedMessageV3 implements PlaybookImportStrategyOrBuilder

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

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

Static Fields

MAIN_PLAYBOOK_IMPORT_STRATEGY_FIELD_NUMBER

public static final int MAIN_PLAYBOOK_IMPORT_STRATEGY_FIELD_NUMBER
Field Value
Type Description
int

NESTED_RESOURCE_IMPORT_STRATEGY_FIELD_NUMBER

public static final int NESTED_RESOURCE_IMPORT_STRATEGY_FIELD_NUMBER
Field Value
Type Description
int

TOOL_IMPORT_STRATEGY_FIELD_NUMBER

public static final int TOOL_IMPORT_STRATEGY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PlaybookImportStrategy getDefaultInstance()
Returns
Type Description
PlaybookImportStrategy

getDescriptor()

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

newBuilder()

public static PlaybookImportStrategy.Builder newBuilder()
Returns
Type Description
PlaybookImportStrategy.Builder

newBuilder(PlaybookImportStrategy prototype)

public static PlaybookImportStrategy.Builder newBuilder(PlaybookImportStrategy prototype)
Parameter
Name Description
prototype PlaybookImportStrategy
Returns
Type Description
PlaybookImportStrategy.Builder

parseDelimitedFrom(InputStream input)

public static PlaybookImportStrategy parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlaybookImportStrategy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PlaybookImportStrategy parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PlaybookImportStrategy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PlaybookImportStrategy parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PlaybookImportStrategy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PlaybookImportStrategy parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PlaybookImportStrategy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PlaybookImportStrategy parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlaybookImportStrategy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PlaybookImportStrategy parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PlaybookImportStrategy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookImportStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PlaybookImportStrategy> parser()
Returns
Type Description
Parser<PlaybookImportStrategy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PlaybookImportStrategy getDefaultInstanceForType()
Returns
Type Description
PlaybookImportStrategy

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.

getParserForType()

public Parser<PlaybookImportStrategy> getParserForType()
Returns
Type Description
Parser<PlaybookImportStrategy>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PlaybookImportStrategy.Builder newBuilderForType()
Returns
Type Description
PlaybookImportStrategy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PlaybookImportStrategy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PlaybookImportStrategy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PlaybookImportStrategy.Builder toBuilder()
Returns
Type Description
PlaybookImportStrategy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException