@Generated
public interface FunctionResponseFileDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Optional.
|
String |
getFileUri()
Required.
|
com.google.protobuf.ByteString |
getFileUriBytes()
Required.
|
String |
getMimeType()
Required.
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getMimeType()
Required. The IANA standard MIME type of the source data.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getMimeTypeBytes()
Required. The IANA standard MIME type of the source data.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];String getFileUri()
Required. URI.
string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getFileUriBytes()
Required. URI.
string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];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];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];Copyright © 2026 Google LLC. All rights reserved.