public static final class Api.Function.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder> implements Api.FunctionOrBuilder
api.Function| 限定符和类型 | 方法和说明 |
|---|---|
Api.Function.Builder |
addAllExamples(Iterable<String> values)
The examples of the function parameters, as the above json schema
describes.
|
Api.Function.Builder |
addExamples(String value)
The examples of the function parameters, as the above json schema
describes.
|
Api.Function.Builder |
addExamplesBytes(com.google.protobuf.ByteString value)
The examples of the function parameters, as the above json schema
describes.
|
Api.Function.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Api.Function |
build() |
Api.Function |
buildPartial() |
Api.Function.Builder |
clear() |
Api.Function.Builder |
clearDescription()
A description of the function, used by the model to choose when and how to
call the function.
|
Api.Function.Builder |
clearExamples()
The examples of the function parameters, as the above json schema
describes.
|
Api.Function.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Api.Function.Builder |
clearName()
The name of the function.
|
Api.Function.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Api.Function.Builder |
clearParameters()
The parameters of the function, described as Json Schema.
|
Api.Function.Builder |
clone() |
Api.Function |
getDefaultInstanceForType() |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
com.google.protobuf.ProtocolStringList |
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.Struct.Builder |
getParametersBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Api.Function.Builder |
mergeFrom(Api.Function other) |
Api.Function.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Api.Function.Builder |
mergeFrom(com.google.protobuf.Message other) |
Api.Function.Builder |
mergeParameters(com.google.protobuf.Struct value)
The parameters of the function, described as Json Schema.
|
Api.Function.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Api.Function.Builder |
setDescription(String value)
A description of the function, used by the model to choose when and how to
call the function.
|
Api.Function.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A description of the function, used by the model to choose when and how to
call the function.
|
Api.Function.Builder |
setExamples(int index,
String value)
The examples of the function parameters, as the above json schema
describes.
|
Api.Function.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Api.Function.Builder |
setName(String value)
The name of the function.
|
Api.Function.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the function.
|
Api.Function.Builder |
setParameters(com.google.protobuf.Struct.Builder builderForValue)
The parameters of the function, described as Json Schema.
|
Api.Function.Builder |
setParameters(com.google.protobuf.Struct value)
The parameters of the function, described as Json Schema.
|
Api.Function.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Api.Function.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public Api.Function.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public Api.Function getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic Api.Function build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic Api.Function buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic Api.Function.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public Api.Function.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public Api.Function.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public Api.Function.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public Api.Function.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public Api.Function.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public Api.Function.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Api.Function.Builder>public Api.Function.Builder mergeFrom(Api.Function other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public Api.Function.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Api.Function.Builder>IOExceptionpublic String getName()
The name of the function.
string name = 1;getName 在接口中 Api.FunctionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the function.
string name = 1;getNameBytes 在接口中 Api.FunctionOrBuilderpublic Api.Function.Builder setName(String value)
The name of the function.
string name = 1;value - The name to set.public Api.Function.Builder clearName()
The name of the function.
string name = 1;public Api.Function.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the function.
string name = 1;value - The bytes for name to set.public String getDescription()
A description of the function, used by the model to choose when and how to call the function.
string description = 2;getDescription 在接口中 Api.FunctionOrBuilderpublic 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;getDescriptionBytes 在接口中 Api.FunctionOrBuilderpublic Api.Function.Builder setDescription(String value)
A description of the function, used by the model to choose when and how to call the function.
string description = 2;value - The description to set.public Api.Function.Builder clearDescription()
A description of the function, used by the model to choose when and how to call the function.
string description = 2;public Api.Function.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A description of the function, used by the model to choose when and how to call the function.
string description = 2;value - The bytes for description to set.public boolean hasParameters()
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;hasParameters 在接口中 Api.FunctionOrBuilderpublic com.google.protobuf.Struct getParameters()
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;getParameters 在接口中 Api.FunctionOrBuilderpublic Api.Function.Builder setParameters(com.google.protobuf.Struct value)
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;public Api.Function.Builder setParameters(com.google.protobuf.Struct.Builder builderForValue)
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;public Api.Function.Builder mergeParameters(com.google.protobuf.Struct value)
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;public Api.Function.Builder clearParameters()
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;public com.google.protobuf.Struct.Builder getParametersBuilder()
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;public com.google.protobuf.StructOrBuilder getParametersOrBuilder()
The parameters of the function, described as Json Schema.
.google.protobuf.Struct parameters = 3;getParametersOrBuilder 在接口中 Api.FunctionOrBuilderpublic com.google.protobuf.ProtocolStringList getExamplesList()
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;getExamplesList 在接口中 Api.FunctionOrBuilderpublic int getExamplesCount()
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;getExamplesCount 在接口中 Api.FunctionOrBuilderpublic String getExamples(int index)
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;getExamples 在接口中 Api.FunctionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExamplesBytes(int index)
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;getExamplesBytes 在接口中 Api.FunctionOrBuilderindex - The index of the value to return.public Api.Function.Builder setExamples(int index, String value)
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;index - The index to set the value at.value - The examples to set.public Api.Function.Builder addExamples(String value)
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;value - The examples to add.public Api.Function.Builder addAllExamples(Iterable<String> values)
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;values - The examples to add.public Api.Function.Builder clearExamples()
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;public Api.Function.Builder addExamplesBytes(com.google.protobuf.ByteString value)
The examples of the function parameters, as the above json schema describes.
repeated string examples = 4;value - The bytes of the examples to add.public final Api.Function.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>public final Api.Function.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Api.Function.Builder>Copyright © 2025. All rights reserved.