Interface FunctionCallOrBuilder (3.82.0)

public interface FunctionCallOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArgs()

public abstract 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];

Returns
Type Description
Struct

The args.

getArgsOrBuilder()

public abstract 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];

Returns
Type Description
StructOrBuilder

getName()

public abstract String getName()

Optional. The name of the function to call. Matches [FunctionDeclaration.name].

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Optional. The name of the function to call. Matches [FunctionDeclaration.name].

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getPartialArgs(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
PartialArg

getPartialArgsCount()

public abstract 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];

Returns
Type Description
int

getPartialArgsList()

public abstract 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];

Returns
Type Description
List<PartialArg>

getPartialArgsOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
PartialArgOrBuilder

getPartialArgsOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.PartialArgOrBuilder>

getWillContinue()

public abstract 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];

Returns
Type Description
boolean

The willContinue.

hasArgs()

public abstract 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];

Returns
Type Description
boolean

Whether the args field is set.