Interface CreateToolRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateToolRequest, CreateToolRequest.Builder

@Generated public interface CreateToolRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. The project/location to create tool for. Format:
       `projects/<Project ID>/locations/<Location ID>`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The project/location to create tool for. Format:
       `projects/<Project ID>/locations/<Location ID>`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasTool

      boolean hasTool()
       Required. The tool to create.
       
      .google.cloud.dialogflow.v2.Tool tool = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the tool field is set.
    • getTool

      Tool getTool()
       Required. The tool to create.
       
      .google.cloud.dialogflow.v2.Tool tool = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The tool.
    • getToolOrBuilder

      ToolOrBuilder getToolOrBuilder()
       Required. The tool to create.
       
      .google.cloud.dialogflow.v2.Tool tool = 2 [(.google.api.field_behavior) = REQUIRED];
    • getToolId

      String getToolId()
       Optional. The ID to use for the tool, which will become the final
       component of the tool's resource name.
      
       The tool ID must be compliant with the regression formula
       `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64].
       If the field is not provide, an Id will be auto-generated.
       If the field is provided, the caller is responsible for
       1. the uniqueness of the ID, otherwise the request will be rejected.
       2. the consistency for whether to use custom ID or not under a project to
       better ensure uniqueness.
       
      string tool_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The toolId.
    • getToolIdBytes

      com.google.protobuf.ByteString getToolIdBytes()
       Optional. The ID to use for the tool, which will become the final
       component of the tool's resource name.
      
       The tool ID must be compliant with the regression formula
       `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64].
       If the field is not provide, an Id will be auto-generated.
       If the field is provided, the caller is responsible for
       1. the uniqueness of the ID, otherwise the request will be rejected.
       2. the consistency for whether to use custom ID or not under a project to
       better ensure uniqueness.
       
      string tool_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for toolId.