Package com.google.cloud.dialogflow.v2
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 TypeMethodDescriptioncom.google.protobuf.StructOptional.com.google.protobuf.StructOrBuilderOptional.Optional.intOptional.com.google.protobuf.StructOptional.com.google.protobuf.StructOrBuilderOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-