publicstaticfinalclass FunctionCall.BuilderextendsGeneratedMessageV3.Builder<FunctionCall.Builder>implementsFunctionCallOrBuilder
A predicted [FunctionCall] returned from the model that contains a string
representing the [FunctionDeclaration.name] and a structured JSON object
containing the parameters and their values.
Protobuf type google.cloud.vertexai.v1.FunctionCall
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicFunctionCall.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicFunctionCallbuild()
buildPartial()
publicFunctionCallbuildPartial()
clear()
publicFunctionCall.Builderclear()
Overrides
clearArgs()
publicFunctionCall.BuilderclearArgs()
Optional. Required. The function parameters and values in JSON object
format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
publicFunctionCall.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearName()
publicFunctionCall.BuilderclearName()
Required. The name of the function to call.
Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
publicFunctionCall.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicFunctionCall.Builderclone()
Overrides
getArgs()
Optional. Required. The function parameters and values in JSON object
format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Struct |
The args.
|
getArgsBuilder()
publicStruct.BuildergetArgsBuilder()
Optional. Required. The function parameters and values in JSON object
format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
getArgsOrBuilder()
publicStructOrBuildergetArgsOrBuilder()
Optional. Required. The function parameters and values in JSON object
format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
publicFunctionCallgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getName()
Required. The name of the function to call.
Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
publicByteStringgetNameBytes()
Required. The name of the function to call.
Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
hasArgs()
Optional. Required. The function parameters and values in JSON object
format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the args field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeArgs(Struct value)
publicFunctionCall.BuildermergeArgs(Structvalue)
Optional. Required. The function parameters and values in JSON object
format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
Struct
|
mergeFrom(FunctionCall other)
publicFunctionCall.BuildermergeFrom(FunctionCallother)
publicFunctionCall.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicFunctionCall.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalFunctionCall.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setArgs(Struct value)
publicFunctionCall.BuildersetArgs(Structvalue)
Optional. Required. The function parameters and values in JSON object
format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
Struct
|
setArgs(Struct.Builder builderForValue)
publicFunctionCall.BuildersetArgs(Struct.BuilderbuilderForValue)
Optional. Required. The function parameters and values in JSON object
format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
publicFunctionCall.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setName(String value)
publicFunctionCall.BuildersetName(Stringvalue)
Required. The name of the function to call.
Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
publicFunctionCall.BuildersetNameBytes(ByteStringvalue)
Required. The name of the function to call.
Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicFunctionCall.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalFunctionCall.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides