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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
    • clear

      public Tool.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
    • getDefaultInstanceForType

      public Tool getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Tool build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Tool buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Tool.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tool.Builder>
    • mergeFrom

      public Tool.Builder mergeFrom(Tool other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tool.Builder>
      Throws:
      IOException
    • getSpecificationCase

      public Tool.SpecificationCase getSpecificationCase()
      Specified by:
      getSpecificationCase in interface ToolOrBuilder
    • clearSpecification

      public Tool.Builder clearSpecification()
    • getName

      public String 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:
      getName in interface ToolOrBuilder
      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:
      getNameBytes in interface ToolOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Tool.Builder setName(String value)
       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

      public Tool.Builder 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

      public Tool.Builder setNameBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getToolKey in interface ToolOrBuilder
      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:
      getToolKeyBytes in interface ToolOrBuilder
      Returns:
      The bytes for toolKey.
    • setToolKey

      public Tool.Builder setToolKey(String value)
       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

      public Tool.Builder 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

      public Tool.Builder setToolKeyBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getDisplayName in interface ToolOrBuilder
      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:
      getDisplayNameBytes in interface ToolOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Tool.Builder setDisplayName(String value)
       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

      public Tool.Builder 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

      public Tool.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       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

      public String getDescription()
       Optional. A human readable description of the tool.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface ToolOrBuilder
      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:
      getDescriptionBytes in interface ToolOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Tool.Builder setDescription(String value)
       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

      public Tool.Builder clearDescription()
       Optional. A human readable description of the tool.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Tool.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       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: ToolOrBuilder
       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:
      getActionConfirmationRequirementCount in interface ToolOrBuilder
    • containsActionConfirmationRequirement

      public boolean containsActionConfirmationRequirement(String key)
       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:
      containsActionConfirmationRequirement in interface ToolOrBuilder
    • getActionConfirmationRequirement

      @Deprecated public Map<String,Tool.ConfirmationRequirement> getActionConfirmationRequirement()
      Deprecated.
      Specified by:
      getActionConfirmationRequirement in interface ToolOrBuilder
    • getActionConfirmationRequirementMap

      public Map<String,Tool.ConfirmationRequirement> 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:
      getActionConfirmationRequirementMap in interface ToolOrBuilder
    • 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:
      getActionConfirmationRequirementOrDefault in interface ToolOrBuilder
    • getActionConfirmationRequirementOrThrow

      public Tool.ConfirmationRequirement getActionConfirmationRequirementOrThrow(String key)
       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:
      getActionConfirmationRequirementOrThrow in interface ToolOrBuilder
    • getActionConfirmationRequirementValue

      @Deprecated public Map<String,Integer> getActionConfirmationRequirementValue()
      Deprecated.
      Specified by:
      getActionConfirmationRequirementValue in interface ToolOrBuilder
    • getActionConfirmationRequirementValueMap

      public Map<String,Integer> 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:
      getActionConfirmationRequirementValueMap in interface ToolOrBuilder
    • getActionConfirmationRequirementValueOrDefault

      public int getActionConfirmationRequirementValueOrDefault(String key, int 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:
      getActionConfirmationRequirementValueOrDefault in interface ToolOrBuilder
    • getActionConfirmationRequirementValueOrThrow

      public int getActionConfirmationRequirementValueOrThrow(String key)
       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:
      getActionConfirmationRequirementValueOrThrow in interface ToolOrBuilder
    • clearActionConfirmationRequirement

      public Tool.Builder clearActionConfirmationRequirement()
    • removeActionConfirmationRequirement

      public Tool.Builder removeActionConfirmationRequirement(String key)
       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 public Map<String,Integer> getMutableActionConfirmationRequirementValue()
      Deprecated.
      Use alternate mutation accessors instead.
    • putActionConfirmationRequirementValue

      public Tool.Builder putActionConfirmationRequirementValue(String key, int 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];
    • putAllActionConfirmationRequirementValue

      public Tool.Builder putAllActionConfirmationRequirementValue(Map<String,Integer> 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];
    • hasExtensionSpec

      @Deprecated public boolean hasExtensionSpec()
      Deprecated.
      google.cloud.dialogflow.v2.Tool.extension_spec is deprecated. See google/cloud/dialogflow/v2/tool.proto;l=563
       Vertex extension tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];
      Specified by:
      hasExtensionSpec in interface ToolOrBuilder
      Returns:
      Whether the extensionSpec field is set.
    • getExtensionSpec

      @Deprecated public Tool.ExtensionTool getExtensionSpec()
      Deprecated.
      google.cloud.dialogflow.v2.Tool.extension_spec is deprecated. See google/cloud/dialogflow/v2/tool.proto;l=563
       Vertex extension tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];
      Specified by:
      getExtensionSpec in interface ToolOrBuilder
      Returns:
      The extensionSpec.
    • setExtensionSpec

      @Deprecated public Tool.Builder setExtensionSpec(Tool.ExtensionTool value)
      Deprecated.
       Vertex extension tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];
    • setExtensionSpec

      @Deprecated public Tool.Builder setExtensionSpec(Tool.ExtensionTool.Builder builderForValue)
      Deprecated.
       Vertex extension tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];
    • mergeExtensionSpec

      @Deprecated public Tool.Builder mergeExtensionSpec(Tool.ExtensionTool value)
      Deprecated.
       Vertex extension tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];
    • clearExtensionSpec

      @Deprecated public Tool.Builder clearExtensionSpec()
      Deprecated.
       Vertex extension tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];
    • getExtensionSpecBuilder

      @Deprecated public Tool.ExtensionTool.Builder getExtensionSpecBuilder()
      Deprecated.
       Vertex extension tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];
    • getExtensionSpecOrBuilder

      @Deprecated public Tool.ExtensionToolOrBuilder getExtensionSpecOrBuilder()
      Deprecated.
       Vertex extension tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ExtensionTool extension_spec = 4 [deprecated = true];
      Specified by:
      getExtensionSpecOrBuilder in interface ToolOrBuilder
    • hasFunctionSpec

      public boolean hasFunctionSpec()
       Client side executed function specification.
       
      .google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;
      Specified by:
      hasFunctionSpec in interface ToolOrBuilder
      Returns:
      Whether the functionSpec field is set.
    • getFunctionSpec

      public Tool.FunctionTool getFunctionSpec()
       Client side executed function specification.
       
      .google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;
      Specified by:
      getFunctionSpec in interface ToolOrBuilder
      Returns:
      The functionSpec.
    • setFunctionSpec

      public Tool.Builder setFunctionSpec(Tool.FunctionTool value)
       Client side executed function specification.
       
      .google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;
    • setFunctionSpec

      public Tool.Builder setFunctionSpec(Tool.FunctionTool.Builder builderForValue)
       Client side executed function specification.
       
      .google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;
    • mergeFunctionSpec

      public Tool.Builder mergeFunctionSpec(Tool.FunctionTool value)
       Client side executed function specification.
       
      .google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;
    • clearFunctionSpec

      public Tool.Builder clearFunctionSpec()
       Client side executed function specification.
       
      .google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;
    • getFunctionSpecBuilder

      public Tool.FunctionTool.Builder getFunctionSpecBuilder()
       Client side executed function specification.
       
      .google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;
    • getFunctionSpecOrBuilder

      public Tool.FunctionToolOrBuilder getFunctionSpecOrBuilder()
       Client side executed function specification.
       
      .google.cloud.dialogflow.v2.Tool.FunctionTool function_spec = 13;
      Specified by:
      getFunctionSpecOrBuilder in interface ToolOrBuilder
    • hasConnectorSpec

      public boolean hasConnectorSpec()
       Integration connectors tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;
      Specified by:
      hasConnectorSpec in interface ToolOrBuilder
      Returns:
      Whether the connectorSpec field is set.
    • getConnectorSpec

      public Tool.ConnectorTool getConnectorSpec()
       Integration connectors tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;
      Specified by:
      getConnectorSpec in interface ToolOrBuilder
      Returns:
      The connectorSpec.
    • setConnectorSpec

      public Tool.Builder setConnectorSpec(Tool.ConnectorTool value)
       Integration connectors tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;
    • setConnectorSpec

      public Tool.Builder setConnectorSpec(Tool.ConnectorTool.Builder builderForValue)
       Integration connectors tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;
    • mergeConnectorSpec

      public Tool.Builder mergeConnectorSpec(Tool.ConnectorTool value)
       Integration connectors tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;
    • clearConnectorSpec

      public Tool.Builder clearConnectorSpec()
       Integration connectors tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;
    • getConnectorSpecBuilder

      public Tool.ConnectorTool.Builder getConnectorSpecBuilder()
       Integration connectors tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;
    • getConnectorSpecOrBuilder

      public Tool.ConnectorToolOrBuilder getConnectorSpecOrBuilder()
       Integration connectors tool specification.
       
      .google.cloud.dialogflow.v2.Tool.ConnectorTool connector_spec = 18;
      Specified by:
      getConnectorSpecOrBuilder in interface ToolOrBuilder
    • hasOpenApiSpec

      public boolean hasOpenApiSpec()
       OpenAPI tool.
       
      .google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;
      Specified by:
      hasOpenApiSpec in interface ToolOrBuilder
      Returns:
      Whether the openApiSpec field is set.
    • getOpenApiSpec

      public Tool.OpenApiTool getOpenApiSpec()
       OpenAPI tool.
       
      .google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;
      Specified by:
      getOpenApiSpec in interface ToolOrBuilder
      Returns:
      The openApiSpec.
    • setOpenApiSpec

      public Tool.Builder setOpenApiSpec(Tool.OpenApiTool value)
       OpenAPI tool.
       
      .google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;
    • setOpenApiSpec

      public Tool.Builder setOpenApiSpec(Tool.OpenApiTool.Builder builderForValue)
       OpenAPI tool.
       
      .google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;
    • mergeOpenApiSpec

      public Tool.Builder mergeOpenApiSpec(Tool.OpenApiTool value)
       OpenAPI tool.
       
      .google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;
    • clearOpenApiSpec

      public Tool.Builder clearOpenApiSpec()
       OpenAPI tool.
       
      .google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;
    • getOpenApiSpecBuilder

      public Tool.OpenApiTool.Builder getOpenApiSpecBuilder()
       OpenAPI tool.
       
      .google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;
    • getOpenApiSpecOrBuilder

      public Tool.OpenApiToolOrBuilder getOpenApiSpecOrBuilder()
       OpenAPI tool.
       
      .google.cloud.dialogflow.v2.Tool.OpenApiTool open_api_spec = 20;
      Specified by:
      getOpenApiSpecOrBuilder in interface ToolOrBuilder
    • 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:
      hasCreateTime in interface ToolOrBuilder
      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:
      getCreateTime in interface ToolOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Tool.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Creation time of this tool.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Tool.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Creation time of this tool.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Tool.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Creation time of this tool.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Tool.Builder 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:
      getCreateTimeOrBuilder in interface ToolOrBuilder
    • 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:
      hasUpdateTime in interface ToolOrBuilder
      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:
      getUpdateTime in interface ToolOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Tool.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update time of this tool.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Tool.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Update time of this tool.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Tool.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update time of this tool.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Tool.Builder 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:
      getUpdateTimeOrBuilder in interface ToolOrBuilder
    • 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:
      hasSatisfiesPzs in interface ToolOrBuilder
      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:
      getSatisfiesPzs in interface ToolOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      public Tool.Builder setSatisfiesPzs(boolean value)
       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

      public Tool.Builder 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:
      hasSatisfiesPzi in interface ToolOrBuilder
      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:
      getSatisfiesPzi in interface ToolOrBuilder
      Returns:
      The satisfiesPzi.
    • setSatisfiesPzi

      public Tool.Builder setSatisfiesPzi(boolean value)
       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

      public Tool.Builder 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.