Class FunctionResponseBlob (3.79.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  FunctionResponseBlob   extends   GeneratedMessageV3   implements   FunctionResponseBlobOrBuilder  
   Raw media bytes for function response.
 Text should not be sent as raw bytes, use the 'text' field.
 Protobuf type google.cloud.aiplatform.v1beta1.FunctionResponseBlob
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   DATA_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   DISPLAY_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   MIME_TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   FunctionResponseBlob   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   FunctionResponseBlob . Builder   newBuilder ()  
  
  
    
public   static   FunctionResponseBlob . Builder   newBuilder ( FunctionResponseBlob   prototype )  
  
  
  
    
public   static   FunctionResponseBlob   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   FunctionResponseBlob   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<FunctionResponseBlob>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   ByteString   getData ()  
   Required. Raw bytes.
 bytes data = 2 [(.google.api.field_behavior) = REQUIRED];
    
public   FunctionResponseBlob   getDefaultInstanceForType ()  
  
  
    
public   String   getDisplayName ()  
   Optional. Display name of the blob.
 Used to provide a label or filename to distinguish blobs.
 This field is only returned in PromptMessage for prompt management.
 It is currently used in the Gemini GenerateContent calls only when server
 side tools (code_execution, google_search, and url_context) are enabled.
 string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The displayName.
 
     
  
  
    
public   ByteString   getDisplayNameBytes ()  
   Optional. Display name of the blob.
 Used to provide a label or filename to distinguish blobs.
 This field is only returned in PromptMessage for prompt management.
 It is currently used in the Gemini GenerateContent calls only when server
 side tools (code_execution, google_search, and url_context) are enabled.
 string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for displayName.
 
     
  
  
    
public   String   getMimeType ()  
   Required. The IANA standard MIME type of the source data.
 string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The mimeType.
 
     
  
  
    
public   ByteString   getMimeTypeBytes ()  
   Required. The IANA standard MIME type of the source data.
 string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for mimeType.
 
     
  
  
    
public   Parser<FunctionResponseBlob>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   FunctionResponseBlob . Builder   newBuilderForType ()  
  
  
    
protected   FunctionResponseBlob . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   FunctionResponseBlob . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]