GenerativeAIException.ErrorCode


@IntDef
public annotation GenerativeAIException.ErrorCode


GenerativeAIException エラーコードのセット。

概要

定数

static final int

入力データが無効です。

static final int

入力の不正なリクエスト。

static final int

AICore サービス バインディングが停止している。

static final int

サービス バインディング中にエラーが発生しました。

static final int

サービスは現在使用中です。

static final int

推論がキャンセルされました。

static final int

基盤となる推論エンジンでエラーが発生し、結果を計算できません。

static final int

IPC エラー。

static final int

AICore サービスが正常に機能するには、Android システムの更新が必要です。

static final int

基盤となる推論エンジンを使用できません。

static final int

ダウンロードでエラーが発生しました。

static final int

AICore サービスがバインディングで null を返す。

static final int

リクエストの処理中にエラーが発生したため、レスポンスは生成されません。

static final int

リクエストが大きすぎて AICore で処理できない。

static final int

モデルが適切なレスポンスを生成できなかった。

static final int

生成されたレスポンスでエラーが発生しました。

static final int

AICore サービスが切断されている。

static final int

処理中にサービスでエラーが発生しました。

static final int

不明な障害。

パブリック コンストラクタ

定数

BAD_DATA

public static final int BAD_DATA

入力データが無効です。

BAD_REQUEST

public static final int BAD_REQUEST

入力の不正なリクエスト。

BINDING_DIED

public static final int BINDING_DIED

AICore サービス バインディングが停止している。

BINDING_FAILURE

public static final int BINDING_FAILURE

サービス バインディング中にエラーが発生しました。

BUSY

public static final int BUSY

サービスは現在ビジー状態です。呼び出し元は指数バックオフで再試行する必要があります。

CANCELLED

public static final int CANCELLED

推論がキャンセルされました。

COMPUTE_ERROR

public static final int COMPUTE_ERROR

基盤となる推論エンジンでエラーが発生し、結果を計算できません。

IPC_ERROR

public static final int IPC_ERROR

IPC エラー。

NEEDS_SYSTEM_UPDATE

public static final int NEEDS_SYSTEM_UPDATE

AICore サービスが正常に機能するには、Android システムの更新が必要です。

NOT_AVAILABLE

public static final int NOT_AVAILABLE

基盤となる推論エンジンを使用できません。

NOT_ENOUGH_DISK_SPACE

public static final int NOT_ENOUGH_DISK_SPACE

ダウンロード エラー。

NULL_BINDING

public static final int NULL_BINDING

AICore サービスがバインディングで null を返す。

REQUEST_PROCESSING_ERROR

public static final int REQUEST_PROCESSING_ERROR

リクエストの処理中にエラーが発生したため、レスポンスは生成されません。

REQUEST_TOO_LARGE

public static final int REQUEST_TOO_LARGE

リクエストが大きすぎて AICore で処理できない。

RESPONSE_GENERATION_ERROR

public static final int RESPONSE_GENERATION_ERROR

モデルが適切なレスポンスを生成できなかった。

RESPONSE_PROCESSING_ERROR

public static final int RESPONSE_PROCESSING_ERROR

生成されたレスポンスでエラーが発生しました。

SERVICE_DISCONNECTED

public static final int SERVICE_DISCONNECTED

AICore サービスが切断されている。

SERVICE_PROCESSING_ERROR

public static final int SERVICE_PROCESSING_ERROR

処理中にサービスでエラーが発生しました。

UNKNOWN

public static final int UNKNOWN

不明な障害。

パブリック コンストラクタ

ErrorCode

public ErrorCode()