Interface AssistantContent.FileOrBuilder (0.66.0)

public static interface AssistantContent.FileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFileId()

public abstract String getFileId()

Required. The file ID.

string file_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The fileId.

getFileIdBytes()

public abstract ByteString getFileIdBytes()

Required. The file ID.

string file_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for fileId.

getMimeType()

public abstract String getMimeType()

Required. The media type (MIME type) of the file.

string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

Required. The media type (MIME type) of the file.

string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for mimeType.