Package com.google.cloud.aiplatform.v1
Interface FunctionCallOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FunctionCall,FunctionCall.Builder
@Generated
public interface FunctionCallOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructgetArgs()Optional.com.google.protobuf.StructOrBuilderOptional.getName()Optional.com.google.protobuf.ByteStringOptional.getPartialArgs(int index) Optional.intOptional.Optional.getPartialArgsOrBuilder(int index) Optional.List<? extends PartialArgOrBuilder>Optional.booleanOptional.booleanhasArgs()Optional.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
-
getName
String getName()Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for name.
-
hasArgs
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:
- Whether the args field is set.
-
getArgs
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];- Returns:
- The args.
-
getArgsOrBuilder
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]; -
getPartialArgsList
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]; -
getPartialArgs
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
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]; -
getPartialArgsOrBuilderList
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]; -
getPartialArgsOrBuilder
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]; -
getWillContinue
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:
- The willContinue.
-