Interface FunctionResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FunctionResponse, FunctionResponse.Builder

@Generated public interface FunctionResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Required. The name of the function to call.
       Matches [FunctionDeclaration.name] and [FunctionCall.name].
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      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];
      Returns:
      The bytes for name.
    • hasResponse

      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];
      Returns:
      Whether the response field is set.
    • getResponse

      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];
      Returns:
      The response.
    • getResponseOrBuilder

      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];
    • getPartsList

      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];
    • getParts

      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];
    • getPartsCount

      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];
    • getPartsOrBuilderList

      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];
    • getPartsOrBuilder

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