public static interface Tool.FunctionToolOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getInputSchema()
public abstract Struct getInputSchema()Optional. The JSON schema is encapsulated in a 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 | |
|---|---|
| Type | Description |
Struct |
The inputSchema. |
getInputSchemaOrBuilder()
public abstract StructOrBuilder getInputSchemaOrBuilder()Optional. The JSON schema is encapsulated in a 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 | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getMethodType()
public abstract 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 | |
|---|---|
| Type | Description |
Tool.MethodType |
The methodType. |
getMethodTypeValue()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for methodType. |
getOutputSchema()
public abstract Struct getOutputSchema()Optional. The JSON schema is encapsulated in a 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 | |
|---|---|
| Type | Description |
Struct |
The outputSchema. |
getOutputSchemaOrBuilder()
public abstract StructOrBuilder getOutputSchemaOrBuilder()Optional. The JSON schema is encapsulated in a 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 | |
|---|---|
| Type | Description |
StructOrBuilder |
|
hasInputSchema()
public abstract boolean hasInputSchema()Optional. The JSON schema is encapsulated in a 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 | |
|---|---|
| Type | Description |
boolean |
Whether the inputSchema field is set. |
hasOutputSchema()
public abstract boolean hasOutputSchema()Optional. The JSON schema is encapsulated in a 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 | |
|---|---|
| Type | Description |
boolean |
Whether the outputSchema field is set. |