Interface FunctionResponseFileDataOrBuilder

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

@Generated public interface FunctionResponseFileDataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMimeType

      String getMimeType()
       Required. The IANA standard MIME type of the source data.
       
      string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.ByteString getMimeTypeBytes()
       Required. The IANA standard MIME type of the source data.
       
      string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for mimeType.
    • getFileUri

      String getFileUri()
       Required. URI.
       
      string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The fileUri.
    • getFileUriBytes

      com.google.protobuf.ByteString getFileUriBytes()
       Required. URI.
       
      string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for fileUri.
    • getDisplayName

      String getDisplayName()
       Optional. Display name of the file data.
      
       Used to provide a label or filename to distinguish file datas.
      
       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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Display name of the file data.
      
       Used to provide a label or filename to distinguish file datas.
      
       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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.