Interface Tool.FunctionToolOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Tool.FunctionTool, Tool.FunctionTool.Builder
Enclosing class:
Tool

public static interface Tool.FunctionToolOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Struct
    Optional.
    com.google.protobuf.StructOrBuilder
    Optional.
    Optional.
    int
    Optional.
    com.google.protobuf.Struct
    Optional.
    com.google.protobuf.StructOrBuilder
    Optional.
    boolean
    Optional.
    boolean
    Optional.

    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

    • hasInputSchema

      boolean hasInputSchema()
       Optional. The JSON schema is encapsulated in a
       [google.protobuf.Struct][google.protobuf.Struct] to describe the input of
       the function. This input is a JSON object that contains the function's
       parameters as properties of the object.
       
      .google.protobuf.Struct input_schema = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the inputSchema field is set.
    • getInputSchema

      com.google.protobuf.Struct getInputSchema()
       Optional. The JSON schema is encapsulated in a
       [google.protobuf.Struct][google.protobuf.Struct] to describe the input of
       the function. This input is a JSON object that contains the function's
       parameters as properties of the object.
       
      .google.protobuf.Struct input_schema = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The inputSchema.
    • getInputSchemaOrBuilder

      com.google.protobuf.StructOrBuilder getInputSchemaOrBuilder()
       Optional. The JSON schema is encapsulated in a
       [google.protobuf.Struct][google.protobuf.Struct] to describe the input of
       the function. This input is a JSON object that contains the function's
       parameters as properties of the object.
       
      .google.protobuf.Struct input_schema = 1 [(.google.api.field_behavior) = OPTIONAL];
    • hasOutputSchema

      boolean hasOutputSchema()
       Optional. The JSON schema is encapsulated in a
       [google.protobuf.Struct][google.protobuf.Struct] to describe the output
       of the function. This output is a JSON object that contains the
       function's parameters as properties of the object.
       
      .google.protobuf.Struct output_schema = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the outputSchema field is set.
    • getOutputSchema

      com.google.protobuf.Struct getOutputSchema()
       Optional. The JSON schema is encapsulated in a
       [google.protobuf.Struct][google.protobuf.Struct] to describe the output
       of the function. This output is a JSON object that contains the
       function's parameters as properties of the object.
       
      .google.protobuf.Struct output_schema = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The outputSchema.
    • getOutputSchemaOrBuilder

      com.google.protobuf.StructOrBuilder getOutputSchemaOrBuilder()
       Optional. The JSON schema is encapsulated in a
       [google.protobuf.Struct][google.protobuf.Struct] to describe the output
       of the function. This output is a JSON object that contains the
       function's parameters as properties of the object.
       
      .google.protobuf.Struct output_schema = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getMethodTypeValue

      int getMethodTypeValue()
       Optional. The method type of the function. If not specified, the default
       value is GET.
       
      .google.cloud.dialogflow.v2.Tool.MethodType method_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for methodType.
    • getMethodType

      Tool.MethodType getMethodType()
       Optional. The method type of the function. If not specified, the default
       value is GET.
       
      .google.cloud.dialogflow.v2.Tool.MethodType method_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The methodType.