Package com.google.cloud.dialogflow.v2
Class Tool.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
com.google.cloud.dialogflow.v2.Tool.Builder
- All Implemented Interfaces:
ToolOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Tool
public static final class Tool.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
implements ToolOrBuilder
Represents a tool.Protobuf type
google.cloud.dialogflow.v2.Tool-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Integration connectors tool specification.Output only.Optional.Optional.Deprecated.Client side executed function specification.Output only.OpenAPI tool.Output only.Output only.Required.Output only.booleanOptional.Deprecated.intOptional.Optional.getActionConfirmationRequirementOrDefault(String key, Tool.ConfirmationRequirement defaultValue) Optional.Optional.Deprecated.Optional.intgetActionConfirmationRequirementValueOrDefault(String key, int defaultValue) Optional.intOptional.Integration connectors tool specification.Integration connectors tool specification.Integration connectors tool specification.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Deprecated.google.cloud.dialogflow.v2.Tool.extension_spec is deprecated.Deprecated.Deprecated.Client side executed function specification.Client side executed function specification.Client side executed function specification.Deprecated.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.OpenAPI tool.OpenAPI tool.OpenAPI tool.booleanOutput only.booleanOutput only.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanIntegration connectors tool specification.booleanOutput only.booleanDeprecated.google.cloud.dialogflow.v2.Tool.extension_spec is deprecated.booleanClient side executed function specification.booleanOpenAPI tool.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanIntegration connectors tool specification.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.Deprecated.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Client side executed function specification.mergeOpenApiSpec(Tool.OpenApiTool value) OpenAPI tool.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.Optional.putActionConfirmationRequirementValue(String key, int value) Optional.Optional.Optional.Optional.Integration connectors tool specification.setConnectorSpec(Tool.ConnectorTool.Builder builderForValue) Integration connectors tool specification.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDisplayName(String value) Optional.setDisplayNameBytes(com.google.protobuf.ByteString value) Optional.Deprecated.setExtensionSpec(Tool.ExtensionTool.Builder builderForValue) Deprecated.setFunctionSpec(Tool.FunctionTool value) Client side executed function specification.setFunctionSpec(Tool.FunctionTool.Builder builderForValue) Client side executed function specification.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setOpenApiSpec(Tool.OpenApiTool value) OpenAPI tool.setOpenApiSpec(Tool.OpenApiTool.Builder builderForValue) OpenAPI tool.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.setToolKey(String value) Required.setToolKeyBytes(com.google.protobuf.ByteString value) Required.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Tool.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
mergeFrom
public Tool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Tool.Builder>- Throws:
IOException
-
getSpecificationCase
- Specified by:
getSpecificationCasein interfaceToolOrBuilder
-
clearSpecification
-
getName
Output only. Identifier. The resource name of the tool. Format: `projects/<Project ID>/locations/<Location ID>/tools/<Tool ID>`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceToolOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Identifier. The resource name of the tool. Format: `projects/<Project ID>/locations/<Location ID>/tools/<Tool ID>`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceToolOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Identifier. The resource name of the tool. Format: `projects/<Project ID>/locations/<Location ID>/tools/<Tool ID>`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Identifier. The resource name of the tool. Format: `projects/<Project ID>/locations/<Location ID>/tools/<Tool ID>`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Identifier. The resource name of the tool. Format: `projects/<Project ID>/locations/<Location ID>/tools/<Tool ID>`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getToolKey
Required. A human readable short name of the tool, which should be unique within the project. It should only contain letters, numbers, and underscores, and it will be used by LLM to identify the tool.
string tool_key = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getToolKeyin interfaceToolOrBuilder- Returns:
- The toolKey.
-
getToolKeyBytes
public com.google.protobuf.ByteString getToolKeyBytes()Required. A human readable short name of the tool, which should be unique within the project. It should only contain letters, numbers, and underscores, and it will be used by LLM to identify the tool.
string tool_key = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getToolKeyBytesin interfaceToolOrBuilder- Returns:
- The bytes for toolKey.
-
setToolKey
Required. A human readable short name of the tool, which should be unique within the project. It should only contain letters, numbers, and underscores, and it will be used by LLM to identify the tool.
string tool_key = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The toolKey to set.- Returns:
- This builder for chaining.
-
clearToolKey
Required. A human readable short name of the tool, which should be unique within the project. It should only contain letters, numbers, and underscores, and it will be used by LLM to identify the tool.
string tool_key = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setToolKeyBytes
Required. A human readable short name of the tool, which should be unique within the project. It should only contain letters, numbers, and underscores, and it will be used by LLM to identify the tool.
string tool_key = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for toolKey to set.- Returns:
- This builder for chaining.
-
getDisplayName
Optional. A human readable short name of the tool, to be shown on the UI.
string display_name = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceToolOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. A human readable short name of the tool, to be shown on the UI.
string display_name = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceToolOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Optional. A human readable short name of the tool, to be shown on the UI.
string display_name = 19 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Optional. A human readable short name of the tool, to be shown on the UI.
string display_name = 19 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Optional. A human readable short name of the tool, to be shown on the UI.
string display_name = 19 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. A human readable description of the tool.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceToolOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. A human readable description of the tool.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceToolOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. A human readable description of the tool.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. A human readable description of the tool.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. A human readable description of the tool.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getActionConfirmationRequirementCount
public int getActionConfirmationRequirementCount()Description copied from interface:ToolOrBuilderOptional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionConfirmationRequirementCountin interfaceToolOrBuilder
-
containsActionConfirmationRequirement
Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsActionConfirmationRequirementin interfaceToolOrBuilder
-
getActionConfirmationRequirement
Deprecated.UsegetActionConfirmationRequirementMap()instead.- Specified by:
getActionConfirmationRequirementin interfaceToolOrBuilder
-
getActionConfirmationRequirementMap
Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionConfirmationRequirementMapin interfaceToolOrBuilder
-
getActionConfirmationRequirementOrDefault
public Tool.ConfirmationRequirement getActionConfirmationRequirementOrDefault(String key, Tool.ConfirmationRequirement defaultValue) Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionConfirmationRequirementOrDefaultin interfaceToolOrBuilder
-
getActionConfirmationRequirementOrThrow
Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionConfirmationRequirementOrThrowin interfaceToolOrBuilder
-
getActionConfirmationRequirementValue
Deprecated.UsegetActionConfirmationRequirementValueMap()instead.- Specified by:
getActionConfirmationRequirementValuein interfaceToolOrBuilder
-
getActionConfirmationRequirementValueMap
Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionConfirmationRequirementValueMapin interfaceToolOrBuilder
-
getActionConfirmationRequirementValueOrDefault
Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionConfirmationRequirementValueOrDefaultin interfaceToolOrBuilder
-
getActionConfirmationRequirementValueOrThrow
Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionConfirmationRequirementValueOrThrowin interfaceToolOrBuilder
-
clearActionConfirmationRequirement
-
removeActionConfirmationRequirement
Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableActionConfirmationRequirement
@Deprecated public Map<String,Tool.ConfirmationRequirement> getMutableActionConfirmationRequirement()Deprecated.Use alternate mutation accessors instead. -
putActionConfirmationRequirement
public Tool.Builder putActionConfirmationRequirement(String key, Tool.ConfirmationRequirement value) Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL]; -
putAllActionConfirmationRequirement
public Tool.Builder putAllActionConfirmationRequirement(Map<String, Tool.ConfirmationRequirement> values) Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableActionConfirmationRequirementValue
Deprecated.Use alternate mutation accessors instead. -
putActionConfirmationRequirementValue
Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL]; -
putAllActionConfirmationRequirementValue
Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET.
map<string, .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement> action_confirmation_requirement = 17 [(.google.api.field_behavior) = OPTIONAL]; -
hasExtensionSpec
Deprecated.google.cloud.dialogflow.v2.Tool.extension_spec is deprecated. See google/cloud/dialogflow/v2/tool.proto;l=563Vertex extension tool specification.
.google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];- Specified by:
hasExtensionSpecin interfaceToolOrBuilder- Returns:
- Whether the extensionSpec field is set.
-
getExtensionSpec
Deprecated.google.cloud.dialogflow.v2.Tool.extension_spec is deprecated. See google/cloud/dialogflow/v2/tool.proto;l=563Vertex extension tool specification.
.google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];- Specified by:
getExtensionSpecin interfaceToolOrBuilder- Returns:
- The extensionSpec.
-
setExtensionSpec
Deprecated.Vertex extension tool specification.
.google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true]; -
setExtensionSpec
Deprecated.Vertex extension tool specification.
.google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true]; -
mergeExtensionSpec
Deprecated.Vertex extension tool specification.
.google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true]; -
clearExtensionSpec
Deprecated.Vertex extension tool specification.
.google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true]; -
getExtensionSpecBuilder
Deprecated.Vertex extension tool specification.
.google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true]; -
getExtensionSpecOrBuilder
Deprecated.Vertex extension tool specification.
.google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];- Specified by:
getExtensionSpecOrBuilderin interfaceToolOrBuilder
-
hasFunctionSpec
public boolean hasFunctionSpec()Client side executed function specification.
.google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;- Specified by:
hasFunctionSpecin interfaceToolOrBuilder- Returns:
- Whether the functionSpec field is set.
-
getFunctionSpec
Client side executed function specification.
.google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;- Specified by:
getFunctionSpecin interfaceToolOrBuilder- Returns:
- The functionSpec.
-
setFunctionSpec
Client side executed function specification.
.google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13; -
setFunctionSpec
Client side executed function specification.
.google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13; -
mergeFunctionSpec
Client side executed function specification.
.google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13; -
clearFunctionSpec
Client side executed function specification.
.google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13; -
getFunctionSpecBuilder
Client side executed function specification.
.google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13; -
getFunctionSpecOrBuilder
Client side executed function specification.
.google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;- Specified by:
getFunctionSpecOrBuilderin interfaceToolOrBuilder
-
hasConnectorSpec
public boolean hasConnectorSpec()Integration connectors tool specification.
.google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;- Specified by:
hasConnectorSpecin interfaceToolOrBuilder- Returns:
- Whether the connectorSpec field is set.
-
getConnectorSpec
Integration connectors tool specification.
.google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;- Specified by:
getConnectorSpecin interfaceToolOrBuilder- Returns:
- The connectorSpec.
-
setConnectorSpec
Integration connectors tool specification.
.google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18; -
setConnectorSpec
Integration connectors tool specification.
.google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18; -
mergeConnectorSpec
Integration connectors tool specification.
.google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18; -
clearConnectorSpec
Integration connectors tool specification.
.google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18; -
getConnectorSpecBuilder
Integration connectors tool specification.
.google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18; -
getConnectorSpecOrBuilder
Integration connectors tool specification.
.google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;- Specified by:
getConnectorSpecOrBuilderin interfaceToolOrBuilder
-
hasOpenApiSpec
public boolean hasOpenApiSpec()OpenAPI tool.
.google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;- Specified by:
hasOpenApiSpecin interfaceToolOrBuilder- Returns:
- Whether the openApiSpec field is set.
-
getOpenApiSpec
OpenAPI tool.
.google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;- Specified by:
getOpenApiSpecin interfaceToolOrBuilder- Returns:
- The openApiSpec.
-
setOpenApiSpec
OpenAPI tool.
.google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20; -
setOpenApiSpec
OpenAPI tool.
.google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20; -
mergeOpenApiSpec
OpenAPI tool.
.google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20; -
clearOpenApiSpec
OpenAPI tool.
.google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20; -
getOpenApiSpecBuilder
OpenAPI tool.
.google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20; -
getOpenApiSpecOrBuilder
OpenAPI tool.
.google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;- Specified by:
getOpenApiSpecOrBuilderin interfaceToolOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation time of this tool.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceToolOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of this tool.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceToolOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Creation time of this tool.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Creation time of this tool.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Creation time of this tool.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Creation time of this tool.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Creation time of this tool.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this tool.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceToolOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Update time of this tool.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceToolOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Update time of this tool.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceToolOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Update time of this tool.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Update time of this tool.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Update time of this tool.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Update time of this tool.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Update time of this tool.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time of this tool.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceToolOrBuilder
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()Output only. A read only boolean field reflecting Zone Separation status of the tool. If the field is absent, it means the status is unknown.
optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSatisfiesPzsin interfaceToolOrBuilder- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. A read only boolean field reflecting Zone Separation status of the tool. If the field is absent, it means the status is unknown.
optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceToolOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. A read only boolean field reflecting Zone Separation status of the tool. If the field is absent, it means the status is unknown.
optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. A read only boolean field reflecting Zone Separation status of the tool. If the field is absent, it means the status is unknown.
optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasSatisfiesPzi
public boolean hasSatisfiesPzi()Output only. A read only boolean field reflecting Zone Isolation status of the tool. If the field is absent, it means the status is unknown.
optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSatisfiesPziin interfaceToolOrBuilder- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. A read only boolean field reflecting Zone Isolation status of the tool. If the field is absent, it means the status is unknown.
optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPziin interfaceToolOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. A read only boolean field reflecting Zone Isolation status of the tool. If the field is absent, it means the status is unknown.
optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. A read only boolean field reflecting Zone Isolation status of the tool. If the field is absent, it means the status is unknown.
optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-