public static final class FunctionCall.Builder extends com.google.protobuf.GeneratedMessage.Builder<FunctionCall.Builder> implements FunctionCallOrBuilder
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.aiplatform.v1.FunctionCalladdRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FunctionCall.Builder>public FunctionCall.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<FunctionCall.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FunctionCall.Builder>public FunctionCall getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FunctionCall build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FunctionCall buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FunctionCall.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FunctionCall.Builder>public FunctionCall.Builder mergeFrom(FunctionCall other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<FunctionCall.Builder>public FunctionCall.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FunctionCall.Builder>IOExceptionpublic String getName()
Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];getName in interface FunctionCallOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];getNameBytes in interface FunctionCallOrBuilderpublic FunctionCall.Builder setName(String value)
Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];value - The name to set.public FunctionCall.Builder clearName()
Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];public FunctionCall.Builder setNameBytes(com.google.protobuf.ByteString value)
Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for name to set.public boolean hasArgs()
Optional. 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];hasArgs in interface FunctionCallOrBuilderpublic com.google.protobuf.Struct getArgs()
Optional. 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];getArgs in interface FunctionCallOrBuilderpublic FunctionCall.Builder setArgs(com.google.protobuf.Struct value)
Optional. 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];public FunctionCall.Builder setArgs(com.google.protobuf.Struct.Builder builderForValue)
Optional. 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];public FunctionCall.Builder mergeArgs(com.google.protobuf.Struct value)
Optional. 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];public FunctionCall.Builder clearArgs()
Optional. 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];public com.google.protobuf.Struct.Builder getArgsBuilder()
Optional. 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];public com.google.protobuf.StructOrBuilder getArgsOrBuilder()
Optional. 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 in interface FunctionCallOrBuilderpublic List<PartialArg> getPartialArgsList()
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
getPartialArgsList in interface FunctionCallOrBuilderpublic int getPartialArgsCount()
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
getPartialArgsCount in interface FunctionCallOrBuilderpublic PartialArg getPartialArgs(int index)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
getPartialArgs in interface FunctionCallOrBuilderpublic FunctionCall.Builder setPartialArgs(int index, PartialArg value)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public FunctionCall.Builder setPartialArgs(int index, PartialArg.Builder builderForValue)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public FunctionCall.Builder addPartialArgs(PartialArg value)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public FunctionCall.Builder addPartialArgs(int index, PartialArg value)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public FunctionCall.Builder addPartialArgs(PartialArg.Builder builderForValue)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public FunctionCall.Builder addPartialArgs(int index, PartialArg.Builder builderForValue)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public FunctionCall.Builder addAllPartialArgs(Iterable<? extends PartialArg> values)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public FunctionCall.Builder clearPartialArgs()
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public FunctionCall.Builder removePartialArgs(int index)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public PartialArg.Builder getPartialArgsBuilder(int index)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public PartialArgOrBuilder getPartialArgsOrBuilder(int index)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
getPartialArgsOrBuilder in interface FunctionCallOrBuilderpublic List<? extends PartialArgOrBuilder> getPartialArgsOrBuilderList()
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
getPartialArgsOrBuilderList in interface FunctionCallOrBuilderpublic PartialArg.Builder addPartialArgsBuilder()
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public PartialArg.Builder addPartialArgsBuilder(int index)
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public List<PartialArg.Builder> getPartialArgsBuilderList()
Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
public boolean getWillContinue()
Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.
bool will_continue = 5 [(.google.api.field_behavior) = OPTIONAL];getWillContinue in interface FunctionCallOrBuilderpublic FunctionCall.Builder setWillContinue(boolean value)
Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.
bool will_continue = 5 [(.google.api.field_behavior) = OPTIONAL];value - The willContinue to set.public FunctionCall.Builder clearWillContinue()
Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.
bool will_continue = 5 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2026 Google LLC. All rights reserved.