public final class PlaybookImportStrategy extends GeneratedMessage implements PlaybookImportStrategyOrBuilder
The playbook import strategy used for resource conflict resolution associated
with an
ImportPlaybookRequest.
Protobuf type google.cloud.dialogflow.cx.v3.PlaybookImportStrategy
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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 |
|
public static final int TOOL_IMPORT_STRATEGY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PlaybookImportStrategy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PlaybookImportStrategy.Builder newBuilder()
newBuilder(PlaybookImportStrategy prototype)
public static PlaybookImportStrategy.Builder newBuilder(PlaybookImportStrategy prototype)
public static PlaybookImportStrategy parseDelimitedFrom(InputStream input)
public static PlaybookImportStrategy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PlaybookImportStrategy parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PlaybookImportStrategy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PlaybookImportStrategy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PlaybookImportStrategy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PlaybookImportStrategy parseFrom(CodedInputStream input)
public static PlaybookImportStrategy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PlaybookImportStrategy parseFrom(InputStream input)
public static PlaybookImportStrategy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PlaybookImportStrategy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PlaybookImportStrategy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PlaybookImportStrategy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PlaybookImportStrategy getDefaultInstanceForType()
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.v3.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.v3.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.v3.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.v3.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()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.v3.ImportStrategy tool_import_strategy = 6 [(.google.api.field_behavior) = OPTIONAL];
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.v3.ImportStrategy tool_import_strategy = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for toolImportStrategy.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PlaybookImportStrategy.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PlaybookImportStrategy.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public PlaybookImportStrategy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides