InlineDataPart
public final class InlineDataPart implements Part
Represents binary data with an associated MIME type sent to and received from requests.
Summary
Public fields |
|
|---|---|
final @NonNull byte[] |
the binary data as a |
final @NonNull String |
an IANA standard MIME type. |
Public constructors |
|---|
InlineDataPart(@NonNull byte[] inlineData, @NonNull String mimeType) |
Public fields
mimeType
public final @NonNull String mimeType
an IANA standard MIME type. For supported values, see the Vertex AI documentation
Public constructors
InlineDataPart
public InlineDataPart(@NonNull byte[] inlineData, @NonNull String mimeType)
| Parameters | |
|---|---|
@NonNull byte[] inlineData |
the binary data as a |
@NonNull String mimeType |
an IANA standard MIME type. For supported values, see the Vertex AI documentation |