public static enum Tool.ToolType extends Enum<Tool.ToolType> implements com.google.protobuf.ProtocolMessageEnum
Represents the type of the tool.Protobuf enum
google.cloud.dialogflow.cx.v3beta1.Tool.ToolType| Enum Constant and Description |
|---|
BUILTIN_TOOL
First party built-in tool created by Dialogflow which cannot be modified.
|
CUSTOMIZED_TOOL
Customer provided tool.
|
TOOL_TYPE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BUILTIN_TOOL_VALUE
First party built-in tool created by Dialogflow which cannot be modified.
|
static int |
CUSTOMIZED_TOOL_VALUE
Customer provided tool.
|
static int |
TOOL_TYPE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static Tool.ToolType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Tool.ToolType> |
internalGetValueMap() |
static Tool.ToolType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Tool.ToolType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tool.ToolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tool.ToolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tool.ToolType TOOL_TYPE_UNSPECIFIED
Default value. This value is unused.
TOOL_TYPE_UNSPECIFIED = 0;public static final Tool.ToolType CUSTOMIZED_TOOL
Customer provided tool.
CUSTOMIZED_TOOL = 1;public static final Tool.ToolType BUILTIN_TOOL
First party built-in tool created by Dialogflow which cannot be modified.
BUILTIN_TOOL = 2;public static final Tool.ToolType UNRECOGNIZED
public static final int TOOL_TYPE_UNSPECIFIED_VALUE
Default value. This value is unused.
TOOL_TYPE_UNSPECIFIED = 0;public static final int CUSTOMIZED_TOOL_VALUE
Customer provided tool.
CUSTOMIZED_TOOL = 1;public static final int BUILTIN_TOOL_VALUE
First party built-in tool created by Dialogflow which cannot be modified.
BUILTIN_TOOL = 2;public static Tool.ToolType[] values()
for (Tool.ToolType c : Tool.ToolType.values()) System.out.println(c);
public static Tool.ToolType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Tool.ToolType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Tool.ToolType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Tool.ToolType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Tool.ToolType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.