import * as wkt from "@bufbuild/protobuf/wkt"; import { NullValue, Timestamp } from "@bufbuild/protobuf/wkt"; import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { Message } from "@bufbuild/protobuf"; declare namespace build_pb_d_exports$1 { export { BuildService$1 as BuildService, CreateBuildRequest, CreateBuildRequestSchema, CreateBuildResponse, CreateBuildResponseSchema, FinishBuildRequest, FinishBuildRequestSchema, FinishBuildRequest_BuildError, FinishBuildRequest_BuildErrorSchema, FinishBuildRequest_BuildSuccess, FinishBuildRequest_BuildSuccessSchema, FinishBuildResponse, FinishBuildResponseSchema, GetBuildStepLogsRequest, GetBuildStepLogsRequestSchema, GetBuildStepLogsResponse, GetBuildStepLogsResponseSchema, GetBuildStepLogsResponse_Log, GetBuildStepLogsResponse_LogSchema, GetBuildStepsRequest, GetBuildStepsRequestSchema, GetBuildStepsResponse, GetBuildStepsResponseSchema, GetBuildStepsResponse_BuildStep, GetBuildStepsResponse_BuildStepSchema, GetBuildStepsResponse_BuildStep_CacheState, GetBuildStepsResponse_BuildStep_CacheStateSchema, file_depot_build_v1_build }; } /** * Describes the file depot/build/v1/build.proto. */ declare const file_depot_build_v1_build: GenFile; /** * @generated from message depot.build.v1.CreateBuildRequest */ type CreateBuildRequest = Message<'depot.build.v1.CreateBuildRequest'> & { /** * @generated from field: string project_id = 1; */ projectId: string; }; /** * Describes the message depot.build.v1.CreateBuildRequest. * Use `create(CreateBuildRequestSchema)` to create a new message. */ declare const CreateBuildRequestSchema: GenMessage; /** * @generated from message depot.build.v1.CreateBuildResponse */ type CreateBuildResponse = Message<'depot.build.v1.CreateBuildResponse'> & { /** * @generated from field: string build_id = 1; */ buildId: string; /** * @generated from field: string build_token = 2; */ buildToken: string; }; /** * Describes the message depot.build.v1.CreateBuildResponse. * Use `create(CreateBuildResponseSchema)` to create a new message. */ declare const CreateBuildResponseSchema: GenMessage; /** * @generated from message depot.build.v1.FinishBuildRequest */ type FinishBuildRequest = Message<'depot.build.v1.FinishBuildRequest'> & { /** * @generated from field: string build_id = 1; */ buildId: string; /** * @generated from oneof depot.build.v1.FinishBuildRequest.result */ result: { /** * @generated from field: depot.build.v1.FinishBuildRequest.BuildSuccess success = 2; */ value: FinishBuildRequest_BuildSuccess; case: 'success'; } | { /** * @generated from field: depot.build.v1.FinishBuildRequest.BuildError error = 3; */ value: FinishBuildRequest_BuildError; case: 'error'; } | { case: undefined; value?: undefined; }; }; /** * Describes the message depot.build.v1.FinishBuildRequest. * Use `create(FinishBuildRequestSchema)` to create a new message. */ declare const FinishBuildRequestSchema: GenMessage; /** * @generated from message depot.build.v1.FinishBuildRequest.BuildSuccess */ type FinishBuildRequest_BuildSuccess = Message<'depot.build.v1.FinishBuildRequest.BuildSuccess'> & {}; /** * Describes the message depot.build.v1.FinishBuildRequest.BuildSuccess. * Use `create(FinishBuildRequest_BuildSuccessSchema)` to create a new message. */ declare const FinishBuildRequest_BuildSuccessSchema: GenMessage; /** * @generated from message depot.build.v1.FinishBuildRequest.BuildError */ type FinishBuildRequest_BuildError = Message<'depot.build.v1.FinishBuildRequest.BuildError'> & { /** * @generated from field: string error = 1; */ error: string; }; /** * Describes the message depot.build.v1.FinishBuildRequest.BuildError. * Use `create(FinishBuildRequest_BuildErrorSchema)` to create a new message. */ declare const FinishBuildRequest_BuildErrorSchema: GenMessage; /** * @generated from message depot.build.v1.FinishBuildResponse */ type FinishBuildResponse = Message<'depot.build.v1.FinishBuildResponse'> & {}; /** * Describes the message depot.build.v1.FinishBuildResponse. * Use `create(FinishBuildResponseSchema)` to create a new message. */ declare const FinishBuildResponseSchema: GenMessage; /** * @generated from message depot.build.v1.GetBuildStepsRequest */ type GetBuildStepsRequest = Message<'depot.build.v1.GetBuildStepsRequest'> & { /** * @generated from field: string project_id = 1; */ projectId: string; /** * @generated from field: string build_id = 2; */ buildId: string; /** * @generated from field: optional int32 page_size = 3; */ pageSize?: number | undefined; /** * @generated from field: optional string page_token = 4; */ pageToken?: string | undefined; }; /** * Describes the message depot.build.v1.GetBuildStepsRequest. * Use `create(GetBuildStepsRequestSchema)` to create a new message. */ declare const GetBuildStepsRequestSchema: GenMessage; /** * @generated from message depot.build.v1.GetBuildStepsResponse */ type GetBuildStepsResponse = Message<'depot.build.v1.GetBuildStepsResponse'> & { /** * @generated from field: repeated depot.build.v1.GetBuildStepsResponse.BuildStep build_steps = 1; */ buildSteps: GetBuildStepsResponse_BuildStep[]; /** * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; }; /** * Describes the message depot.build.v1.GetBuildStepsResponse. * Use `create(GetBuildStepsResponseSchema)` to create a new message. */ declare const GetBuildStepsResponseSchema: GenMessage; /** * @generated from message depot.build.v1.GetBuildStepsResponse.BuildStep */ type GetBuildStepsResponse_BuildStep = Message<'depot.build.v1.GetBuildStepsResponse.BuildStep'> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string digest = 2; */ digest: string; /** * @generated from field: google.protobuf.Timestamp started_at = 3; */ startedAt?: Timestamp | undefined; /** * @generated from field: optional google.protobuf.Timestamp completed_at = 4; */ completedAt?: Timestamp | undefined; /** * @generated from field: depot.build.v1.GetBuildStepsResponse.BuildStep.CacheState cache_state = 5; */ cacheState: GetBuildStepsResponse_BuildStep_CacheState; /** * @generated from field: optional string error = 6; */ error?: string | undefined; /** * @generated from field: bool has_logs = 7; */ hasLogs: boolean; }; /** * Describes the message depot.build.v1.GetBuildStepsResponse.BuildStep. * Use `create(GetBuildStepsResponse_BuildStepSchema)` to create a new message. */ declare const GetBuildStepsResponse_BuildStepSchema: GenMessage; /** * @generated from enum depot.build.v1.GetBuildStepsResponse.BuildStep.CacheState */ declare enum GetBuildStepsResponse_BuildStep_CacheState { /** * @generated from enum value: CACHE_STATE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: CACHE_STATE_UNCACHED = 1; */ UNCACHED = 1, /** * @generated from enum value: CACHE_STATE_CACHED = 2; */ CACHED = 2 } /** * Describes the enum depot.build.v1.GetBuildStepsResponse.BuildStep.CacheState. */ declare const GetBuildStepsResponse_BuildStep_CacheStateSchema: GenEnum; /** * @generated from message depot.build.v1.GetBuildStepLogsRequest */ type GetBuildStepLogsRequest = Message<'depot.build.v1.GetBuildStepLogsRequest'> & { /** * @generated from field: string project_id = 1; */ projectId: string; /** * @generated from field: string build_id = 2; */ buildId: string; /** * @generated from field: string build_step_digest = 3; */ buildStepDigest: string; /** * @generated from field: optional int32 page_size = 4; */ pageSize?: number | undefined; /** * @generated from field: optional string page_token = 5; */ pageToken?: string | undefined; }; /** * Describes the message depot.build.v1.GetBuildStepLogsRequest. * Use `create(GetBuildStepLogsRequestSchema)` to create a new message. */ declare const GetBuildStepLogsRequestSchema: GenMessage; /** * @generated from message depot.build.v1.GetBuildStepLogsResponse */ type GetBuildStepLogsResponse = Message<'depot.build.v1.GetBuildStepLogsResponse'> & { /** * @generated from field: repeated depot.build.v1.GetBuildStepLogsResponse.Log logs = 1; */ logs: GetBuildStepLogsResponse_Log[]; /** * @generated from field: optional string next_page_token = 6; */ nextPageToken?: string | undefined; }; /** * Describes the message depot.build.v1.GetBuildStepLogsResponse. * Use `create(GetBuildStepLogsResponseSchema)` to create a new message. */ declare const GetBuildStepLogsResponseSchema: GenMessage; /** * @generated from message depot.build.v1.GetBuildStepLogsResponse.Log */ type GetBuildStepLogsResponse_Log = Message<'depot.build.v1.GetBuildStepLogsResponse.Log'> & { /** * @generated from field: string message = 1; */ message: string; /** * @generated from field: google.protobuf.Timestamp timestamp = 2; */ timestamp?: Timestamp | undefined; }; /** * Describes the message depot.build.v1.GetBuildStepLogsResponse.Log. * Use `create(GetBuildStepLogsResponse_LogSchema)` to create a new message. */ declare const GetBuildStepLogsResponse_LogSchema: GenMessage; /** * @generated from service depot.build.v1.BuildService */ declare const BuildService$1: GenService<{ /** * @generated from rpc depot.build.v1.BuildService.CreateBuild */ createBuild: { methodKind: 'unary'; input: typeof CreateBuildRequestSchema; output: typeof CreateBuildResponseSchema; }; /** * @generated from rpc depot.build.v1.BuildService.FinishBuild */ finishBuild: { methodKind: 'unary'; input: typeof FinishBuildRequestSchema; output: typeof FinishBuildResponseSchema; }; /** * @generated from rpc depot.build.v1.BuildService.GetBuildSteps */ getBuildSteps: { methodKind: 'unary'; input: typeof GetBuildStepsRequestSchema; output: typeof GetBuildStepsResponseSchema; }; /** * @generated from rpc depot.build.v1.BuildService.GetBuildStepLogs */ getBuildStepLogs: { methodKind: 'unary'; input: typeof GetBuildStepLogsRequestSchema; output: typeof GetBuildStepLogsResponseSchema; }; }>; declare namespace registry_pb_d_exports$1 { export { DeleteImageRequest, DeleteImageRequestSchema, DeleteImageResponse, DeleteImageResponseSchema, Image, ImageSchema, ListImagesRequest$1 as ListImagesRequest, ListImagesRequestSchema$1 as ListImagesRequestSchema, ListImagesResponse$1 as ListImagesResponse, ListImagesResponseSchema$1 as ListImagesResponseSchema, RegistryService$1 as RegistryService, file_depot_build_v1_registry }; } /** * Describes the file depot/build/v1/registry.proto. */ declare const file_depot_build_v1_registry: GenFile; /** * @generated from message depot.build.v1.ListImagesRequest */ type ListImagesRequest$1 = Message<'depot.build.v1.ListImagesRequest'> & { /** * @generated from field: string project_id = 1; */ projectId: string; /** * The maximum number of results to return per page * * @generated from field: optional int32 page_size = 2; */ pageSize?: number | undefined; /** * The page token indicating which page of results to return * * @generated from field: optional string page_token = 3; */ pageToken?: string | undefined; }; /** * Describes the message depot.build.v1.ListImagesRequest. * Use `create(ListImagesRequestSchema)` to create a new message. */ declare const ListImagesRequestSchema$1: GenMessage; /** * @generated from message depot.build.v1.Image */ type Image = Message<'depot.build.v1.Image'> & { /** * @generated from field: string tag = 1; */ tag: string; /** * @generated from field: string digest = 2; */ digest: string; /** * @generated from field: google.protobuf.Timestamp pushed_at = 3; */ pushedAt?: Timestamp | undefined; /** * @generated from field: uint64 size_bytes = 4; */ sizeBytes: bigint; }; /** * Describes the message depot.build.v1.Image. * Use `create(ImageSchema)` to create a new message. */ declare const ImageSchema: GenMessage; /** * @generated from message depot.build.v1.ListImagesResponse */ type ListImagesResponse$1 = Message<'depot.build.v1.ListImagesResponse'> & { /** * @generated from field: repeated depot.build.v1.Image images = 1; */ images: Image[]; /** * The next page token, if there are more results * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; }; /** * Describes the message depot.build.v1.ListImagesResponse. * Use `create(ListImagesResponseSchema)` to create a new message. */ declare const ListImagesResponseSchema$1: GenMessage; /** * @generated from message depot.build.v1.DeleteImageRequest */ type DeleteImageRequest = Message<'depot.build.v1.DeleteImageRequest'> & { /** * @generated from field: string project_id = 1; */ projectId: string; /** * @generated from field: repeated string image_tags = 2; */ imageTags: string[]; }; /** * Describes the message depot.build.v1.DeleteImageRequest. * Use `create(DeleteImageRequestSchema)` to create a new message. */ declare const DeleteImageRequestSchema: GenMessage; /** * @generated from message depot.build.v1.DeleteImageResponse */ type DeleteImageResponse = Message<'depot.build.v1.DeleteImageResponse'> & {}; /** * Describes the message depot.build.v1.DeleteImageResponse. * Use `create(DeleteImageResponseSchema)` to create a new message. */ declare const DeleteImageResponseSchema: GenMessage; /** * @generated from service depot.build.v1.RegistryService */ declare const RegistryService$1: GenService<{ /** * @generated from rpc depot.build.v1.RegistryService.ListImages */ listImages: { methodKind: 'unary'; input: typeof ListImagesRequestSchema$1; output: typeof ListImagesResponseSchema$1; }; /** * @generated from rpc depot.build.v1.RegistryService.DeleteImage */ deleteImage: { methodKind: 'unary'; input: typeof DeleteImageRequestSchema; output: typeof DeleteImageResponseSchema; }; }>; declare namespace buildkit_pb_d_exports { export { BuildKitService, CertificatePair, CertificatePairSchema, GetEndpointRequest, GetEndpointRequestSchema, GetEndpointResponse, GetEndpointResponseSchema, GetEndpointResponse_ActiveConnection, GetEndpointResponse_ActiveConnectionSchema, GetEndpointResponse_PendingConnection, GetEndpointResponse_PendingConnectionSchema, Platform, PlatformSchema, PrivateKey, PrivateKeySchema, PublicCertificate, PublicCertificateSchema, ReleaseEndpointRequest, ReleaseEndpointRequestSchema, ReleaseEndpointResponse, ReleaseEndpointResponseSchema, ReportHealthRequest, ReportHealthRequestSchema, ReportHealthResponse, ReportHealthResponseSchema, file_depot_buildkit_v1_buildkit }; } /** * Describes the file depot/buildkit/v1/buildkit.proto. */ declare const file_depot_buildkit_v1_buildkit: GenFile; /** * @generated from message depot.buildkit.v1.GetEndpointRequest */ type GetEndpointRequest = Message<'depot.buildkit.v1.GetEndpointRequest'> & { /** * @generated from field: string build_id = 1; */ buildId: string; /** * @generated from field: depot.buildkit.v1.Platform platform = 2; */ platform: Platform; }; /** * Describes the message depot.buildkit.v1.GetEndpointRequest. * Use `create(GetEndpointRequestSchema)` to create a new message. */ declare const GetEndpointRequestSchema: GenMessage; /** * @generated from message depot.buildkit.v1.GetEndpointResponse */ type GetEndpointResponse = Message<'depot.buildkit.v1.GetEndpointResponse'> & { /** * @generated from oneof depot.buildkit.v1.GetEndpointResponse.connection */ connection: { /** * @generated from field: depot.buildkit.v1.GetEndpointResponse.PendingConnection pending = 1; */ value: GetEndpointResponse_PendingConnection; case: 'pending'; } | { /** * @generated from field: depot.buildkit.v1.GetEndpointResponse.ActiveConnection active = 2; */ value: GetEndpointResponse_ActiveConnection; case: 'active'; } | { case: undefined; value?: undefined; }; }; /** * Describes the message depot.buildkit.v1.GetEndpointResponse. * Use `create(GetEndpointResponseSchema)` to create a new message. */ declare const GetEndpointResponseSchema: GenMessage; /** * @generated from message depot.buildkit.v1.GetEndpointResponse.PendingConnection */ type GetEndpointResponse_PendingConnection = Message<'depot.buildkit.v1.GetEndpointResponse.PendingConnection'> & {}; /** * Describes the message depot.buildkit.v1.GetEndpointResponse.PendingConnection. * Use `create(GetEndpointResponse_PendingConnectionSchema)` to create a new message. */ declare const GetEndpointResponse_PendingConnectionSchema: GenMessage; /** * @generated from message depot.buildkit.v1.GetEndpointResponse.ActiveConnection */ type GetEndpointResponse_ActiveConnection = Message<'depot.buildkit.v1.GetEndpointResponse.ActiveConnection'> & { /** * @generated from field: string endpoint = 1; */ endpoint: string; /** * @generated from field: string server_name = 2; */ serverName: string; /** * @generated from field: depot.buildkit.v1.CertificatePair cert = 3; */ cert?: CertificatePair | undefined; /** * @generated from field: depot.buildkit.v1.PublicCertificate ca_cert = 4; */ caCert?: PublicCertificate | undefined; }; /** * Describes the message depot.buildkit.v1.GetEndpointResponse.ActiveConnection. * Use `create(GetEndpointResponse_ActiveConnectionSchema)` to create a new message. */ declare const GetEndpointResponse_ActiveConnectionSchema: GenMessage; /** * @generated from message depot.buildkit.v1.ReleaseEndpointRequest */ type ReleaseEndpointRequest = Message<'depot.buildkit.v1.ReleaseEndpointRequest'> & { /** * @generated from field: string build_id = 1; */ buildId: string; /** * @generated from field: depot.buildkit.v1.Platform platform = 2; */ platform: Platform; }; /** * Describes the message depot.buildkit.v1.ReleaseEndpointRequest. * Use `create(ReleaseEndpointRequestSchema)` to create a new message. */ declare const ReleaseEndpointRequestSchema: GenMessage; /** * @generated from message depot.buildkit.v1.ReleaseEndpointResponse */ type ReleaseEndpointResponse = Message<'depot.buildkit.v1.ReleaseEndpointResponse'> & {}; /** * Describes the message depot.buildkit.v1.ReleaseEndpointResponse. * Use `create(ReleaseEndpointResponseSchema)` to create a new message. */ declare const ReleaseEndpointResponseSchema: GenMessage; /** * @generated from message depot.buildkit.v1.PublicCertificate */ type PublicCertificate = Message<'depot.buildkit.v1.PublicCertificate'> & { /** * @generated from field: string cert = 1; */ cert: string; }; /** * Describes the message depot.buildkit.v1.PublicCertificate. * Use `create(PublicCertificateSchema)` to create a new message. */ declare const PublicCertificateSchema: GenMessage; /** * @generated from message depot.buildkit.v1.PrivateKey */ type PrivateKey = Message<'depot.buildkit.v1.PrivateKey'> & { /** * @generated from field: string key = 1; */ key: string; }; /** * Describes the message depot.buildkit.v1.PrivateKey. * Use `create(PrivateKeySchema)` to create a new message. */ declare const PrivateKeySchema: GenMessage; /** * @generated from message depot.buildkit.v1.CertificatePair */ type CertificatePair = Message<'depot.buildkit.v1.CertificatePair'> & { /** * @generated from field: depot.buildkit.v1.PublicCertificate cert = 1; */ cert?: PublicCertificate | undefined; /** * @generated from field: depot.buildkit.v1.PrivateKey key = 2; */ key?: PrivateKey | undefined; }; /** * Describes the message depot.buildkit.v1.CertificatePair. * Use `create(CertificatePairSchema)` to create a new message. */ declare const CertificatePairSchema: GenMessage; /** * @generated from message depot.buildkit.v1.ReportHealthRequest */ type ReportHealthRequest = Message<'depot.buildkit.v1.ReportHealthRequest'> & { /** * @generated from field: string build_id = 1; */ buildId: string; /** * @generated from field: depot.buildkit.v1.Platform platform = 2; */ platform: Platform; }; /** * Describes the message depot.buildkit.v1.ReportHealthRequest. * Use `create(ReportHealthRequestSchema)` to create a new message. */ declare const ReportHealthRequestSchema: GenMessage; /** * @generated from message depot.buildkit.v1.ReportHealthResponse */ type ReportHealthResponse = Message<'depot.buildkit.v1.ReportHealthResponse'> & {}; /** * Describes the message depot.buildkit.v1.ReportHealthResponse. * Use `create(ReportHealthResponseSchema)` to create a new message. */ declare const ReportHealthResponseSchema: GenMessage; /** * @generated from enum depot.buildkit.v1.Platform */ declare enum Platform { /** * @generated from enum value: PLATFORM_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: PLATFORM_AMD64 = 1; */ AMD64 = 1, /** * @generated from enum value: PLATFORM_ARM64 = 2; */ ARM64 = 2 } /** * Describes the enum depot.buildkit.v1.Platform. */ declare const PlatformSchema: GenEnum; /** * @generated from service depot.buildkit.v1.BuildKitService */ declare const BuildKitService: GenService<{ /** * @generated from rpc depot.buildkit.v1.BuildKitService.GetEndpoint */ getEndpoint: { methodKind: 'server_streaming'; input: typeof GetEndpointRequestSchema; output: typeof GetEndpointResponseSchema; }; /** * @generated from rpc depot.buildkit.v1.BuildKitService.ReportHealth */ reportHealth: { methodKind: 'client_streaming'; input: typeof ReportHealthRequestSchema; output: typeof ReportHealthResponseSchema; }; /** * @generated from rpc depot.buildkit.v1.BuildKitService.ReleaseEndpoint */ releaseEndpoint: { methodKind: 'unary'; input: typeof ReleaseEndpointRequestSchema; output: typeof ReleaseEndpointResponseSchema; }; }>; declare namespace code_pb_d_exports { export { CodeService, CreateRepositoryRequest$1 as CreateRepositoryRequest, CreateRepositoryRequestSchema$1 as CreateRepositoryRequestSchema, CreateRepositoryResponse$1 as CreateRepositoryResponse, CreateRepositoryResponseSchema$1 as CreateRepositoryResponseSchema, DeleteRepositoryRequest$1 as DeleteRepositoryRequest, DeleteRepositoryRequestSchema$1 as DeleteRepositoryRequestSchema, DeleteRepositoryResponse$1 as DeleteRepositoryResponse, DeleteRepositoryResponseSchema$1 as DeleteRepositoryResponseSchema, GitHubRepository, GitHubRepositorySchema, StandaloneRepository, StandaloneRepositorySchema, file_depot_code_v1beta1_code }; } /** * Describes the file depot/code/v1beta1/code.proto. */ declare const file_depot_code_v1beta1_code: GenFile; /** * @generated from message depot.code.v1beta1.CreateRepositoryRequest */ type CreateRepositoryRequest$1 = Message<'depot.code.v1beta1.CreateRepositoryRequest'> & { /** * @generated from oneof depot.code.v1beta1.CreateRepositoryRequest.source */ source: { /** * Empty repository hosted by Depot. * * @generated from field: depot.code.v1beta1.StandaloneRepository standalone = 1; */ value: StandaloneRepository; case: 'standalone'; } | { /** * GitHub repository mirrored by Depot. Requires an active GitHub Code Access connection. * * @generated from field: depot.code.v1beta1.GitHubRepository github = 2; */ value: GitHubRepository; case: 'github'; } | { case: undefined; value?: undefined; }; }; /** * Describes the message depot.code.v1beta1.CreateRepositoryRequest. * Use `create(CreateRepositoryRequestSchema)` to create a new message. */ declare const CreateRepositoryRequestSchema$1: GenMessage; /** * @generated from message depot.code.v1beta1.CreateRepositoryResponse */ type CreateRepositoryResponse$1 = Message<'depot.code.v1beta1.CreateRepositoryResponse'> & { /** * Unique identifier for the created repository. * * @generated from field: string repository_id = 1; */ repositoryId: string; }; /** * Describes the message depot.code.v1beta1.CreateRepositoryResponse. * Use `create(CreateRepositoryResponseSchema)` to create a new message. */ declare const CreateRepositoryResponseSchema$1: GenMessage; /** * @generated from message depot.code.v1beta1.StandaloneRepository */ type StandaloneRepository = Message<'depot.code.v1beta1.StandaloneRepository'> & { /** * Repository name. Names may contain path segments. For example, "team/service". Required. * * @generated from field: string repository = 1; */ repository: string; /** * Default branch name, without the "refs/heads/" prefix. For example, "main". Required. * * @generated from field: string default_branch = 2; */ defaultBranch: string; }; /** * Describes the message depot.code.v1beta1.StandaloneRepository. * Use `create(StandaloneRepositorySchema)` to create a new message. */ declare const StandaloneRepositorySchema: GenMessage; /** * @generated from message depot.code.v1beta1.GitHubRepository */ type GitHubRepository = Message<'depot.code.v1beta1.GitHubRepository'> & { /** * GitHub repository to mirror, in "owner/repository" format. Required. * * @generated from field: string repository = 1; */ repository: string; }; /** * Describes the message depot.code.v1beta1.GitHubRepository. * Use `create(GitHubRepositorySchema)` to create a new message. */ declare const GitHubRepositorySchema: GenMessage; /** * @generated from message depot.code.v1beta1.DeleteRepositoryRequest */ type DeleteRepositoryRequest$1 = Message<'depot.code.v1beta1.DeleteRepositoryRequest'> & { /** * Unique identifier for the repository to delete. Returned by `CreateRepository`. * * @generated from field: string repository_id = 1; */ repositoryId: string; }; /** * Describes the message depot.code.v1beta1.DeleteRepositoryRequest. * Use `create(DeleteRepositoryRequestSchema)` to create a new message. */ declare const DeleteRepositoryRequestSchema$1: GenMessage; /** * @generated from message depot.code.v1beta1.DeleteRepositoryResponse */ type DeleteRepositoryResponse$1 = Message<'depot.code.v1beta1.DeleteRepositoryResponse'> & {}; /** * Describes the message depot.code.v1beta1.DeleteRepositoryResponse. * Use `create(DeleteRepositoryResponseSchema)` to create a new message. */ declare const DeleteRepositoryResponseSchema$1: GenMessage; /** * CodeService manages repositories hosted by Depot Code. * * @generated from service depot.code.v1beta1.CodeService */ declare const CodeService: GenService<{ /** * Creates a standalone repository or a mirror of a GitHub repository. * * @generated from rpc depot.code.v1beta1.CodeService.CreateRepository */ createRepository: { methodKind: 'unary'; input: typeof CreateRepositoryRequestSchema$1; output: typeof CreateRepositoryResponseSchema$1; }; /** * Deletes a repository and makes its refs unreachable. This cannot be undone. * * @generated from rpc depot.code.v1beta1.CodeService.DeleteRepository */ deleteRepository: { methodKind: 'unary'; input: typeof DeleteRepositoryRequestSchema$1; output: typeof DeleteRepositoryResponseSchema$1; }; }>; declare namespace build_pb_d_exports { export { Build, BuildArchitectureMetrics, BuildArchitectureMetricsSchema, BuildMachineMetrics, BuildMachineMetricsSchema, BuildResourceMetrics, BuildResourceMetricsSchema, BuildResourceStatistics, BuildResourceStatisticsSchema, BuildSchema, BuildService, Build_Status, Build_StatusSchema, CancelBuildRequest, CancelBuildRequestSchema, CancelBuildResponse, CancelBuildResponseSchema, CancelBuildResponse_Outcome, CancelBuildResponse_OutcomeSchema, GetBuildRequest, GetBuildRequestSchema, GetBuildResponse, GetBuildResponseSchema, GetProjectBuildMetricsRequest, GetProjectBuildMetricsRequestSchema, GetProjectBuildMetricsResponse, GetProjectBuildMetricsResponseSchema, ListBuildMetricsRequest, ListBuildMetricsRequestSchema, ListBuildMetricsResponse, ListBuildMetricsResponseSchema, ListBuildsRequest, ListBuildsRequestSchema, ListBuildsResponse, ListBuildsResponseSchema, ShareBuildRequest, ShareBuildRequestSchema, ShareBuildResponse, ShareBuildResponseSchema, StopSharingBuildRequest, StopSharingBuildRequestSchema, StopSharingBuildResponse, StopSharingBuildResponseSchema, file_depot_core_v1_build }; } /** * Describes the file depot/core/v1/build.proto. */ declare const file_depot_core_v1_build: GenFile; /** * @generated from message depot.core.v1.ListBuildMetricsRequest */ type ListBuildMetricsRequest = Message<'depot.core.v1.ListBuildMetricsRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `GetProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * Inclusive lower bound on build completion time, in RFC 3339 format. Required, with millisecond precision. * * @generated from field: google.protobuf.Timestamp start_at = 2; */ startAt?: Timestamp | undefined; /** * Exclusive upper bound on build completion time, in RFC 3339 format. Required, with millisecond precision. * Must follow `startAt`, must not be in the future, and must be at most seven days after `startAt`. * * @generated from field: google.protobuf.Timestamp end_at = 3; */ endAt?: Timestamp | undefined; /** * Number of builds to return per page. Maximum: 50. Default: 20. * * @generated from field: int32 page_size = 4; */ pageSize: number; /** * Token to fetch the next page. Leave empty to fetch the first page. Keep the project and time range unchanged. * * @generated from field: string page_token = 5; */ pageToken: string; }; /** * Describes the message depot.core.v1.ListBuildMetricsRequest. * Use `create(ListBuildMetricsRequestSchema)` to create a new message. */ declare const ListBuildMetricsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ListBuildMetricsResponse */ type ListBuildMetricsResponse = Message<'depot.core.v1.ListBuildMetricsResponse'> & { /** * Completed builds, ordered by completion time and build identifier, both descending. * Pagination is not a database snapshot; records and late-arriving telemetry may change between requests. * * @generated from field: repeated depot.core.v1.BuildResourceMetrics builds = 1; */ builds: BuildResourceMetrics[]; /** * Token to fetch the next page. Empty when there are no more builds. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListBuildMetricsResponse. * Use `create(ListBuildMetricsResponseSchema)` to create a new message. */ declare const ListBuildMetricsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetProjectBuildMetricsRequest */ type GetProjectBuildMetricsRequest = Message<'depot.core.v1.GetProjectBuildMetricsRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `GetProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * Inclusive lower bound on build completion time, in RFC 3339 format. Required, with millisecond precision. * * @generated from field: google.protobuf.Timestamp start_at = 2; */ startAt?: Timestamp | undefined; /** * Exclusive upper bound on build completion time, in RFC 3339 format. Required, with millisecond precision. * Must follow `startAt`, must not be in the future, and must be at most seven days after `startAt`. * * @generated from field: google.protobuf.Timestamp end_at = 3; */ endAt?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.GetProjectBuildMetricsRequest. * Use `create(GetProjectBuildMetricsRequestSchema)` to create a new message. */ declare const GetProjectBuildMetricsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetProjectBuildMetricsResponse */ type GetProjectBuildMetricsResponse = Message<'depot.core.v1.GetProjectBuildMetricsResponse'> & { /** * Number of completed builds selected, including builds without telemetry. * * @generated from field: uint32 build_count = 1; */ buildCount: number; /** * Number of selected builds without a recorded machine association. * * @generated from field: uint32 builds_without_machines = 2; */ buildsWithoutMachines: number; /** * Statistics over measurements attributable only to the selected builds, weighted by observed interval duration. * Concurrent builds retain separate measurements. Combine averages using their observed durations, not sample counts. * * @generated from field: depot.core.v1.BuildResourceStatistics statistics = 3; */ statistics?: BuildResourceStatistics | undefined; /** * Statistics for each architecture with a recorded machine association. * * @generated from field: repeated depot.core.v1.BuildArchitectureMetrics architectures = 4; */ architectures: BuildArchitectureMetrics[]; }; /** * Describes the message depot.core.v1.GetProjectBuildMetricsResponse. * Use `create(GetProjectBuildMetricsResponseSchema)` to create a new message. */ declare const GetProjectBuildMetricsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.BuildResourceMetrics */ type BuildResourceMetrics = Message<'depot.core.v1.BuildResourceMetrics'> & { /** * Unique identifier for the build. Use with `GetBuild` for additional metadata. * * @generated from field: string build_id = 1; */ buildId: string; /** * Build creation time, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp | undefined; /** * Build completion time, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp finished_at = 3; */ finishedAt?: Timestamp | undefined; /** * Hardware recorded on the build. Empty when unknown; does not prove the capacity of each associated machine. * * @generated from field: string hardware = 4; */ hardware: string; /** * Statistics per associated machine, including machines without telemetry. Empty when no machine was recorded. * Each measurement must be attributable to this build on that machine. Host-wide samples are excluded, * including samples taken when no concurrent build was recorded. * * @generated from field: repeated depot.core.v1.BuildMachineMetrics machines = 5; */ machines: BuildMachineMetrics[]; }; /** * Describes the message depot.core.v1.BuildResourceMetrics. * Use `create(BuildResourceMetricsSchema)` to create a new message. */ declare const BuildResourceMetricsSchema: GenMessage; /** * @generated from message depot.core.v1.BuildMachineMetrics */ type BuildMachineMetrics = Message<'depot.core.v1.BuildMachineMetrics'> & { /** * Unique identifier for the builder machine. * * @generated from field: string machine_id = 1; */ machineId: string; /** * Machine architecture. Can be "amd64" or "arm64". * * @generated from field: string architecture = 2; */ architecture: string; /** * Beginning of the observed association window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp start_at = 3; */ startAt?: Timestamp | undefined; /** * Exclusive end of the observed association window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp end_at = 4; */ endAt?: Timestamp | undefined; /** * Statistics over build-attributed telemetry only. Zero sample counts mean no data, not zero utilization. * * @generated from field: depot.core.v1.BuildResourceStatistics statistics = 5; */ statistics?: BuildResourceStatistics | undefined; /** * Machine CPU capacity observed by the collector. Unset without telemetry or when capacity varied. * * @generated from field: optional uint32 cpu_capacity = 6; */ cpuCapacity?: number | undefined; /** * Machine memory capacity observed by the collector, in bytes. Unset without telemetry or when capacity varied. * * @generated from field: optional double memory_capacity_bytes = 7; */ memoryCapacityBytes?: number | undefined; }; /** * Describes the message depot.core.v1.BuildMachineMetrics. * Use `create(BuildMachineMetricsSchema)` to create a new message. */ declare const BuildMachineMetricsSchema: GenMessage; /** * @generated from message depot.core.v1.BuildArchitectureMetrics */ type BuildArchitectureMetrics = Message<'depot.core.v1.BuildArchitectureMetrics'> & { /** * Machine architecture. Can be "amd64" or "arm64". * * @generated from field: string architecture = 1; */ architecture: string; /** * Statistics across observed collection intervals for this architecture. * * @generated from field: depot.core.v1.BuildResourceStatistics statistics = 2; */ statistics?: BuildResourceStatistics | undefined; }; /** * Describes the message depot.core.v1.BuildArchitectureMetrics. * Use `create(BuildArchitectureMetricsSchema)` to create a new message. */ declare const BuildArchitectureMetricsSchema: GenMessage; /** * @generated from message depot.core.v1.BuildResourceStatistics */ type BuildResourceStatistics = Message<'depot.core.v1.BuildResourceStatistics'> & { /** * Number of distinct collection intervals with CPU measurements attributable to the build. * * @generated from field: uint32 cpu_sample_count = 1; */ cpuSampleCount: number; /** * Mean CPU utilization attributable to the build as a fraction of the collector's observed machine CPU capacity, from 0 to 1. * Weighted by observed interval duration. Includes user and kernel CPU. Unset without CPU samples. * * @generated from field: optional double average_cpu_utilization = 2; */ averageCpuUtilization?: number | undefined; /** * Highest build-attributed CPU utilization for any collection interval. Unset without CPU samples. * * @generated from field: optional double peak_cpu_utilization = 3; */ peakCpuUtilization?: number | undefined; /** * Number of distinct collection intervals with memory measurements attributable to the build. * * @generated from field: uint32 memory_sample_count = 4; */ memorySampleCount: number; /** * Mean memory utilization attributable to the build as a fraction of the collector's observed machine memory capacity, from 0 to 1. * Duration-weighted mean of each interval's highest sampled sum of executor memory. Unset without memory samples. * * @generated from field: optional double average_memory_utilization = 5; */ averageMemoryUtilization?: number | undefined; /** * Highest build-attributed memory utilization for any collection interval. Unset without memory samples. * * @generated from field: optional double peak_memory_utilization = 6; */ peakMemoryUtilization?: number | undefined; /** * Total duration of intervals with CPU observations, in seconds. Concurrent machines and builds contribute separately. * * @generated from field: double cpu_observed_seconds = 7; */ cpuObservedSeconds: number; /** * Total duration of intervals with memory observations, in seconds. * * @generated from field: double memory_observed_seconds = 8; */ memoryObservedSeconds: number; /** * Duration-weighted mean of the highest sampled executor memory per interval, in bytes. Unset without memory samples. * * @generated from field: optional double average_memory_bytes = 9; */ averageMemoryBytes?: number | undefined; /** * Highest sampled sum of executor cgroup memory, in bytes. Unset without memory samples. * * @generated from field: optional double peak_memory_bytes = 10; */ peakMemoryBytes?: number | undefined; /** * CPU time consumed by the observed executor cgroups, in seconds. Unset without CPU samples. * * @generated from field: optional double cpu_time_seconds = 11; */ cpuTimeSeconds?: number | undefined; }; /** * Describes the message depot.core.v1.BuildResourceStatistics. * Use `create(BuildResourceStatisticsSchema)` to create a new message. */ declare const BuildResourceStatisticsSchema: GenMessage; /** * @generated from message depot.core.v1.ShareBuildRequest */ type ShareBuildRequest = Message<'depot.core.v1.ShareBuildRequest'> & { /** * @generated from field: string build_id = 1; */ buildId: string; }; /** * Describes the message depot.core.v1.ShareBuildRequest. * Use `create(ShareBuildRequestSchema)` to create a new message. */ declare const ShareBuildRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ShareBuildResponse */ type ShareBuildResponse = Message<'depot.core.v1.ShareBuildResponse'> & { /** * @generated from field: string share_url = 1; */ shareUrl: string; }; /** * Describes the message depot.core.v1.ShareBuildResponse. * Use `create(ShareBuildResponseSchema)` to create a new message. */ declare const ShareBuildResponseSchema: GenMessage; /** * @generated from message depot.core.v1.StopSharingBuildRequest */ type StopSharingBuildRequest = Message<'depot.core.v1.StopSharingBuildRequest'> & { /** * @generated from field: string build_id = 1; */ buildId: string; }; /** * Describes the message depot.core.v1.StopSharingBuildRequest. * Use `create(StopSharingBuildRequestSchema)` to create a new message. */ declare const StopSharingBuildRequestSchema: GenMessage; /** * @generated from message depot.core.v1.StopSharingBuildResponse */ type StopSharingBuildResponse = Message<'depot.core.v1.StopSharingBuildResponse'> & {}; /** * Describes the message depot.core.v1.StopSharingBuildResponse. * Use `create(StopSharingBuildResponseSchema)` to create a new message. */ declare const StopSharingBuildResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListBuildsRequest */ type ListBuildsRequest = Message<'depot.core.v1.ListBuildsRequest'> & { /** * @generated from field: string project_id = 1; */ projectId: string; /** * @generated from field: optional int32 page_size = 2; */ pageSize?: number | undefined; /** * @generated from field: optional string page_token = 3; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListBuildsRequest. * Use `create(ListBuildsRequestSchema)` to create a new message. */ declare const ListBuildsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ListBuildsResponse */ type ListBuildsResponse = Message<'depot.core.v1.ListBuildsResponse'> & { /** * @generated from field: repeated depot.core.v1.Build builds = 1; */ builds: Build[]; /** * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListBuildsResponse. * Use `create(ListBuildsResponseSchema)` to create a new message. */ declare const ListBuildsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetBuildRequest */ type GetBuildRequest = Message<'depot.core.v1.GetBuildRequest'> & { /** * @generated from field: string build_id = 1; */ buildId: string; }; /** * Describes the message depot.core.v1.GetBuildRequest. * Use `create(GetBuildRequestSchema)` to create a new message. */ declare const GetBuildRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetBuildResponse */ type GetBuildResponse = Message<'depot.core.v1.GetBuildResponse'> & { /** * @generated from field: depot.core.v1.Build build = 1; */ build?: Build | undefined; }; /** * Describes the message depot.core.v1.GetBuildResponse. * Use `create(GetBuildResponseSchema)` to create a new message. */ declare const GetBuildResponseSchema: GenMessage; /** * @generated from message depot.core.v1.CancelBuildRequest */ type CancelBuildRequest = Message<'depot.core.v1.CancelBuildRequest'> & { /** * Unique identifier for the build. Returned by `ListBuilds` and `GetBuild`. * * @generated from field: string build_id = 1; */ buildId: string; }; /** * Describes the message depot.core.v1.CancelBuildRequest. * Use `create(CancelBuildRequestSchema)` to create a new message. */ declare const CancelBuildRequestSchema: GenMessage; /** * @generated from message depot.core.v1.CancelBuildResponse */ type CancelBuildResponse = Message<'depot.core.v1.CancelBuildResponse'> & { /** * Result of requesting cancellation. Does not confirm that execution has stopped. * * @generated from field: depot.core.v1.CancelBuildResponse.Outcome outcome = 1; */ outcome: CancelBuildResponse_Outcome; }; /** * Describes the message depot.core.v1.CancelBuildResponse. * Use `create(CancelBuildResponseSchema)` to create a new message. */ declare const CancelBuildResponseSchema: GenMessage; /** * @generated from enum depot.core.v1.CancelBuildResponse.Outcome */ declare enum CancelBuildResponse_Outcome { /** * @generated from enum value: OUTCOME_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Cancellation was requested, including repeated requests for a running build. * * @generated from enum value: OUTCOME_CANCELLATION_REQUESTED = 1; */ CANCELLATION_REQUESTED = 1, /** * The build had already completed. Its final outcome is unchanged. * * @generated from enum value: OUTCOME_ALREADY_TERMINAL = 2; */ ALREADY_TERMINAL = 2 } /** * Describes the enum depot.core.v1.CancelBuildResponse.Outcome. */ declare const CancelBuildResponse_OutcomeSchema: GenEnum; /** * @generated from message depot.core.v1.Build */ type Build = Message<'depot.core.v1.Build'> & { /** * @generated from field: string build_id = 1; */ buildId: string; /** * @generated from field: depot.core.v1.Build.Status status = 2; */ status: Build_Status; /** * @generated from field: google.protobuf.Timestamp created_at = 3; */ createdAt?: Timestamp | undefined; /** * @generated from field: optional google.protobuf.Timestamp started_at = 4; */ startedAt?: Timestamp | undefined; /** * @generated from field: optional google.protobuf.Timestamp finished_at = 5; */ finishedAt?: Timestamp | undefined; /** * @generated from field: optional int32 build_duration_seconds = 6; */ buildDurationSeconds?: number | undefined; /** * @generated from field: optional int32 saved_duration_seconds = 7; */ savedDurationSeconds?: number | undefined; /** * @generated from field: optional int32 cached_steps = 8; */ cachedSteps?: number | undefined; /** * @generated from field: optional int32 total_steps = 9; */ totalSteps?: number | undefined; }; /** * Describes the message depot.core.v1.Build. * Use `create(BuildSchema)` to create a new message. */ declare const BuildSchema: GenMessage; /** * @generated from enum depot.core.v1.Build.Status */ declare enum Build_Status { /** * @generated from enum value: STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: STATUS_RUNNING = 1; */ RUNNING = 1, /** * @generated from enum value: STATUS_FAILED = 2; */ FAILED = 2, /** * @generated from enum value: STATUS_SUCCESS = 3; */ SUCCESS = 3, /** * @generated from enum value: STATUS_ERROR = 4; */ ERROR = 4, /** * @generated from enum value: STATUS_CANCELED = 5; */ CANCELED = 5 } /** * Describes the enum depot.core.v1.Build.Status. */ declare const Build_StatusSchema: GenEnum; /** * @generated from service depot.core.v1.BuildService */ declare const BuildService: GenService<{ /** * Share a URL to a build with users outside of your organization * * @generated from rpc depot.core.v1.BuildService.ShareBuild */ shareBuild: { methodKind: 'unary'; input: typeof ShareBuildRequestSchema; output: typeof ShareBuildResponseSchema; }; /** * Stop sharing a build * * @generated from rpc depot.core.v1.BuildService.StopSharingBuild */ stopSharingBuild: { methodKind: 'unary'; input: typeof StopSharingBuildRequestSchema; output: typeof StopSharingBuildResponseSchema; }; /** * List the builds in your organization * * @generated from rpc depot.core.v1.BuildService.ListBuilds */ listBuilds: { methodKind: 'unary'; input: typeof ListBuildsRequestSchema; output: typeof ListBuildsResponseSchema; }; /** * Get the build metadata of a build * * @generated from rpc depot.core.v1.BuildService.GetBuild */ getBuild: { methodKind: 'unary'; input: typeof GetBuildRequestSchema; output: typeof GetBuildResponseSchema; }; /** * Request cancellation of a build. Execution stops asynchronously; use `GetBuild` to observe the final outcome. * Requires an organization credential with write access. Repeated requests are safe. * * @generated from rpc depot.core.v1.BuildService.CancelBuild */ cancelBuild: { methodKind: 'unary'; input: typeof CancelBuildRequestSchema; output: typeof CancelBuildResponseSchema; }; /** * Export resource utilization for completed builds, newest first. Requires organization read access. * Only measurements attributable to each selected build may be returned; host-wide metrics are never substituted. * Missing or unsupported collection returns zero sample counts and absent utilization values. * * @generated from rpc depot.core.v1.BuildService.ListBuildMetrics */ listBuildMetrics: { methodKind: 'unary'; input: typeof ListBuildMetricsRequestSchema; output: typeof ListBuildMetricsResponseSchema; }; /** * Summarize resource utilization attributable only to the selected completed builds. Requires organization read access. * Includes only executor cgroups attributed to the selected builds. Excludes host processes and other builds. * Missing or unsupported collection returns zero sample counts and absent utilization values. * * @generated from rpc depot.core.v1.BuildService.GetProjectBuildMetrics */ getProjectBuildMetrics: { methodKind: 'unary'; input: typeof GetProjectBuildMetricsRequestSchema; output: typeof GetProjectBuildMetricsResponseSchema; }; }>; declare namespace github_actions_pb_d_exports { export { CountGithubActionsLogsRequest, CountGithubActionsLogsRequestSchema, CountGithubActionsLogsResponse, CountGithubActionsLogsResponseSchema, CreateGithubActionsInstallationUrlRequest, CreateGithubActionsInstallationUrlRequestSchema, CreateGithubActionsInstallationUrlResponse, CreateGithubActionsInstallationUrlResponseSchema, DeleteGithubActionsConnectionRequest, DeleteGithubActionsConnectionRequestSchema, DeleteGithubActionsConnectionResponse, DeleteGithubActionsConnectionResponseSchema, GetGithubActionsAnalyticsRequest, GetGithubActionsAnalyticsRequestSchema, GetGithubActionsAnalyticsResponse, GetGithubActionsAnalyticsResponseSchema, GetGithubActionsDurationDistributionRequest, GetGithubActionsDurationDistributionRequestSchema, GetGithubActionsDurationDistributionResponse, GetGithubActionsDurationDistributionResponseSchema, GetGithubActionsJobMetricsRequest, GetGithubActionsJobMetricsRequestSchema, GetGithubActionsJobMetricsResponse, GetGithubActionsJobMetricsResponseSchema, GetGithubActionsJobRequest, GetGithubActionsJobRequestSchema, GetGithubActionsJobResponse, GetGithubActionsJobResponseSchema, GetGithubActionsLogContextRequest, GetGithubActionsLogContextRequestSchema, GetGithubActionsLogContextResponse, GetGithubActionsLogContextResponseSchema, GetGithubActionsTestResultsSummaryRequest, GetGithubActionsTestResultsSummaryRequestSchema, GetGithubActionsTestResultsSummaryResponse, GetGithubActionsTestResultsSummaryResponseSchema, GetGithubActionsUsageProjectionRequest, GetGithubActionsUsageProjectionRequestSchema, GetGithubActionsUsageProjectionResponse, GetGithubActionsUsageProjectionResponseSchema, GithubActionsAggregationUnit, GithubActionsAggregationUnitSchema, GithubActionsAnalyticsBucket, GithubActionsAnalyticsBucketSchema, GithubActionsAnalyticsFilters, GithubActionsAnalyticsFiltersSchema, GithubActionsAnalyticsTotals, GithubActionsAnalyticsTotalsSchema, GithubActionsConnection, GithubActionsConnectionSchema, GithubActionsConnectionStatus, GithubActionsConnectionStatusSchema, GithubActionsDurationBucket, GithubActionsDurationBucketSchema, GithubActionsJob, GithubActionsJobAnalytics, GithubActionsJobAnalyticsSchema, GithubActionsJobConclusion, GithubActionsJobConclusionSchema, GithubActionsJobOOM, GithubActionsJobOOMEvent, GithubActionsJobOOMEventSchema, GithubActionsJobOOMSchema, GithubActionsJobRun, GithubActionsJobRunSchema, GithubActionsJobSchema, GithubActionsJobStatus, GithubActionsJobStatusSchema, GithubActionsLogFacet, GithubActionsLogFacetKind, GithubActionsLogFacetKindSchema, GithubActionsLogFacetSchema, GithubActionsLogFilters, GithubActionsLogFiltersSchema, GithubActionsLogLine, GithubActionsLogLineSchema, GithubActionsLogResultOrder, GithubActionsLogResultOrderSchema, GithubActionsMetricSample, GithubActionsMetricSampleSchema, GithubActionsMetricsAvailability, GithubActionsMetricsAvailabilityCode, GithubActionsMetricsAvailabilityCodeSchema, GithubActionsMetricsAvailabilitySchema, GithubActionsMetricsCapMetadata, GithubActionsMetricsCapMetadataSchema, GithubActionsMetricsStats, GithubActionsMetricsStatsSchema, GithubActionsRecommendation, GithubActionsRecommendationSchema, GithubActionsRecommendationType, GithubActionsRecommendationTypeSchema, GithubActionsRepository, GithubActionsRepositorySchema, GithubActionsRepositorySelection, GithubActionsRepositorySelectionSchema, GithubActionsRunnerSize, GithubActionsRunnerSizeSchema, GithubActionsService, GithubActionsTerminationOutcome, GithubActionsTerminationOutcomeSchema, GithubActionsTestResultsSummary, GithubActionsTestResultsSummarySchema, GithubActionsTimeRange, GithubActionsTimeRangeSchema, ListGithubActionsConnectionsRequest, ListGithubActionsConnectionsRequestSchema, ListGithubActionsConnectionsResponse, ListGithubActionsConnectionsResponseSchema, ListGithubActionsJobAnalyticsRequest, ListGithubActionsJobAnalyticsRequestSchema, ListGithubActionsJobAnalyticsResponse, ListGithubActionsJobAnalyticsResponseSchema, ListGithubActionsJobRunsRequest, ListGithubActionsJobRunsRequestSchema, ListGithubActionsJobRunsResponse, ListGithubActionsJobRunsResponseSchema, ListGithubActionsJobsRequest, ListGithubActionsJobsRequestSchema, ListGithubActionsJobsResponse, ListGithubActionsJobsResponseSchema, ListGithubActionsLogFacetsRequest, ListGithubActionsLogFacetsRequestSchema, ListGithubActionsLogFacetsResponse, ListGithubActionsLogFacetsResponseSchema, ListGithubActionsRecommendationsRequest, ListGithubActionsRecommendationsRequestSchema, ListGithubActionsRecommendationsResponse, ListGithubActionsRecommendationsResponseSchema, ListGithubActionsRepositoriesRequest, ListGithubActionsRepositoriesRequestSchema, ListGithubActionsRepositoriesResponse, ListGithubActionsRepositoriesResponseSchema, SearchGithubActionsLogsRequest, SearchGithubActionsLogsRequestSchema, SearchGithubActionsLogsResponse, SearchGithubActionsLogsResponseSchema, TerminateGithubActionsJobRequest, TerminateGithubActionsJobRequestSchema, TerminateGithubActionsJobResponse, TerminateGithubActionsJobResponseSchema, file_depot_core_v1_github_actions }; } /** * Describes the file depot/core/v1/github_actions.proto. */ declare const file_depot_core_v1_github_actions: GenFile; /** * @generated from message depot.core.v1.GithubActionsTimeRange */ type GithubActionsTimeRange = Message<'depot.core.v1.GithubActionsTimeRange'> & { /** * Inclusive start time, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp start_at = 1; */ startAt?: Timestamp | undefined; /** * Exclusive end time, in RFC 3339 format. Must be later than `startAt`. * * @generated from field: google.protobuf.Timestamp end_at = 2; */ endAt?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.GithubActionsTimeRange. * Use `create(GithubActionsTimeRangeSchema)` to create a new message. */ declare const GithubActionsTimeRangeSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsJob */ type GithubActionsJob = Message<'depot.core.v1.GithubActionsJob'> & { /** * Unique GitHub identifier for the job. * * @generated from field: string job_id = 1; */ jobId: string; /** * Unique GitHub identifier for the workflow run. * * @generated from field: string run_id = 2; */ runId: string; /** * Connected GitHub repository, in `owner/name` format. * * @generated from field: string repository = 3; */ repository: string; /** * Display name shown for the job in GitHub. * * @generated from field: string name = 4; */ name: string; /** * Workflow display name. Empty when GitHub did not provide one. * * @generated from field: string workflow_name = 5; */ workflowName: string; /** * Workflow file path. Empty when it is unavailable. * * @generated from field: string workflow_path = 6; */ workflowPath: string; /** * Current state of the job. * * @generated from field: depot.core.v1.GithubActionsJobStatus status = 7; */ status: GithubActionsJobStatus; /** * Final result. Unspecified until the job finishes. * * @generated from field: depot.core.v1.GithubActionsJobConclusion conclusion = 8; */ conclusion: GithubActionsJobConclusion; /** * Runner label requested by the workflow. * * @generated from field: string runner_label = 9; */ runnerLabel: string; /** * Requested operating system. * * @generated from field: string requested_os = 10; */ requestedOs: string; /** * Requested processor architecture. * * @generated from field: string requested_architecture = 11; */ requestedArchitecture: string; /** * Requested virtual CPU count. Zero when the label does not declare a CPU count. * * @generated from field: int32 requested_cpu_count = 12; */ requestedCpuCount: number; /** * Requested memory, in gibibytes. Zero when the label does not declare memory. * * @generated from field: int32 requested_memory_gib = 13; */ requestedMemoryGib: number; /** * GitHub URL for the job. * * @generated from field: string github_url = 14; */ githubUrl: string; /** * Time Depot received the job, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp created_at = 15; */ createdAt?: Timestamp | undefined; /** * Time the job started, in RFC 3339 format. Unset until the job starts. * * @generated from field: google.protobuf.Timestamp started_at = 16; */ startedAt?: Timestamp | undefined; /** * Time the job finished, in RFC 3339 format. Unset until the job finishes. * * @generated from field: google.protobuf.Timestamp finished_at = 17; */ finishedAt?: Timestamp | undefined; /** * Elapsed execution time, in seconds. Zero until enough lifecycle data is available. * * @generated from field: int64 duration_seconds = 18; */ durationSeconds: bigint; /** * Billable execution time, in seconds. Zero until enough lifecycle data is available. * * @generated from field: int64 billable_seconds = 19; */ billableSeconds: bigint; /** * Queue time before execution started, in seconds. Zero until enough lifecycle data is available. * * @generated from field: int64 queue_seconds = 20; */ queueSeconds: bigint; }; /** * Describes the message depot.core.v1.GithubActionsJob. * Use `create(GithubActionsJobSchema)` to create a new message. */ declare const GithubActionsJobSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsJobsRequest */ type ListGithubActionsJobsRequest = Message<'depot.core.v1.ListGithubActionsJobsRequest'> & { /** * Connected repositories to include, in `owner/name` format. Leave empty to include every connected repository. * * @generated from field: repeated string repositories = 1; */ repositories: string[]; /** * Job states to include. Leave empty to include every state. * * @generated from field: repeated depot.core.v1.GithubActionsJobStatus statuses = 2; */ statuses: GithubActionsJobStatus[]; /** * Job conclusions to include. Leave empty to include every conclusion. * * @generated from field: repeated depot.core.v1.GithubActionsJobConclusion conclusions = 3; */ conclusions: GithubActionsJobConclusion[]; /** * Runner labels to include. Leave empty to include every runner label. * * @generated from field: repeated string runner_labels = 4; */ runnerLabels: string[]; /** * Job creation window. Maximum: 90 days. Default: the last 30 days. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 5; */ timeRange?: GithubActionsTimeRange | undefined; /** * Case-insensitive text matched against job and workflow names. Numeric values also match exact GitHub job and run IDs. * * @generated from field: optional string query = 6; */ query?: string | undefined; /** * Number of jobs to return per page. Maximum: 250. Default: 50. * * @generated from field: optional int32 page_size = 7; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. Keep filters and `timeRange` unchanged between pages. * * @generated from field: optional string page_token = 8; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsJobsRequest. * Use `create(ListGithubActionsJobsRequestSchema)` to create a new message. */ declare const ListGithubActionsJobsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsJobsResponse */ type ListGithubActionsJobsResponse = Message<'depot.core.v1.ListGithubActionsJobsResponse'> & { /** * Jobs matching the request. * * @generated from field: repeated depot.core.v1.GithubActionsJob jobs = 1; */ jobs: GithubActionsJob[]; /** * Token to fetch the next page. Empty when there are no more jobs. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; /** * Total matching jobs as of `dataThrough`. This value can change while jobs are created or finish. * * @generated from field: int64 total_size = 3; */ totalSize: bigint; /** * Latest time included in the response, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp data_through = 4; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsJobsResponse. * Use `create(ListGithubActionsJobsResponseSchema)` to create a new message. */ declare const ListGithubActionsJobsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsJobRequest */ type GetGithubActionsJobRequest = Message<'depot.core.v1.GetGithubActionsJobRequest'> & { /** * Connected GitHub repository containing the job, in `owner/name` format. * * @generated from field: string repository = 1; */ repository: string; /** * Unique GitHub identifier for the job. Returned by `ListGithubActionsJobs`. * * @generated from field: string job_id = 2; */ jobId: string; }; /** * Describes the message depot.core.v1.GetGithubActionsJobRequest. * Use `create(GetGithubActionsJobRequestSchema)` to create a new message. */ declare const GetGithubActionsJobRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsJobResponse */ type GetGithubActionsJobResponse = Message<'depot.core.v1.GetGithubActionsJobResponse'> & { /** * Requested job. * * @generated from field: depot.core.v1.GithubActionsJob job = 1; */ job?: GithubActionsJob | undefined; /** * Observed out-of-memory kills on the runner during this job's execution. * * @generated from field: depot.core.v1.GithubActionsJobOOM oom = 2; */ oom?: GithubActionsJobOOM | undefined; }; /** * Describes the message depot.core.v1.GetGithubActionsJobResponse. * Use `create(GetGithubActionsJobResponseSchema)` to create a new message. */ declare const GetGithubActionsJobResponseSchema: GenMessage; /** * @generated from message depot.core.v1.TerminateGithubActionsJobRequest */ type TerminateGithubActionsJobRequest = Message<'depot.core.v1.TerminateGithubActionsJobRequest'> & { /** * Connected GitHub repository containing the job, in `owner/name` format. * * @generated from field: string repository = 1; */ repository: string; /** * Unique GitHub identifier for the job. Returned by `ListGithubActionsJobs`. * * @generated from field: string job_id = 2; */ jobId: string; }; /** * Describes the message depot.core.v1.TerminateGithubActionsJobRequest. * Use `create(TerminateGithubActionsJobRequestSchema)` to create a new message. */ declare const TerminateGithubActionsJobRequestSchema: GenMessage; /** * @generated from message depot.core.v1.TerminateGithubActionsJobResponse */ type TerminateGithubActionsJobResponse = Message<'depot.core.v1.TerminateGithubActionsJobResponse'> & { /** * Unique GitHub identifier for the job. * * @generated from field: string job_id = 1; */ jobId: string; /** * Result of the idempotent termination request. * * @generated from field: depot.core.v1.GithubActionsTerminationOutcome outcome = 2; */ outcome: GithubActionsTerminationOutcome; /** * Current state of the job when the request completed. * * @generated from field: depot.core.v1.GithubActionsJobStatus status = 3; */ status: GithubActionsJobStatus; }; /** * Describes the message depot.core.v1.TerminateGithubActionsJobResponse. * Use `create(TerminateGithubActionsJobResponseSchema)` to create a new message. */ declare const TerminateGithubActionsJobResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsLogFilters */ type GithubActionsLogFilters = Message<'depot.core.v1.GithubActionsLogFilters'> & { /** * Connected repositories to include, in `owner/name` format. Leave empty to include every connected repository. * * @generated from field: repeated string repositories = 1; */ repositories: string[]; /** * Workflow names to include. Leave empty to include every workflow. * * @generated from field: repeated string workflows = 2; */ workflows: string[]; /** * Runner labels to include. Leave empty to include every runner label. * * @generated from field: repeated string runner_labels = 3; */ runnerLabels: string[]; /** * Action identifiers to include. Leave empty to include every action. * * @generated from field: repeated string actions = 4; */ actions: string[]; /** * Unique compute identifier to match. Leave empty to include every compute resource. * * @generated from field: optional string compute_id = 5; */ computeId?: string | undefined; }; /** * Describes the message depot.core.v1.GithubActionsLogFilters. * Use `create(GithubActionsLogFiltersSchema)` to create a new message. */ declare const GithubActionsLogFiltersSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsLogLine */ type GithubActionsLogLine = Message<'depot.core.v1.GithubActionsLogLine'> & { /** * Stable identifier for this log line. Use it with `GetGithubActionsLogContext`. * * @generated from field: string line_id = 1; */ lineId: string; /** * Unique GitHub identifier for the job. * * @generated from field: string job_id = 2; */ jobId: string; /** * Connected GitHub repository, in `owner/name` format. * * @generated from field: string repository = 3; */ repository: string; /** * Workflow display name. Empty when GitHub did not provide one. * * @generated from field: string workflow_name = 4; */ workflowName: string; /** * Job display name. * * @generated from field: string job_name = 5; */ jobName: string; /** * Step identifier. Empty for job-level output. * * @generated from field: string step_id = 6; */ stepId: string; /** * Step display name. Empty for job-level output. * * @generated from field: string step_name = 7; */ stepName: string; /** * Time the line was emitted, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp timestamp = 8; */ timestamp?: Timestamp | undefined; /** * Position of this line within its job log. * * @generated from field: int64 line_number = 9; */ lineNumber: bigint; /** * UTF-8 log text. * * @generated from field: string body = 10; */ body: string; }; /** * Describes the message depot.core.v1.GithubActionsLogLine. * Use `create(GithubActionsLogLineSchema)` to create a new message. */ declare const GithubActionsLogLineSchema: GenMessage; /** * @generated from message depot.core.v1.SearchGithubActionsLogsRequest */ type SearchGithubActionsLogsRequest = Message<'depot.core.v1.SearchGithubActionsLogsRequest'> & { /** * Text to match in log bodies. Empty text returns unfiltered log lines. * * @generated from field: string query = 1; */ query: string; /** * Time window to search. Maximum: 30 days. Default: the last hour. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 2; */ timeRange?: GithubActionsTimeRange | undefined; /** * Structured log filters. * * @generated from field: optional depot.core.v1.GithubActionsLogFilters filters = 3; */ filters?: GithubActionsLogFilters | undefined; /** * Number of matching lines to return per page. Maximum: 1000. Default: 100. * * @generated from field: optional int32 page_size = 4; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. Keep the query, filters, `timeRange`, and effective `order` unchanged between pages. * * @generated from field: optional string page_token = 5; */ pageToken?: string | undefined; /** * Direction for timestamp and all tie breakers: compute identifier, step identifier, and line number. Unspecified and descending are equivalent. Default: DESCENDING. * * @generated from field: depot.core.v1.GithubActionsLogResultOrder order = 6; */ order: GithubActionsLogResultOrder; }; /** * Describes the message depot.core.v1.SearchGithubActionsLogsRequest. * Use `create(SearchGithubActionsLogsRequestSchema)` to create a new message. */ declare const SearchGithubActionsLogsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.SearchGithubActionsLogsResponse */ type SearchGithubActionsLogsResponse = Message<'depot.core.v1.SearchGithubActionsLogsResponse'> & { /** * Log lines matching the request, in the requested order. * * @generated from field: repeated depot.core.v1.GithubActionsLogLine lines = 1; */ lines: GithubActionsLogLine[]; /** * Token to fetch the next page. Empty when there are no more matching lines. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; /** * Total matching lines as of `dataThrough`. * * @generated from field: int64 total_size = 3; */ totalSize: bigint; /** * Latest time included in the response, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp data_through = 4; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.SearchGithubActionsLogsResponse. * Use `create(SearchGithubActionsLogsResponseSchema)` to create a new message. */ declare const SearchGithubActionsLogsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.CountGithubActionsLogsRequest */ type CountGithubActionsLogsRequest = Message<'depot.core.v1.CountGithubActionsLogsRequest'> & { /** * Text to match in log bodies. Empty text counts unfiltered log lines. * * @generated from field: string query = 1; */ query: string; /** * Time window to search. Maximum: 30 days. Default: the last hour. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 2; */ timeRange?: GithubActionsTimeRange | undefined; /** * Structured log filters. * * @generated from field: optional depot.core.v1.GithubActionsLogFilters filters = 3; */ filters?: GithubActionsLogFilters | undefined; }; /** * Describes the message depot.core.v1.CountGithubActionsLogsRequest. * Use `create(CountGithubActionsLogsRequestSchema)` to create a new message. */ declare const CountGithubActionsLogsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.CountGithubActionsLogsResponse */ type CountGithubActionsLogsResponse = Message<'depot.core.v1.CountGithubActionsLogsResponse'> & { /** * Number of matching log lines as of `dataThrough`. * * @generated from field: int64 count = 1; */ count: bigint; /** * Latest time included in the count, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp data_through = 2; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.CountGithubActionsLogsResponse. * Use `create(CountGithubActionsLogsResponseSchema)` to create a new message. */ declare const CountGithubActionsLogsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsLogContextRequest */ type GetGithubActionsLogContextRequest = Message<'depot.core.v1.GetGithubActionsLogContextRequest'> & { /** * Stable log-line identifier returned by `SearchGithubActionsLogs`. * * @generated from field: string line_id = 1; */ lineId: string; /** * Connected GitHub repository containing the line, in `owner/name` format. * * @generated from field: string repository = 2; */ repository: string; /** * Number of preceding and following lines to return. Maximum: 100. Default: 5. * * @generated from field: optional int32 surrounding_line_count = 3; */ surroundingLineCount?: number | undefined; }; /** * Describes the message depot.core.v1.GetGithubActionsLogContextRequest. * Use `create(GetGithubActionsLogContextRequestSchema)` to create a new message. */ declare const GetGithubActionsLogContextRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsLogContextResponse */ type GetGithubActionsLogContextResponse = Message<'depot.core.v1.GetGithubActionsLogContextResponse'> & { /** * Lines surrounding and including the requested line, oldest first. * * @generated from field: repeated depot.core.v1.GithubActionsLogLine lines = 1; */ lines: GithubActionsLogLine[]; }; /** * Describes the message depot.core.v1.GetGithubActionsLogContextResponse. * Use `create(GetGithubActionsLogContextResponseSchema)` to create a new message. */ declare const GetGithubActionsLogContextResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsLogFacetsRequest */ type ListGithubActionsLogFacetsRequest = Message<'depot.core.v1.ListGithubActionsLogFacetsRequest'> & { /** * Facet to list. * * @generated from field: depot.core.v1.GithubActionsLogFacetKind kind = 1; */ kind: GithubActionsLogFacetKind; /** * Time window to inspect. Maximum: 30 days. Default: the last hour. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 2; */ timeRange?: GithubActionsTimeRange | undefined; /** * Filters applied before facet values are counted. * * @generated from field: optional depot.core.v1.GithubActionsLogFilters filters = 3; */ filters?: GithubActionsLogFilters | undefined; /** * Case-insensitive text to match against facet values. * * @generated from field: optional string query = 4; */ query?: string | undefined; /** * Number of facet values to return per page. Maximum: 250. Default: 100. * * @generated from field: optional int32 page_size = 5; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. Keep the kind, filters, query, and `timeRange` unchanged between pages. * * @generated from field: optional string page_token = 6; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsLogFacetsRequest. * Use `create(ListGithubActionsLogFacetsRequestSchema)` to create a new message. */ declare const ListGithubActionsLogFacetsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsLogFacet */ type GithubActionsLogFacet = Message<'depot.core.v1.GithubActionsLogFacet'> & { /** * Facet value. * * @generated from field: string value = 1; */ value: string; /** * Number of log lines associated with the value as of `dataThrough`. * * @generated from field: int64 count = 2; */ count: bigint; }; /** * Describes the message depot.core.v1.GithubActionsLogFacet. * Use `create(GithubActionsLogFacetSchema)` to create a new message. */ declare const GithubActionsLogFacetSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsLogFacetsResponse */ type ListGithubActionsLogFacetsResponse = Message<'depot.core.v1.ListGithubActionsLogFacetsResponse'> & { /** * Facet values ordered by descending count, then value. * * @generated from field: repeated depot.core.v1.GithubActionsLogFacet facets = 1; */ facets: GithubActionsLogFacet[]; /** * Token to fetch the next page. Empty when there are no more facet values. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; /** * Latest time included in the response, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp data_through = 3; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsLogFacetsResponse. * Use `create(ListGithubActionsLogFacetsResponseSchema)` to create a new message. */ declare const ListGithubActionsLogFacetsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsAnalyticsFilters */ type GithubActionsAnalyticsFilters = Message<'depot.core.v1.GithubActionsAnalyticsFilters'> & { /** * Connected repositories to include, in `owner/name` format. Leave empty to include every connected repository. * * @generated from field: repeated string repositories = 1; */ repositories: string[]; /** * Workflow names to include. Leave empty to include every workflow. * * @generated from field: repeated string workflows = 2; */ workflows: string[]; /** * Job names to include. Leave empty to include every job. * * @generated from field: repeated string jobs = 3; */ jobs: string[]; /** * Runner labels to include. Leave empty to include every runner label. * * @generated from field: repeated string runner_labels = 4; */ runnerLabels: string[]; /** * Workflow file paths to include. Leave empty to include every workflow path. * * @generated from field: repeated string workflow_paths = 5; */ workflowPaths: string[]; }; /** * Describes the message depot.core.v1.GithubActionsAnalyticsFilters. * Use `create(GithubActionsAnalyticsFiltersSchema)` to create a new message. */ declare const GithubActionsAnalyticsFiltersSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsAnalyticsRequest */ type GetGithubActionsAnalyticsRequest = Message<'depot.core.v1.GetGithubActionsAnalyticsRequest'> & { /** * Analytics window. Maximum: 90 days. Default: the last 30 days. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 1; */ timeRange?: GithubActionsTimeRange | undefined; /** * Size of each returned time bucket. Default: day. * * @generated from field: optional depot.core.v1.GithubActionsAggregationUnit aggregation_unit = 2; */ aggregationUnit?: GithubActionsAggregationUnit | undefined; /** * Jobs to include. * * @generated from field: optional depot.core.v1.GithubActionsAnalyticsFilters filters = 3; */ filters?: GithubActionsAnalyticsFilters | undefined; }; /** * Describes the message depot.core.v1.GetGithubActionsAnalyticsRequest. * Use `create(GetGithubActionsAnalyticsRequestSchema)` to create a new message. */ declare const GetGithubActionsAnalyticsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsAnalyticsTotals */ type GithubActionsAnalyticsTotals = Message<'depot.core.v1.GithubActionsAnalyticsTotals'> & { /** * Number of jobs. * * @generated from field: int64 job_count = 1; */ jobCount: bigint; /** * Number of successful jobs. * * @generated from field: int64 successful_job_count = 2; */ successfulJobCount: bigint; /** * Number of failed jobs. * * @generated from field: int64 failed_job_count = 3; */ failedJobCount: bigint; /** * Number of cancelled jobs. * * @generated from field: int64 cancelled_job_count = 4; */ cancelledJobCount: bigint; /** * Sum of elapsed job time, in seconds. * * @generated from field: int64 elapsed_seconds = 5; */ elapsedSeconds: bigint; /** * Sum of billable job time, in seconds. * * @generated from field: int64 billable_seconds = 6; */ billableSeconds: bigint; /** * Mean job duration, in seconds. * * @generated from field: double average_duration_seconds = 7; */ averageDurationSeconds: number; /** * Failed jobs divided by all terminal jobs, from 0 through 1. * * @generated from field: double failure_rate = 8; */ failureRate: number; }; /** * Describes the message depot.core.v1.GithubActionsAnalyticsTotals. * Use `create(GithubActionsAnalyticsTotalsSchema)` to create a new message. */ declare const GithubActionsAnalyticsTotalsSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsAnalyticsBucket */ type GithubActionsAnalyticsBucket = Message<'depot.core.v1.GithubActionsAnalyticsBucket'> & { /** * Inclusive start of this bucket, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp start_at = 1; */ startAt?: Timestamp | undefined; /** * Exclusive end of this bucket, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp end_at = 2; */ endAt?: Timestamp | undefined; /** * Job and usage totals for this bucket. * * @generated from field: depot.core.v1.GithubActionsAnalyticsTotals totals = 3; */ totals?: GithubActionsAnalyticsTotals | undefined; }; /** * Describes the message depot.core.v1.GithubActionsAnalyticsBucket. * Use `create(GithubActionsAnalyticsBucketSchema)` to create a new message. */ declare const GithubActionsAnalyticsBucketSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsAnalyticsResponse */ type GetGithubActionsAnalyticsResponse = Message<'depot.core.v1.GetGithubActionsAnalyticsResponse'> & { /** * Aggregate totals for the requested window. * * @generated from field: depot.core.v1.GithubActionsAnalyticsTotals totals = 1; */ totals?: GithubActionsAnalyticsTotals | undefined; /** * Totals split into the requested time buckets, oldest first. * * @generated from field: repeated depot.core.v1.GithubActionsAnalyticsBucket buckets = 2; */ buckets: GithubActionsAnalyticsBucket[]; /** * Latest time included in the response, in RFC 3339 format. Analytics can lag completed jobs by up to 15 minutes. * * @generated from field: google.protobuf.Timestamp data_through = 3; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.GetGithubActionsAnalyticsResponse. * Use `create(GetGithubActionsAnalyticsResponseSchema)` to create a new message. */ declare const GetGithubActionsAnalyticsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsJobAnalyticsRequest */ type ListGithubActionsJobAnalyticsRequest = Message<'depot.core.v1.ListGithubActionsJobAnalyticsRequest'> & { /** * Analytics window. Maximum: 90 days. Default: the last 30 days. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 1; */ timeRange?: GithubActionsTimeRange | undefined; /** * Jobs to include. * * @generated from field: optional depot.core.v1.GithubActionsAnalyticsFilters filters = 2; */ filters?: GithubActionsAnalyticsFilters | undefined; /** * Number of job groups to return per page. Maximum: 250. Default: 50. * * @generated from field: optional int32 page_size = 3; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. Keep filters and `timeRange` unchanged between pages. * * @generated from field: optional string page_token = 4; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsJobAnalyticsRequest. * Use `create(ListGithubActionsJobAnalyticsRequestSchema)` to create a new message. */ declare const ListGithubActionsJobAnalyticsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsJobAnalytics */ type GithubActionsJobAnalytics = Message<'depot.core.v1.GithubActionsJobAnalytics'> & { /** * Connected GitHub repository, in `owner/name` format. * * @generated from field: string repository = 1; */ repository: string; /** * Workflow display name. Empty when GitHub did not provide one. * * @generated from field: string workflow_name = 2; */ workflowName: string; /** * Workflow file path. Empty when it is unavailable. * * @generated from field: string workflow_path = 3; */ workflowPath: string; /** * Job key from the workflow file. * * @generated from field: string job_name = 4; */ jobName: string; /** * Most recently observed runner label. * * @generated from field: string runner_label = 5; */ runnerLabel: string; /** * Number of jobs represented by the metrics. * * @generated from field: int64 job_count = 6; */ jobCount: bigint; /** * Mean CPU utilization, from 0 through 1. * * @generated from field: double average_cpu_utilization = 7; */ averageCpuUtilization: number; /** * Peak CPU utilization, from 0 through 1. * * @generated from field: double peak_cpu_utilization = 8; */ peakCpuUtilization: number; /** * Mean memory utilization, from 0 through 1. * * @generated from field: double average_memory_utilization = 9; */ averageMemoryUtilization: number; /** * Peak memory utilization, from 0 through 1. * * @generated from field: double peak_memory_utilization = 10; */ peakMemoryUtilization: number; /** * Mean job duration, in seconds. * * @generated from field: double average_duration_seconds = 11; */ averageDurationSeconds: number; /** * 95th-percentile job duration, in seconds. * * @generated from field: double p95_duration_seconds = 12; */ p95DurationSeconds: number; /** * Failed jobs divided by all terminal jobs, from 0 through 1. * * @generated from field: double failure_rate = 13; */ failureRate: number; }; /** * Describes the message depot.core.v1.GithubActionsJobAnalytics. * Use `create(GithubActionsJobAnalyticsSchema)` to create a new message. */ declare const GithubActionsJobAnalyticsSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsJobAnalyticsResponse */ type ListGithubActionsJobAnalyticsResponse = Message<'depot.core.v1.ListGithubActionsJobAnalyticsResponse'> & { /** * Per-job analytics ordered by descending job count, then repository, workflow, and job. * * @generated from field: repeated depot.core.v1.GithubActionsJobAnalytics jobs = 1; */ jobs: GithubActionsJobAnalytics[]; /** * Token to fetch the next page. Empty when there are no more job groups. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; /** * Latest time included in the response, in RFC 3339 format. Analytics can lag completed jobs by up to 15 minutes. * * @generated from field: google.protobuf.Timestamp data_through = 3; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsJobAnalyticsResponse. * Use `create(ListGithubActionsJobAnalyticsResponseSchema)` to create a new message. */ declare const ListGithubActionsJobAnalyticsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsDurationDistributionRequest */ type GetGithubActionsDurationDistributionRequest = Message<'depot.core.v1.GetGithubActionsDurationDistributionRequest'> & { /** * Job finish window. Maximum: 90 days. Default: the last 30 days. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 1; */ timeRange?: GithubActionsTimeRange | undefined; /** * Jobs to include. `filters.jobs` matches job display names, not workflow YAML job keys. * Leave unset to include every job in the organization. * * @generated from field: optional depot.core.v1.GithubActionsAnalyticsFilters filters = 2; */ filters?: GithubActionsAnalyticsFilters | undefined; }; /** * Describes the message depot.core.v1.GetGithubActionsDurationDistributionRequest. * Use `create(GetGithubActionsDurationDistributionRequestSchema)` to create a new message. */ declare const GetGithubActionsDurationDistributionRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsDurationBucket */ type GithubActionsDurationBucket = Message<'depot.core.v1.GithubActionsDurationBucket'> & { /** * Duration range in minutes. Can be "0-1m", "1-5m", "5-10m", "10-20m", "20-30m", "30-60m", or ">60m". * Lower bounds are exclusive and upper bounds are inclusive. Jobs with zero duration are excluded. * * @generated from field: string label = 1; */ label: string; /** * Number of stored job summaries in this range. * * @generated from field: int64 job_count = 2; */ jobCount: bigint; }; /** * Describes the message depot.core.v1.GithubActionsDurationBucket. * Use `create(GithubActionsDurationBucketSchema)` to create a new message. */ declare const GithubActionsDurationBucketSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsDurationDistributionResponse */ type GetGithubActionsDurationDistributionResponse = Message<'depot.core.v1.GetGithubActionsDurationDistributionResponse'> & { /** * Nonempty duration buckets, shortest range first. * * @generated from field: repeated depot.core.v1.GithubActionsDurationBucket buckets = 1; */ buckets: GithubActionsDurationBucket[]; /** * Latest time included in the response, in RFC 3339 format. Analytics can lag completed jobs by up to 15 minutes. * * @generated from field: google.protobuf.Timestamp data_through = 2; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.GetGithubActionsDurationDistributionResponse. * Use `create(GetGithubActionsDurationDistributionResponseSchema)` to create a new message. */ declare const GetGithubActionsDurationDistributionResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsJobRunsRequest */ type ListGithubActionsJobRunsRequest = Message<'depot.core.v1.ListGithubActionsJobRunsRequest'> & { /** * Connected GitHub repository, in `owner/name` format. * * @generated from field: string repository = 1; */ repository: string; /** * Job display name. Use the `name` returned by `ListGithubActionsJobs`, not a workflow YAML job key. * * @generated from field: string job_name = 2; */ jobName: string; /** * Job finish window. Use a UTC midnight-to-midnight range for one day's runs. Maximum: 90 days. Default: the last 30 days. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 3; */ timeRange?: GithubActionsTimeRange | undefined; /** * Number of runs to return per page. Maximum: 250. Default: 50. * * @generated from field: optional int32 page_size = 4; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. Keep repository, job name, and time range unchanged. * * @generated from field: optional string page_token = 5; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsJobRunsRequest. * Use `create(ListGithubActionsJobRunsRequestSchema)` to create a new message. */ declare const ListGithubActionsJobRunsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsJobRun */ type GithubActionsJobRun = Message<'depot.core.v1.GithubActionsJobRun'> & { /** * Unique GitHub identifier for the job. Empty when it is unavailable in historical records. * * @generated from field: string job_id = 1; */ jobId: string; /** * Connected GitHub repository, in `owner/name` format. * * @generated from field: string repository = 2; */ repository: string; /** * Job display name shown in GitHub. * * @generated from field: string job_name = 3; */ jobName: string; /** * Elapsed execution time, in seconds. Only runs with positive durations are returned. * * @generated from field: int64 duration_seconds = 4; */ durationSeconds: bigint; /** * Time the job finished, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp finished_at = 5; */ finishedAt?: Timestamp | undefined; /** * Recorded result. Can be "success", "failed", "failure", "cancelled", "skipped", "neutral", "action_required", or "timed_out". * * @generated from field: string status = 6; */ status: string; }; /** * Describes the message depot.core.v1.GithubActionsJobRun. * Use `create(GithubActionsJobRunSchema)` to create a new message. */ declare const GithubActionsJobRunSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsJobRunsResponse */ type ListGithubActionsJobRunsResponse = Message<'depot.core.v1.ListGithubActionsJobRunsResponse'> & { /** * Stored job summaries ordered by duration, finish time, and record identifier, all descending. * * @generated from field: repeated depot.core.v1.GithubActionsJobRun runs = 1; */ runs: GithubActionsJobRun[]; /** * Token to fetch the next page. Empty when there are no more runs. Results can change as analytics are ingested. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; /** * Latest time included in the response, in RFC 3339 format. Analytics can lag completed jobs by up to 15 minutes. * * @generated from field: google.protobuf.Timestamp data_through = 3; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsJobRunsResponse. * Use `create(ListGithubActionsJobRunsResponseSchema)` to create a new message. */ declare const ListGithubActionsJobRunsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsRecommendationsRequest */ type ListGithubActionsRecommendationsRequest = Message<'depot.core.v1.ListGithubActionsRecommendationsRequest'> & { /** * Metrics window. Maximum: 90 days. Default: the last 30 days. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 1; */ timeRange?: GithubActionsTimeRange | undefined; /** * Jobs to include. * * @generated from field: optional depot.core.v1.GithubActionsAnalyticsFilters filters = 2; */ filters?: GithubActionsAnalyticsFilters | undefined; /** * Number of recommendations to return per page. Maximum: 250. Default: 50. * * @generated from field: optional int32 page_size = 3; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. Keep filters and `timeRange` unchanged between pages. * * @generated from field: optional string page_token = 4; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsRecommendationsRequest. * Use `create(ListGithubActionsRecommendationsRequestSchema)` to create a new message. */ declare const ListGithubActionsRecommendationsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsRunnerSize */ type GithubActionsRunnerSize = Message<'depot.core.v1.GithubActionsRunnerSize'> & { /** * Depot runner label. * * @generated from field: string label = 1; */ label: string; /** * Virtual CPU count. * * @generated from field: int32 cpu_count = 2; */ cpuCount: number; /** * Memory, in gibibytes. * * @generated from field: int32 memory_gib = 3; */ memoryGib: number; /** * Published price per minute, in US dollars. Empty for custom runner sizes. * * @generated from field: optional string price_per_minute_usd = 4; */ pricePerMinuteUsd?: string | undefined; }; /** * Describes the message depot.core.v1.GithubActionsRunnerSize. * Use `create(GithubActionsRunnerSizeSchema)` to create a new message. */ declare const GithubActionsRunnerSizeSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsRecommendation */ type GithubActionsRecommendation = Message<'depot.core.v1.GithubActionsRecommendation'> & { /** * Connected GitHub repository, in `owner/name` format. * * @generated from field: string repository = 1; */ repository: string; /** * Workflow display name. Empty when GitHub did not provide one. * * @generated from field: string workflow_name = 2; */ workflowName: string; /** * Job key from the workflow file. * * @generated from field: string job_name = 3; */ jobName: string; /** * Recommended direction of change. * * @generated from field: depot.core.v1.GithubActionsRecommendationType type = 4; */ type: GithubActionsRecommendationType; /** * Stable, machine-readable explanation. Can be `high_average_cpu`, `high_average_memory`, or `low_utilization`. * * @generated from field: string reason = 5; */ reason: string; /** * Current runner size. * * @generated from field: depot.core.v1.GithubActionsRunnerSize current_size = 6; */ currentSize?: GithubActionsRunnerSize | undefined; /** * Suggested runner size. * * @generated from field: depot.core.v1.GithubActionsRunnerSize suggested_size = 7; */ suggestedSize?: GithubActionsRunnerSize | undefined; /** * Mean CPU utilization, from 0 through 1. * * @generated from field: double average_cpu_utilization = 8; */ averageCpuUtilization: number; /** * Peak CPU utilization, from 0 through 1. * * @generated from field: double peak_cpu_utilization = 9; */ peakCpuUtilization: number; /** * Mean memory utilization, from 0 through 1. * * @generated from field: double average_memory_utilization = 10; */ averageMemoryUtilization: number; /** * Peak memory utilization, from 0 through 1. * * @generated from field: double peak_memory_utilization = 11; */ peakMemoryUtilization: number; /** * Estimated number of distinct runners with CPU or memory utilization telemetry for this recommendation. * Covers the whole UTC days touched by the requested time range, at the runner size being evaluated. * * @generated from field: int64 sample_size = 12; */ sampleSize: bigint; }; /** * Describes the message depot.core.v1.GithubActionsRecommendation. * Use `create(GithubActionsRecommendationSchema)` to create a new message. */ declare const GithubActionsRecommendationSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsRecommendationsResponse */ type ListGithubActionsRecommendationsResponse = Message<'depot.core.v1.ListGithubActionsRecommendationsResponse'> & { /** * Recommendations ordered by type, then repository, workflow, and job. * * @generated from field: repeated depot.core.v1.GithubActionsRecommendation recommendations = 1; */ recommendations: GithubActionsRecommendation[]; /** * Token to fetch the next page. Empty when there are no more recommendations. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; /** * Latest time included in the response, in RFC 3339 format. Recommendations can lag completed jobs by up to 15 minutes. * * @generated from field: google.protobuf.Timestamp data_through = 3; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsRecommendationsResponse. * Use `create(ListGithubActionsRecommendationsResponseSchema)` to create a new message. */ declare const ListGithubActionsRecommendationsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsConnection */ type GithubActionsConnection = Message<'depot.core.v1.GithubActionsConnection'> & { /** * Unique Depot identifier for the connection. * * @generated from field: string connection_id = 1; */ connectionId: string; /** * Public GitHub installation identifier. * * @generated from field: string installation_id = 2; */ installationId: string; /** * GitHub organization or account name. * * @generated from field: string account = 3; */ account: string; /** * Current connection state. * * @generated from field: depot.core.v1.GithubActionsConnectionStatus status = 4; */ status: GithubActionsConnectionStatus; /** * Repository access configured for the runner app. * * @generated from field: depot.core.v1.GithubActionsRepositorySelection repository_selection = 5; */ repositorySelection: GithubActionsRepositorySelection; /** * Time the connection was created, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp created_at = 6; */ createdAt?: Timestamp | undefined; /** * Time repository access was last refreshed, in RFC 3339 format. Unset until the first refresh completes. * * @generated from field: google.protobuf.Timestamp repositories_refreshed_at = 7; */ repositoriesRefreshedAt?: Timestamp | undefined; /** * GitHub URL where an organization owner can manage repository access. * * @generated from field: string settings_url = 8; */ settingsUrl: string; }; /** * Describes the message depot.core.v1.GithubActionsConnection. * Use `create(GithubActionsConnectionSchema)` to create a new message. */ declare const GithubActionsConnectionSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsConnectionsRequest */ type ListGithubActionsConnectionsRequest = Message<'depot.core.v1.ListGithubActionsConnectionsRequest'> & { /** * Number of connections to return per page. Maximum: 100. Default: 50. * * @generated from field: optional int32 page_size = 1; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. * * @generated from field: optional string page_token = 2; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsConnectionsRequest. * Use `create(ListGithubActionsConnectionsRequestSchema)` to create a new message. */ declare const ListGithubActionsConnectionsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsConnectionsResponse */ type ListGithubActionsConnectionsResponse = Message<'depot.core.v1.ListGithubActionsConnectionsResponse'> & { /** * Connections in the authenticated organization. Provider credentials are never returned. * * @generated from field: repeated depot.core.v1.GithubActionsConnection connections = 1; */ connections: GithubActionsConnection[]; /** * Token to fetch the next page. Empty when there are no more connections. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsConnectionsResponse. * Use `create(ListGithubActionsConnectionsResponseSchema)` to create a new message. */ declare const ListGithubActionsConnectionsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.CreateGithubActionsInstallationUrlRequest */ type CreateGithubActionsInstallationUrlRequest = Message<'depot.core.v1.CreateGithubActionsInstallationUrlRequest'> & { /** * HTTPS URL to return to after GitHub completes installation. Leave empty to return to the Depot GitHub Actions page. * * @generated from field: optional string return_url = 1; */ returnUrl?: string | undefined; }; /** * Describes the message depot.core.v1.CreateGithubActionsInstallationUrlRequest. * Use `create(CreateGithubActionsInstallationUrlRequestSchema)` to create a new message. */ declare const CreateGithubActionsInstallationUrlRequestSchema: GenMessage; /** * @generated from message depot.core.v1.CreateGithubActionsInstallationUrlResponse */ type CreateGithubActionsInstallationUrlResponse = Message<'depot.core.v1.CreateGithubActionsInstallationUrlResponse'> & { /** * Short-lived GitHub App installation URL. The URL contains no GitHub provider credential. * * @generated from field: string installation_url = 1; */ installationUrl: string; /** * Time the URL expires, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp expires_at = 2; */ expiresAt?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.CreateGithubActionsInstallationUrlResponse. * Use `create(CreateGithubActionsInstallationUrlResponseSchema)` to create a new message. */ declare const CreateGithubActionsInstallationUrlResponseSchema: GenMessage; /** * @generated from message depot.core.v1.DeleteGithubActionsConnectionRequest */ type DeleteGithubActionsConnectionRequest = Message<'depot.core.v1.DeleteGithubActionsConnectionRequest'> & { /** * Unique Depot identifier for the connection. Returned by `ListGithubActionsConnections`. * * @generated from field: string connection_id = 1; */ connectionId: string; }; /** * Describes the message depot.core.v1.DeleteGithubActionsConnectionRequest. * Use `create(DeleteGithubActionsConnectionRequestSchema)` to create a new message. */ declare const DeleteGithubActionsConnectionRequestSchema: GenMessage; /** * @generated from message depot.core.v1.DeleteGithubActionsConnectionResponse */ type DeleteGithubActionsConnectionResponse = Message<'depot.core.v1.DeleteGithubActionsConnectionResponse'> & { /** * Whether the connection was active before this request. False when it was already disconnected. * * @generated from field: bool disconnected = 1; */ disconnected: boolean; }; /** * Describes the message depot.core.v1.DeleteGithubActionsConnectionResponse. * Use `create(DeleteGithubActionsConnectionResponseSchema)` to create a new message. */ declare const DeleteGithubActionsConnectionResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsRepositoriesRequest */ type ListGithubActionsRepositoriesRequest = Message<'depot.core.v1.ListGithubActionsRepositoriesRequest'> & { /** * Unique Depot identifier for the connection. Returned by `ListGithubActionsConnections`. * * @generated from field: string connection_id = 1; */ connectionId: string; /** * Case-insensitive repository-name search. * * @generated from field: optional string query = 2; */ query?: string | undefined; /** * Number of repositories to return per page. Maximum: 250. Default: 100. * * @generated from field: optional int32 page_size = 3; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. * * @generated from field: optional string page_token = 4; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsRepositoriesRequest. * Use `create(ListGithubActionsRepositoriesRequestSchema)` to create a new message. */ declare const ListGithubActionsRepositoriesRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsRepository */ type GithubActionsRepository = Message<'depot.core.v1.GithubActionsRepository'> & { /** * Repository name, in `owner/name` format. * * @generated from field: string repository = 1; */ repository: string; /** * Whether the repository is private. * * @generated from field: bool private = 2; */ private: boolean; }; /** * Describes the message depot.core.v1.GithubActionsRepository. * Use `create(GithubActionsRepositorySchema)` to create a new message. */ declare const GithubActionsRepositorySchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsRepositoriesResponse */ type ListGithubActionsRepositoriesResponse = Message<'depot.core.v1.ListGithubActionsRepositoriesResponse'> & { /** * Repositories visible to the GitHub App installation. Provider credentials are never returned. * * @generated from field: repeated depot.core.v1.GithubActionsRepository repositories = 1; */ repositories: GithubActionsRepository[]; /** * Token to fetch the next page. Empty when there are no more repositories. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; /** * Time repository access was last refreshed, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp data_through = 3; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.ListGithubActionsRepositoriesResponse. * Use `create(ListGithubActionsRepositoriesResponseSchema)` to create a new message. */ declare const ListGithubActionsRepositoriesResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsTestResultsSummaryRequest */ type GetGithubActionsTestResultsSummaryRequest = Message<'depot.core.v1.GetGithubActionsTestResultsSummaryRequest'> & { /** * Connected GitHub repository containing the job, in `owner/name` format. * * @generated from field: string repository = 1; */ repository: string; /** * Unique GitHub identifier for the job. Returned by `ListGithubActionsJobs`. * * @generated from field: string job_id = 2; */ jobId: string; }; /** * Describes the message depot.core.v1.GetGithubActionsTestResultsSummaryRequest. * Use `create(GetGithubActionsTestResultsSummaryRequestSchema)` to create a new message. */ declare const GetGithubActionsTestResultsSummaryRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsTestResultsSummary */ type GithubActionsTestResultsSummary = Message<'depot.core.v1.GithubActionsTestResultsSummary'> & { /** * Total number of test results. * * @generated from field: int64 total = 1; */ total: bigint; /** * Number of passed test results. * * @generated from field: int64 passed = 2; */ passed: bigint; /** * Number of failed test results. * * @generated from field: int64 failed = 3; */ failed: bigint; /** * Number of errored test results. * * @generated from field: int64 errored = 4; */ errored: bigint; /** * Number of skipped test results. * * @generated from field: int64 skipped = 5; */ skipped: bigint; /** * Number of test results with an unknown status. * * @generated from field: int64 unknown = 6; */ unknown: bigint; }; /** * Describes the message depot.core.v1.GithubActionsTestResultsSummary. * Use `create(GithubActionsTestResultsSummarySchema)` to create a new message. */ declare const GithubActionsTestResultsSummarySchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsTestResultsSummaryResponse */ type GetGithubActionsTestResultsSummaryResponse = Message<'depot.core.v1.GetGithubActionsTestResultsSummaryResponse'> & { /** * Test-result counts for the job. * * @generated from field: depot.core.v1.GithubActionsTestResultsSummary summary = 1; */ summary?: GithubActionsTestResultsSummary | undefined; /** * Owner type to pass to `depot.testresults.v1.TestResultsService.ListTestResults`. * * @generated from field: string test_results_owner_type = 2; */ testResultsOwnerType: string; /** * Owner identifier to pass to `depot.testresults.v1.TestResultsService.ListTestResults`. * * @generated from field: string test_results_owner_id = 3; */ testResultsOwnerId: string; /** * Latest time included in the response, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp data_through = 4; */ dataThrough?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.GetGithubActionsTestResultsSummaryResponse. * Use `create(GetGithubActionsTestResultsSummaryResponseSchema)` to create a new message. */ declare const GetGithubActionsTestResultsSummaryResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsUsageProjectionRequest */ type GetGithubActionsUsageProjectionRequest = Message<'depot.core.v1.GetGithubActionsUsageProjectionRequest'> & { /** * Billing-period window. Maximum: 366 days. Defaults to the organization's current billing period. * * @generated from field: optional depot.core.v1.GithubActionsTimeRange time_range = 1; */ timeRange?: GithubActionsTimeRange | undefined; /** * Connected repositories to include, in `owner/name` format. Leave empty to include every connected repository. * * @generated from field: repeated string repositories = 2; */ repositories: string[]; }; /** * Describes the message depot.core.v1.GetGithubActionsUsageProjectionRequest. * Use `create(GetGithubActionsUsageProjectionRequestSchema)` to create a new message. */ declare const GetGithubActionsUsageProjectionRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsUsageProjectionResponse */ type GetGithubActionsUsageProjectionResponse = Message<'depot.core.v1.GetGithubActionsUsageProjectionResponse'> & { /** * Inclusive start of the projection period, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_start = 1; */ periodStart?: Timestamp | undefined; /** * Exclusive end of the projection period, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_end = 2; */ periodEnd?: Timestamp | undefined; /** * Time through which actual usage is included, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp data_through = 3; */ dataThrough?: Timestamp | undefined; /** * Billable job time observed through `dataThrough`, in seconds. * * @generated from field: int64 actual_billable_seconds = 4; */ actualBillableSeconds: bigint; /** * Estimated billable job time for the complete period, in seconds. * * @generated from field: int64 projected_billable_seconds = 5; */ projectedBillableSeconds: bigint; /** * Observed GitHub Actions cost through `dataThrough`, in the smallest unit of `currency`. * * @generated from field: int64 actual_cost = 6; */ actualCost: bigint; /** * Estimated GitHub Actions cost for the complete period, in the smallest unit of `currency`. * * @generated from field: int64 projected_cost = 7; */ projectedCost: bigint; /** * ISO 4217 currency code for `actualCost` and `projectedCost`. * * @generated from field: string currency = 8; */ currency: string; /** * Explanation of the projection method and known limitations. * * @generated from field: string methodology = 9; */ methodology: string; }; /** * Describes the message depot.core.v1.GetGithubActionsUsageProjectionResponse. * Use `create(GetGithubActionsUsageProjectionResponseSchema)` to create a new message. */ declare const GetGithubActionsUsageProjectionResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsJobMetricsRequest */ type GetGithubActionsJobMetricsRequest = Message<'depot.core.v1.GetGithubActionsJobMetricsRequest'> & { /** * Connected GitHub repository containing the job, in `owner/name` format. * * @generated from field: string repository = 1; */ repository: string; /** * Unique GitHub identifier for the job. Returned by `ListGithubActionsJobs`. * * @generated from field: string job_id = 2; */ jobId: string; }; /** * Describes the message depot.core.v1.GetGithubActionsJobMetricsRequest. * Use `create(GetGithubActionsJobMetricsRequestSchema)` to create a new message. */ declare const GetGithubActionsJobMetricsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetGithubActionsJobMetricsResponse */ type GetGithubActionsJobMetricsResponse = Message<'depot.core.v1.GetGithubActionsJobMetricsResponse'> & { /** * Requested job, including its workflow, runner, and lifecycle details. * * @generated from field: depot.core.v1.GithubActionsJob job = 1; */ job?: GithubActionsJob | undefined; /** * Availability of the observed CPU and memory metrics. This does not guarantee coverage of the entire job. * * @generated from field: depot.core.v1.GithubActionsMetricsAvailability availability = 2; */ availability?: GithubActionsMetricsAvailability | undefined; /** * Statistics across all observed per-second samples before downsampling. * * @generated from field: depot.core.v1.GithubActionsMetricsStats stats = 3; */ stats?: GithubActionsMetricsStats | undefined; /** * Sample counts and downsampling details. * * @generated from field: depot.core.v1.GithubActionsMetricsCapMetadata cap = 4; */ cap?: GithubActionsMetricsCapMetadata | undefined; /** * CPU and memory samples, ordered by timestamp. At most 5000 samples are returned. * * @generated from field: repeated depot.core.v1.GithubActionsMetricSample samples = 5; */ samples: GithubActionsMetricSample[]; /** * Server time at which the metrics snapshot was captured, in RFC 3339 format. Metrics for running jobs are queried up to this time and can grow on subsequent calls. * * @generated from field: google.protobuf.Timestamp snapshot_at = 6; */ snapshotAt?: Timestamp | undefined; /** * Observed out-of-memory kills, independent of CPU and memory sample availability. * * @generated from field: depot.core.v1.GithubActionsJobOOM oom = 7; */ oom?: GithubActionsJobOOM | undefined; }; /** * Describes the message depot.core.v1.GetGithubActionsJobMetricsResponse. * Use `create(GetGithubActionsJobMetricsResponseSchema)` to create a new message. */ declare const GetGithubActionsJobMetricsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsJobOOM */ type GithubActionsJobOOM = Message<'depot.core.v1.GithubActionsJobOOM'> & { /** * True when at least one kernel out-of-memory kill was observed on the runner during the job. False means none were observed, not that an out-of-memory condition is ruled out. Events can arrive after the job finishes. Unset when the lookup is unavailable. * * @generated from field: optional bool detected = 1; */ detected?: boolean | undefined; /** * Reason the lookup is unavailable. Can be "not_started", "missing_runner_identity", or "missing_time_range". Empty when the lookup completed. * * @generated from field: string unavailable_reason = 2; */ unavailableReason: string; /** * Observed kills, ordered by timestamp. At most 100 events are returned. Empty when none were observed or the lookup is unavailable. * * @generated from field: repeated depot.core.v1.GithubActionsJobOOMEvent events = 3; */ events: GithubActionsJobOOMEvent[]; /** * True when more than 100 events were observed and only the first 100 are returned. * * @generated from field: bool truncated = 4; */ truncated: boolean; }; /** * Describes the message depot.core.v1.GithubActionsJobOOM. * Use `create(GithubActionsJobOOMSchema)` to create a new message. */ declare const GithubActionsJobOOMSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsJobOOMEvent */ type GithubActionsJobOOMEvent = Message<'depot.core.v1.GithubActionsJobOOMEvent'> & { /** * Time the kernel reported the kill, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp timestamp = 1; */ timestamp?: Timestamp | undefined; /** * Identifier of the killed process. * * @generated from field: uint32 process_pid = 2; */ processPid: number; /** * Name of the killed process, limited to 256 characters. * * @generated from field: string process_name = 3; */ processName: string; }; /** * Describes the message depot.core.v1.GithubActionsJobOOMEvent. * Use `create(GithubActionsJobOOMEventSchema)` to create a new message. */ declare const GithubActionsJobOOMEventSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsMetricsAvailability */ type GithubActionsMetricsAvailability = Message<'depot.core.v1.GithubActionsMetricsAvailability'> & { /** * Availability of the observed CPU and memory metrics. * * @generated from field: depot.core.v1.GithubActionsMetricsAvailabilityCode code = 1; */ code: GithubActionsMetricsAvailabilityCode; /** * Reason metrics are missing. Can be "partial_metrics", "not_started", "no_samples", "missing_runner_identity", or "missing_time_range". Empty when metrics are available. * * @generated from field: string reason = 2; */ reason: string; }; /** * Describes the message depot.core.v1.GithubActionsMetricsAvailability. * Use `create(GithubActionsMetricsAvailabilitySchema)` to create a new message. */ declare const GithubActionsMetricsAvailabilitySchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsMetricSample */ type GithubActionsMetricSample = Message<'depot.core.v1.GithubActionsMetricSample'> & { /** * Start of the sampled second, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp timestamp = 1; */ timestamp?: Timestamp | undefined; /** * CPU utilization in user mode, averaged across cores, as a fraction from 0 to 1. Unset when no CPU metric was observed in this second. * * @generated from field: optional double cpu_utilization = 2; */ cpuUtilization?: number | undefined; /** * Used memory as a fraction of total memory from 0 to 1. Unset when no memory metric was observed in this second. * * @generated from field: optional double memory_utilization = 3; */ memoryUtilization?: number | undefined; }; /** * Describes the message depot.core.v1.GithubActionsMetricSample. * Use `create(GithubActionsMetricSampleSchema)` to create a new message. */ declare const GithubActionsMetricSampleSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsMetricsStats */ type GithubActionsMetricsStats = Message<'depot.core.v1.GithubActionsMetricsStats'> & { /** * Number of sampled seconds with CPU or memory metrics before downsampling. * * @generated from field: uint32 sample_count = 1; */ sampleCount: number; /** * Number of sampled seconds with CPU metrics before downsampling. * * @generated from field: uint32 cpu_sample_count = 2; */ cpuSampleCount: number; /** * Number of sampled seconds with memory metrics before downsampling. * * @generated from field: uint32 memory_sample_count = 3; */ memorySampleCount: number; /** * Peak observed CPU utilization in user mode, averaged across cores, as a fraction from 0 to 1. Unset when no CPU metrics were observed. * * @generated from field: optional double peak_cpu_utilization = 4; */ peakCpuUtilization?: number | undefined; /** * Average observed CPU utilization in user mode, averaged across cores, as a fraction from 0 to 1. Unset when no CPU metrics were observed. * * @generated from field: optional double average_cpu_utilization = 5; */ averageCpuUtilization?: number | undefined; /** * Peak observed used memory as a fraction of total memory from 0 to 1. Unset when no memory metrics were observed. * * @generated from field: optional double peak_memory_utilization = 6; */ peakMemoryUtilization?: number | undefined; /** * Average observed used memory as a fraction of total memory from 0 to 1. Unset when no memory metrics were observed. * * @generated from field: optional double average_memory_utilization = 7; */ averageMemoryUtilization?: number | undefined; /** * Timestamp of the first observed per-second sample, in RFC 3339 format. Unset when no samples were observed. * * @generated from field: google.protobuf.Timestamp observed_started_at = 8; */ observedStartedAt?: Timestamp | undefined; /** * Timestamp of the last observed per-second sample, in RFC 3339 format. Unset when no samples were observed. * * @generated from field: google.protobuf.Timestamp observed_finished_at = 9; */ observedFinishedAt?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.GithubActionsMetricsStats. * Use `create(GithubActionsMetricsStatsSchema)` to create a new message. */ declare const GithubActionsMetricsStatsSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsMetricsCapMetadata */ type GithubActionsMetricsCapMetadata = Message<'depot.core.v1.GithubActionsMetricsCapMetadata'> & { /** * Number of observed per-second samples before downsampling. * * @generated from field: uint32 raw_sample_count = 1; */ rawSampleCount: number; /** * Number of samples returned in the response. * * @generated from field: uint32 returned_sample_count = 2; */ returnedSampleCount: number; /** * Maximum number of samples returned in a response. Always 5000. * * @generated from field: uint32 max_returned_sample_count = 3; */ maxReturnedSampleCount: number; /** * True when the samples were reduced to fit `maxReturnedSampleCount`. * * @generated from field: bool downsampled = 4; */ downsampled: boolean; /** * Downsampling strategy. "evenly_spaced" when downsampled; empty otherwise. The first and last samples are retained, but intermediate peaks may be omitted. * * @generated from field: string downsample_strategy = 5; */ downsampleStrategy: string; }; /** * Describes the message depot.core.v1.GithubActionsMetricsCapMetadata. * Use `create(GithubActionsMetricsCapMetadataSchema)` to create a new message. */ declare const GithubActionsMetricsCapMetadataSchema: GenMessage; /** * @generated from enum depot.core.v1.GithubActionsJobStatus */ declare enum GithubActionsJobStatus { /** * @generated from enum value: GITHUB_ACTIONS_JOB_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: GITHUB_ACTIONS_JOB_STATUS_QUEUED = 1; */ QUEUED = 1, /** * @generated from enum value: GITHUB_ACTIONS_JOB_STATUS_WAITING = 2; */ WAITING = 2, /** * @generated from enum value: GITHUB_ACTIONS_JOB_STATUS_RUNNING = 3; */ RUNNING = 3, /** * @generated from enum value: GITHUB_ACTIONS_JOB_STATUS_FINISHED = 4; */ FINISHED = 4 } /** * Describes the enum depot.core.v1.GithubActionsJobStatus. */ declare const GithubActionsJobStatusSchema: GenEnum; /** * @generated from enum depot.core.v1.GithubActionsJobConclusion */ declare enum GithubActionsJobConclusion { /** * @generated from enum value: GITHUB_ACTIONS_JOB_CONCLUSION_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: GITHUB_ACTIONS_JOB_CONCLUSION_SUCCESS = 1; */ SUCCESS = 1, /** * @generated from enum value: GITHUB_ACTIONS_JOB_CONCLUSION_FAILURE = 2; */ FAILURE = 2, /** * @generated from enum value: GITHUB_ACTIONS_JOB_CONCLUSION_CANCELLED = 3; */ CANCELLED = 3, /** * @generated from enum value: GITHUB_ACTIONS_JOB_CONCLUSION_SKIPPED = 4; */ SKIPPED = 4, /** * @generated from enum value: GITHUB_ACTIONS_JOB_CONCLUSION_NEUTRAL = 5; */ NEUTRAL = 5 } /** * Describes the enum depot.core.v1.GithubActionsJobConclusion. */ declare const GithubActionsJobConclusionSchema: GenEnum; /** * @generated from enum depot.core.v1.GithubActionsTerminationOutcome */ declare enum GithubActionsTerminationOutcome { /** * @generated from enum value: GITHUB_ACTIONS_TERMINATION_OUTCOME_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: GITHUB_ACTIONS_TERMINATION_OUTCOME_REQUESTED = 1; */ REQUESTED = 1, /** * @generated from enum value: GITHUB_ACTIONS_TERMINATION_OUTCOME_ALREADY_REQUESTED = 2; */ ALREADY_REQUESTED = 2, /** * @generated from enum value: GITHUB_ACTIONS_TERMINATION_OUTCOME_ALREADY_TERMINAL = 3; */ ALREADY_TERMINAL = 3, /** * @generated from enum value: GITHUB_ACTIONS_TERMINATION_OUTCOME_NO_ACTIVE_COMPUTE = 4; */ NO_ACTIVE_COMPUTE = 4 } /** * Describes the enum depot.core.v1.GithubActionsTerminationOutcome. */ declare const GithubActionsTerminationOutcomeSchema: GenEnum; /** * Presentation order for matching log lines. Latest-copy selection is independent of this order. * * @generated from enum depot.core.v1.GithubActionsLogResultOrder */ declare enum GithubActionsLogResultOrder { /** * @generated from enum value: GITHUB_ACTIONS_LOG_RESULT_ORDER_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: GITHUB_ACTIONS_LOG_RESULT_ORDER_DESCENDING = 1; */ DESCENDING = 1, /** * @generated from enum value: GITHUB_ACTIONS_LOG_RESULT_ORDER_ASCENDING = 2; */ ASCENDING = 2 } /** * Describes the enum depot.core.v1.GithubActionsLogResultOrder. */ declare const GithubActionsLogResultOrderSchema: GenEnum; /** * @generated from enum depot.core.v1.GithubActionsLogFacetKind */ declare enum GithubActionsLogFacetKind { /** * @generated from enum value: GITHUB_ACTIONS_LOG_FACET_KIND_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: GITHUB_ACTIONS_LOG_FACET_KIND_REPOSITORY = 1; */ REPOSITORY = 1, /** * @generated from enum value: GITHUB_ACTIONS_LOG_FACET_KIND_WORKFLOW = 2; */ WORKFLOW = 2, /** * @generated from enum value: GITHUB_ACTIONS_LOG_FACET_KIND_RUNNER_LABEL = 3; */ RUNNER_LABEL = 3, /** * @generated from enum value: GITHUB_ACTIONS_LOG_FACET_KIND_ACTION = 4; */ ACTION = 4 } /** * Describes the enum depot.core.v1.GithubActionsLogFacetKind. */ declare const GithubActionsLogFacetKindSchema: GenEnum; /** * @generated from enum depot.core.v1.GithubActionsAggregationUnit */ declare enum GithubActionsAggregationUnit { /** * @generated from enum value: GITHUB_ACTIONS_AGGREGATION_UNIT_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: GITHUB_ACTIONS_AGGREGATION_UNIT_HOUR = 1; */ HOUR = 1, /** * @generated from enum value: GITHUB_ACTIONS_AGGREGATION_UNIT_DAY = 2; */ DAY = 2 } /** * Describes the enum depot.core.v1.GithubActionsAggregationUnit. */ declare const GithubActionsAggregationUnitSchema: GenEnum; /** * @generated from enum depot.core.v1.GithubActionsRecommendationType */ declare enum GithubActionsRecommendationType { /** * @generated from enum value: GITHUB_ACTIONS_RECOMMENDATION_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: GITHUB_ACTIONS_RECOMMENDATION_TYPE_SIZE_UP = 1; */ SIZE_UP = 1, /** * @generated from enum value: GITHUB_ACTIONS_RECOMMENDATION_TYPE_SIZE_DOWN = 2; */ SIZE_DOWN = 2 } /** * Describes the enum depot.core.v1.GithubActionsRecommendationType. */ declare const GithubActionsRecommendationTypeSchema: GenEnum; /** * @generated from enum depot.core.v1.GithubActionsConnectionStatus */ declare enum GithubActionsConnectionStatus { /** * @generated from enum value: GITHUB_ACTIONS_CONNECTION_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: GITHUB_ACTIONS_CONNECTION_STATUS_PENDING = 1; */ PENDING = 1, /** * @generated from enum value: GITHUB_ACTIONS_CONNECTION_STATUS_ACTIVE = 2; */ ACTIVE = 2, /** * @generated from enum value: GITHUB_ACTIONS_CONNECTION_STATUS_SUSPENDED = 3; */ SUSPENDED = 3 } /** * Describes the enum depot.core.v1.GithubActionsConnectionStatus. */ declare const GithubActionsConnectionStatusSchema: GenEnum; /** * @generated from enum depot.core.v1.GithubActionsRepositorySelection */ declare enum GithubActionsRepositorySelection { /** * @generated from enum value: GITHUB_ACTIONS_REPOSITORY_SELECTION_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: GITHUB_ACTIONS_REPOSITORY_SELECTION_ALL = 1; */ ALL = 1, /** * @generated from enum value: GITHUB_ACTIONS_REPOSITORY_SELECTION_SELECTED = 2; */ SELECTED = 2 } /** * Describes the enum depot.core.v1.GithubActionsRepositorySelection. */ declare const GithubActionsRepositorySelectionSchema: GenEnum; /** * @generated from enum depot.core.v1.GithubActionsMetricsAvailabilityCode */ declare enum GithubActionsMetricsAvailabilityCode { /** * Default value; not returned by the server. * * @generated from enum value: GITHUB_ACTIONS_METRICS_AVAILABILITY_CODE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * CPU and memory metrics were observed. Samples may not cover the entire job. * * @generated from enum value: GITHUB_ACTIONS_METRICS_AVAILABILITY_CODE_AVAILABLE = 1; */ AVAILABLE = 1, /** * Some CPU or memory metrics were observed, but one or more metric values are missing. * * @generated from enum value: GITHUB_ACTIONS_METRICS_AVAILABILITY_CODE_PARTIAL = 2; */ PARTIAL = 2, /** * No metrics are available for the job. * * @generated from enum value: GITHUB_ACTIONS_METRICS_AVAILABILITY_CODE_UNAVAILABLE = 3; */ UNAVAILABLE = 3 } /** * Describes the enum depot.core.v1.GithubActionsMetricsAvailabilityCode. */ declare const GithubActionsMetricsAvailabilityCodeSchema: GenEnum; /** * GithubActionsService manages GitHub Actions jobs, logs, analytics, and connections for the authenticated organization. * * @generated from service depot.core.v1.GithubActionsService */ declare const GithubActionsService: GenService<{ /** * List GitHub Actions jobs, newest first. * * @generated from rpc depot.core.v1.GithubActionsService.ListGithubActionsJobs */ listGithubActionsJobs: { methodKind: 'unary'; input: typeof ListGithubActionsJobsRequestSchema; output: typeof ListGithubActionsJobsResponseSchema; }; /** * Get one GitHub Actions job and observed out-of-memory kills. Execution windows longer than 7 days are rejected. * * @generated from rpc depot.core.v1.GithubActionsService.GetGithubActionsJob */ getGithubActionsJob: { methodKind: 'unary'; input: typeof GetGithubActionsJobRequestSchema; output: typeof GetGithubActionsJobResponseSchema; }; /** * Get CPU and memory samples, summary statistics, and observed out-of-memory kills for one GitHub Actions job. Execution windows longer than 7 days are rejected. * * @generated from rpc depot.core.v1.GithubActionsService.GetGithubActionsJobMetrics */ getGithubActionsJobMetrics: { methodKind: 'unary'; input: typeof GetGithubActionsJobMetricsRequestSchema; output: typeof GetGithubActionsJobMetricsResponseSchema; }; /** * Terminate the compute resource for a queued or running GitHub Actions job. * * @generated from rpc depot.core.v1.GithubActionsService.TerminateGithubActionsJob */ terminateGithubActionsJob: { methodKind: 'unary'; input: typeof TerminateGithubActionsJobRequestSchema; output: typeof TerminateGithubActionsJobResponseSchema; }; /** * Search GitHub Actions log lines, newest match first. * * @generated from rpc depot.core.v1.GithubActionsService.SearchGithubActionsLogs */ searchGithubActionsLogs: { methodKind: 'unary'; input: typeof SearchGithubActionsLogsRequestSchema; output: typeof SearchGithubActionsLogsResponseSchema; }; /** * Count GitHub Actions log lines matching a search. * * @generated from rpc depot.core.v1.GithubActionsService.CountGithubActionsLogs */ countGithubActionsLogs: { methodKind: 'unary'; input: typeof CountGithubActionsLogsRequestSchema; output: typeof CountGithubActionsLogsResponseSchema; }; /** * Get log lines surrounding one search result. * * @generated from rpc depot.core.v1.GithubActionsService.GetGithubActionsLogContext */ getGithubActionsLogContext: { methodKind: 'unary'; input: typeof GetGithubActionsLogContextRequestSchema; output: typeof GetGithubActionsLogContextResponseSchema; }; /** * List values available for GitHub Actions log search filters. * * @generated from rpc depot.core.v1.GithubActionsService.ListGithubActionsLogFacets */ listGithubActionsLogFacets: { methodKind: 'unary'; input: typeof ListGithubActionsLogFacetsRequestSchema; output: typeof ListGithubActionsLogFacetsResponseSchema; }; /** * Get time-bucketed GitHub Actions job and usage analytics. * * @generated from rpc depot.core.v1.GithubActionsService.GetGithubActionsAnalytics */ getGithubActionsAnalytics: { methodKind: 'unary'; input: typeof GetGithubActionsAnalyticsRequestSchema; output: typeof GetGithubActionsAnalyticsResponseSchema; }; /** * Get the duration distribution of finished GitHub Actions jobs. * * @generated from rpc depot.core.v1.GithubActionsService.GetGithubActionsDurationDistribution */ getGithubActionsDurationDistribution: { methodKind: 'unary'; input: typeof GetGithubActionsDurationDistributionRequestSchema; output: typeof GetGithubActionsDurationDistributionResponseSchema; }; /** * List finished GitHub Actions job runs, longest duration first. * * @generated from rpc depot.core.v1.GithubActionsService.ListGithubActionsJobRuns */ listGithubActionsJobRuns: { methodKind: 'unary'; input: typeof ListGithubActionsJobRunsRequestSchema; output: typeof ListGithubActionsJobRunsResponseSchema; }; /** * List aggregate CPU, memory, duration, and failure analytics by job. * * @generated from rpc depot.core.v1.GithubActionsService.ListGithubActionsJobAnalytics */ listGithubActionsJobAnalytics: { methodKind: 'unary'; input: typeof ListGithubActionsJobAnalyticsRequestSchema; output: typeof ListGithubActionsJobAnalyticsResponseSchema; }; /** * List runner-size recommendations derived from GitHub Actions job metrics. * * @generated from rpc depot.core.v1.GithubActionsService.ListGithubActionsRecommendations */ listGithubActionsRecommendations: { methodKind: 'unary'; input: typeof ListGithubActionsRecommendationsRequestSchema; output: typeof ListGithubActionsRecommendationsResponseSchema; }; /** * List GitHub App connections for the authenticated organization. * * @generated from rpc depot.core.v1.GithubActionsService.ListGithubActionsConnections */ listGithubActionsConnections: { methodKind: 'unary'; input: typeof ListGithubActionsConnectionsRequestSchema; output: typeof ListGithubActionsConnectionsResponseSchema; }; /** * Create a short-lived URL for installing the Depot GitHub App. * * @generated from rpc depot.core.v1.GithubActionsService.CreateGithubActionsInstallationUrl */ createGithubActionsInstallationUrl: { methodKind: 'unary'; input: typeof CreateGithubActionsInstallationUrlRequestSchema; output: typeof CreateGithubActionsInstallationUrlResponseSchema; }; /** * Disconnect a GitHub App installation from the authenticated organization. * * @generated from rpc depot.core.v1.GithubActionsService.DeleteGithubActionsConnection */ deleteGithubActionsConnection: { methodKind: 'unary'; input: typeof DeleteGithubActionsConnectionRequestSchema; output: typeof DeleteGithubActionsConnectionResponseSchema; }; /** * List repositories visible through one GitHub App connection. * * @generated from rpc depot.core.v1.GithubActionsService.ListGithubActionsRepositories */ listGithubActionsRepositories: { methodKind: 'unary'; input: typeof ListGithubActionsRepositoriesRequestSchema; output: typeof ListGithubActionsRepositoriesResponseSchema; }; /** * Get a GitHub Actions job's test-result summary. * * @generated from rpc depot.core.v1.GithubActionsService.GetGithubActionsTestResultsSummary */ getGithubActionsTestResultsSummary: { methodKind: 'unary'; input: typeof GetGithubActionsTestResultsSummaryRequestSchema; output: typeof GetGithubActionsTestResultsSummaryResponseSchema; }; /** * Get actual and projected GitHub Actions usage for a billing period. * * @generated from rpc depot.core.v1.GithubActionsService.GetGithubActionsUsageProjection */ getGithubActionsUsageProjection: { methodKind: 'unary'; input: typeof GetGithubActionsUsageProjectionRequestSchema; output: typeof GetGithubActionsUsageProjectionResponseSchema; }; }>; declare namespace org_pb_d_exports { export { ListOrganizationsRequest, ListOrganizationsRequestSchema, ListOrganizationsResponse, ListOrganizationsResponseSchema, ListOrganizationsResponse_Organization, ListOrganizationsResponse_OrganizationSchema, OrganizationService, file_depot_core_v1_org }; } /** * Describes the file depot/core/v1/org.proto. */ declare const file_depot_core_v1_org: GenFile; /** * @generated from message depot.core.v1.ListOrganizationsRequest */ type ListOrganizationsRequest = Message<'depot.core.v1.ListOrganizationsRequest'> & {}; /** * Describes the message depot.core.v1.ListOrganizationsRequest. * Use `create(ListOrganizationsRequestSchema)` to create a new message. */ declare const ListOrganizationsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ListOrganizationsResponse */ type ListOrganizationsResponse = Message<'depot.core.v1.ListOrganizationsResponse'> & { /** * @generated from field: repeated depot.core.v1.ListOrganizationsResponse.Organization organizations = 1; */ organizations: ListOrganizationsResponse_Organization[]; }; /** * Describes the message depot.core.v1.ListOrganizationsResponse. * Use `create(ListOrganizationsResponseSchema)` to create a new message. */ declare const ListOrganizationsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListOrganizationsResponse.Organization */ type ListOrganizationsResponse_Organization = Message<'depot.core.v1.ListOrganizationsResponse.Organization'> & { /** * @generated from field: string org_id = 1; */ orgId: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: google.protobuf.Timestamp created_at = 3; */ createdAt?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.ListOrganizationsResponse.Organization. * Use `create(ListOrganizationsResponse_OrganizationSchema)` to create a new message. */ declare const ListOrganizationsResponse_OrganizationSchema: GenMessage; /** * @generated from service depot.core.v1.OrganizationService */ declare const OrganizationService: GenService<{ /** * @generated from rpc depot.core.v1.OrganizationService.ListOrganizations */ listOrganizations: { methodKind: 'unary'; input: typeof ListOrganizationsRequestSchema; output: typeof ListOrganizationsResponseSchema; }; }>; declare namespace project_pb_d_exports { export { AddTrustPolicyRequest, AddTrustPolicyRequestSchema, AddTrustPolicyResponse, AddTrustPolicyResponseSchema, CachePolicy, CachePolicySchema, CreateProjectRequest, CreateProjectRequestSchema, CreateProjectResponse, CreateProjectResponseSchema, CreateTokenRequest$1 as CreateTokenRequest, CreateTokenRequestSchema$1 as CreateTokenRequestSchema, CreateTokenResponse$1 as CreateTokenResponse, CreateTokenResponseSchema$1 as CreateTokenResponseSchema, DeleteProjectRequest, DeleteProjectRequestSchema, DeleteProjectResponse, DeleteProjectResponseSchema, DeleteTokenRequest, DeleteTokenRequestSchema, DeleteTokenResponse, DeleteTokenResponseSchema, GetProjectRequest, GetProjectRequestSchema, GetProjectResponse, GetProjectResponseSchema, GetRegistryRetentionPolicyRequest, GetRegistryRetentionPolicyRequestSchema, GetRegistryRetentionPolicyResponse, GetRegistryRetentionPolicyResponseSchema, Hardware, HardwareSchema, ListProjectsRequest, ListProjectsRequestSchema, ListProjectsResponse, ListProjectsResponseSchema, ListTokensRequest$1 as ListTokensRequest, ListTokensRequestSchema$1 as ListTokensRequestSchema, ListTokensResponse$1 as ListTokensResponse, ListTokensResponseSchema$1 as ListTokensResponseSchema, ListTokensResponse_Token, ListTokensResponse_TokenSchema, ListTrustPoliciesRequest, ListTrustPoliciesRequestSchema, ListTrustPoliciesResponse, ListTrustPoliciesResponseSchema, NullableInt32, NullableInt32Schema, Project, ProjectSchema, ProjectService, RegistryRetentionPolicy, RegistryRetentionPolicySchema, RemoveTrustPolicyRequest, RemoveTrustPolicyRequestSchema, RemoveTrustPolicyResponse, RemoveTrustPolicyResponseSchema, ResetProjectMachinesRequest, ResetProjectMachinesRequestSchema, ResetProjectMachinesResponse, ResetProjectMachinesResponseSchema, ResetProjectRequest, ResetProjectRequestSchema, ResetProjectResponse, ResetProjectResponseSchema, TrustPolicy, TrustPolicyProvider, TrustPolicyProviderSchema, TrustPolicySchema, TrustPolicy_Buildkite, TrustPolicy_BuildkiteSchema, TrustPolicy_CircleCI, TrustPolicy_CircleCISchema, TrustPolicy_GitHub, TrustPolicy_GitHubSchema, TrustPolicy_GitLab, TrustPolicy_GitLabSchema, UpdateProjectRequest, UpdateProjectRequestSchema, UpdateProjectResponse, UpdateProjectResponseSchema, UpdateRegistryRetentionPolicyRequest, UpdateRegistryRetentionPolicyRequestSchema, UpdateRegistryRetentionPolicyResponse, UpdateRegistryRetentionPolicyResponseSchema, UpdateTokenRequest, UpdateTokenRequestSchema, UpdateTokenResponse, UpdateTokenResponseSchema, UpdateTrustPolicyRequest, UpdateTrustPolicyRequestSchema, UpdateTrustPolicyResponse, UpdateTrustPolicyResponseSchema, file_depot_core_v1_project }; } /** * Describes the file depot/core/v1/project.proto. */ declare const file_depot_core_v1_project: GenFile; /** * @generated from message depot.core.v1.Project */ type Project = Message<'depot.core.v1.Project'> & { /** * Unique identifier for the project. * * @generated from field: string project_id = 1; */ projectId: string; /** * Organization that owns the project. * * @generated from field: string organization_id = 2; */ organizationId: string; /** * Display name for the project. * * @generated from field: string name = 3; */ name: string; /** * Depot region or cloud connection used for builds. * * @generated from field: string region_id = 4; */ regionId: string; /** * Creation time, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp | undefined; /** * Build cache retention and size limits. * * @generated from field: depot.core.v1.CachePolicy cache_policy = 6; */ cachePolicy?: CachePolicy | undefined; /** * Compute size used for builds. * * @generated from field: depot.core.v1.Hardware hardware = 7; */ hardware: Hardware; /** * Maximum duration of each build, in minutes. Unset when builds have no project-level timeout. * * @generated from field: optional int32 build_timeout_minutes = 8; */ buildTimeoutMinutes?: number | undefined; /** * Maximum concurrent builds per builder instance before horizontal autoscaling adds another instance. * Unset when project autoscaling is disabled. * * @generated from field: optional int32 max_concurrent_builds = 9; */ maxConcurrentBuilds?: number | undefined; }; /** * Describes the message depot.core.v1.Project. * Use `create(ProjectSchema)` to create a new message. */ declare const ProjectSchema: GenMessage; /** * @generated from message depot.core.v1.ListProjectsRequest */ type ListProjectsRequest = Message<'depot.core.v1.ListProjectsRequest'> & { /** * Depot region or cloud connection to match. Leave unset to include every region and connection. * * @generated from field: optional string region_id = 1; */ regionId?: string | undefined; /** * Number of projects to return per page. Maximum: 250. Default: 250. * * @generated from field: optional int32 page_size = 2; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. * * @generated from field: optional string page_token = 3; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListProjectsRequest. * Use `create(ListProjectsRequestSchema)` to create a new message. */ declare const ListProjectsRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ListProjectsResponse */ type ListProjectsResponse = Message<'depot.core.v1.ListProjectsResponse'> & { /** * Projects in the authenticated organization. * * @generated from field: repeated depot.core.v1.Project projects = 1; */ projects: Project[]; /** * Token to fetch the next page. Empty when there are no more projects. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListProjectsResponse. * Use `create(ListProjectsResponseSchema)` to create a new message. */ declare const ListProjectsResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetProjectRequest */ type GetProjectRequest = Message<'depot.core.v1.GetProjectRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; }; /** * Describes the message depot.core.v1.GetProjectRequest. * Use `create(GetProjectRequestSchema)` to create a new message. */ declare const GetProjectRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetProjectResponse */ type GetProjectResponse = Message<'depot.core.v1.GetProjectResponse'> & { /** * Requested project. * * @generated from field: depot.core.v1.Project project = 1; */ project?: Project | undefined; }; /** * Describes the message depot.core.v1.GetProjectResponse. * Use `create(GetProjectResponseSchema)` to create a new message. */ declare const GetProjectResponseSchema: GenMessage; /** * @generated from message depot.core.v1.CreateProjectRequest */ type CreateProjectRequest = Message<'depot.core.v1.CreateProjectRequest'> & { /** * Display name for the project. * * @generated from field: string name = 1; */ name: string; /** * Organization that will own the project. Required for user tokens that belong to more than one organization. * * @generated from field: optional string organization_id = 2; */ organizationId?: string | undefined; /** * Depot region or cloud connection to use for builds. * * @generated from field: string region_id = 3; */ regionId: string; /** * Build cache retention and size limits. Default: 50 GB and 14 days. * * @generated from field: optional depot.core.v1.CachePolicy cache_policy = 4; */ cachePolicy?: CachePolicy | undefined; /** * Compute size to use for builds. Default: `HARDWARE_16X32` for AWS builders. * * @generated from field: optional depot.core.v1.Hardware hardware = 5; */ hardware?: Hardware | undefined; /** * Maximum duration of each build, in minutes. Leave unset for no project-level timeout. * * @generated from field: optional int32 build_timeout_minutes = 6; */ buildTimeoutMinutes?: number | undefined; /** * Maximum concurrent builds per builder instance before horizontal autoscaling adds another instance. * Leave unset to disable project autoscaling. * * @generated from field: optional int32 max_concurrent_builds = 7; */ maxConcurrentBuilds?: number | undefined; }; /** * Describes the message depot.core.v1.CreateProjectRequest. * Use `create(CreateProjectRequestSchema)` to create a new message. */ declare const CreateProjectRequestSchema: GenMessage; /** * @generated from message depot.core.v1.CreateProjectResponse */ type CreateProjectResponse = Message<'depot.core.v1.CreateProjectResponse'> & { /** * Created project. If an active project with the same name already exists in the organization, that project is returned. * * @generated from field: depot.core.v1.Project project = 1; */ project?: Project | undefined; }; /** * Describes the message depot.core.v1.CreateProjectResponse. * Use `create(CreateProjectResponseSchema)` to create a new message. */ declare const CreateProjectResponseSchema: GenMessage; /** * @generated from message depot.core.v1.UpdateProjectRequest */ type UpdateProjectRequest = Message<'depot.core.v1.UpdateProjectRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * New display name. Leave unset to keep the current name. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** * New Depot region or cloud connection. Changing it resets the project's machines and cached data. * * @generated from field: optional string region_id = 3; */ regionId?: string | undefined; /** * New build cache retention or size limits. Leave unset to keep the current policy. * * @generated from field: optional depot.core.v1.CachePolicy cache_policy = 4; */ cachePolicy?: CachePolicy | undefined; /** * New compute size. Leave unset to keep the current size. * * @generated from field: optional depot.core.v1.Hardware hardware = 5; */ hardware?: Hardware | undefined; /** * New maximum build duration. Set `null` to remove the project-level timeout. * * @generated from field: depot.core.v1.NullableInt32 build_timeout_minutes = 6; */ buildTimeoutMinutes?: NullableInt32 | undefined; /** * New maximum concurrent builds per builder instance before horizontal autoscaling adds another instance. * Set `null` to disable project autoscaling. * * @generated from field: depot.core.v1.NullableInt32 max_concurrent_builds = 7; */ maxConcurrentBuilds?: NullableInt32 | undefined; }; /** * Describes the message depot.core.v1.UpdateProjectRequest. * Use `create(UpdateProjectRequestSchema)` to create a new message. */ declare const UpdateProjectRequestSchema: GenMessage; /** * @generated from message depot.core.v1.UpdateProjectResponse */ type UpdateProjectResponse = Message<'depot.core.v1.UpdateProjectResponse'> & { /** * Updated project. * * @generated from field: depot.core.v1.Project project = 1; */ project?: Project | undefined; }; /** * Describes the message depot.core.v1.UpdateProjectResponse. * Use `create(UpdateProjectResponseSchema)` to create a new message. */ declare const UpdateProjectResponseSchema: GenMessage; /** * @generated from message depot.core.v1.DeleteProjectRequest */ type DeleteProjectRequest = Message<'depot.core.v1.DeleteProjectRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; }; /** * Describes the message depot.core.v1.DeleteProjectRequest. * Use `create(DeleteProjectRequestSchema)` to create a new message. */ declare const DeleteProjectRequestSchema: GenMessage; /** * @generated from message depot.core.v1.DeleteProjectResponse */ type DeleteProjectResponse = Message<'depot.core.v1.DeleteProjectResponse'> & {}; /** * Describes the message depot.core.v1.DeleteProjectResponse. * Use `create(DeleteProjectResponseSchema)` to create a new message. */ declare const DeleteProjectResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ResetProjectRequest */ type ResetProjectRequest = Message<'depot.core.v1.ResetProjectRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; }; /** * Describes the message depot.core.v1.ResetProjectRequest. * Use `create(ResetProjectRequestSchema)` to create a new message. */ declare const ResetProjectRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ResetProjectResponse */ type ResetProjectResponse = Message<'depot.core.v1.ResetProjectResponse'> & {}; /** * Describes the message depot.core.v1.ResetProjectResponse. * Use `create(ResetProjectResponseSchema)` to create a new message. */ declare const ResetProjectResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ResetProjectMachinesRequest */ type ResetProjectMachinesRequest = Message<'depot.core.v1.ResetProjectMachinesRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; }; /** * Describes the message depot.core.v1.ResetProjectMachinesRequest. * Use `create(ResetProjectMachinesRequestSchema)` to create a new message. */ declare const ResetProjectMachinesRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ResetProjectMachinesResponse */ type ResetProjectMachinesResponse = Message<'depot.core.v1.ResetProjectMachinesResponse'> & {}; /** * Describes the message depot.core.v1.ResetProjectMachinesResponse. * Use `create(ResetProjectMachinesResponseSchema)` to create a new message. */ declare const ResetProjectMachinesResponseSchema: GenMessage; /** * @generated from message depot.core.v1.CachePolicy */ type CachePolicy = Message<'depot.core.v1.CachePolicy'> & { /** * Maximum cache size, in bytes. Use `keepGb` instead. * * @generated from field: optional int64 keep_bytes = 1 [deprecated = true]; * @deprecated */ keepBytes?: bigint | undefined; /** * Number of days to retain cache entries since their last use. Minimum: 1. Maximum: 30. * * @generated from field: int32 keep_days = 2; */ keepDays: number; /** * Maximum cache size per machine architecture, in gigabytes. Minimum: 25. Maximum for Depot-hosted projects: 1000. * * @generated from field: int32 keep_gb = 3; */ keepGb: number; }; /** * Describes the message depot.core.v1.CachePolicy. * Use `create(CachePolicySchema)` to create a new message. */ declare const CachePolicySchema: GenMessage; /** * @generated from message depot.core.v1.ListTrustPoliciesRequest */ type ListTrustPoliciesRequest = Message<'depot.core.v1.ListTrustPoliciesRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * Provider to match. Leave unset to include every provider. * * @generated from field: optional depot.core.v1.TrustPolicyProvider provider = 2; */ provider?: TrustPolicyProvider | undefined; /** * Number of trust policies to return per page. Maximum: 250. Default: 250. * * @generated from field: optional int32 page_size = 3; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. * * @generated from field: optional string page_token = 4; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListTrustPoliciesRequest. * Use `create(ListTrustPoliciesRequestSchema)` to create a new message. */ declare const ListTrustPoliciesRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ListTrustPoliciesResponse */ type ListTrustPoliciesResponse = Message<'depot.core.v1.ListTrustPoliciesResponse'> & { /** * Trust policies attached to the project. * * @generated from field: repeated depot.core.v1.TrustPolicy trust_policies = 1; */ trustPolicies: TrustPolicy[]; /** * Token to fetch the next page. Empty when there are no more trust policies. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListTrustPoliciesResponse. * Use `create(ListTrustPoliciesResponseSchema)` to create a new message. */ declare const ListTrustPoliciesResponseSchema: GenMessage; /** * @generated from message depot.core.v1.AddTrustPolicyRequest */ type AddTrustPolicyRequest = Message<'depot.core.v1.AddTrustPolicyRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * @generated from oneof depot.core.v1.AddTrustPolicyRequest.provider */ provider: { /** * Buildkite organization and pipeline allowed to access the project. * * @generated from field: depot.core.v1.TrustPolicy.Buildkite buildkite = 2; */ value: TrustPolicy_Buildkite; case: 'buildkite'; } | { /** * CircleCI organization and project allowed to access the project. * * @generated from field: depot.core.v1.TrustPolicy.CircleCI circleci = 3; */ value: TrustPolicy_CircleCI; case: 'circleci'; } | { /** * GitHub repository allowed to access the project. * * @generated from field: depot.core.v1.TrustPolicy.GitHub github = 4; */ value: TrustPolicy_GitHub; case: 'github'; } | { /** * GitLab namespace and project allowed to access the project. * * @generated from field: depot.core.v1.TrustPolicy.GitLab gitlab = 5; */ value: TrustPolicy_GitLab; case: 'gitlab'; } | { case: undefined; value?: undefined; }; }; /** * Describes the message depot.core.v1.AddTrustPolicyRequest. * Use `create(AddTrustPolicyRequestSchema)` to create a new message. */ declare const AddTrustPolicyRequestSchema: GenMessage; /** * @generated from message depot.core.v1.AddTrustPolicyResponse */ type AddTrustPolicyResponse = Message<'depot.core.v1.AddTrustPolicyResponse'> & { /** * Added trust policy. If an active policy already has the same provider and source, that policy is returned. * * @generated from field: depot.core.v1.TrustPolicy trust_policy = 1; */ trustPolicy?: TrustPolicy | undefined; }; /** * Describes the message depot.core.v1.AddTrustPolicyResponse. * Use `create(AddTrustPolicyResponseSchema)` to create a new message. */ declare const AddTrustPolicyResponseSchema: GenMessage; /** * @generated from message depot.core.v1.UpdateTrustPolicyRequest */ type UpdateTrustPolicyRequest = Message<'depot.core.v1.UpdateTrustPolicyRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * Unique identifier for the trust policy. Returned by `ListTrustPolicies` and `AddTrustPolicy`. * * @generated from field: string trust_policy_id = 2; */ trustPolicyId: string; /** * Whether public pull requests from forks may use the GitHub trust policy. Only valid for GitHub policies. Leave unset to keep the current setting. * * @generated from field: optional bool allow_public_pull_requests = 3; */ allowPublicPullRequests?: boolean | undefined; /** * Whether only jobs on protected GitLab refs may use the trust policy. Only valid for GitLab policies. Set false to allow all refs. Leave unset to keep the current setting. * * @generated from field: optional bool protected_refs_only = 4; */ protectedRefsOnly?: boolean | undefined; }; /** * Describes the message depot.core.v1.UpdateTrustPolicyRequest. * Use `create(UpdateTrustPolicyRequestSchema)` to create a new message. */ declare const UpdateTrustPolicyRequestSchema: GenMessage; /** * @generated from message depot.core.v1.UpdateTrustPolicyResponse */ type UpdateTrustPolicyResponse = Message<'depot.core.v1.UpdateTrustPolicyResponse'> & { /** * Updated trust policy. * * @generated from field: depot.core.v1.TrustPolicy trust_policy = 1; */ trustPolicy?: TrustPolicy | undefined; }; /** * Describes the message depot.core.v1.UpdateTrustPolicyResponse. * Use `create(UpdateTrustPolicyResponseSchema)` to create a new message. */ declare const UpdateTrustPolicyResponseSchema: GenMessage; /** * @generated from message depot.core.v1.RemoveTrustPolicyRequest */ type RemoveTrustPolicyRequest = Message<'depot.core.v1.RemoveTrustPolicyRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * Unique identifier for the trust policy. Returned by `ListTrustPolicies` and `AddTrustPolicy`. * * @generated from field: string trust_policy_id = 2; */ trustPolicyId: string; }; /** * Describes the message depot.core.v1.RemoveTrustPolicyRequest. * Use `create(RemoveTrustPolicyRequestSchema)` to create a new message. */ declare const RemoveTrustPolicyRequestSchema: GenMessage; /** * @generated from message depot.core.v1.RemoveTrustPolicyResponse */ type RemoveTrustPolicyResponse = Message<'depot.core.v1.RemoveTrustPolicyResponse'> & {}; /** * Describes the message depot.core.v1.RemoveTrustPolicyResponse. * Use `create(RemoveTrustPolicyResponseSchema)` to create a new message. */ declare const RemoveTrustPolicyResponseSchema: GenMessage; /** * @generated from message depot.core.v1.TrustPolicy */ type TrustPolicy = Message<'depot.core.v1.TrustPolicy'> & { /** * Unique identifier for the trust policy. * * @generated from field: string trust_policy_id = 1; */ trustPolicyId: string; /** * @generated from oneof depot.core.v1.TrustPolicy.provider */ provider: { /** * Buildkite organization and pipeline allowed to access the project. * * @generated from field: depot.core.v1.TrustPolicy.Buildkite buildkite = 2; */ value: TrustPolicy_Buildkite; case: 'buildkite'; } | { /** * CircleCI organization and project allowed to access the project. * * @generated from field: depot.core.v1.TrustPolicy.CircleCI circleci = 3; */ value: TrustPolicy_CircleCI; case: 'circleci'; } | { /** * GitHub repository allowed to access the project. * * @generated from field: depot.core.v1.TrustPolicy.GitHub github = 4; */ value: TrustPolicy_GitHub; case: 'github'; } | { /** * GitLab namespace and project allowed to access the project. * * @generated from field: depot.core.v1.TrustPolicy.GitLab gitlab = 5; */ value: TrustPolicy_GitLab; case: 'gitlab'; } | { case: undefined; value?: undefined; }; }; /** * Describes the message depot.core.v1.TrustPolicy. * Use `create(TrustPolicySchema)` to create a new message. */ declare const TrustPolicySchema: GenMessage; /** * @generated from message depot.core.v1.TrustPolicy.GitHub */ type TrustPolicy_GitHub = Message<'depot.core.v1.TrustPolicy.GitHub'> & { /** * GitHub organization or user name. * * @generated from field: string repository_owner = 1; */ repositoryOwner: string; /** * GitHub repository name. * * @generated from field: string repository = 2; */ repository: string; /** * Whether public pull requests from forks may use this trust policy. * * @generated from field: bool allow_public_pull_requests = 3; */ allowPublicPullRequests: boolean; }; /** * Describes the message depot.core.v1.TrustPolicy.GitHub. * Use `create(TrustPolicy_GitHubSchema)` to create a new message. */ declare const TrustPolicy_GitHubSchema: GenMessage; /** * @generated from message depot.core.v1.TrustPolicy.CircleCI */ type TrustPolicy_CircleCI = Message<'depot.core.v1.TrustPolicy.CircleCI'> & { /** * Stable CircleCI organization UUID, not the friendly organization identifier. * * @generated from field: string organization_uuid = 1; */ organizationUuid: string; /** * Stable CircleCI project UUID, not the friendly project identifier. * * @generated from field: string project_uuid = 2; */ projectUuid: string; }; /** * Describes the message depot.core.v1.TrustPolicy.CircleCI. * Use `create(TrustPolicy_CircleCISchema)` to create a new message. */ declare const TrustPolicy_CircleCISchema: GenMessage; /** * @generated from message depot.core.v1.TrustPolicy.Buildkite */ type TrustPolicy_Buildkite = Message<'depot.core.v1.TrustPolicy.Buildkite'> & { /** * Buildkite organization slug. * * @generated from field: string organization_slug = 1; */ organizationSlug: string; /** * Buildkite pipeline slug. * * @generated from field: string pipeline_slug = 2; */ pipelineSlug: string; }; /** * Describes the message depot.core.v1.TrustPolicy.Buildkite. * Use `create(TrustPolicy_BuildkiteSchema)` to create a new message. */ declare const TrustPolicy_BuildkiteSchema: GenMessage; /** * @generated from message depot.core.v1.TrustPolicy.GitLab */ type TrustPolicy_GitLab = Message<'depot.core.v1.TrustPolicy.GitLab'> & { /** * Stable numeric GitLab namespace identifier. * * @generated from field: string namespace_id = 1; */ namespaceId: string; /** * Stable numeric GitLab project identifier. * * @generated from field: string project_id = 2; */ projectId: string; /** * Whether only jobs on protected GitLab refs may use this trust policy. Default: false. Use `UpdateTrustPolicy` to change an existing policy. * * @generated from field: bool protected_refs_only = 3; */ protectedRefsOnly: boolean; }; /** * Describes the message depot.core.v1.TrustPolicy.GitLab. * Use `create(TrustPolicy_GitLabSchema)` to create a new message. */ declare const TrustPolicy_GitLabSchema: GenMessage; /** * @generated from message depot.core.v1.ListTokensRequest */ type ListTokensRequest$1 = Message<'depot.core.v1.ListTokensRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * Case-insensitive text to match in token descriptions. Leave unset to include every token. * * @generated from field: optional string query = 2; */ query?: string | undefined; /** * Number of tokens to return per page. Maximum: 250. Default: 250. * * @generated from field: optional int32 page_size = 3; */ pageSize?: number | undefined; /** * Token to fetch the next page. Leave empty to fetch the first page. * * @generated from field: optional string page_token = 4; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListTokensRequest. * Use `create(ListTokensRequestSchema)` to create a new message. */ declare const ListTokensRequestSchema$1: GenMessage; /** * @generated from message depot.core.v1.ListTokensResponse */ type ListTokensResponse$1 = Message<'depot.core.v1.ListTokensResponse'> & { /** * Project API tokens. Token secrets are never returned by this method. * * @generated from field: repeated depot.core.v1.ListTokensResponse.Token tokens = 1; */ tokens: ListTokensResponse_Token[]; /** * Token to fetch the next page. Empty when there are no more tokens. * * @generated from field: optional string next_page_token = 2; */ nextPageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListTokensResponse. * Use `create(ListTokensResponseSchema)` to create a new message. */ declare const ListTokensResponseSchema$1: GenMessage; /** * @generated from message depot.core.v1.ListTokensResponse.Token */ type ListTokensResponse_Token = Message<'depot.core.v1.ListTokensResponse.Token'> & { /** * Unique identifier for the token. * * @generated from field: string token_id = 1; */ tokenId: string; /** * Human-readable description of the token. * * @generated from field: string description = 2; */ description: string; /** * Creation time, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp created_at = 3; */ createdAt?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.ListTokensResponse.Token. * Use `create(ListTokensResponse_TokenSchema)` to create a new message. */ declare const ListTokensResponse_TokenSchema: GenMessage; /** * @generated from message depot.core.v1.CreateTokenRequest */ type CreateTokenRequest$1 = Message<'depot.core.v1.CreateTokenRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * Human-readable description for the token. * * @generated from field: string description = 2; */ description: string; }; /** * Describes the message depot.core.v1.CreateTokenRequest. * Use `create(CreateTokenRequestSchema)` to create a new message. */ declare const CreateTokenRequestSchema$1: GenMessage; /** * @generated from message depot.core.v1.CreateTokenResponse */ type CreateTokenResponse$1 = Message<'depot.core.v1.CreateTokenResponse'> & { /** * Unique identifier for the token. * * @generated from field: string token_id = 1; */ tokenId: string; /** * Token secret. Store it securely because it cannot be retrieved again. * * @generated from field: string secret = 2; */ secret: string; }; /** * Describes the message depot.core.v1.CreateTokenResponse. * Use `create(CreateTokenResponseSchema)` to create a new message. */ declare const CreateTokenResponseSchema$1: GenMessage; /** * @generated from message depot.core.v1.UpdateTokenRequest */ type UpdateTokenRequest = Message<'depot.core.v1.UpdateTokenRequest'> & { /** * Unique identifier for the token. Returned by `ListTokens` and `CreateToken`. * * @generated from field: string token_id = 1; */ tokenId: string; /** * New human-readable description for the token. * * @generated from field: string description = 2; */ description: string; }; /** * Describes the message depot.core.v1.UpdateTokenRequest. * Use `create(UpdateTokenRequestSchema)` to create a new message. */ declare const UpdateTokenRequestSchema: GenMessage; /** * @generated from message depot.core.v1.UpdateTokenResponse */ type UpdateTokenResponse = Message<'depot.core.v1.UpdateTokenResponse'> & {}; /** * Describes the message depot.core.v1.UpdateTokenResponse. * Use `create(UpdateTokenResponseSchema)` to create a new message. */ declare const UpdateTokenResponseSchema: GenMessage; /** * @generated from message depot.core.v1.DeleteTokenRequest */ type DeleteTokenRequest = Message<'depot.core.v1.DeleteTokenRequest'> & { /** * Unique identifier for the token. Returned by `ListTokens` and `CreateToken`. * * @generated from field: string token_id = 1; */ tokenId: string; }; /** * Describes the message depot.core.v1.DeleteTokenRequest. * Use `create(DeleteTokenRequestSchema)` to create a new message. */ declare const DeleteTokenRequestSchema: GenMessage; /** * @generated from message depot.core.v1.DeleteTokenResponse */ type DeleteTokenResponse = Message<'depot.core.v1.DeleteTokenResponse'> & {}; /** * Describes the message depot.core.v1.DeleteTokenResponse. * Use `create(DeleteTokenResponseSchema)` to create a new message. */ declare const DeleteTokenResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetRegistryRetentionPolicyRequest */ type GetRegistryRetentionPolicyRequest = Message<'depot.core.v1.GetRegistryRetentionPolicyRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; }; /** * Describes the message depot.core.v1.GetRegistryRetentionPolicyRequest. * Use `create(GetRegistryRetentionPolicyRequestSchema)` to create a new message. */ declare const GetRegistryRetentionPolicyRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetRegistryRetentionPolicyResponse */ type GetRegistryRetentionPolicyResponse = Message<'depot.core.v1.GetRegistryRetentionPolicyResponse'> & { /** * Current container registry retention policy. `enabled` is false when the project has no policy. * * @generated from field: depot.core.v1.RegistryRetentionPolicy policy = 1; */ policy?: RegistryRetentionPolicy | undefined; }; /** * Describes the message depot.core.v1.GetRegistryRetentionPolicyResponse. * Use `create(GetRegistryRetentionPolicyResponseSchema)` to create a new message. */ declare const GetRegistryRetentionPolicyResponseSchema: GenMessage; /** * @generated from message depot.core.v1.UpdateRegistryRetentionPolicyRequest */ type UpdateRegistryRetentionPolicyRequest = Message<'depot.core.v1.UpdateRegistryRetentionPolicyRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `CreateProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * Whether registry retention is enabled. When false, any existing policy is deleted and the keep fields must be unset. * * @generated from field: bool enabled = 2; */ enabled: boolean; /** * Number of most recently pushed images to keep. Set exactly one of `keepCount` or `keepDays` when enabled. * * @generated from field: optional int32 keep_count = 3; */ keepCount?: number | undefined; /** * Number of days to keep images after they are pushed. Set exactly one of `keepCount` or `keepDays` when enabled. * * @generated from field: optional int32 keep_days = 4; */ keepDays?: number | undefined; }; /** * Describes the message depot.core.v1.UpdateRegistryRetentionPolicyRequest. * Use `create(UpdateRegistryRetentionPolicyRequestSchema)` to create a new message. */ declare const UpdateRegistryRetentionPolicyRequestSchema: GenMessage; /** * @generated from message depot.core.v1.UpdateRegistryRetentionPolicyResponse */ type UpdateRegistryRetentionPolicyResponse = Message<'depot.core.v1.UpdateRegistryRetentionPolicyResponse'> & { /** * Updated container registry retention policy. * * @generated from field: depot.core.v1.RegistryRetentionPolicy policy = 1; */ policy?: RegistryRetentionPolicy | undefined; }; /** * Describes the message depot.core.v1.UpdateRegistryRetentionPolicyResponse. * Use `create(UpdateRegistryRetentionPolicyResponseSchema)` to create a new message. */ declare const UpdateRegistryRetentionPolicyResponseSchema: GenMessage; /** * @generated from message depot.core.v1.RegistryRetentionPolicy */ type RegistryRetentionPolicy = Message<'depot.core.v1.RegistryRetentionPolicy'> & { /** * Whether automatic registry retention is enabled. * * @generated from field: bool enabled = 1; */ enabled: boolean; /** * Number of most recently pushed images to keep. Unset when retention is disabled or uses `keepDays`. * * @generated from field: optional int32 keep_count = 2; */ keepCount?: number | undefined; /** * Number of days to keep images after they are pushed. Unset when retention is disabled or uses `keepCount`. * * @generated from field: optional int32 keep_days = 3; */ keepDays?: number | undefined; }; /** * Describes the message depot.core.v1.RegistryRetentionPolicy. * Use `create(RegistryRetentionPolicySchema)` to create a new message. */ declare const RegistryRetentionPolicySchema: GenMessage; /** * @generated from message depot.core.v1.NullableInt32 */ type NullableInt32 = Message<'depot.core.v1.NullableInt32'> & { /** * @generated from oneof depot.core.v1.NullableInt32.kind */ kind: { /** * Clears the current value. * * @generated from field: google.protobuf.NullValue null = 1; */ value: NullValue; case: 'null'; } | { /** * Positive integer to store. * * @generated from field: int32 value = 2; */ value: number; case: 'value'; } | { case: undefined; value?: undefined; }; }; /** * Describes the message depot.core.v1.NullableInt32. * Use `create(NullableInt32Schema)` to create a new message. */ declare const NullableInt32Schema: GenMessage; /** * Hardware represents the hardware configuration of a project. * * @generated from enum depot.core.v1.Hardware */ declare enum Hardware { /** * By default is 16 CPU and 32GB of memory. Supported by AWS builders. * * @generated from enum value: HARDWARE_UNSPECIFIED = 0; */ HARDWARE_UNSPECIFIED = 0, /** * 16 CPU and 32GB of memory. Supported by AWS builders. * * @generated from enum value: HARDWARE_16X32 = 1; */ HARDWARE_16X32 = 1, /** * 4 CPU and 4GB of memory. * * @generated from enum value: HARDWARE_4X4 = 2; */ HARDWARE_4X4 = 2, /** * 8 CPU and 8GB of memory. * * @generated from enum value: HARDWARE_8X8 = 3; */ HARDWARE_8X8 = 3, /** * 8 CPU and 16GB of memory. Supported by AWS builders. * * @generated from enum value: HARDWARE_8X16 = 4; */ HARDWARE_8X16 = 4, /** * 32 CPU and 64GB of memory. Supported by AWS builders. * * @generated from enum value: HARDWARE_32X64 = 5; */ HARDWARE_32X64 = 5, /** * 64 CPU and 128GB of memory. Supported by AWS builders. * * @generated from enum value: HARDWARE_64X128 = 6; */ HARDWARE_64X128 = 6, /** * 96 CPU and 192GB of memory. Supported by AWS builders. * * @generated from enum value: HARDWARE_96X192 = 7; */ HARDWARE_96X192 = 7, /** * 192 CPU and 384GB of memory. Supported by AWS builders. * * @generated from enum value: HARDWARE_192X384 = 8; */ HARDWARE_192X384 = 8, /** * 4 CPU and 8GB of memory. Supported by AWS builders. * * @generated from enum value: HARDWARE_4X8 = 9; */ HARDWARE_4X8 = 9, /** * 384 CPU and 768GB of memory. Supported by AWS builders. * * @generated from enum value: HARDWARE_384X768 = 10; */ HARDWARE_384X768 = 10 } /** * Describes the enum depot.core.v1.Hardware. */ declare const HardwareSchema: GenEnum; /** * @generated from enum depot.core.v1.TrustPolicyProvider */ declare enum TrustPolicyProvider { /** * @generated from enum value: TRUST_POLICY_PROVIDER_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: TRUST_POLICY_PROVIDER_BUILDKITE = 1; */ BUILDKITE = 1, /** * @generated from enum value: TRUST_POLICY_PROVIDER_CIRCLE_CI = 2; */ CIRCLE_CI = 2, /** * @generated from enum value: TRUST_POLICY_PROVIDER_GITHUB = 3; */ GITHUB = 3, /** * @generated from enum value: TRUST_POLICY_PROVIDER_GITLAB = 4; */ GITLAB = 4 } /** * Describes the enum depot.core.v1.TrustPolicyProvider. */ declare const TrustPolicyProviderSchema: GenEnum; /** * @generated from service depot.core.v1.ProjectService */ declare const ProjectService: GenService<{ /** * List projects in the authenticated organization. * * @generated from rpc depot.core.v1.ProjectService.ListProjects */ listProjects: { methodKind: 'unary'; input: typeof ListProjectsRequestSchema; output: typeof ListProjectsResponseSchema; }; /** * Get a project in the authenticated organization. * * @generated from rpc depot.core.v1.ProjectService.GetProject */ getProject: { methodKind: 'unary'; input: typeof GetProjectRequestSchema; output: typeof GetProjectResponseSchema; }; /** * Create a project. * * @generated from rpc depot.core.v1.ProjectService.CreateProject */ createProject: { methodKind: 'unary'; input: typeof CreateProjectRequestSchema; output: typeof CreateProjectResponseSchema; }; /** * Update a project's name and build configuration. * * @generated from rpc depot.core.v1.ProjectService.UpdateProject */ updateProject: { methodKind: 'unary'; input: typeof UpdateProjectRequestSchema; output: typeof UpdateProjectResponseSchema; }; /** * Delete a project and schedule its machines and cache data for removal. * * @generated from rpc depot.core.v1.ProjectService.DeleteProject */ deleteProject: { methodKind: 'unary'; input: typeof DeleteProjectRequestSchema; output: typeof DeleteProjectResponseSchema; }; /** * Terminate a project's machines and delete all cached data. * * @generated from rpc depot.core.v1.ProjectService.ResetProject */ resetProject: { methodKind: 'unary'; input: typeof ResetProjectRequestSchema; output: typeof ResetProjectResponseSchema; }; /** * Terminate a project's build machines without deleting cached data. * * @generated from rpc depot.core.v1.ProjectService.ResetProjectMachines */ resetProjectMachines: { methodKind: 'unary'; input: typeof ResetProjectMachinesRequestSchema; output: typeof ResetProjectMachinesResponseSchema; }; /** * List a project's trust policies. * * @generated from rpc depot.core.v1.ProjectService.ListTrustPolicies */ listTrustPolicies: { methodKind: 'unary'; input: typeof ListTrustPoliciesRequestSchema; output: typeof ListTrustPoliciesResponseSchema; }; /** * Add a trust policy to a project. * * @generated from rpc depot.core.v1.ProjectService.AddTrustPolicy */ addTrustPolicy: { methodKind: 'unary'; input: typeof AddTrustPolicyRequestSchema; output: typeof AddTrustPolicyResponseSchema; }; /** * Update a project's trust policy. * * @generated from rpc depot.core.v1.ProjectService.UpdateTrustPolicy */ updateTrustPolicy: { methodKind: 'unary'; input: typeof UpdateTrustPolicyRequestSchema; output: typeof UpdateTrustPolicyResponseSchema; }; /** * Remove a trust policy from a project. * * @generated from rpc depot.core.v1.ProjectService.RemoveTrustPolicy */ removeTrustPolicy: { methodKind: 'unary'; input: typeof RemoveTrustPolicyRequestSchema; output: typeof RemoveTrustPolicyResponseSchema; }; /** * List a project's API tokens. * * @generated from rpc depot.core.v1.ProjectService.ListTokens */ listTokens: { methodKind: 'unary'; input: typeof ListTokensRequestSchema$1; output: typeof ListTokensResponseSchema$1; }; /** * Create a project API token. * * @generated from rpc depot.core.v1.ProjectService.CreateToken */ createToken: { methodKind: 'unary'; input: typeof CreateTokenRequestSchema$1; output: typeof CreateTokenResponseSchema$1; }; /** * Update a project API token. * * @generated from rpc depot.core.v1.ProjectService.UpdateToken */ updateToken: { methodKind: 'unary'; input: typeof UpdateTokenRequestSchema; output: typeof UpdateTokenResponseSchema; }; /** * Delete a project API token. * * @generated from rpc depot.core.v1.ProjectService.DeleteToken */ deleteToken: { methodKind: 'unary'; input: typeof DeleteTokenRequestSchema; output: typeof DeleteTokenResponseSchema; }; /** * Get a project's container registry retention policy. * * @generated from rpc depot.core.v1.ProjectService.GetRegistryRetentionPolicy */ getRegistryRetentionPolicy: { methodKind: 'unary'; input: typeof GetRegistryRetentionPolicyRequestSchema; output: typeof GetRegistryRetentionPolicyResponseSchema; }; /** * Set or disable a project's container registry retention policy. * * @generated from rpc depot.core.v1.ProjectService.UpdateRegistryRetentionPolicy */ updateRegistryRetentionPolicy: { methodKind: 'unary'; input: typeof UpdateRegistryRetentionPolicyRequestSchema; output: typeof UpdateRegistryRetentionPolicyResponseSchema; }; }>; declare namespace usage_analytics_pb_d_exports { export { AgentSandboxComputeDay, AgentSandboxComputeDaySchema, AgentSandboxSessionDuration, AgentSandboxSessionDurationSchema, AgentSandboxUsageTotals, AgentSandboxUsageTotalsSchema, ContainerBuildProjectUsage, ContainerBuildProjectUsageSchema, ContainerBuildUsageTotals, ContainerBuildUsageTotalsSchema, DepotCIRepositoryUsage, DepotCIRepositoryUsageSchema, DepotCIUsageTotals, DepotCIUsageTotalsSchema, DepotCIWorkflowUsage, DepotCIWorkflowUsageSchema, GetAgentSandboxUsageRequest, GetAgentSandboxUsageRequestSchema, GetAgentSandboxUsageResponse, GetAgentSandboxUsageResponseSchema, GetCurrentPeriodUsageRequest, GetCurrentPeriodUsageRequestSchema, GetCurrentPeriodUsageResponse, GetCurrentPeriodUsageResponseSchema, GetOrganizationUsageSeriesRequest, GetOrganizationUsageSeriesRequestSchema, GetOrganizationUsageSeriesResponse, GetOrganizationUsageSeriesResponseSchema, GetProjectUsageSeriesRequest, GetProjectUsageSeriesRequestSchema, GetProjectUsageSeriesResponse, GetProjectUsageSeriesResponseSchema, GetUsageReportRequest, GetUsageReportRequestSchema, GetUsageReportResponse, GetUsageReportResponseSchema, GithubActionsJobNameUsage, GithubActionsJobNameUsageSchema, GithubActionsRepositoryUsage, GithubActionsRepositoryUsageSchema, GithubActionsRunnerUsage, GithubActionsRunnerUsageSchema, GithubActionsUsageTotals, GithubActionsUsageTotalsSchema, ListContainerBuildUsageByProjectRequest, ListContainerBuildUsageByProjectRequestSchema, ListContainerBuildUsageByProjectResponse, ListContainerBuildUsageByProjectResponseSchema, ListDepotCIUsageByRepositoryRequest, ListDepotCIUsageByRepositoryRequestSchema, ListDepotCIUsageByRepositoryResponse, ListDepotCIUsageByRepositoryResponseSchema, ListDepotCIUsageByWorkflowRequest, ListDepotCIUsageByWorkflowRequestSchema, ListDepotCIUsageByWorkflowResponse, ListDepotCIUsageByWorkflowResponseSchema, ListGithubActionsUsageByJobRequest, ListGithubActionsUsageByJobRequestSchema, ListGithubActionsUsageByJobResponse, ListGithubActionsUsageByJobResponseSchema, ListGithubActionsUsageByRepositoryRequest, ListGithubActionsUsageByRepositoryRequestSchema, ListGithubActionsUsageByRepositoryResponse, ListGithubActionsUsageByRepositoryResponseSchema, ListGithubActionsUsageByRunnerRequest, ListGithubActionsUsageByRunnerRequestSchema, ListGithubActionsUsageByRunnerResponse, ListGithubActionsUsageByRunnerResponseSchema, ListTestResultsUsageByRepositoryRequest, ListTestResultsUsageByRepositoryRequestSchema, ListTestResultsUsageByRepositoryResponse, ListTestResultsUsageByRepositoryResponseSchema, OrganizationUsageDay, OrganizationUsageDaySchema, OrganizationUsageTotals, OrganizationUsageTotalsSchema, ProjectUsageDay, ProjectUsageDaySchema, StorageUsageDay, StorageUsageDaySchema, StorageUsageTotals, StorageUsageTotalsSchema, TestResultsRepositoryUsage, TestResultsRepositoryUsageSchema, TestResultsUsageDay, TestResultsUsageDaySchema, TestResultsUsageTotals, TestResultsUsageTotalsSchema, UsageAnalyticsCoverage, UsageAnalyticsCoverageSchema, UsageAnalyticsService, UsageAnalyticsTimeRange, UsageAnalyticsTimeRangeSchema, UsageReportAgentSandboxRow, UsageReportAgentSandboxRowSchema, UsageReportContainerBuildRow, UsageReportContainerBuildRowSchema, UsageReportGithubActionsJobRow, UsageReportGithubActionsJobRowSchema, UsageReportStorageRow, UsageReportStorageRowSchema, UsageReportTestResultsRow, UsageReportTestResultsRowSchema, file_depot_core_v1_usage_analytics }; } /** * Describes the file depot/core/v1/usage_analytics.proto. */ declare const file_depot_core_v1_usage_analytics: GenFile; /** * Time window for a usage request. Days are calendar days in UTC. * * @generated from message depot.core.v1.UsageAnalyticsTimeRange */ type UsageAnalyticsTimeRange = Message<'depot.core.v1.UsageAnalyticsTimeRange'> & { /** * Inclusive start of the window, in RFC 3339 format. Default: the start of the current calendar month in UTC. * * @generated from field: google.protobuf.Timestamp start_at = 1; */ startAt?: Timestamp | undefined; /** * Exclusive end of the window, in RFC 3339 format. Must be after `startAt`. The window can be at most 93 days long. * Default: the current time. * * @generated from field: google.protobuf.Timestamp end_at = 2; */ endAt?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.UsageAnalyticsTimeRange. * Use `create(UsageAnalyticsTimeRangeSchema)` to create a new message. */ declare const UsageAnalyticsTimeRangeSchema: GenMessage; /** * @generated from message depot.core.v1.GetProjectUsageSeriesRequest */ type GetProjectUsageSeriesRequest = Message<'depot.core.v1.GetProjectUsageSeriesRequest'> & { /** * Unique identifier for the project. Returned by `ListProjects` and `GetProject`. * * @generated from field: string project_id = 1; */ projectId: string; /** * Time window to report. To see one month, set `startAt` to the first day of the month and `endAt` to the first day * of the next month. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 2; */ timeRange?: UsageAnalyticsTimeRange | undefined; }; /** * Describes the message depot.core.v1.GetProjectUsageSeriesRequest. * Use `create(GetProjectUsageSeriesRequestSchema)` to create a new message. */ declare const GetProjectUsageSeriesRequestSchema: GenMessage; /** * Container build totals for a project or organization. * * @generated from message depot.core.v1.ContainerBuildUsageTotals */ type ContainerBuildUsageTotals = Message<'depot.core.v1.ContainerBuildUsageTotals'> & { /** * Number of builds that finished in the window. * * @generated from field: int64 build_count = 1; */ buildCount: bigint; /** * Number of builds that did not end with an error. * * @generated from field: int64 successful_build_count = 2; */ successfulBuildCount: bigint; /** * Number of builds that ended with an error. * * @generated from field: int64 failed_build_count = 3; */ failedBuildCount: bigint; /** * Total build duration, in seconds. This is the build time Depot bills. * * @generated from field: double billable_seconds = 4; */ billableSeconds: number; /** * Build time saved by cache hits, in seconds. * * @generated from field: double saved_seconds = 5; */ savedSeconds: number; }; /** * Describes the message depot.core.v1.ContainerBuildUsageTotals. * Use `create(ContainerBuildUsageTotalsSchema)` to create a new message. */ declare const ContainerBuildUsageTotalsSchema: GenMessage; /** * @generated from message depot.core.v1.ProjectUsageDay */ type ProjectUsageDay = Message<'depot.core.v1.ProjectUsageDay'> & { /** * Calendar day in UTC, in "YYYY-MM-DD" format. * * @generated from field: string date = 1; */ date: string; /** * True when the day has not ended yet or is only partly inside the window. * * @generated from field: bool partial = 2; */ partial: boolean; /** * Container builds that finished on this day. * * @generated from field: depot.core.v1.ContainerBuildUsageTotals builds = 3; */ builds?: ContainerBuildUsageTotals | undefined; /** * Average layer cache storage used on this day, in GB. * * @generated from field: double layer_cache_gb = 4; */ layerCacheGb: number; }; /** * Describes the message depot.core.v1.ProjectUsageDay. * Use `create(ProjectUsageDaySchema)` to create a new message. */ declare const ProjectUsageDaySchema: GenMessage; /** * @generated from message depot.core.v1.GetProjectUsageSeriesResponse */ type GetProjectUsageSeriesResponse = Message<'depot.core.v1.GetProjectUsageSeriesResponse'> & { /** * Unique identifier for the project. * * @generated from field: string project_id = 1; */ projectId: string; /** * Inclusive start of the window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_start = 2; */ periodStart?: Timestamp | undefined; /** * Exclusive end of the window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_end = 3; */ periodEnd?: Timestamp | undefined; /** * Container build totals for the whole window. * * @generated from field: depot.core.v1.ContainerBuildUsageTotals totals = 4; */ totals?: ContainerBuildUsageTotals | undefined; /** * One entry for each day in the window, in date order. Days without usage have zero values. * * @generated from field: repeated depot.core.v1.ProjectUsageDay days = 5; */ days: ProjectUsageDay[]; }; /** * Describes the message depot.core.v1.GetProjectUsageSeriesResponse. * Use `create(GetProjectUsageSeriesResponseSchema)` to create a new message. */ declare const GetProjectUsageSeriesResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetOrganizationUsageSeriesRequest */ type GetOrganizationUsageSeriesRequest = Message<'depot.core.v1.GetOrganizationUsageSeriesRequest'> & { /** * An array of products to include. Can be "container-builds", "github-actions", "depot-ci", "test-results", "storage", or "agent-sandboxes". * Unselected product messages are omitted. Leave empty to include every supported product. * * @generated from field: repeated string products = 2; */ products: string[]; /** * Time window to report. To see one month, set `startAt` to the first day of the month and `endAt` to the first day * of the next month. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; }; /** * Describes the message depot.core.v1.GetOrganizationUsageSeriesRequest. * Use `create(GetOrganizationUsageSeriesRequestSchema)` to create a new message. */ declare const GetOrganizationUsageSeriesRequestSchema: GenMessage; /** * GitHub Actions job totals. * * @generated from message depot.core.v1.GithubActionsUsageTotals */ type GithubActionsUsageTotals = Message<'depot.core.v1.GithubActionsUsageTotals'> & { /** * Number of jobs that finished in the window. * * @generated from field: int64 job_count = 1; */ jobCount: bigint; /** * Number of jobs that ended with the "success" conclusion. * * @generated from field: int64 successful_job_count = 2; */ successfulJobCount: bigint; /** * Number of jobs that failed. * * @generated from field: int64 failed_job_count = 3; */ failedJobCount: bigint; /** * Billable job time, in seconds. * * @generated from field: double billable_seconds = 4; */ billableSeconds: number; /** * Elapsed job time, in seconds. * * @generated from field: double elapsed_seconds = 5; */ elapsedSeconds: number; }; /** * Describes the message depot.core.v1.GithubActionsUsageTotals. * Use `create(GithubActionsUsageTotalsSchema)` to create a new message. */ declare const GithubActionsUsageTotalsSchema: GenMessage; /** * Depot CI job attempt totals. * * @generated from message depot.core.v1.DepotCIUsageTotals */ type DepotCIUsageTotals = Message<'depot.core.v1.DepotCIUsageTotals'> & { /** * Number of job attempts that finished in the window. * * @generated from field: int64 attempt_count = 1; */ attemptCount: bigint; /** * Number of attempts with the "success" outcome. * * @generated from field: int64 successful_attempt_count = 2; */ successfulAttemptCount: bigint; /** * Number of attempts with the "failure" outcome. * * @generated from field: int64 failed_attempt_count = 3; */ failedAttemptCount: bigint; /** * Number of attempts with any other outcome, such as "cancelled" or "skipped". * * @generated from field: int64 other_attempt_count = 4; */ otherAttemptCount: bigint; /** * Compute time used, in vCPU-seconds. * * @generated from field: double vcpu_seconds = 5; */ vcpuSeconds: number; /** * Elapsed attempt time, in seconds. * * @generated from field: double elapsed_seconds = 6; */ elapsedSeconds: number; }; /** * Describes the message depot.core.v1.DepotCIUsageTotals. * Use `create(DepotCIUsageTotalsSchema)` to create a new message. */ declare const DepotCIUsageTotalsSchema: GenMessage; /** * Daily test results counts. * * @generated from message depot.core.v1.TestResultsUsageDay */ type TestResultsUsageDay = Message<'depot.core.v1.TestResultsUsageDay'> & { /** * Number of tests reported from Depot CI jobs. * * @generated from field: int64 depot_ci_test_count = 1; */ depotCiTestCount: bigint; /** * Number of tests reported from GitHub Actions jobs. * * @generated from field: int64 github_actions_test_count = 2; */ githubActionsTestCount: bigint; /** * Number of tests reported from all sources. * * @generated from field: int64 total_test_count = 3; */ totalTestCount: bigint; }; /** * Describes the message depot.core.v1.TestResultsUsageDay. * Use `create(TestResultsUsageDaySchema)` to create a new message. */ declare const TestResultsUsageDaySchema: GenMessage; /** * Test results totals. * * @generated from message depot.core.v1.TestResultsUsageTotals */ type TestResultsUsageTotals = Message<'depot.core.v1.TestResultsUsageTotals'> & { /** * Number of test reports received in the window. * * @generated from field: int64 report_count = 1; */ reportCount: bigint; /** * Number of tests in those reports. * * @generated from field: int64 test_count = 2; */ testCount: bigint; /** * Number of billable tests. Tests received before August 1, 2026 are never billable. * * @generated from field: int64 billable_test_count = 3; */ billableTestCount: bigint; }; /** * Describes the message depot.core.v1.TestResultsUsageTotals. * Use `create(TestResultsUsageTotalsSchema)` to create a new message. */ declare const TestResultsUsageTotalsSchema: GenMessage; /** * Agent sandbox totals. * * @generated from message depot.core.v1.AgentSandboxUsageTotals */ type AgentSandboxUsageTotals = Message<'depot.core.v1.AgentSandboxUsageTotals'> & { /** * Number of sandbox sessions that completed in the window. * * @generated from field: int64 session_count = 1; */ sessionCount: bigint; /** * Number of sessions that finished normally. * * @generated from field: int64 finished_session_count = 2; */ finishedSessionCount: bigint; /** * Number of sessions that failed. * * @generated from field: int64 failed_session_count = 3; */ failedSessionCount: bigint; /** * Total session duration, in seconds. * * @generated from field: double billable_seconds = 4; */ billableSeconds: number; }; /** * Describes the message depot.core.v1.AgentSandboxUsageTotals. * Use `create(AgentSandboxUsageTotalsSchema)` to create a new message. */ declare const AgentSandboxUsageTotalsSchema: GenMessage; /** * Daily storage and transfer values, excluding Depot Registry storage. * * @generated from message depot.core.v1.StorageUsageDay */ type StorageUsageDay = Message<'depot.core.v1.StorageUsageDay'> & { /** * Total layer cache storage used across projects, in GB. Each project's daily average is summed. * * @generated from field: double layer_cache_gb = 1; */ layerCacheGb: number; /** * Average remote build cache storage used, in GB. * * @generated from field: double remote_build_cache_gb = 2; */ remoteBuildCacheGb: number; /** * Data transferred out of the Depot Registry, in bytes. * * @generated from field: int64 registry_data_transfer_bytes = 3; */ registryDataTransferBytes: bigint; }; /** * Describes the message depot.core.v1.StorageUsageDay. * Use `create(StorageUsageDaySchema)` to create a new message. */ declare const StorageUsageDaySchema: GenMessage; /** * Storage and transfer totals, excluding Depot Registry storage. * * @generated from message depot.core.v1.StorageUsageTotals */ type StorageUsageTotals = Message<'depot.core.v1.StorageUsageTotals'> & { /** * Average daily layer cache storage across the days in the window that have started, rounded to whole GB. * * @generated from field: int64 layer_cache_gb = 1; */ layerCacheGb: bigint; /** * Average daily remote build cache storage across the days in the window that have started, rounded to whole GB. * * @generated from field: int64 remote_build_cache_gb = 2; */ remoteBuildCacheGb: bigint; /** * Data transferred out of the Depot Registry in the window, in bytes. * * @generated from field: int64 registry_data_transfer_bytes = 3; */ registryDataTransferBytes: bigint; }; /** * Describes the message depot.core.v1.StorageUsageTotals. * Use `create(StorageUsageTotalsSchema)` to create a new message. */ declare const StorageUsageTotalsSchema: GenMessage; /** * @generated from message depot.core.v1.OrganizationUsageDay */ type OrganizationUsageDay = Message<'depot.core.v1.OrganizationUsageDay'> & { /** * Calendar day in UTC, in "YYYY-MM-DD" format. * * @generated from field: string date = 1; */ date: string; /** * True when the day has not ended yet or is only partly inside the window. * * @generated from field: bool partial = 2; */ partial: boolean; /** * Container builds that finished on this day. * * @generated from field: depot.core.v1.ContainerBuildUsageTotals container_builds = 3; */ containerBuilds?: ContainerBuildUsageTotals | undefined; /** * GitHub Actions jobs that finished on this day. * * @generated from field: depot.core.v1.GithubActionsUsageTotals github_actions = 4; */ githubActions?: GithubActionsUsageTotals | undefined; /** * Depot CI job attempts that finished on this day. Zero before May 22, 2026, when Depot CI usage tracking started. * * @generated from field: depot.core.v1.DepotCIUsageTotals depot_ci = 5; */ depotCi?: DepotCIUsageTotals | undefined; /** * Tests reported on this day. Zero before July 22, 2026, when test results usage tracking started. * * @generated from field: depot.core.v1.TestResultsUsageDay test_results = 6; */ testResults?: TestResultsUsageDay | undefined; /** * Storage and transfer on this day. * * @generated from field: depot.core.v1.StorageUsageDay storage = 7; */ storage?: StorageUsageDay | undefined; /** * Agent sandbox sessions that completed on this day. * * @generated from field: depot.core.v1.AgentSandboxUsageTotals agent_sandboxes = 8; */ agentSandboxes?: AgentSandboxUsageTotals | undefined; }; /** * Describes the message depot.core.v1.OrganizationUsageDay. * Use `create(OrganizationUsageDaySchema)` to create a new message. */ declare const OrganizationUsageDaySchema: GenMessage; /** * @generated from message depot.core.v1.OrganizationUsageTotals */ type OrganizationUsageTotals = Message<'depot.core.v1.OrganizationUsageTotals'> & { /** * Container build totals. * * @generated from field: depot.core.v1.ContainerBuildUsageTotals container_builds = 1; */ containerBuilds?: ContainerBuildUsageTotals | undefined; /** * GitHub Actions job totals. * * @generated from field: depot.core.v1.GithubActionsUsageTotals github_actions = 2; */ githubActions?: GithubActionsUsageTotals | undefined; /** * Depot CI job attempt totals. Only covers usage from May 22, 2026 onward. * * @generated from field: depot.core.v1.DepotCIUsageTotals depot_ci = 3; */ depotCi?: DepotCIUsageTotals | undefined; /** * Test results totals. Only covers usage from July 22, 2026 onward. * * @generated from field: depot.core.v1.TestResultsUsageTotals test_results = 4; */ testResults?: TestResultsUsageTotals | undefined; /** * Storage and transfer totals. * * @generated from field: depot.core.v1.StorageUsageTotals storage = 5; */ storage?: StorageUsageTotals | undefined; /** * Agent sandbox totals. * * @generated from field: depot.core.v1.AgentSandboxUsageTotals agent_sandboxes = 6; */ agentSandboxes?: AgentSandboxUsageTotals | undefined; }; /** * Describes the message depot.core.v1.OrganizationUsageTotals. * Use `create(OrganizationUsageTotalsSchema)` to create a new message. */ declare const OrganizationUsageTotalsSchema: GenMessage; /** * @generated from message depot.core.v1.GetOrganizationUsageSeriesResponse */ type GetOrganizationUsageSeriesResponse = Message<'depot.core.v1.GetOrganizationUsageSeriesResponse'> & { /** * Coverage and attribution limitations for each selected product. Inspect this before treating zero values as no usage. * * @generated from field: repeated depot.core.v1.UsageAnalyticsCoverage coverage = 5; */ coverage: UsageAnalyticsCoverage[]; /** * Inclusive start of the window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_start = 1; */ periodStart?: Timestamp | undefined; /** * Exclusive end of the window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_end = 2; */ periodEnd?: Timestamp | undefined; /** * Totals for the whole window. * * @generated from field: depot.core.v1.OrganizationUsageTotals totals = 3; */ totals?: OrganizationUsageTotals | undefined; /** * One entry for each day in the window, in date order. Days without usage have zero values. * * @generated from field: repeated depot.core.v1.OrganizationUsageDay days = 4; */ days: OrganizationUsageDay[]; }; /** * Describes the message depot.core.v1.GetOrganizationUsageSeriesResponse. * Use `create(GetOrganizationUsageSeriesResponseSchema)` to create a new message. */ declare const GetOrganizationUsageSeriesResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListContainerBuildUsageByProjectRequest */ type ListContainerBuildUsageByProjectRequest = Message<'depot.core.v1.ListContainerBuildUsageByProjectRequest'> & { /** * Time window to report. To see one day, set the window to that UTC day. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; /** * Number of rows to return per page. Maximum: 500. Default: 100. * * @generated from field: int32 page_size = 2; */ pageSize: number; /** * Token to fetch the next page. Use the same filters and `timeRange` as the request that returned it, or leave `timeRange` * unset to keep that window. Leave empty to fetch the first page. * * @generated from field: string page_token = 3; */ pageToken: string; /** * An array of project IDs. Leave empty to include all projects. Maximum: 100 values. * * @generated from field: repeated string project_ids = 4; */ projectIds: string[]; }; /** * Describes the message depot.core.v1.ListContainerBuildUsageByProjectRequest. * Use `create(ListContainerBuildUsageByProjectRequestSchema)` to create a new message. */ declare const ListContainerBuildUsageByProjectRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ContainerBuildProjectUsage */ type ContainerBuildProjectUsage = Message<'depot.core.v1.ContainerBuildProjectUsage'> & { /** * Unique identifier for the project. * * @generated from field: string project_id = 1; */ projectId: string; /** * Project name. Empty when the project was deleted. * * @generated from field: string project_name = 2; */ projectName: string; /** * Number of builds that finished in the window. * * @generated from field: int64 build_count = 3; */ buildCount: bigint; /** * Total build duration, in seconds. * * @generated from field: double billable_seconds = 4; */ billableSeconds: number; /** * Build time saved by cache hits, in seconds. * * @generated from field: double saved_seconds = 5; */ savedSeconds: number; /** * Share of build steps that were cache hits, from 0 to 1. * * @generated from field: double cache_hit_rate = 6; */ cacheHitRate: number; /** * Share of builds that ended with an error, from 0 to 1. * * @generated from field: double error_rate = 7; */ errorRate: number; }; /** * Describes the message depot.core.v1.ContainerBuildProjectUsage. * Use `create(ContainerBuildProjectUsageSchema)` to create a new message. */ declare const ContainerBuildProjectUsageSchema: GenMessage; /** * @generated from message depot.core.v1.ListContainerBuildUsageByProjectResponse */ type ListContainerBuildUsageByProjectResponse = Message<'depot.core.v1.ListContainerBuildUsageByProjectResponse'> & { /** * Projects with builds in the window, ordered by billable time with the largest first. * * @generated from field: repeated depot.core.v1.ContainerBuildProjectUsage projects = 1; */ projects: ContainerBuildProjectUsage[]; /** * Token to fetch the next page. Empty when there are no more rows. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListContainerBuildUsageByProjectResponse. * Use `create(ListContainerBuildUsageByProjectResponseSchema)` to create a new message. */ declare const ListContainerBuildUsageByProjectResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsUsageByRepositoryRequest */ type ListGithubActionsUsageByRepositoryRequest = Message<'depot.core.v1.ListGithubActionsUsageByRepositoryRequest'> & { /** * Time window to report. To see one day, set the window to that UTC day. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; /** * Number of rows to return per page. Maximum: 500. Default: 100. * * @generated from field: int32 page_size = 2; */ pageSize: number; /** * Token to fetch the next page. Use the same filters and `timeRange` as the request that returned it, or leave `timeRange` * unset to keep that window. Leave empty to fetch the first page. * * @generated from field: string page_token = 3; */ pageToken: string; /** * An array of repositories in "owner/name" format. Leave empty to include all repositories. Maximum: 100 values. * * @generated from field: repeated string repositories = 4; */ repositories: string[]; }; /** * Describes the message depot.core.v1.ListGithubActionsUsageByRepositoryRequest. * Use `create(ListGithubActionsUsageByRepositoryRequestSchema)` to create a new message. */ declare const ListGithubActionsUsageByRepositoryRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsRepositoryUsage */ type GithubActionsRepositoryUsage = Message<'depot.core.v1.GithubActionsRepositoryUsage'> & { /** * Repository, in "owner/name" format. Usage recorded under an earlier name of a renamed repository is grouped under * the current name. * * @generated from field: string repository = 1; */ repository: string; /** * Number of jobs that finished in the window. * * @generated from field: int64 job_count = 2; */ jobCount: bigint; /** * Billable job time, in seconds. * * @generated from field: double billable_seconds = 3; */ billableSeconds: number; /** * Elapsed job time, in seconds. * * @generated from field: double elapsed_seconds = 4; */ elapsedSeconds: number; /** * Average elapsed time per job, in seconds. * * @generated from field: double average_job_seconds = 5; */ averageJobSeconds: number; /** * Share of jobs that failed, from 0 to 1. * * @generated from field: double failure_rate = 6; */ failureRate: number; }; /** * Describes the message depot.core.v1.GithubActionsRepositoryUsage. * Use `create(GithubActionsRepositoryUsageSchema)` to create a new message. */ declare const GithubActionsRepositoryUsageSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsUsageByRepositoryResponse */ type ListGithubActionsUsageByRepositoryResponse = Message<'depot.core.v1.ListGithubActionsUsageByRepositoryResponse'> & { /** * Repositories with jobs in the window, ordered by billable time with the largest first. * * @generated from field: repeated depot.core.v1.GithubActionsRepositoryUsage repositories = 1; */ repositories: GithubActionsRepositoryUsage[]; /** * Token to fetch the next page. Empty when there are no more rows. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListGithubActionsUsageByRepositoryResponse. * Use `create(ListGithubActionsUsageByRepositoryResponseSchema)` to create a new message. */ declare const ListGithubActionsUsageByRepositoryResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsUsageByRunnerRequest */ type ListGithubActionsUsageByRunnerRequest = Message<'depot.core.v1.ListGithubActionsUsageByRunnerRequest'> & { /** * Time window to report. To see one day, set the window to that UTC day. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; /** * Number of rows to return per page. Maximum: 500. Default: 100. * * @generated from field: int32 page_size = 2; */ pageSize: number; /** * Token to fetch the next page. Use the same filters and `timeRange` as the request that returned it, or leave `timeRange` * unset to keep that window. Leave empty to fetch the first page. * * @generated from field: string page_token = 3; */ pageToken: string; /** * An array of repositories in "owner/name" format. Leave empty to include all repositories. Maximum: 100 values. * * @generated from field: repeated string repositories = 4; */ repositories: string[]; }; /** * Describes the message depot.core.v1.ListGithubActionsUsageByRunnerRequest. * Use `create(ListGithubActionsUsageByRunnerRequestSchema)` to create a new message. */ declare const ListGithubActionsUsageByRunnerRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsRunnerUsage */ type GithubActionsRunnerUsage = Message<'depot.core.v1.GithubActionsRunnerUsage'> & { /** * Runner label the jobs requested. For example, "depot-ubuntu-24.04". * * @generated from field: string runner_label = 1; */ runnerLabel: string; /** * Number of jobs that finished in the window. * * @generated from field: int64 job_count = 2; */ jobCount: bigint; /** * Billable job time, in seconds. * * @generated from field: double billable_seconds = 3; */ billableSeconds: number; /** * Elapsed job time, in seconds. * * @generated from field: double elapsed_seconds = 4; */ elapsedSeconds: number; }; /** * Describes the message depot.core.v1.GithubActionsRunnerUsage. * Use `create(GithubActionsRunnerUsageSchema)` to create a new message. */ declare const GithubActionsRunnerUsageSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsUsageByRunnerResponse */ type ListGithubActionsUsageByRunnerResponse = Message<'depot.core.v1.ListGithubActionsUsageByRunnerResponse'> & { /** * Runner labels with jobs in the window, ordered by billable time with the largest first. * * @generated from field: repeated depot.core.v1.GithubActionsRunnerUsage runners = 1; */ runners: GithubActionsRunnerUsage[]; /** * Token to fetch the next page. Empty when there are no more rows. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListGithubActionsUsageByRunnerResponse. * Use `create(ListGithubActionsUsageByRunnerResponseSchema)` to create a new message. */ declare const ListGithubActionsUsageByRunnerResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsUsageByJobRequest */ type ListGithubActionsUsageByJobRequest = Message<'depot.core.v1.ListGithubActionsUsageByJobRequest'> & { /** * Time window to report. To see one day, set the window to that UTC day. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; /** * Number of rows to return per page. Maximum: 500. Default: 100. * * @generated from field: int32 page_size = 2; */ pageSize: number; /** * Token to fetch the next page. Use the same filters and `timeRange` as the request that returned it, or leave `timeRange` * unset to keep that window. Leave empty to fetch the first page. * * @generated from field: string page_token = 3; */ pageToken: string; /** * An array of repositories in "owner/name" format. Leave empty to include all repositories. Maximum: 100 values. * * @generated from field: repeated string repositories = 4; */ repositories: string[]; /** * An array of workflow file paths. Leave empty to include all workflows; use an empty string to select unattributed usage. Maximum: 100 values. * * @generated from field: repeated string workflow_paths = 5; */ workflowPaths: string[]; }; /** * Describes the message depot.core.v1.ListGithubActionsUsageByJobRequest. * Use `create(ListGithubActionsUsageByJobRequestSchema)` to create a new message. */ declare const ListGithubActionsUsageByJobRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsJobNameUsage */ type GithubActionsJobNameUsage = Message<'depot.core.v1.GithubActionsJobNameUsage'> & { /** * Recorded workflow file path. Empty when unavailable; these rows remain separate from attributed usage. * Use the repository and this path together to identify a workflow, rather than its display name or job name. * * @generated from field: string workflow_path = 9; */ workflowPath: string; /** * Repository, in "owner/name" format. Usage recorded under an earlier name of a renamed repository is grouped under * the current name. * * @generated from field: string repository = 1; */ repository: string; /** * Workflow name. Empty when GitHub did not report one. * * @generated from field: string workflow_name = 2; */ workflowName: string; /** * Job name as reported by GitHub. The Depot usage page shows this value in its workflow column. * * @generated from field: string job_name = 3; */ jobName: string; /** * Number of jobs that finished in the window. * * @generated from field: int64 job_count = 4; */ jobCount: bigint; /** * Billable job time, in seconds. * * @generated from field: double billable_seconds = 5; */ billableSeconds: number; /** * Elapsed job time, in seconds. * * @generated from field: double elapsed_seconds = 6; */ elapsedSeconds: number; /** * Average elapsed time per job, in seconds. * * @generated from field: double average_job_seconds = 7; */ averageJobSeconds: number; /** * Share of jobs that failed, from 0 to 1. * * @generated from field: double failure_rate = 8; */ failureRate: number; }; /** * Describes the message depot.core.v1.GithubActionsJobNameUsage. * Use `create(GithubActionsJobNameUsageSchema)` to create a new message. */ declare const GithubActionsJobNameUsageSchema: GenMessage; /** * @generated from message depot.core.v1.ListGithubActionsUsageByJobResponse */ type ListGithubActionsUsageByJobResponse = Message<'depot.core.v1.ListGithubActionsUsageByJobResponse'> & { /** * Jobs with usage in the window, ordered by billable time with the largest first. * * @generated from field: repeated depot.core.v1.GithubActionsJobNameUsage jobs = 1; */ jobs: GithubActionsJobNameUsage[]; /** * Token to fetch the next page. Empty when there are no more rows. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListGithubActionsUsageByJobResponse. * Use `create(ListGithubActionsUsageByJobResponseSchema)` to create a new message. */ declare const ListGithubActionsUsageByJobResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListDepotCIUsageByRepositoryRequest */ type ListDepotCIUsageByRepositoryRequest = Message<'depot.core.v1.ListDepotCIUsageByRepositoryRequest'> & { /** * Time window to report. To see one day, set the window to that UTC day. Usage before May 22, 2026 is not available. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; /** * Number of rows to return per page. Maximum: 500. Default: 100. * * @generated from field: int32 page_size = 2; */ pageSize: number; /** * Token to fetch the next page. Use the same filters and `timeRange` as the request that returned it, or leave `timeRange` * unset to keep that window. Leave empty to fetch the first page. * * @generated from field: string page_token = 3; */ pageToken: string; /** * An array of recorded repository names in "owner/name" format. Leave empty to include all repositories. Maximum: 100 values. * * @generated from field: repeated string repositories = 4; */ repositories: string[]; }; /** * Describes the message depot.core.v1.ListDepotCIUsageByRepositoryRequest. * Use `create(ListDepotCIUsageByRepositoryRequestSchema)` to create a new message. */ declare const ListDepotCIUsageByRepositoryRequestSchema: GenMessage; /** * @generated from message depot.core.v1.DepotCIRepositoryUsage */ type DepotCIRepositoryUsage = Message<'depot.core.v1.DepotCIRepositoryUsage'> & { /** * Repository, in "owner/name" format. * * @generated from field: string repository = 1; */ repository: string; /** * Number of job attempts that finished in the window. * * @generated from field: int64 attempt_count = 2; */ attemptCount: bigint; /** * Compute time used, in vCPU-seconds. * * @generated from field: double vcpu_seconds = 3; */ vcpuSeconds: number; /** * Elapsed attempt time, in seconds. * * @generated from field: double elapsed_seconds = 4; */ elapsedSeconds: number; /** * Average elapsed time per attempt, in seconds. * * @generated from field: double average_attempt_seconds = 5; */ averageAttemptSeconds: number; /** * Share of attempts with the "failure" outcome, from 0 to 1. * * @generated from field: double failure_rate = 6; */ failureRate: number; }; /** * Describes the message depot.core.v1.DepotCIRepositoryUsage. * Use `create(DepotCIRepositoryUsageSchema)` to create a new message. */ declare const DepotCIRepositoryUsageSchema: GenMessage; /** * @generated from message depot.core.v1.ListDepotCIUsageByRepositoryResponse */ type ListDepotCIUsageByRepositoryResponse = Message<'depot.core.v1.ListDepotCIUsageByRepositoryResponse'> & { /** * Repositories with attempts in the window, ordered by compute time with the largest first. * * @generated from field: repeated depot.core.v1.DepotCIRepositoryUsage repositories = 1; */ repositories: DepotCIRepositoryUsage[]; /** * Token to fetch the next page. Empty when there are no more rows. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListDepotCIUsageByRepositoryResponse. * Use `create(ListDepotCIUsageByRepositoryResponseSchema)` to create a new message. */ declare const ListDepotCIUsageByRepositoryResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListDepotCIUsageByWorkflowRequest */ type ListDepotCIUsageByWorkflowRequest = Message<'depot.core.v1.ListDepotCIUsageByWorkflowRequest'> & { /** * Time window to report. To see one day, set the window to that UTC day. Usage before May 22, 2026 is not available. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; /** * Number of rows to return per page. Maximum: 500. Default: 100. * * @generated from field: int32 page_size = 2; */ pageSize: number; /** * Token to fetch the next page. Use the same filters and `timeRange` as the request that returned it, or leave `timeRange` * unset to keep that window. Leave empty to fetch the first page. * * @generated from field: string page_token = 3; */ pageToken: string; /** * An array of recorded repository names in "owner/name" format. Leave empty to include all repositories. Maximum: 100 values. * * @generated from field: repeated string repositories = 4; */ repositories: string[]; /** * An array of workflow keys returned by this method. Leave empty to include all workflows; use an empty string to select unattributed usage. Maximum: 100 values. * * @generated from field: repeated string workflow_keys = 5; */ workflowKeys: string[]; }; /** * Describes the message depot.core.v1.ListDepotCIUsageByWorkflowRequest. * Use `create(ListDepotCIUsageByWorkflowRequestSchema)` to create a new message. */ declare const ListDepotCIUsageByWorkflowRequestSchema: GenMessage; /** * @generated from message depot.core.v1.DepotCIWorkflowUsage */ type DepotCIWorkflowUsage = Message<'depot.core.v1.DepotCIWorkflowUsage'> & { /** * Repository, in "owner/name" format. * * @generated from field: string repository = 1; */ repository: string; /** * Stable key for the workflow within the repository. * * @generated from field: string workflow_key = 2; */ workflowKey: string; /** * Unique identifier for the most recent workflow with this key in the window. Use it with `GetWorkflow`. * * @generated from field: string workflow_id = 3; */ workflowId: string; /** * Name of the most recent workflow with this key in the window. * * @generated from field: string workflow_name = 4; */ workflowName: string; /** * Workflow file path of the most recent workflow with this key in the window. For example, ".depot/workflows/ci.yml". * Empty when the workflow has no file path. * * @generated from field: string workflow_path = 5; */ workflowPath: string; /** * Number of job attempts that finished in the window. * * @generated from field: int64 attempt_count = 6; */ attemptCount: bigint; /** * Compute time used, in vCPU-seconds. * * @generated from field: double vcpu_seconds = 7; */ vcpuSeconds: number; /** * Elapsed attempt time, in seconds. * * @generated from field: double elapsed_seconds = 8; */ elapsedSeconds: number; /** * Average elapsed time per attempt, in seconds. * * @generated from field: double average_attempt_seconds = 9; */ averageAttemptSeconds: number; /** * Share of attempts with the "failure" outcome, from 0 to 1. * * @generated from field: double failure_rate = 10; */ failureRate: number; }; /** * Describes the message depot.core.v1.DepotCIWorkflowUsage. * Use `create(DepotCIWorkflowUsageSchema)` to create a new message. */ declare const DepotCIWorkflowUsageSchema: GenMessage; /** * @generated from message depot.core.v1.ListDepotCIUsageByWorkflowResponse */ type ListDepotCIUsageByWorkflowResponse = Message<'depot.core.v1.ListDepotCIUsageByWorkflowResponse'> & { /** * Workflows with attempts in the window, ordered by compute time with the largest first. * * @generated from field: repeated depot.core.v1.DepotCIWorkflowUsage workflows = 1; */ workflows: DepotCIWorkflowUsage[]; /** * Token to fetch the next page. Empty when there are no more rows. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListDepotCIUsageByWorkflowResponse. * Use `create(ListDepotCIUsageByWorkflowResponseSchema)` to create a new message. */ declare const ListDepotCIUsageByWorkflowResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ListTestResultsUsageByRepositoryRequest */ type ListTestResultsUsageByRepositoryRequest = Message<'depot.core.v1.ListTestResultsUsageByRepositoryRequest'> & { /** * Time window to report. Usage before July 22, 2026 is not available. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; /** * Number of rows to return per page. Maximum: 500. Default: 100. * * @generated from field: int32 page_size = 2; */ pageSize: number; /** * Token to fetch the next page. Use the same filters and `timeRange` as the request that returned it, or leave `timeRange` * unset to keep that window. Leave empty to fetch the first page. * * @generated from field: string page_token = 3; */ pageToken: string; /** * An array of repositories in "owner/name" format. Leave empty to include all repositories; use an empty string to select unattributed usage. Maximum: 100 values. * * @generated from field: repeated string repositories = 4; */ repositories: string[]; }; /** * Describes the message depot.core.v1.ListTestResultsUsageByRepositoryRequest. * Use `create(ListTestResultsUsageByRepositoryRequestSchema)` to create a new message. */ declare const ListTestResultsUsageByRepositoryRequestSchema: GenMessage; /** * @generated from message depot.core.v1.TestResultsRepositoryUsage */ type TestResultsRepositoryUsage = Message<'depot.core.v1.TestResultsRepositoryUsage'> & { /** * Repository, in "owner/name" format. Empty when the reports did not name a repository. * * @generated from field: string repository = 1; */ repository: string; /** * Number of test reports received in the window. * * @generated from field: int64 report_count = 2; */ reportCount: bigint; /** * Number of tests in those reports. * * @generated from field: int64 test_count = 3; */ testCount: bigint; /** * Number of billable tests. Tests received before August 1, 2026 are never billable. * * @generated from field: int64 billable_test_count = 4; */ billableTestCount: bigint; }; /** * Describes the message depot.core.v1.TestResultsRepositoryUsage. * Use `create(TestResultsRepositoryUsageSchema)` to create a new message. */ declare const TestResultsRepositoryUsageSchema: GenMessage; /** * @generated from message depot.core.v1.ListTestResultsUsageByRepositoryResponse */ type ListTestResultsUsageByRepositoryResponse = Message<'depot.core.v1.ListTestResultsUsageByRepositoryResponse'> & { /** * Repositories with test reports in the window, ordered by billable tests with the largest first. * * @generated from field: repeated depot.core.v1.TestResultsRepositoryUsage repositories = 1; */ repositories: TestResultsRepositoryUsage[]; /** * Token to fetch the next page. Empty when there are no more rows. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListTestResultsUsageByRepositoryResponse. * Use `create(ListTestResultsUsageByRepositoryResponseSchema)` to create a new message. */ declare const ListTestResultsUsageByRepositoryResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetUsageReportRequest */ type GetUsageReportRequest = Message<'depot.core.v1.GetUsageReportRequest'> & { /** * Report window. Default: the current calendar month in UTC up to the current time. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; }; /** * Describes the message depot.core.v1.GetUsageReportRequest. * Use `create(GetUsageReportRequestSchema)` to create a new message. */ declare const GetUsageReportRequestSchema: GenMessage; /** * @generated from message depot.core.v1.UsageReportContainerBuildRow */ type UsageReportContainerBuildRow = Message<'depot.core.v1.UsageReportContainerBuildRow'> & { /** * Project name. * * @generated from field: string project_name = 1; */ projectName: string; /** * Number of builds that finished in the window. * * @generated from field: int64 build_count = 2; */ buildCount: bigint; /** * Build time saved by cache hits, in minutes, rounded to two decimal places. * * @generated from field: double minutes_saved = 3; */ minutesSaved: number; /** * Billable build time, in minutes, rounded to two decimal places. * * @generated from field: double minutes_billed = 4; */ minutesBilled: number; }; /** * Describes the message depot.core.v1.UsageReportContainerBuildRow. * Use `create(UsageReportContainerBuildRowSchema)` to create a new message. */ declare const UsageReportContainerBuildRowSchema: GenMessage; /** * @generated from message depot.core.v1.UsageReportGithubActionsJobRow */ type UsageReportGithubActionsJobRow = Message<'depot.core.v1.UsageReportGithubActionsJobRow'> & { /** * Repository, in "owner/name" format. * * @generated from field: string repository = 1; */ repository: string; /** * Job name as reported by GitHub. The CSV export labels this column "workflow". * * @generated from field: string job_name = 2; */ jobName: string; /** * Runner label the jobs requested. * * @generated from field: string runner_label = 3; */ runnerLabel: string; /** * Number of jobs that finished in the window. * * @generated from field: int64 job_count = 4; */ jobCount: bigint; /** * Elapsed job time, in minutes, rounded to two decimal places. * * @generated from field: double minutes_elapsed = 5; */ minutesElapsed: number; /** * Billable job time, in minutes, rounded to two decimal places. * * @generated from field: double minutes_billed = 6; */ minutesBilled: number; }; /** * Describes the message depot.core.v1.UsageReportGithubActionsJobRow. * Use `create(UsageReportGithubActionsJobRowSchema)` to create a new message. */ declare const UsageReportGithubActionsJobRowSchema: GenMessage; /** * @generated from message depot.core.v1.UsageReportStorageRow */ type UsageReportStorageRow = Message<'depot.core.v1.UsageReportStorageRow'> & { /** * Storage type. Can be "Container Layer Cache" or "Remote Build Cache". * * @generated from field: string storage_type = 1; */ storageType: string; /** * Average storage used in the window, in GB, rounded to two decimal places. * * @generated from field: double total_gb = 2; */ totalGb: number; }; /** * Describes the message depot.core.v1.UsageReportStorageRow. * Use `create(UsageReportStorageRowSchema)` to create a new message. */ declare const UsageReportStorageRowSchema: GenMessage; /** * @generated from message depot.core.v1.UsageReportAgentSandboxRow */ type UsageReportAgentSandboxRow = Message<'depot.core.v1.UsageReportAgentSandboxRow'> & { /** * Agent type. For example, "Claude Code". * * @generated from field: string agent_type = 1; */ agentType: string; /** * Number of sandbox compute records that finished in the window. * * @generated from field: int64 sandbox_count = 2; */ sandboxCount: bigint; /** * Elapsed sandbox time, in minutes, rounded to two decimal places. * * @generated from field: double minutes_elapsed = 3; */ minutesElapsed: number; /** * Billable sandbox time, in minutes, rounded to two decimal places. * * @generated from field: double minutes_billed = 4; */ minutesBilled: number; }; /** * Describes the message depot.core.v1.UsageReportAgentSandboxRow. * Use `create(UsageReportAgentSandboxRowSchema)` to create a new message. */ declare const UsageReportAgentSandboxRowSchema: GenMessage; /** * @generated from message depot.core.v1.UsageReportTestResultsRow */ type UsageReportTestResultsRow = Message<'depot.core.v1.UsageReportTestResultsRow'> & { /** * Source of the test reports. Can be "Depot CI" or "GitHub Actions". * * @generated from field: string source = 1; */ source: string; /** * Number of tests reported. * * @generated from field: int64 total_test_count = 2; */ totalTestCount: bigint; /** * Number of billable tests. Tests received before August 1, 2026 are never billable. * * @generated from field: int64 billable_test_count = 3; */ billableTestCount: bigint; }; /** * Describes the message depot.core.v1.UsageReportTestResultsRow. * Use `create(UsageReportTestResultsRowSchema)` to create a new message. */ declare const UsageReportTestResultsRowSchema: GenMessage; /** * @generated from message depot.core.v1.GetUsageReportResponse */ type GetUsageReportResponse = Message<'depot.core.v1.GetUsageReportResponse'> & { /** * Inclusive start of the report window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_start = 1; */ periodStart?: Timestamp | undefined; /** * Exclusive end of the report window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_end = 2; */ periodEnd?: Timestamp | undefined; /** * Container build usage for each project with builds, ordered by project name. Maximum: 5000 rows. * * @generated from field: repeated depot.core.v1.UsageReportContainerBuildRow container_builds = 3; */ containerBuilds: UsageReportContainerBuildRow[]; /** * True when `containerBuilds` was cut off at the maximum row count. * * @generated from field: bool container_builds_truncated = 4; */ containerBuildsTruncated: boolean; /** * GitHub Actions job usage for each repository, job name, and runner label, in that order. Maximum: 5000 rows. * * @generated from field: repeated depot.core.v1.UsageReportGithubActionsJobRow github_actions_jobs = 5; */ githubActionsJobs: UsageReportGithubActionsJobRow[]; /** * True when `githubActionsJobs` was cut off at the maximum row count. * * @generated from field: bool github_actions_jobs_truncated = 6; */ githubActionsJobsTruncated: boolean; /** * Average storage used, one row for each storage type. Depot Registry storage is not included. * * @generated from field: repeated depot.core.v1.UsageReportStorageRow storage = 7; */ storage: UsageReportStorageRow[]; /** * Agent sandbox usage for each agent type. * * @generated from field: repeated depot.core.v1.UsageReportAgentSandboxRow agent_sandboxes = 8; */ agentSandboxes: UsageReportAgentSandboxRow[]; /** * Test results usage for each source. Empty when the window ends before July 22, 2026, when test results usage * tracking started. * * @generated from field: repeated depot.core.v1.UsageReportTestResultsRow test_results = 9; */ testResults: UsageReportTestResultsRow[]; }; /** * Describes the message depot.core.v1.GetUsageReportResponse. * Use `create(GetUsageReportResponseSchema)` to create a new message. */ declare const GetUsageReportResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetAgentSandboxUsageRequest */ type GetAgentSandboxUsageRequest = Message<'depot.core.v1.GetAgentSandboxUsageRequest'> & { /** * Time window for daily compute time and recent sessions. * * @generated from field: depot.core.v1.UsageAnalyticsTimeRange time_range = 1; */ timeRange?: UsageAnalyticsTimeRange | undefined; }; /** * Describes the message depot.core.v1.GetAgentSandboxUsageRequest. * Use `create(GetAgentSandboxUsageRequestSchema)` to create a new message. */ declare const GetAgentSandboxUsageRequestSchema: GenMessage; /** * @generated from message depot.core.v1.AgentSandboxComputeDay */ type AgentSandboxComputeDay = Message<'depot.core.v1.AgentSandboxComputeDay'> & { /** * Calendar day in UTC, in "YYYY-MM-DD" format. * * @generated from field: string date = 1; */ date: string; /** * True when the day has not ended yet or is only partly inside the window. * * @generated from field: bool partial = 2; */ partial: boolean; /** * Claude Code sandbox compute time that finished on this day, in minutes. * * @generated from field: double compute_minutes = 3; */ computeMinutes: number; }; /** * Describes the message depot.core.v1.AgentSandboxComputeDay. * Use `create(AgentSandboxComputeDaySchema)` to create a new message. */ declare const AgentSandboxComputeDaySchema: GenMessage; /** * @generated from message depot.core.v1.AgentSandboxSessionDuration */ type AgentSandboxSessionDuration = Message<'depot.core.v1.AgentSandboxSessionDuration'> & { /** * Unique identifier for the agent session. * * @generated from field: string session_id = 1; */ sessionId: string; /** * Time the sandbox was created, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp | undefined; /** * Time the sandbox completed, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp completed_at = 3; */ completedAt?: Timestamp | undefined; /** * Sandbox duration, in seconds, rounded to the nearest second. * * @generated from field: int64 duration_seconds = 4; */ durationSeconds: bigint; /** * True when the sandbox session failed. * * @generated from field: bool failed = 5; */ failed: boolean; }; /** * Describes the message depot.core.v1.AgentSandboxSessionDuration. * Use `create(AgentSandboxSessionDurationSchema)` to create a new message. */ declare const AgentSandboxSessionDurationSchema: GenMessage; /** * @generated from message depot.core.v1.GetAgentSandboxUsageResponse */ type GetAgentSandboxUsageResponse = Message<'depot.core.v1.GetAgentSandboxUsageResponse'> & { /** * Inclusive start of the window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_start = 1; */ periodStart?: Timestamp | undefined; /** * Exclusive end of the window, in RFC 3339 format. * * @generated from field: google.protobuf.Timestamp period_end = 2; */ periodEnd?: Timestamp | undefined; /** * One entry for each day in the window, in date order. Days without usage have zero values. * * @generated from field: repeated depot.core.v1.AgentSandboxComputeDay days = 3; */ days: AgentSandboxComputeDay[]; /** * Number of Claude Code agent sessions that have a sandbox running now. This value does not depend on `timeRange`. * * @generated from field: int64 running_session_count = 4; */ runningSessionCount: bigint; /** * An array of the most recent Claude Code sandboxes that completed in the window, newest first. Maximum: 30. * * @generated from field: repeated depot.core.v1.AgentSandboxSessionDuration recent_sessions = 5; */ recentSessions: AgentSandboxSessionDuration[]; }; /** * Describes the message depot.core.v1.GetAgentSandboxUsageResponse. * Use `create(GetAgentSandboxUsageResponseSchema)` to create a new message. */ declare const GetAgentSandboxUsageResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetCurrentPeriodUsageRequest */ type GetCurrentPeriodUsageRequest = Message<'depot.core.v1.GetCurrentPeriodUsageRequest'> & {}; /** * Describes the message depot.core.v1.GetCurrentPeriodUsageRequest. * Use `create(GetCurrentPeriodUsageRequestSchema)` to create a new message. */ declare const GetCurrentPeriodUsageRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetCurrentPeriodUsageResponse */ type GetCurrentPeriodUsageResponse = Message<'depot.core.v1.GetCurrentPeriodUsageResponse'> & { /** * Start of the organization's current usage period, in RFC 3339 format. When the organization has no usage period, * this is the start of the current calendar month in UTC. * * @generated from field: google.protobuf.Timestamp period_start = 1; */ periodStart?: Timestamp | undefined; /** * Exclusive end of the organization's current usage period, in RFC 3339 format. When the organization has no usage * period, this is the start of the next calendar month in UTC. * * @generated from field: google.protobuf.Timestamp period_end = 2; */ periodEnd?: Timestamp | undefined; /** * Average daily layer cache storage across the days in the period that have started, rounded to whole GB. * * @generated from field: int64 layer_cache_gb = 3; */ layerCacheGb: bigint; /** * Average remote build cache storage in the period, rounded down to whole GB. * * @generated from field: int64 remote_build_cache_gb = 4; */ remoteBuildCacheGb: bigint; /** * Container build time recorded since the period started, rounded down to whole minutes. * * @generated from field: int64 build_minutes = 5; */ buildMinutes: bigint; /** * GitHub Actions runner time recorded since the period started, rounded down to whole billable minutes. Dedicated * hosts are not included. * * @generated from field: int64 github_actions_minutes = 6; */ githubActionsMinutes: bigint; /** * Depot sandbox compute time recorded since the period started, rounded down to whole billable minutes. Includes * Depot CI jobs and every other Depot sandbox the organization ran, such as SDK sandboxes and agent sandboxes. * * @generated from field: int64 sandbox_minutes = 7; */ sandboxMinutes: bigint; }; /** * Describes the message depot.core.v1.GetCurrentPeriodUsageResponse. * Use `create(GetCurrentPeriodUsageResponseSchema)` to create a new message. */ declare const GetCurrentPeriodUsageResponseSchema: GenMessage; /** * Availability of recorded usage for one selected product. Store failures fail the request instead of reporting zero. * * @generated from message depot.core.v1.UsageAnalyticsCoverage */ type UsageAnalyticsCoverage = Message<'depot.core.v1.UsageAnalyticsCoverage'> & { /** * Product selected in the request. * * @generated from field: string product = 1; */ product: string; /** * Earliest supported usage timestamp. Omitted when there is no fixed tracking start date. * * @generated from field: google.protobuf.Timestamp available_from = 2; */ availableFrom?: Timestamp | undefined; /** * True when the entire requested window predates tracking. Zero values in that window mean unavailable. * * @generated from field: bool unavailable = 3; */ unavailable: boolean; /** * True when part of the requested window predates tracking. * * @generated from field: bool partial_history = 4; */ partialHistory: boolean; /** * Attribution, freshness, and population limitations. * * @generated from field: string note = 5; */ note: string; }; /** * Describes the message depot.core.v1.UsageAnalyticsCoverage. * Use `create(UsageAnalyticsCoverageSchema)` to create a new message. */ declare const UsageAnalyticsCoverageSchema: GenMessage; /** * Read-only usage series and breakdowns for an organization. Every method covers only the calling organization. * * @generated from service depot.core.v1.UsageAnalyticsService */ declare const UsageAnalyticsService: GenService<{ /** * Returns daily container build usage and layer cache storage for one project. * * @generated from rpc depot.core.v1.UsageAnalyticsService.GetProjectUsageSeries */ getProjectUsageSeries: { methodKind: 'unary'; input: typeof GetProjectUsageSeriesRequestSchema; output: typeof GetProjectUsageSeriesResponseSchema; }; /** * Returns daily usage for each product in the organization, with totals for the period. * * @generated from rpc depot.core.v1.UsageAnalyticsService.GetOrganizationUsageSeries */ getOrganizationUsageSeries: { methodKind: 'unary'; input: typeof GetOrganizationUsageSeriesRequestSchema; output: typeof GetOrganizationUsageSeriesResponseSchema; }; /** * Returns container build usage grouped by project. * * @generated from rpc depot.core.v1.UsageAnalyticsService.ListContainerBuildUsageByProject */ listContainerBuildUsageByProject: { methodKind: 'unary'; input: typeof ListContainerBuildUsageByProjectRequestSchema; output: typeof ListContainerBuildUsageByProjectResponseSchema; }; /** * Returns GitHub Actions job usage grouped by repository. * * @generated from rpc depot.core.v1.UsageAnalyticsService.ListGithubActionsUsageByRepository */ listGithubActionsUsageByRepository: { methodKind: 'unary'; input: typeof ListGithubActionsUsageByRepositoryRequestSchema; output: typeof ListGithubActionsUsageByRepositoryResponseSchema; }; /** * Returns GitHub Actions job usage grouped by runner label. * * @generated from rpc depot.core.v1.UsageAnalyticsService.ListGithubActionsUsageByRunner */ listGithubActionsUsageByRunner: { methodKind: 'unary'; input: typeof ListGithubActionsUsageByRunnerRequestSchema; output: typeof ListGithubActionsUsageByRunnerResponseSchema; }; /** * Returns GitHub Actions job usage grouped by repository, workflow, and job name. * * @generated from rpc depot.core.v1.UsageAnalyticsService.ListGithubActionsUsageByJob */ listGithubActionsUsageByJob: { methodKind: 'unary'; input: typeof ListGithubActionsUsageByJobRequestSchema; output: typeof ListGithubActionsUsageByJobResponseSchema; }; /** * Returns Depot CI job attempt usage grouped by repository. * * @generated from rpc depot.core.v1.UsageAnalyticsService.ListDepotCIUsageByRepository */ listDepotCIUsageByRepository: { methodKind: 'unary'; input: typeof ListDepotCIUsageByRepositoryRequestSchema; output: typeof ListDepotCIUsageByRepositoryResponseSchema; }; /** * Returns Depot CI job attempt usage grouped by repository and workflow. * * @generated from rpc depot.core.v1.UsageAnalyticsService.ListDepotCIUsageByWorkflow */ listDepotCIUsageByWorkflow: { methodKind: 'unary'; input: typeof ListDepotCIUsageByWorkflowRequestSchema; output: typeof ListDepotCIUsageByWorkflowResponseSchema; }; /** * Returns test results usage grouped by repository. * * @generated from rpc depot.core.v1.UsageAnalyticsService.ListTestResultsUsageByRepository */ listTestResultsUsageByRepository: { methodKind: 'unary'; input: typeof ListTestResultsUsageByRepositoryRequestSchema; output: typeof ListTestResultsUsageByRepositoryResponseSchema; }; /** * Returns the rows of the usage report CSV export as structured data. * * @generated from rpc depot.core.v1.UsageAnalyticsService.GetUsageReport */ getUsageReport: { methodKind: 'unary'; input: typeof GetUsageReportRequestSchema; output: typeof GetUsageReportResponseSchema; }; /** * Returns agent sandbox compute time per day, the number of running sandboxes, and recent sandbox durations. * * @generated from rpc depot.core.v1.UsageAnalyticsService.GetAgentSandboxUsage */ getAgentSandboxUsage: { methodKind: 'unary'; input: typeof GetAgentSandboxUsageRequestSchema; output: typeof GetAgentSandboxUsageResponseSchema; }; /** * Returns usage totals for the organization's current usage period. * * @generated from rpc depot.core.v1.UsageAnalyticsService.GetCurrentPeriodUsage */ getCurrentPeriodUsage: { methodKind: 'unary'; input: typeof GetCurrentPeriodUsageRequestSchema; output: typeof GetCurrentPeriodUsageResponseSchema; }; }>; declare namespace usage_pb_d_exports { export { AgentSandboxUsage, AgentSandboxUsageSchema, ContainerBuildUsage, ContainerBuildUsageSchema, DepotCIUsage, DepotCIUsageSchema, GetProjectUsageRequest, GetProjectUsageRequestSchema, GetProjectUsageResponse, GetProjectUsageResponseSchema, GetUsageRequest, GetUsageRequestSchema, GetUsageResponse, GetUsageResponseSchema, GithubActionsJobUsageDetail, GithubActionsJobUsageDetailSchema, GithubActionsJobsUsage, GithubActionsJobsUsageSchema, GithubActionsJobsUsageTotal, GithubActionsJobsUsageTotalSchema, GithubActionsUsageDimension, GithubActionsUsageDimensionSchema, ListProjectUsageRequest, ListProjectUsageRequestSchema, ListProjectUsageResponse, ListProjectUsageResponseSchema, ProjectUsage, ProjectUsageSchema, StorageUsage, StorageUsageSchema, UsageService, file_depot_core_v1_usage }; } /** * Describes the file depot/core/v1/usage.proto. */ declare const file_depot_core_v1_usage: GenFile; /** * @generated from message depot.core.v1.ListProjectUsageRequest */ type ListProjectUsageRequest = Message<'depot.core.v1.ListProjectUsageRequest'> & { /** * @generated from field: google.protobuf.Timestamp start_at = 1; */ startAt?: Timestamp | undefined; /** * @generated from field: google.protobuf.Timestamp end_at = 2; */ endAt?: Timestamp | undefined; /** * @generated from field: optional int32 page_size = 3; */ pageSize?: number | undefined; /** * @generated from field: optional string page_token = 4; */ pageToken?: string | undefined; }; /** * Describes the message depot.core.v1.ListProjectUsageRequest. * Use `create(ListProjectUsageRequestSchema)` to create a new message. */ declare const ListProjectUsageRequestSchema: GenMessage; /** * @generated from message depot.core.v1.ListProjectUsageResponse */ type ListProjectUsageResponse = Message<'depot.core.v1.ListProjectUsageResponse'> & { /** * @generated from field: repeated depot.core.v1.ProjectUsage usage = 1; */ usage: ProjectUsage[]; /** * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message depot.core.v1.ListProjectUsageResponse. * Use `create(ListProjectUsageResponseSchema)` to create a new message. */ declare const ListProjectUsageResponseSchema: GenMessage; /** * @generated from message depot.core.v1.GetProjectUsageRequest */ type GetProjectUsageRequest = Message<'depot.core.v1.GetProjectUsageRequest'> & { /** * @generated from field: string project_id = 1; */ projectId: string; /** * @generated from field: google.protobuf.Timestamp start_at = 2; */ startAt?: Timestamp | undefined; /** * @generated from field: google.protobuf.Timestamp end_at = 3; */ endAt?: Timestamp | undefined; }; /** * Describes the message depot.core.v1.GetProjectUsageRequest. * Use `create(GetProjectUsageRequestSchema)` to create a new message. */ declare const GetProjectUsageRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetProjectUsageResponse */ type GetProjectUsageResponse = Message<'depot.core.v1.GetProjectUsageResponse'> & { /** * @generated from field: depot.core.v1.ProjectUsage usage = 1; */ usage?: ProjectUsage | undefined; }; /** * Describes the message depot.core.v1.GetProjectUsageResponse. * Use `create(GetProjectUsageResponseSchema)` to create a new message. */ declare const GetProjectUsageResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ProjectUsage */ type ProjectUsage = Message<'depot.core.v1.ProjectUsage'> & { /** * @generated from field: string project_id = 1; */ projectId: string; /** * @generated from field: int32 build_count = 2; */ buildCount: number; /** * @generated from field: int32 build_duration_seconds = 3; */ buildDurationSeconds: number; /** * @generated from field: int32 layer_cache_size_gb = 4; */ layerCacheSizeGb: number; /** * Average registry storage in GB across the project's recorded daily snapshots in the requested period. * Matches the dashboard's per-project breakdown and accounts for shared layers within the repository. * Days without snapshots are excluded from the average. Zero when no snapshots exist. * Included automatically for positive time ranges of at most 366 days when registry data is available. * Omitted for other ranges, on registry failures or timeouts, and by servers without support. * An absent value means unavailable, not zero; existing usage fields are still returned. * This snapshot average is not the time-weighted organization-wide billing total. * * @generated from field: optional double registry_storage_size_gb = 5; */ registryStorageSizeGb?: number | undefined; }; /** * Describes the message depot.core.v1.ProjectUsage. * Use `create(ProjectUsageSchema)` to create a new message. */ declare const ProjectUsageSchema: GenMessage; /** * @generated from message depot.core.v1.GetUsageRequest */ type GetUsageRequest = Message<'depot.core.v1.GetUsageRequest'> & { /** * @generated from field: google.protobuf.Timestamp start_at = 1; */ startAt?: Timestamp | undefined; /** * @generated from field: google.protobuf.Timestamp end_at = 2; */ endAt?: Timestamp | undefined; /** * An array of additional dimensions to group GitHub Actions job usage by. * Selected dimensions jointly subdivide the existing repository, workflow, and runner groups; repository totals are unchanged. * Leave empty to keep the existing groups. Duplicate dimensions are ignored. Unspecified and unknown values are rejected. * Grouped requests require a time range of at most 31 days and return at most 10,000 groups across all repositories. * Requests exceeding the group limit fail instead of returning partial usage; narrow the time range and retry. * * @generated from field: repeated depot.core.v1.GithubActionsUsageDimension github_actions_group_by = 3; */ githubActionsGroupBy: GithubActionsUsageDimension[]; }; /** * Describes the message depot.core.v1.GetUsageRequest. * Use `create(GetUsageRequestSchema)` to create a new message. */ declare const GetUsageRequestSchema: GenMessage; /** * @generated from message depot.core.v1.GetUsageResponse */ type GetUsageResponse = Message<'depot.core.v1.GetUsageResponse'> & { /** * @generated from field: google.protobuf.Timestamp period_start = 1; */ periodStart?: Timestamp | undefined; /** * @generated from field: google.protobuf.Timestamp period_end = 2; */ periodEnd?: Timestamp | undefined; /** * @generated from field: repeated depot.core.v1.ContainerBuildUsage container_build = 3; */ containerBuild: ContainerBuildUsage[]; /** * @generated from field: repeated depot.core.v1.GithubActionsJobsUsage github_actions_jobs = 4; */ githubActionsJobs: GithubActionsJobsUsage[]; /** * @generated from field: repeated depot.core.v1.StorageUsage storage = 5; */ storage: StorageUsage[]; /** * @generated from field: repeated depot.core.v1.AgentSandboxUsage agent_sandbox = 6; */ agentSandbox: AgentSandboxUsage[]; /** * An array of additional dimensions applied to GitHub Actions job usage. * Contains each requested dimension once in enum order, including when no jobs match. * For grouped requests, verify this matches the requested dimensions before using the results. * Servers without grouping support omit this field. Empty when no additional grouping was requested. * * @generated from field: repeated depot.core.v1.GithubActionsUsageDimension github_actions_group_by = 7; */ githubActionsGroupBy: GithubActionsUsageDimension[]; /** * Depot CI sandbox compute, one entry per repository, workflow, and runner. * Matches the "Sandbox compute (Depot CI)" section of the dashboard's usage CSV export. * Covers only job attempts that finished on or after 2026-05-22, when this usage tracking started. * Includes only attempts that started and have recorded sandbox usage, including records with zero vCPU-minutes. * Attempts canceled or failed before starting are excluded. Delayed usage records appear after they are recorded. * Servers without Depot CI usage support omit this field. * * @generated from field: repeated depot.core.v1.DepotCIUsage depot_ci = 8; */ depotCi: DepotCIUsage[]; }; /** * Describes the message depot.core.v1.GetUsageResponse. * Use `create(GetUsageResponseSchema)` to create a new message. */ declare const GetUsageResponseSchema: GenMessage; /** * @generated from message depot.core.v1.ContainerBuildUsage */ type ContainerBuildUsage = Message<'depot.core.v1.ContainerBuildUsage'> & { /** * @generated from field: string project_name = 1; */ projectName: string; /** * @generated from field: int32 build_count = 2; */ buildCount: number; /** * @generated from field: float minutes_saved = 3; */ minutesSaved: number; /** * @generated from field: float minutes_billed = 4; */ minutesBilled: number; }; /** * Describes the message depot.core.v1.ContainerBuildUsage. * Use `create(ContainerBuildUsageSchema)` to create a new message. */ declare const ContainerBuildUsageSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsJobsUsage */ type GithubActionsJobsUsage = Message<'depot.core.v1.GithubActionsJobsUsage'> & { /** * @generated from field: string repo = 1; */ repo: string; /** * @generated from field: depot.core.v1.GithubActionsJobsUsageTotal total = 2; */ total?: GithubActionsJobsUsageTotal | undefined; /** * @generated from field: repeated depot.core.v1.GithubActionsJobUsageDetail jobs = 3; */ jobs: GithubActionsJobUsageDetail[]; }; /** * Describes the message depot.core.v1.GithubActionsJobsUsage. * Use `create(GithubActionsJobsUsageSchema)` to create a new message. */ declare const GithubActionsJobsUsageSchema: GenMessage; /** * GithubActionsJobsUsageTotal is the aggregate of metrics for a given repo * over the specified period of time * * @generated from message depot.core.v1.GithubActionsJobsUsageTotal */ type GithubActionsJobsUsageTotal = Message<'depot.core.v1.GithubActionsJobsUsageTotal'> & { /** * @generated from field: int32 job_count = 1; */ jobCount: number; /** * @generated from field: float minutes_elapsed = 2; */ minutesElapsed: number; /** * @generated from field: float minutes_billed = 3; */ minutesBilled: number; }; /** * Describes the message depot.core.v1.GithubActionsJobsUsageTotal. * Use `create(GithubActionsJobsUsageTotalSchema)` to create a new message. */ declare const GithubActionsJobsUsageTotalSchema: GenMessage; /** * @generated from message depot.core.v1.GithubActionsJobUsageDetail */ type GithubActionsJobUsageDetail = Message<'depot.core.v1.GithubActionsJobUsageDetail'> & { /** * @generated from field: string workflow = 1; */ workflow: string; /** * @generated from field: string runner = 2; */ runner: string; /** * @generated from field: int32 job_count = 3; */ jobCount: number; /** * @generated from field: float minutes_elapsed = 4; */ minutesElapsed: number; /** * @generated from field: float minutes_billed = 5; */ minutesBilled: number; /** * Branch recorded from the workflow-job webhook's head branch. * Present only when branch grouping is requested. Empty when unavailable, including historical usage without this dimension. * * @generated from field: optional string branch = 6; */ branch?: string | undefined; /** * GitHub login of the workflow-job webhook sender, not the commit author. * Present only when actor grouping is requested. Empty when unavailable, including historical usage without this dimension. * * @generated from field: optional string actor = 7; */ actor?: string | undefined; /** * Recorded job outcome, not the queued or running lifecycle state. * For example, "success", "failure", "failed", or "cancelled"; "failed" includes failures recorded by Depot. * Present only when status grouping is requested. Empty when unavailable. * * @generated from field: optional string status = 8; */ status?: string | undefined; }; /** * Describes the message depot.core.v1.GithubActionsJobUsageDetail. * Use `create(GithubActionsJobUsageDetailSchema)` to create a new message. */ declare const GithubActionsJobUsageDetailSchema: GenMessage; /** * @generated from message depot.core.v1.StorageUsage */ type StorageUsage = Message<'depot.core.v1.StorageUsage'> & { /** * @generated from field: string storage_type = 1; */ storageType: string; /** * @generated from field: float total_gb = 2; */ totalGb: number; }; /** * Describes the message depot.core.v1.StorageUsage. * Use `create(StorageUsageSchema)` to create a new message. */ declare const StorageUsageSchema: GenMessage; /** * @generated from message depot.core.v1.AgentSandboxUsage */ type AgentSandboxUsage = Message<'depot.core.v1.AgentSandboxUsage'> & { /** * @generated from field: string agent_type = 1; */ agentType: string; /** * @generated from field: int32 sandboxes_count = 2; */ sandboxesCount: number; /** * @generated from field: float minutes_elapsed = 3; */ minutesElapsed: number; /** * @generated from field: float minutes_billed = 4; */ minutesBilled: number; }; /** * Describes the message depot.core.v1.AgentSandboxUsage. * Use `create(AgentSandboxUsageSchema)` to create a new message. */ declare const AgentSandboxUsageSchema: GenMessage; /** * DepotCIUsage is the Depot CI sandbox compute for one repository, workflow, and runner * over the specified period of time. * * @generated from message depot.core.v1.DepotCIUsage */ type DepotCIUsage = Message<'depot.core.v1.DepotCIUsage'> & { /** * Repository the workflow ran in, as "owner/name". Usage from before a repository rename is reported under its current name. * * @generated from field: string repo = 1; */ repo: string; /** * Display name of the workflow. Falls back to `workflowPath` when the workflow has no name. * * @generated from field: string workflow = 2; */ workflow: string; /** * Workflow file path. For example, ".depot/workflows/ci.yml". Empty when unavailable. * * @generated from field: string workflow_path = 3; */ workflowPath: string; /** * Runner the job requested in its `runs-on` configuration, not the machine each attempt was placed on. * For example, "depot-ubuntu-24.04" or "depot-ubuntu-24.04 (4 vCPU, 8 GB)". "Unknown" when the configuration could not be resolved. * * @generated from field: string runner = 4; */ runner: string; /** * Number of job attempts that finished in the period, started, and have recorded sandbox usage. * Each recorded retry counts separately. Attempts without recorded usage are excluded, matching the Usage page. * * @generated from field: int32 attempt_count = 5; */ attemptCount: number; /** * Wall-clock minutes the job attempts ran, rounded to two decimal places. * * @generated from field: double minutes_elapsed = 6; */ minutesElapsed: number; /** * Billed vCPU-minutes, rounded to two decimal places. * Unlike GitHub Actions `minutesBilled`, which counts 2-vCPU-equivalent minutes, a 2 vCPU sandbox running for 10 minutes bills 20 vCPU-minutes. * * @generated from field: double vcpu_minutes_billed = 7; */ vcpuMinutesBilled: number; /** * Number of attempts in `attemptCount` with a failure outcome in this repository, workflow, and runner group. * Each recorded failed retry counts separately. Canceled and other non-failure outcomes are excluded. * Omitted by servers without error-rate support; zero means no failed attempts. * * @generated from field: optional int32 failed_attempt_count = 8; */ failedAttemptCount?: number | undefined; /** * Fraction of recorded usage attempts that failed, from 0 to 1, without decimal rounding. * Calculated as `failedAttemptCount` / `attemptCount`. The denominator includes recorded canceled and other non-failure attempts. * This is the Usage page's error rate, not the failure rate of all workflow attempts; attempts without recorded usage are excluded. * To combine runner groups for a workflow, divide the sum of `failedAttemptCount` by the sum of `attemptCount`. * Omitted by servers without error-rate support; zero means no failed attempts. * * @generated from field: optional double error_rate = 9; */ errorRate?: number | undefined; }; /** * Describes the message depot.core.v1.DepotCIUsage. * Use `create(DepotCIUsageSchema)` to create a new message. */ declare const DepotCIUsageSchema: GenMessage; /** * Additional dimensions that subdivide GitHub Actions usage within each repository, workflow, and runner group. * * @generated from enum depot.core.v1.GithubActionsUsageDimension */ declare enum GithubActionsUsageDimension { /** * Not a valid grouping dimension. * * @generated from enum value: GITHUB_ACTIONS_USAGE_DIMENSION_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Branch recorded from the workflow-job webhook's head branch. * * @generated from enum value: GITHUB_ACTIONS_USAGE_DIMENSION_BRANCH = 1; */ BRANCH = 1, /** * GitHub login of the workflow-job webhook sender, not the commit author. * * @generated from enum value: GITHUB_ACTIONS_USAGE_DIMENSION_ACTOR = 2; */ ACTOR = 2, /** * Recorded job outcome, not the queued or running lifecycle state. * * @generated from enum value: GITHUB_ACTIONS_USAGE_DIMENSION_STATUS = 3; */ STATUS = 3 } /** * Describes the enum depot.core.v1.GithubActionsUsageDimension. */ declare const GithubActionsUsageDimensionSchema: GenEnum; /** * @generated from service depot.core.v1.UsageService */ declare const UsageService: GenService<{ /** * @generated from rpc depot.core.v1.UsageService.ListProjectUsage */ listProjectUsage: { methodKind: 'unary'; input: typeof ListProjectUsageRequestSchema; output: typeof ListProjectUsageResponseSchema; }; /** * @generated from rpc depot.core.v1.UsageService.GetProjectUsage */ getProjectUsage: { methodKind: 'unary'; input: typeof GetProjectUsageRequestSchema; output: typeof GetProjectUsageResponseSchema; }; /** * GetUsage returns detailed Depot usage over a specified period of time * * @generated from rpc depot.core.v1.UsageService.GetUsage */ getUsage: { methodKind: 'unary'; input: typeof GetUsageRequestSchema; output: typeof GetUsageResponseSchema; }; }>; declare namespace registry_pb_d_exports { export { BatchDeleteImageRequest, BatchDeleteImageRequestSchema, BatchDeleteImageResponse, BatchDeleteImageResponseSchema, CreateRepositoryRequest, CreateRepositoryRequestSchema, CreateRepositoryResponse, CreateRepositoryResponseSchema, CreateTokenRequest, CreateTokenRequestSchema, CreateTokenResponse, CreateTokenResponseSchema, CreateUpstreamRegistryRequest, CreateUpstreamRegistryRequestSchema, CreateUpstreamRegistryResponse, CreateUpstreamRegistryResponseSchema, DeleteRepositoryRequest, DeleteRepositoryRequestSchema, DeleteRepositoryResponse, DeleteRepositoryResponseSchema, DeleteRetentionPolicyRequest, DeleteRetentionPolicyRequestSchema, DeleteRetentionPolicyResponse, DeleteRetentionPolicyResponseSchema, DeleteTagRequest, DeleteTagRequestSchema, DeleteTagResponse, DeleteTagResponseSchema, DeleteUpstreamRegistryRequest, DeleteUpstreamRegistryRequestSchema, DeleteUpstreamRegistryResponse, DeleteUpstreamRegistryResponseSchema, GetImageDetailRequest, GetImageDetailRequestSchema, GetImageDetailResponse, GetImageDetailResponseSchema, GetRetentionPolicyRequest, GetRetentionPolicyRequestSchema, GetRetentionPolicyResponse, GetRetentionPolicyResponseSchema, ImageFailure, ImageFailureSchema, ImageIdentifier, ImageIdentifierSchema, ImageSummary, ImageSummarySchema, ImageTagStatus, ImageTagStatusSchema, ListImagesRequest, ListImagesRequestSchema, ListImagesResponse, ListImagesResponseSchema, ListRepositoriesRequest, ListRepositoriesRequestSchema, ListRepositoriesResponse, ListRepositoriesResponseSchema, ListTokensRequest, ListTokensRequestSchema, ListTokensResponse, ListTokensResponseSchema, ListUpstreamRegistriesRequest, ListUpstreamRegistriesRequestSchema, ListUpstreamRegistriesResponse, ListUpstreamRegistriesResponseSchema, RegistryAccessToken, RegistryAccessTokenPermission, RegistryAccessTokenPermissionSchema, RegistryAccessTokenSchema, RegistryService, RepositorySummary, RepositorySummarySchema, RepositoryUpstream, RepositoryUpstreamSchema, RetentionPolicy, RetentionPolicySchema, RevokeTokenRequest, RevokeTokenRequestSchema, RevokeTokenResponse, RevokeTokenResponseSchema, UpdateUpstreamRegistryRequest, UpdateUpstreamRegistryRequestSchema, UpdateUpstreamRegistryResponse, UpdateUpstreamRegistryResponseSchema, UpsertRetentionPolicyRequest, UpsertRetentionPolicyRequestSchema, UpsertRetentionPolicyResponse, UpsertRetentionPolicyResponseSchema, UpstreamRegistry, UpstreamRegistryAuthType, UpstreamRegistryAuthTypeSchema, UpstreamRegistrySchema, UpstreamRepository, UpstreamRepositorySchema, file_depot_registry_v1beta1_registry }; } /** * Describes the file depot/registry/v1beta1/registry.proto. */ declare const file_depot_registry_v1beta1_registry: GenFile; /** * @generated from message depot.registry.v1beta1.CreateTokenRequest */ type CreateTokenRequest = Message<'depot.registry.v1beta1.CreateTokenRequest'> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: depot.registry.v1beta1.RegistryAccessTokenPermission permission = 2; */ permission: RegistryAccessTokenPermission; /** * @generated from field: repeated string repository_scopes = 3; */ repositoryScopes: string[]; /** * @generated from field: optional google.protobuf.Timestamp expires_at = 4; */ expiresAt?: Timestamp | undefined; /** * @generated from field: optional string description = 5; */ description?: string | undefined; }; /** * Describes the message depot.registry.v1beta1.CreateTokenRequest. * Use `create(CreateTokenRequestSchema)` to create a new message. */ declare const CreateTokenRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.CreateTokenResponse */ type CreateTokenResponse = Message<'depot.registry.v1beta1.CreateTokenResponse'> & { /** * @generated from field: depot.registry.v1beta1.RegistryAccessToken token = 1; */ token?: RegistryAccessToken | undefined; /** * @generated from field: string secret = 2; */ secret: string; }; /** * Describes the message depot.registry.v1beta1.CreateTokenResponse. * Use `create(CreateTokenResponseSchema)` to create a new message. */ declare const CreateTokenResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ListTokensRequest */ type ListTokensRequest = Message<'depot.registry.v1beta1.ListTokensRequest'> & { /** * @generated from field: int32 page = 1; */ page: number; /** * @generated from field: int32 page_size = 2; */ pageSize: number; /** * @generated from field: optional string query = 3; */ query?: string | undefined; }; /** * Describes the message depot.registry.v1beta1.ListTokensRequest. * Use `create(ListTokensRequestSchema)` to create a new message. */ declare const ListTokensRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ListTokensResponse */ type ListTokensResponse = Message<'depot.registry.v1beta1.ListTokensResponse'> & { /** * @generated from field: repeated depot.registry.v1beta1.RegistryAccessToken tokens = 1; */ tokens: RegistryAccessToken[]; /** * @generated from field: int32 page = 2; */ page: number; /** * @generated from field: int32 page_size = 3; */ pageSize: number; /** * @generated from field: int32 total_count = 4; */ totalCount: number; }; /** * Describes the message depot.registry.v1beta1.ListTokensResponse. * Use `create(ListTokensResponseSchema)` to create a new message. */ declare const ListTokensResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.RevokeTokenRequest */ type RevokeTokenRequest = Message<'depot.registry.v1beta1.RevokeTokenRequest'> & { /** * @generated from field: string token_id = 1; */ tokenId: string; }; /** * Describes the message depot.registry.v1beta1.RevokeTokenRequest. * Use `create(RevokeTokenRequestSchema)` to create a new message. */ declare const RevokeTokenRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.RevokeTokenResponse */ type RevokeTokenResponse = Message<'depot.registry.v1beta1.RevokeTokenResponse'> & { /** * @generated from field: depot.registry.v1beta1.RegistryAccessToken token = 1; */ token?: RegistryAccessToken | undefined; }; /** * Describes the message depot.registry.v1beta1.RevokeTokenResponse. * Use `create(RevokeTokenResponseSchema)` to create a new message. */ declare const RevokeTokenResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.CreateRepositoryRequest */ type CreateRepositoryRequest = Message<'depot.registry.v1beta1.CreateRepositoryRequest'> & { /** * @generated from field: string repository = 1; */ repository: string; /** * When set, the repository pulls through from an upstream registry. * * @generated from field: optional depot.registry.v1beta1.RepositoryUpstream upstream = 2; */ upstream?: RepositoryUpstream | undefined; }; /** * Describes the message depot.registry.v1beta1.CreateRepositoryRequest. * Use `create(CreateRepositoryRequestSchema)` to create a new message. */ declare const CreateRepositoryRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.RepositoryUpstream */ type RepositoryUpstream = Message<'depot.registry.v1beta1.RepositoryUpstream'> & { /** * @generated from field: string upstream_registry_id = 1; */ upstreamRegistryId: string; /** * Repository path in the upstream registry, such as `library/golang`. * * @generated from field: string upstream_repository = 2; */ upstreamRepository: string; }; /** * Describes the message depot.registry.v1beta1.RepositoryUpstream. * Use `create(RepositoryUpstreamSchema)` to create a new message. */ declare const RepositoryUpstreamSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.CreateRepositoryResponse */ type CreateRepositoryResponse = Message<'depot.registry.v1beta1.CreateRepositoryResponse'> & { /** * @generated from field: optional depot.registry.v1beta1.UpstreamRepository upstream_repository = 1; */ upstreamRepository?: UpstreamRepository | undefined; }; /** * Describes the message depot.registry.v1beta1.CreateRepositoryResponse. * Use `create(CreateRepositoryResponseSchema)` to create a new message. */ declare const CreateRepositoryResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ListRepositoriesRequest */ type ListRepositoriesRequest = Message<'depot.registry.v1beta1.ListRepositoriesRequest'> & { /** * @generated from field: int32 page = 1; */ page: number; /** * @generated from field: int32 page_size = 2; */ pageSize: number; /** * @generated from field: optional string query = 3; */ query?: string | undefined; }; /** * Describes the message depot.registry.v1beta1.ListRepositoriesRequest. * Use `create(ListRepositoriesRequestSchema)` to create a new message. */ declare const ListRepositoriesRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ListRepositoriesResponse */ type ListRepositoriesResponse = Message<'depot.registry.v1beta1.ListRepositoriesResponse'> & { /** * @generated from field: repeated depot.registry.v1beta1.RepositorySummary repositories = 1; */ repositories: RepositorySummary[]; /** * @generated from field: int32 page = 2; */ page: number; /** * @generated from field: int32 page_size = 3; */ pageSize: number; /** * @generated from field: bool has_more = 4; */ hasMore: boolean; }; /** * Describes the message depot.registry.v1beta1.ListRepositoriesResponse. * Use `create(ListRepositoriesResponseSchema)` to create a new message. */ declare const ListRepositoriesResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.RepositorySummary */ type RepositorySummary = Message<'depot.registry.v1beta1.RepositorySummary'> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: int64 tag_count = 2; */ tagCount: bigint; /** * @generated from field: int64 size_bytes = 3; */ sizeBytes: bigint; /** * @generated from field: google.protobuf.Timestamp created_at = 4; */ createdAt?: Timestamp | undefined; /** * @generated from field: optional google.protobuf.Timestamp last_pushed_at = 5; */ lastPushedAt?: Timestamp | undefined; /** * @generated from field: string scope = 6; */ scope: string; }; /** * Describes the message depot.registry.v1beta1.RepositorySummary. * Use `create(RepositorySummarySchema)` to create a new message. */ declare const RepositorySummarySchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ListImagesRequest */ type ListImagesRequest = Message<'depot.registry.v1beta1.ListImagesRequest'> & { /** * @generated from field: string repository = 1; */ repository: string; /** * @generated from field: int32 page = 2; */ page: number; /** * @generated from field: int32 page_size = 3; */ pageSize: number; /** * @generated from field: optional string tag_query = 4; */ tagQuery?: string | undefined; /** * @generated from field: depot.registry.v1beta1.ImageTagStatus tag_status = 5; */ tagStatus: ImageTagStatus; }; /** * Describes the message depot.registry.v1beta1.ListImagesRequest. * Use `create(ListImagesRequestSchema)` to create a new message. */ declare const ListImagesRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ListImagesResponse */ type ListImagesResponse = Message<'depot.registry.v1beta1.ListImagesResponse'> & { /** * @generated from field: repeated depot.registry.v1beta1.ImageSummary images = 1; */ images: ImageSummary[]; /** * @generated from field: int32 page = 2; */ page: number; /** * @generated from field: int32 page_size = 3; */ pageSize: number; /** * @generated from field: bool has_more = 4; */ hasMore: boolean; }; /** * Describes the message depot.registry.v1beta1.ListImagesResponse. * Use `create(ListImagesResponseSchema)` to create a new message. */ declare const ListImagesResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ImageSummary */ type ImageSummary = Message<'depot.registry.v1beta1.ImageSummary'> & { /** * @generated from field: string digest = 1; */ digest: string; /** * @generated from field: string media_type = 2; */ mediaType: string; /** * @generated from field: string config_media_type = 3; */ configMediaType: string; /** * @generated from field: int64 size_bytes = 4; */ sizeBytes: bigint; /** * @generated from field: repeated string tags = 5; */ tags: string[]; /** * @generated from field: google.protobuf.Timestamp pushed_at = 6; */ pushedAt?: Timestamp | undefined; }; /** * Describes the message depot.registry.v1beta1.ImageSummary. * Use `create(ImageSummarySchema)` to create a new message. */ declare const ImageSummarySchema: GenMessage; /** * @generated from message depot.registry.v1beta1.GetImageDetailRequest */ type GetImageDetailRequest = Message<'depot.registry.v1beta1.GetImageDetailRequest'> & { /** * @generated from field: string repository = 1; */ repository: string; /** * @generated from field: string reference = 2; */ reference: string; }; /** * Describes the message depot.registry.v1beta1.GetImageDetailRequest. * Use `create(GetImageDetailRequestSchema)` to create a new message. */ declare const GetImageDetailRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.GetImageDetailResponse */ type GetImageDetailResponse = Message<'depot.registry.v1beta1.GetImageDetailResponse'> & { /** * @generated from field: string digest = 1; */ digest: string; /** * @generated from field: string media_type = 2; */ mediaType: string; /** * @generated from field: string config_media_type = 3; */ configMediaType: string; /** * @generated from field: int64 size_bytes = 4; */ sizeBytes: bigint; /** * @generated from field: repeated string tags = 5; */ tags: string[]; /** * @generated from field: google.protobuf.Timestamp pushed_at = 6; */ pushedAt?: Timestamp | undefined; /** * @generated from field: bytes manifest = 7; */ manifest: Uint8Array; }; /** * Describes the message depot.registry.v1beta1.GetImageDetailResponse. * Use `create(GetImageDetailResponseSchema)` to create a new message. */ declare const GetImageDetailResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.DeleteRepositoryRequest */ type DeleteRepositoryRequest = Message<'depot.registry.v1beta1.DeleteRepositoryRequest'> & { /** * @generated from field: string repository = 1; */ repository: string; }; /** * Describes the message depot.registry.v1beta1.DeleteRepositoryRequest. * Use `create(DeleteRepositoryRequestSchema)` to create a new message. */ declare const DeleteRepositoryRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.DeleteRepositoryResponse */ type DeleteRepositoryResponse = Message<'depot.registry.v1beta1.DeleteRepositoryResponse'> & {}; /** * Describes the message depot.registry.v1beta1.DeleteRepositoryResponse. * Use `create(DeleteRepositoryResponseSchema)` to create a new message. */ declare const DeleteRepositoryResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.DeleteTagRequest */ type DeleteTagRequest = Message<'depot.registry.v1beta1.DeleteTagRequest'> & { /** * @generated from field: string repository = 1; */ repository: string; /** * @generated from field: string tag = 2; */ tag: string; }; /** * Describes the message depot.registry.v1beta1.DeleteTagRequest. * Use `create(DeleteTagRequestSchema)` to create a new message. */ declare const DeleteTagRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.DeleteTagResponse */ type DeleteTagResponse = Message<'depot.registry.v1beta1.DeleteTagResponse'> & {}; /** * Describes the message depot.registry.v1beta1.DeleteTagResponse. * Use `create(DeleteTagResponseSchema)` to create a new message. */ declare const DeleteTagResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ImageIdentifier */ type ImageIdentifier = Message<'depot.registry.v1beta1.ImageIdentifier'> & { /** * @generated from field: optional string image_digest = 1; */ imageDigest?: string | undefined; /** * @generated from field: optional string image_tag = 2; */ imageTag?: string | undefined; }; /** * Describes the message depot.registry.v1beta1.ImageIdentifier. * Use `create(ImageIdentifierSchema)` to create a new message. */ declare const ImageIdentifierSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ImageFailure */ type ImageFailure = Message<'depot.registry.v1beta1.ImageFailure'> & { /** * @generated from field: depot.registry.v1beta1.ImageIdentifier image_id = 1; */ imageId?: ImageIdentifier | undefined; /** * @generated from field: string failure_code = 2; */ failureCode: string; /** * @generated from field: string failure_reason = 3; */ failureReason: string; }; /** * Describes the message depot.registry.v1beta1.ImageFailure. * Use `create(ImageFailureSchema)` to create a new message. */ declare const ImageFailureSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.BatchDeleteImageRequest */ type BatchDeleteImageRequest = Message<'depot.registry.v1beta1.BatchDeleteImageRequest'> & { /** * @generated from field: string repository = 1; */ repository: string; /** * @generated from field: repeated depot.registry.v1beta1.ImageIdentifier image_ids = 2; */ imageIds: ImageIdentifier[]; }; /** * Describes the message depot.registry.v1beta1.BatchDeleteImageRequest. * Use `create(BatchDeleteImageRequestSchema)` to create a new message. */ declare const BatchDeleteImageRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.BatchDeleteImageResponse */ type BatchDeleteImageResponse = Message<'depot.registry.v1beta1.BatchDeleteImageResponse'> & { /** * @generated from field: repeated depot.registry.v1beta1.ImageIdentifier image_ids = 1; */ imageIds: ImageIdentifier[]; /** * @generated from field: repeated depot.registry.v1beta1.ImageFailure failures = 2; */ failures: ImageFailure[]; }; /** * Describes the message depot.registry.v1beta1.BatchDeleteImageResponse. * Use `create(BatchDeleteImageResponseSchema)` to create a new message. */ declare const BatchDeleteImageResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.RegistryAccessToken */ type RegistryAccessToken = Message<'depot.registry.v1beta1.RegistryAccessToken'> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: depot.registry.v1beta1.RegistryAccessTokenPermission permission = 3; */ permission: RegistryAccessTokenPermission; /** * @generated from field: repeated string repository_scopes = 4; */ repositoryScopes: string[]; /** * @generated from field: optional google.protobuf.Timestamp expires_at = 5; */ expiresAt?: Timestamp | undefined; /** * @generated from field: optional google.protobuf.Timestamp revoked_at = 6; */ revokedAt?: Timestamp | undefined; /** * @generated from field: google.protobuf.Timestamp created_at = 7; */ createdAt?: Timestamp | undefined; /** * @generated from field: optional string description = 8; */ description?: string | undefined; /** * @generated from field: string created_by_kind = 9; */ createdByKind: string; /** * @generated from field: string created_by = 10; */ createdBy: string; }; /** * Describes the message depot.registry.v1beta1.RegistryAccessToken. * Use `create(RegistryAccessTokenSchema)` to create a new message. */ declare const RegistryAccessTokenSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.RetentionPolicy */ type RetentionPolicy = Message<'depot.registry.v1beta1.RetentionPolicy'> & { /** * @generated from field: string repository = 1; */ repository: string; /** * @generated from field: bool enabled = 2; */ enabled: boolean; /** * @generated from field: optional int32 keep_count = 3; */ keepCount?: number | undefined; /** * @generated from field: optional int32 keep_days = 4; */ keepDays?: number | undefined; /** * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp | undefined; /** * @generated from field: google.protobuf.Timestamp updated_at = 6; */ updatedAt?: Timestamp | undefined; }; /** * Describes the message depot.registry.v1beta1.RetentionPolicy. * Use `create(RetentionPolicySchema)` to create a new message. */ declare const RetentionPolicySchema: GenMessage; /** * @generated from message depot.registry.v1beta1.GetRetentionPolicyRequest */ type GetRetentionPolicyRequest = Message<'depot.registry.v1beta1.GetRetentionPolicyRequest'> & { /** * @generated from field: string repository = 1; */ repository: string; }; /** * Describes the message depot.registry.v1beta1.GetRetentionPolicyRequest. * Use `create(GetRetentionPolicyRequestSchema)` to create a new message. */ declare const GetRetentionPolicyRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.GetRetentionPolicyResponse */ type GetRetentionPolicyResponse = Message<'depot.registry.v1beta1.GetRetentionPolicyResponse'> & { /** * @generated from field: optional depot.registry.v1beta1.RetentionPolicy policy = 1; */ policy?: RetentionPolicy | undefined; }; /** * Describes the message depot.registry.v1beta1.GetRetentionPolicyResponse. * Use `create(GetRetentionPolicyResponseSchema)` to create a new message. */ declare const GetRetentionPolicyResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.UpsertRetentionPolicyRequest */ type UpsertRetentionPolicyRequest = Message<'depot.registry.v1beta1.UpsertRetentionPolicyRequest'> & { /** * @generated from field: string repository = 1; */ repository: string; /** * @generated from field: bool enabled = 2; */ enabled: boolean; /** * @generated from field: optional int32 keep_count = 3; */ keepCount?: number | undefined; /** * @generated from field: optional int32 keep_days = 4; */ keepDays?: number | undefined; }; /** * Describes the message depot.registry.v1beta1.UpsertRetentionPolicyRequest. * Use `create(UpsertRetentionPolicyRequestSchema)` to create a new message. */ declare const UpsertRetentionPolicyRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.UpsertRetentionPolicyResponse */ type UpsertRetentionPolicyResponse = Message<'depot.registry.v1beta1.UpsertRetentionPolicyResponse'> & { /** * @generated from field: depot.registry.v1beta1.RetentionPolicy policy = 1; */ policy?: RetentionPolicy | undefined; }; /** * Describes the message depot.registry.v1beta1.UpsertRetentionPolicyResponse. * Use `create(UpsertRetentionPolicyResponseSchema)` to create a new message. */ declare const UpsertRetentionPolicyResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.DeleteRetentionPolicyRequest */ type DeleteRetentionPolicyRequest = Message<'depot.registry.v1beta1.DeleteRetentionPolicyRequest'> & { /** * @generated from field: string repository = 1; */ repository: string; }; /** * Describes the message depot.registry.v1beta1.DeleteRetentionPolicyRequest. * Use `create(DeleteRetentionPolicyRequestSchema)` to create a new message. */ declare const DeleteRetentionPolicyRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.DeleteRetentionPolicyResponse */ type DeleteRetentionPolicyResponse = Message<'depot.registry.v1beta1.DeleteRetentionPolicyResponse'> & {}; /** * Describes the message depot.registry.v1beta1.DeleteRetentionPolicyResponse. * Use `create(DeleteRetentionPolicyResponseSchema)` to create a new message. */ declare const DeleteRetentionPolicyResponseSchema: GenMessage; /** * Credentials are write-only: responses report `hasPassword`, never the password. * * @generated from message depot.registry.v1beta1.UpstreamRegistry */ type UpstreamRegistry = Message<'depot.registry.v1beta1.UpstreamRegistry'> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: string upstream_url = 3; */ upstreamUrl: string; /** * @generated from field: string username = 4; */ username: string; /** * @generated from field: bool has_password = 5; */ hasPassword: boolean; /** * @generated from field: depot.registry.v1beta1.UpstreamRegistryAuthType auth_type = 6; */ authType: UpstreamRegistryAuthType; /** * @generated from field: optional string role_arn = 7; */ roleArn?: string | undefined; /** * @generated from field: google.protobuf.Timestamp created_at = 8; */ createdAt?: Timestamp | undefined; /** * @generated from field: google.protobuf.Timestamp updated_at = 9; */ updatedAt?: Timestamp | undefined; }; /** * Describes the message depot.registry.v1beta1.UpstreamRegistry. * Use `create(UpstreamRegistrySchema)` to create a new message. */ declare const UpstreamRegistrySchema: GenMessage; /** * @generated from message depot.registry.v1beta1.UpstreamRepository */ type UpstreamRepository = Message<'depot.registry.v1beta1.UpstreamRepository'> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string upstream_registry_id = 2; */ upstreamRegistryId: string; /** * @generated from field: string upstream_repository = 3; */ upstreamRepository: string; /** * Local repository that pulls through from `upstreamRepository`. * * @generated from field: string repository = 4; */ repository: string; }; /** * Describes the message depot.registry.v1beta1.UpstreamRepository. * Use `create(UpstreamRepositorySchema)` to create a new message. */ declare const UpstreamRepositorySchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ListUpstreamRegistriesRequest */ type ListUpstreamRegistriesRequest = Message<'depot.registry.v1beta1.ListUpstreamRegistriesRequest'> & {}; /** * Describes the message depot.registry.v1beta1.ListUpstreamRegistriesRequest. * Use `create(ListUpstreamRegistriesRequestSchema)` to create a new message. */ declare const ListUpstreamRegistriesRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.ListUpstreamRegistriesResponse */ type ListUpstreamRegistriesResponse = Message<'depot.registry.v1beta1.ListUpstreamRegistriesResponse'> & { /** * @generated from field: repeated depot.registry.v1beta1.UpstreamRegistry upstream_registries = 1; */ upstreamRegistries: UpstreamRegistry[]; }; /** * Describes the message depot.registry.v1beta1.ListUpstreamRegistriesResponse. * Use `create(ListUpstreamRegistriesResponseSchema)` to create a new message. */ declare const ListUpstreamRegistriesResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.CreateUpstreamRegistryRequest */ type CreateUpstreamRegistryRequest = Message<'depot.registry.v1beta1.CreateUpstreamRegistryRequest'> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string upstream_url = 2; */ upstreamUrl: string; /** * @generated from field: string username = 3; */ username: string; /** * @generated from field: string password = 4; */ password: string; /** * Default: `UPSTREAM_REGISTRY_AUTH_TYPE_BASIC`. ECR requires `roleArn`. * * @generated from field: depot.registry.v1beta1.UpstreamRegistryAuthType auth_type = 5; */ authType: UpstreamRegistryAuthType; /** * @generated from field: optional string role_arn = 6; */ roleArn?: string | undefined; }; /** * Describes the message depot.registry.v1beta1.CreateUpstreamRegistryRequest. * Use `create(CreateUpstreamRegistryRequestSchema)` to create a new message. */ declare const CreateUpstreamRegistryRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.CreateUpstreamRegistryResponse */ type CreateUpstreamRegistryResponse = Message<'depot.registry.v1beta1.CreateUpstreamRegistryResponse'> & { /** * @generated from field: depot.registry.v1beta1.UpstreamRegistry upstream_registry = 1; */ upstreamRegistry?: UpstreamRegistry | undefined; }; /** * Describes the message depot.registry.v1beta1.CreateUpstreamRegistryResponse. * Use `create(CreateUpstreamRegistryResponseSchema)` to create a new message. */ declare const CreateUpstreamRegistryResponseSchema: GenMessage; /** * Unset fields are left unchanged. * * @generated from message depot.registry.v1beta1.UpdateUpstreamRegistryRequest */ type UpdateUpstreamRegistryRequest = Message<'depot.registry.v1beta1.UpdateUpstreamRegistryRequest'> & { /** * @generated from field: string upstream_registry_id = 1; */ upstreamRegistryId: string; /** * @generated from field: optional string upstream_url = 2; */ upstreamUrl?: string | undefined; /** * @generated from field: optional string username = 3; */ username?: string | undefined; /** * @generated from field: optional string password = 4; */ password?: string | undefined; /** * @generated from field: optional string role_arn = 5; */ roleArn?: string | undefined; }; /** * Describes the message depot.registry.v1beta1.UpdateUpstreamRegistryRequest. * Use `create(UpdateUpstreamRegistryRequestSchema)` to create a new message. */ declare const UpdateUpstreamRegistryRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.UpdateUpstreamRegistryResponse */ type UpdateUpstreamRegistryResponse = Message<'depot.registry.v1beta1.UpdateUpstreamRegistryResponse'> & { /** * @generated from field: depot.registry.v1beta1.UpstreamRegistry upstream_registry = 1; */ upstreamRegistry?: UpstreamRegistry | undefined; }; /** * Describes the message depot.registry.v1beta1.UpdateUpstreamRegistryResponse. * Use `create(UpdateUpstreamRegistryResponseSchema)` to create a new message. */ declare const UpdateUpstreamRegistryResponseSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.DeleteUpstreamRegistryRequest */ type DeleteUpstreamRegistryRequest = Message<'depot.registry.v1beta1.DeleteUpstreamRegistryRequest'> & { /** * @generated from field: string upstream_registry_id = 1; */ upstreamRegistryId: string; }; /** * Describes the message depot.registry.v1beta1.DeleteUpstreamRegistryRequest. * Use `create(DeleteUpstreamRegistryRequestSchema)` to create a new message. */ declare const DeleteUpstreamRegistryRequestSchema: GenMessage; /** * @generated from message depot.registry.v1beta1.DeleteUpstreamRegistryResponse */ type DeleteUpstreamRegistryResponse = Message<'depot.registry.v1beta1.DeleteUpstreamRegistryResponse'> & {}; /** * Describes the message depot.registry.v1beta1.DeleteUpstreamRegistryResponse. * Use `create(DeleteUpstreamRegistryResponseSchema)` to create a new message. */ declare const DeleteUpstreamRegistryResponseSchema: GenMessage; /** * @generated from enum depot.registry.v1beta1.RegistryAccessTokenPermission */ declare enum RegistryAccessTokenPermission { /** * @generated from enum value: REGISTRY_ACCESS_TOKEN_PERMISSION_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: REGISTRY_ACCESS_TOKEN_PERMISSION_PULL = 1; */ PULL = 1, /** * @generated from enum value: REGISTRY_ACCESS_TOKEN_PERMISSION_PUSH = 2; */ PUSH = 2 } /** * Describes the enum depot.registry.v1beta1.RegistryAccessTokenPermission. */ declare const RegistryAccessTokenPermissionSchema: GenEnum; /** * @generated from enum depot.registry.v1beta1.ImageTagStatus */ declare enum ImageTagStatus { /** * @generated from enum value: IMAGE_TAG_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: IMAGE_TAG_STATUS_TAGGED = 1; */ TAGGED = 1, /** * @generated from enum value: IMAGE_TAG_STATUS_UNTAGGED = 2; */ UNTAGGED = 2 } /** * Describes the enum depot.registry.v1beta1.ImageTagStatus. */ declare const ImageTagStatusSchema: GenEnum; /** * @generated from enum depot.registry.v1beta1.UpstreamRegistryAuthType */ declare enum UpstreamRegistryAuthType { /** * @generated from enum value: UPSTREAM_REGISTRY_AUTH_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: UPSTREAM_REGISTRY_AUTH_TYPE_BASIC = 1; */ BASIC = 1, /** * @generated from enum value: UPSTREAM_REGISTRY_AUTH_TYPE_ECR = 2; */ ECR = 2 } /** * Describes the enum depot.registry.v1beta1.UpstreamRegistryAuthType. */ declare const UpstreamRegistryAuthTypeSchema: GenEnum; /** * @generated from service depot.registry.v1beta1.RegistryService */ declare const RegistryService: GenService<{ /** * @generated from rpc depot.registry.v1beta1.RegistryService.CreateToken */ createToken: { methodKind: 'unary'; input: typeof CreateTokenRequestSchema; output: typeof CreateTokenResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.ListTokens */ listTokens: { methodKind: 'unary'; input: typeof ListTokensRequestSchema; output: typeof ListTokensResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.RevokeToken */ revokeToken: { methodKind: 'unary'; input: typeof RevokeTokenRequestSchema; output: typeof RevokeTokenResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.CreateRepository */ createRepository: { methodKind: 'unary'; input: typeof CreateRepositoryRequestSchema; output: typeof CreateRepositoryResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.ListRepositories */ listRepositories: { methodKind: 'unary'; input: typeof ListRepositoriesRequestSchema; output: typeof ListRepositoriesResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.ListImages */ listImages: { methodKind: 'unary'; input: typeof ListImagesRequestSchema; output: typeof ListImagesResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.GetImageDetail */ getImageDetail: { methodKind: 'unary'; input: typeof GetImageDetailRequestSchema; output: typeof GetImageDetailResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.DeleteRepository */ deleteRepository: { methodKind: 'unary'; input: typeof DeleteRepositoryRequestSchema; output: typeof DeleteRepositoryResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.DeleteTag */ deleteTag: { methodKind: 'unary'; input: typeof DeleteTagRequestSchema; output: typeof DeleteTagResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.BatchDeleteImage */ batchDeleteImage: { methodKind: 'unary'; input: typeof BatchDeleteImageRequestSchema; output: typeof BatchDeleteImageResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.GetRetentionPolicy */ getRetentionPolicy: { methodKind: 'unary'; input: typeof GetRetentionPolicyRequestSchema; output: typeof GetRetentionPolicyResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.UpsertRetentionPolicy */ upsertRetentionPolicy: { methodKind: 'unary'; input: typeof UpsertRetentionPolicyRequestSchema; output: typeof UpsertRetentionPolicyResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.DeleteRetentionPolicy */ deleteRetentionPolicy: { methodKind: 'unary'; input: typeof DeleteRetentionPolicyRequestSchema; output: typeof DeleteRetentionPolicyResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.ListUpstreamRegistries */ listUpstreamRegistries: { methodKind: 'unary'; input: typeof ListUpstreamRegistriesRequestSchema; output: typeof ListUpstreamRegistriesResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.CreateUpstreamRegistry */ createUpstreamRegistry: { methodKind: 'unary'; input: typeof CreateUpstreamRegistryRequestSchema; output: typeof CreateUpstreamRegistryResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.UpdateUpstreamRegistry */ updateUpstreamRegistry: { methodKind: 'unary'; input: typeof UpdateUpstreamRegistryRequestSchema; output: typeof UpdateUpstreamRegistryResponseSchema; }; /** * @generated from rpc depot.registry.v1beta1.RegistryService.DeleteUpstreamRegistry */ deleteUpstreamRegistry: { methodKind: 'unary'; input: typeof DeleteUpstreamRegistryRequestSchema; output: typeof DeleteUpstreamRegistryResponseSchema; }; }>; //#endregion //#region src/index.d.ts export interface ClientOptions { /** The token to use for authentication. If not provided, no authentication will be used. */ token?: string; /** * The base URL to use for the API. * @default https://api.depot.dev */ baseURL?: string; } export declare function createClient(options?: ClientOptions): { build: { v1: { BuildService: import("@connectrpc/connect").Client>; RegistryService: import("@connectrpc/connect").Client>; }; }; buildkit: { v1: { BuildKitService: import("@connectrpc/connect").Client>; }; }; code: { v1beta1: { CodeService: import("@connectrpc/connect").Client>; }; }; core: { v1: { BuildService: import("@connectrpc/connect").Client>; GithubActionsService: import("@connectrpc/connect").Client>; ProjectService: import("@connectrpc/connect").Client>; UsageService: import("@connectrpc/connect").Client>; UsageAnalyticsService: import("@connectrpc/connect").Client>; OrganizationService: import("@connectrpc/connect").Client>; }; }; registry: { v1beta1: { RegistryService: import("@connectrpc/connect").Client>; }; }; }; export declare const depot: { build: { v1: { BuildService: import("@connectrpc/connect").Client>; RegistryService: import("@connectrpc/connect").Client>; }; }; buildkit: { v1: { BuildKitService: import("@connectrpc/connect").Client>; }; }; code: { v1beta1: { CodeService: import("@connectrpc/connect").Client>; }; }; core: { v1: { BuildService: import("@connectrpc/connect").Client>; GithubActionsService: import("@connectrpc/connect").Client>; ProjectService: import("@connectrpc/connect").Client>; UsageService: import("@connectrpc/connect").Client>; UsageAnalyticsService: import("@connectrpc/connect").Client>; OrganizationService: import("@connectrpc/connect").Client>; }; }; registry: { v1beta1: { RegistryService: import("@connectrpc/connect").Client>; }; }; }; //#endregion export { wkt };