Interface Tool.FunctionToolOrBuilder (0.50.0)

public static interface Tool.FunctionToolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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

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.