Class FlowImportStrategy (0.45.0)

public final class FlowImportStrategy extends GeneratedMessageV3 implements FlowImportStrategyOrBuilder

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

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

Static Fields

GLOBAL_IMPORT_STRATEGY_FIELD_NUMBER

public static final int GLOBAL_IMPORT_STRATEGY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FlowImportStrategy getDefaultInstance()
Returns
Type Description
FlowImportStrategy

getDescriptor()

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

newBuilder()

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

newBuilder(FlowImportStrategy prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FlowImportStrategy getDefaultInstanceForType()
Returns
Type Description
FlowImportStrategy

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
Type Description
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
Type Description
int

The enum numeric value on the wire for globalImportStrategy.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 FlowImportStrategy.Builder newBuilderForType()
Returns
Type Description
FlowImportStrategy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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