public static final class Tool.FunctionTool extends GeneratedMessageV3 implements Tool.FunctionToolOrBuilder
A Function tool describes the functions to be invoked on the client side.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.FunctionTool
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int INPUT_SCHEMA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int OUTPUT_SCHEMA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Tool.FunctionTool getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Tool.FunctionTool.Builder newBuilder()
public static Tool.FunctionTool.Builder newBuilder(Tool.FunctionTool prototype)
public static Tool.FunctionTool parseDelimitedFrom(InputStream input)
public static Tool.FunctionTool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.FunctionTool parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Tool.FunctionTool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Tool.FunctionTool parseFrom(ByteString data)
public static Tool.FunctionTool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Tool.FunctionTool parseFrom(CodedInputStream input)
public static Tool.FunctionTool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.FunctionTool parseFrom(InputStream input)
public static Tool.FunctionTool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.FunctionTool parseFrom(ByteBuffer data)
public static Tool.FunctionTool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Tool.FunctionTool> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Tool.FunctionTool getDefaultInstanceForType()
public 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.
|
public 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];
public 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.
|
public 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];
public Parser<Tool.FunctionTool> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public 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.
|
public 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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.FunctionTool.Builder newBuilderForType()
protected Tool.FunctionTool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Tool.FunctionTool.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides