public static interface Api.FunctionOrBuilder
extends com.google.protobuf.MessageOrBuilder
限定符和类型 | 方法和说明 |
---|---|
String |
getDescription()
A description of the function, used by the model to choose when and how to
call the function.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A description of the function, used by the model to choose when and how to
call the function.
|
String |
getExamples(int index)
The examples of the function parameters, as the above json schema
describes.
|
com.google.protobuf.ByteString |
getExamplesBytes(int index)
The examples of the function parameters, as the above json schema
describes.
|
int |
getExamplesCount()
The examples of the function parameters, as the above json schema
describes.
|
List<String> |
getExamplesList()
The examples of the function parameters, as the above json schema
describes.
|
String |
getName()
The name of the function.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the function.
|
com.google.protobuf.Struct |
getParameters()
The parameters of the function, described as Json Schema.
|
com.google.protobuf.StructOrBuilder |
getParametersOrBuilder()
The parameters of the function, described as Json Schema.
|
boolean |
hasParameters()
The parameters of the function, described as Json Schema.
|
String getName()
The name of the function.
string name = 1;
com.google.protobuf.ByteString getNameBytes()
The name of the function.
string name = 1;
String getDescription()
A description of the function, used by the model to choose when and how to call the function.
string description = 2;
com.google.protobuf.ByteString getDescriptionBytes()
A description of the function, used by the model to choose when and how to call the function.
string description = 2;
boolean hasParameters()
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;
com.google.protobuf.Struct getParameters()
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;
com.google.protobuf.StructOrBuilder getParametersOrBuilder()
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;
List<String> getExamplesList()
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;
int getExamplesCount()
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;
String getExamples(int index)
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;
index
- The index of the element to return.com.google.protobuf.ByteString getExamplesBytes(int index)
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;
index
- The index of the value to return.Copyright © 2024. All rights reserved.