Package com.google.cloud.aiplatform.v1
Interface FunctionCallingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FunctionCallingConfig,FunctionCallingConfig.Builder
@Generated
public interface FunctionCallingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedFunctionNames(int index) Optional.com.google.protobuf.ByteStringgetAllowedFunctionNamesBytes(int index) Optional.intOptional.Optional.getMode()Optional.intOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getModeValue
int getModeValue()Optional. Function calling mode.
.google.cloud.aiplatform.v1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for mode.
-
getMode
FunctionCallingConfig.Mode getMode()Optional. Function calling mode.
.google.cloud.aiplatform.v1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The mode.
-
getAllowedFunctionNamesList
Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.
repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the allowedFunctionNames.
-
getAllowedFunctionNamesCount
int getAllowedFunctionNamesCount()Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.
repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of allowedFunctionNames.
-
getAllowedFunctionNames
Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.
repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The allowedFunctionNames at the given index.
-
getAllowedFunctionNamesBytes
com.google.protobuf.ByteString getAllowedFunctionNamesBytes(int index) Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.
repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedFunctionNames at the given index.
-
getStreamFunctionCallArguments
boolean getStreamFunctionCallArguments()Optional. When set to true, arguments of a single function call will be streamed out in multiple parts/contents/responses. Partial parameter results will be returned in the [FunctionCall.partial_args] field.
bool stream_function_call_arguments = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The streamFunctionCallArguments.
-