@Generated
public interface FunctionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
FunctionResponsePart |
getParts(int index)
Optional.
|
int |
getPartsCount()
Optional.
|
List<FunctionResponsePart> |
getPartsList()
Optional.
|
FunctionResponsePartOrBuilder |
getPartsOrBuilder(int index)
Optional.
|
List<? extends FunctionResponsePartOrBuilder> |
getPartsOrBuilderList()
Optional.
|
com.google.protobuf.Struct |
getResponse()
Required.
|
com.google.protobuf.StructOrBuilder |
getResponseOrBuilder()
Required.
|
boolean |
hasResponse()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
string name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
string name = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasResponse()
Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
.google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.Struct getResponse()
Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
.google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.StructOrBuilder getResponseOrBuilder()
Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
.google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED];List<FunctionResponsePart> getPartsList()
Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.
repeated .google.cloud.aiplatform.v1.FunctionResponsePart parts = 4 [(.google.api.field_behavior) = OPTIONAL];
FunctionResponsePart getParts(int index)
Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.
repeated .google.cloud.aiplatform.v1.FunctionResponsePart parts = 4 [(.google.api.field_behavior) = OPTIONAL];
int getPartsCount()
Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.
repeated .google.cloud.aiplatform.v1.FunctionResponsePart parts = 4 [(.google.api.field_behavior) = OPTIONAL];
List<? extends FunctionResponsePartOrBuilder> getPartsOrBuilderList()
Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.
repeated .google.cloud.aiplatform.v1.FunctionResponsePart parts = 4 [(.google.api.field_behavior) = OPTIONAL];
FunctionResponsePartOrBuilder getPartsOrBuilder(int index)
Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.
repeated .google.cloud.aiplatform.v1.FunctionResponsePart parts = 4 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2026 Google LLC. All rights reserved.