generated/model_types.pb library
Classes
- AcceleratorPolicy
- Requested execution placement for a load. LiteRT/ExecuTorch-aligned.
- ArchiveArtifact
- ArchiveStructure
- ArchiveType
- Compression flavor of a multi-file model package.
- ArtifactInferFromUrlRequest
- ArtifactInferFromUrlResult
- AudioEncoding
- Sample layout of a raw audio payload, as opposed to AudioFormat above, which names the container. CONTAINER means the bytes carry their own header and the companion AudioFormat field says which one.
- AudioFormat
- Container format of an audio payload.
- CurrentModelRequest
- CurrentModelResult
- DiscoveredModel
- ExpectedModelFiles
- What a multi-file model should contain on disk after extraction. Verified before hand-off to the inference framework.
- InferenceFramework
- Engine that executes a model. Reached from ModelInfo.framework, so the reserved values below are manifest-critical.
- ModelArtifactType
- What kind of bundle a model ships as.
- ModelCategory
- What a model does.
- ModelCompatibilityRequest
- ModelCompatibilityResult
- ModelDeleteResult
-
delete(model_id) frees DISK. It always unloads the model first if it is
resident -- there is no flag, and no failure mode for "still loaded".
Entries whose source is MODEL_SOURCE_BUILT_IN are never deletable and fail
with an SDKError. Success is the absence of
error. - ModelDiscoveryRequest
- ModelDiscoveryResult
- ModelFileDescriptor
- ModelFileRole
- Role of a file inside a single/multi-file artifact. The generic COMPANION role covers arbitrary sidecars; specific roles document common public catalog files such as VLM mmproj files and tokenizer/config assets.
- ModelFormat
- On-disk file format, as opposed to ModelArtifactType (bundle kind) or ArchiveType (compression).
- ModelFormatFromUrlRequest
- ModelFormatFromUrlResult
- ModelGetRequest
- ModelGetResult
- ModelImportRequest
- ModelImportResult
- ModelInfo
- Core metadata for a model entry. This message is persisted verbatim to .rac-manifest.binpb, so field numbers here are permanent.
- ModelInfoList
- Repeated model registry responses use this wrapper because protobuf cannot serialize a bare repeated field as a top-level message.
- ModelInfoMakeRequest
- ModelInfoMetadata
- ModelListRequest
- ModelListResult
- ModelLoadRequest
- ModelLoadResult
- ModelQuery
- Registry/query filters shared by SDK model-management APIs. UI-only presentation state and platform filesystem handles are intentionally not represented here. Filters only. Ordering is the client's -- a local catalog is tens of rows.
- ModelRegistryFetchAssignmentsRequest
- ModelRegistryFetchAssignmentsResult
- ModelRegistryRefreshRequest
- ModelRegistryRefreshResult
- ModelRegistryStatus
- Durable catalog state, not a live transfer stream. Byte counters and progress events live in download_service.proto.
- ModelRuntimeCompatibility
- ModelSource
- ModelUnloadRequest
- ModelUnloadResult
- MultiFileArtifact
- RegisterModelFromUrlRequest
- RegisterMultiFileModelRequest
- RoutingPolicy
- On-device versus cloud routing. PREFER_LOCAL and PREFER_CLOUD cover the "preferred" cases; MANUAL is an explicit user override.
- SDKEnvironment
- SingleFileArtifact
Enums
Extensions
- GeneratedMessageGenericExtensions on T
-
Extensions on
GeneratedMessages.