Interface FunctionCallOrBuilder (3.61.0)

public interface FunctionCallOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArgs()

public abstract Struct 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.

getArgsOrBuilder()

public abstract StructOrBuilder getArgsOrBuilder()

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
StructOrBuilder

getId()

public abstract String getId()

Optional. The unique id of the function call. If populated, the client to execute the function_call and return the response with the matching id.

string id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Optional. The unique id of the function call. If populated, the client to execute the function_call and return the response with the matching id.

string id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for id.

getName()

public abstract String 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()

public abstract ByteString getNameBytes()

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()

public abstract boolean 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.