// SPDX-License-Identifier: MIT // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.12 // protoc (unknown) // source: ermite/artifact.proto package ermite import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // Artifact is a file that a job of a run uploaded with actions/upload-artifact // (artifacts v4): in most cases a zip archive, or a single file uploaded as is // ("archive: false"). It belongs to a run, not to one attempt: every job of the // run, in any attempt, sees the artifacts of the run. Only finalized artifacts // are described; an upload in progress is invisible. type Artifact struct { state protoimpl.MessageState `protogen:"open.v1"` // Id identifies the artifact on the server: unique across repositories and // runs, never reused, and higher for a later artifact. It is GitHub's // "artifact id" (databaseId), the id of the REST API. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Repo is the name of the repository of the run. Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` // RunId is the run the artifact belongs to. RunId int64 `protobuf:"varint,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` // Attempt is the attempt of the run whose job uploaded it. Attempt int32 `protobuf:"varint,4,opt,name=attempt,proto3" json:"attempt,omitempty"` // JobId is the Job.job_id of the job that uploaded it. JobId string `protobuf:"bytes,5,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Name is the name of the artifact, unique among the artifacts of the run: // 1 to 256 characters of valid UTF-8, without control characters, '"', ':', // '<', '>', '|', '*', '?', '\' or '/' (the characters @actions/artifact // refuses). Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // Size is the number of bytes of the content. Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` // Digest is the SHA-256 of the content, "sha256:" and 64 lowercase // hexadecimal characters, as GitHub gives it. Digest string `protobuf:"bytes,8,opt,name=digest,proto3" json:"digest,omitempty"` // MediaType is the media type of the content: "application/zip" for an // archive, the type the uploader gave for a file uploaded as is. MediaType string `protobuf:"bytes,9,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` // CreatedAt is when the upload began. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ExpiresAt is when the server deletes the artifact (see // CreateJobArtifactRequest.expires_at). ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Artifact) Reset() { *x = Artifact{} mi := &file_ermite_artifact_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Artifact) String() string { return protoimpl.X.MessageStringOf(x) } func (*Artifact) ProtoMessage() {} func (x *Artifact) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Artifact.ProtoReflect.Descriptor instead. func (*Artifact) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{0} } func (x *Artifact) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Artifact) GetRepo() string { if x != nil { return x.Repo } return "" } func (x *Artifact) GetRunId() int64 { if x != nil { return x.RunId } return 0 } func (x *Artifact) GetAttempt() int32 { if x != nil { return x.Attempt } return 0 } func (x *Artifact) GetJobId() string { if x != nil { return x.JobId } return "" } func (x *Artifact) GetName() string { if x != nil { return x.Name } return "" } func (x *Artifact) GetSize() int64 { if x != nil { return x.Size } return 0 } func (x *Artifact) GetDigest() string { if x != nil { return x.Digest } return "" } func (x *Artifact) GetMediaType() string { if x != nil { return x.MediaType } return "" } func (x *Artifact) GetCreatedAt() *timestamppb.Timestamp { if x != nil { return x.CreatedAt } return nil } func (x *Artifact) GetExpiresAt() *timestamppb.Timestamp { if x != nil { return x.ExpiresAt } return nil } // CreateJobArtifactRequest begins an upload. type CreateJobArtifactRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // JobId is the Job.job_id. It must be the job of the token. JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Name is the name of the artifact, see Artifact.name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // MediaType is the media type of a file uploaded as is (the toolkit's // mime_type), at most 255 characters. Empty means "application/zip". MediaType string `protobuf:"bytes,3,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` // ExpiresAt is when the artifact should be deleted (the toolkit's // expires_at, from "retention-days"). Unset means the default retention of // the server. The server keeps it between one day from now and its longest // retention, and returns the time it kept. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateJobArtifactRequest) Reset() { *x = CreateJobArtifactRequest{} mi := &file_ermite_artifact_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateJobArtifactRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateJobArtifactRequest) ProtoMessage() {} func (x *CreateJobArtifactRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateJobArtifactRequest.ProtoReflect.Descriptor instead. func (*CreateJobArtifactRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{1} } func (x *CreateJobArtifactRequest) GetJobId() string { if x != nil { return x.JobId } return "" } func (x *CreateJobArtifactRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateJobArtifactRequest) GetMediaType() string { if x != nil { return x.MediaType } return "" } func (x *CreateJobArtifactRequest) GetExpiresAt() *timestamppb.Timestamp { if x != nil { return x.ExpiresAt } return nil } // CreateJobArtifactResponse identifies the pending artifact. type CreateJobArtifactResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // ArtifactId is the id the artifact will have once finalized (Artifact.id). ArtifactId int64 `protobuf:"varint,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // ExpiresAt is the expiry the server kept. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateJobArtifactResponse) Reset() { *x = CreateJobArtifactResponse{} mi := &file_ermite_artifact_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateJobArtifactResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateJobArtifactResponse) ProtoMessage() {} func (x *CreateJobArtifactResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateJobArtifactResponse.ProtoReflect.Descriptor instead. func (*CreateJobArtifactResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{2} } func (x *CreateJobArtifactResponse) GetArtifactId() int64 { if x != nil { return x.ArtifactId } return 0 } func (x *CreateJobArtifactResponse) GetExpiresAt() *timestamppb.Timestamp { if x != nil { return x.ExpiresAt } return nil } // UploadJobArtifactBlockRequest is one message of the stream of a block. type UploadJobArtifactBlockRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // JobId is the Job.job_id, in the first message only. It must be the job of // the token. JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // ArtifactId is the CreateJobArtifactResponse.artifact_id, in the first // message only. ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // BlockId identifies the block within the artifact: 1 to 64 bytes (Azure's // block id, decoded from base64), in the first message only. BlockId []byte `protobuf:"bytes,3,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // Data is the next part of the block, at most 1 MiB (1,048,576 bytes). Any // message may have none. Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UploadJobArtifactBlockRequest) Reset() { *x = UploadJobArtifactBlockRequest{} mi := &file_ermite_artifact_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UploadJobArtifactBlockRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UploadJobArtifactBlockRequest) ProtoMessage() {} func (x *UploadJobArtifactBlockRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UploadJobArtifactBlockRequest.ProtoReflect.Descriptor instead. func (*UploadJobArtifactBlockRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{3} } func (x *UploadJobArtifactBlockRequest) GetJobId() string { if x != nil { return x.JobId } return "" } func (x *UploadJobArtifactBlockRequest) GetArtifactId() int64 { if x != nil { return x.ArtifactId } return 0 } func (x *UploadJobArtifactBlockRequest) GetBlockId() []byte { if x != nil { return x.BlockId } return nil } func (x *UploadJobArtifactBlockRequest) GetData() []byte { if x != nil { return x.Data } return nil } // UploadJobArtifactBlockResponse confirms a stored block. type UploadJobArtifactBlockResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Size is the number of bytes of the block as stored. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UploadJobArtifactBlockResponse) Reset() { *x = UploadJobArtifactBlockResponse{} mi := &file_ermite_artifact_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UploadJobArtifactBlockResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UploadJobArtifactBlockResponse) ProtoMessage() {} func (x *UploadJobArtifactBlockResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UploadJobArtifactBlockResponse.ProtoReflect.Descriptor instead. func (*UploadJobArtifactBlockResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{4} } func (x *UploadJobArtifactBlockResponse) GetSize() int64 { if x != nil { return x.Size } return 0 } // CommitJobArtifactRequest sets the content of a pending artifact. type CommitJobArtifactRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // JobId is the Job.job_id. It must be the job of the token. JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // ArtifactId is the CreateJobArtifactResponse.artifact_id. ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // BlockIds are the blocks of the content, in order, each one as given to // UploadJobArtifactBlock. At most 50,000; the same id may appear more than // once. BlockIds [][]byte `protobuf:"bytes,3,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CommitJobArtifactRequest) Reset() { *x = CommitJobArtifactRequest{} mi := &file_ermite_artifact_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CommitJobArtifactRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitJobArtifactRequest) ProtoMessage() {} func (x *CommitJobArtifactRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CommitJobArtifactRequest.ProtoReflect.Descriptor instead. func (*CommitJobArtifactRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{5} } func (x *CommitJobArtifactRequest) GetJobId() string { if x != nil { return x.JobId } return "" } func (x *CommitJobArtifactRequest) GetArtifactId() int64 { if x != nil { return x.ArtifactId } return 0 } func (x *CommitJobArtifactRequest) GetBlockIds() [][]byte { if x != nil { return x.BlockIds } return nil } // CommitJobArtifactResponse describes the committed content. type CommitJobArtifactResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Size is the number of bytes of the content. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Digest is the SHA-256 of the content, see Artifact.digest. Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CommitJobArtifactResponse) Reset() { *x = CommitJobArtifactResponse{} mi := &file_ermite_artifact_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CommitJobArtifactResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitJobArtifactResponse) ProtoMessage() {} func (x *CommitJobArtifactResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CommitJobArtifactResponse.ProtoReflect.Descriptor instead. func (*CommitJobArtifactResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{6} } func (x *CommitJobArtifactResponse) GetSize() int64 { if x != nil { return x.Size } return 0 } func (x *CommitJobArtifactResponse) GetDigest() string { if x != nil { return x.Digest } return "" } // FinalizeJobArtifactRequest ends an upload. type FinalizeJobArtifactRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // JobId is the Job.job_id. It must be the job of the token. JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Name is the name given to CreateJobArtifact. The toolkit finalizes by name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Size is the size the uploader counted. Informational: the server keeps the // size of the content it stored, and only logs a difference. Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // Digest is the digest the uploader computed ("sha256:"), or empty. // When set it must be the digest of the content. Digest string `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FinalizeJobArtifactRequest) Reset() { *x = FinalizeJobArtifactRequest{} mi := &file_ermite_artifact_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FinalizeJobArtifactRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FinalizeJobArtifactRequest) ProtoMessage() {} func (x *FinalizeJobArtifactRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FinalizeJobArtifactRequest.ProtoReflect.Descriptor instead. func (*FinalizeJobArtifactRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{7} } func (x *FinalizeJobArtifactRequest) GetJobId() string { if x != nil { return x.JobId } return "" } func (x *FinalizeJobArtifactRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *FinalizeJobArtifactRequest) GetSize() int64 { if x != nil { return x.Size } return 0 } func (x *FinalizeJobArtifactRequest) GetDigest() string { if x != nil { return x.Digest } return "" } // FinalizeJobArtifactResponse describes the artifact now visible. type FinalizeJobArtifactResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Artifact is the finalized artifact. Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FinalizeJobArtifactResponse) Reset() { *x = FinalizeJobArtifactResponse{} mi := &file_ermite_artifact_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FinalizeJobArtifactResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FinalizeJobArtifactResponse) ProtoMessage() {} func (x *FinalizeJobArtifactResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FinalizeJobArtifactResponse.ProtoReflect.Descriptor instead. func (*FinalizeJobArtifactResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{8} } func (x *FinalizeJobArtifactResponse) GetArtifact() *Artifact { if x != nil { return x.Artifact } return nil } // ListJobArtifactsRequest selects artifacts of the job's run. type ListJobArtifactsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // JobId is the Job.job_id. It must be the job of the token. JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Name keeps only the artifact of that name. Empty means every name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // ArtifactId keeps only the artifact of that id. 0 means every id. ArtifactId int64 `protobuf:"varint,3,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListJobArtifactsRequest) Reset() { *x = ListJobArtifactsRequest{} mi := &file_ermite_artifact_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListJobArtifactsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListJobArtifactsRequest) ProtoMessage() {} func (x *ListJobArtifactsRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListJobArtifactsRequest.ProtoReflect.Descriptor instead. func (*ListJobArtifactsRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{9} } func (x *ListJobArtifactsRequest) GetJobId() string { if x != nil { return x.JobId } return "" } func (x *ListJobArtifactsRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *ListJobArtifactsRequest) GetArtifactId() int64 { if x != nil { return x.ArtifactId } return 0 } // ListJobArtifactsResponse lists artifacts of the job's run. type ListJobArtifactsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Artifacts are the artifacts, by id. Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListJobArtifactsResponse) Reset() { *x = ListJobArtifactsResponse{} mi := &file_ermite_artifact_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListJobArtifactsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListJobArtifactsResponse) ProtoMessage() {} func (x *ListJobArtifactsResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListJobArtifactsResponse.ProtoReflect.Descriptor instead. func (*ListJobArtifactsResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{10} } func (x *ListJobArtifactsResponse) GetArtifacts() []*Artifact { if x != nil { return x.Artifacts } return nil } // DownloadJobArtifactRequest selects the content of an artifact. type DownloadJobArtifactRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // JobId is the Job.job_id. It must be the job of the token. JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // ArtifactId is the Artifact.id of an artifact of the job's run. ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // Offset is the first byte to send, from 0 to the size of the artifact. Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DownloadJobArtifactRequest) Reset() { *x = DownloadJobArtifactRequest{} mi := &file_ermite_artifact_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DownloadJobArtifactRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DownloadJobArtifactRequest) ProtoMessage() {} func (x *DownloadJobArtifactRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DownloadJobArtifactRequest.ProtoReflect.Descriptor instead. func (*DownloadJobArtifactRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{11} } func (x *DownloadJobArtifactRequest) GetJobId() string { if x != nil { return x.JobId } return "" } func (x *DownloadJobArtifactRequest) GetArtifactId() int64 { if x != nil { return x.ArtifactId } return 0 } func (x *DownloadJobArtifactRequest) GetOffset() int64 { if x != nil { return x.Offset } return 0 } // DownloadJobArtifactResponse is one message of the content stream. type DownloadJobArtifactResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Artifact describes the artifact. Set in the first message of the stream // only. Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` // Chunk is the next part of the content, at most 1 MiB, in order. The first // message may have an empty chunk. The chunks of a stream add up to the size // of the artifact minus the offset. Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DownloadJobArtifactResponse) Reset() { *x = DownloadJobArtifactResponse{} mi := &file_ermite_artifact_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DownloadJobArtifactResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DownloadJobArtifactResponse) ProtoMessage() {} func (x *DownloadJobArtifactResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DownloadJobArtifactResponse.ProtoReflect.Descriptor instead. func (*DownloadJobArtifactResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{12} } func (x *DownloadJobArtifactResponse) GetArtifact() *Artifact { if x != nil { return x.Artifact } return nil } func (x *DownloadJobArtifactResponse) GetChunk() []byte { if x != nil { return x.Chunk } return nil } // DeleteJobArtifactRequest names the artifact to delete. type DeleteJobArtifactRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // JobId is the Job.job_id. It must be the job of the token. JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Name is the name of a finalized artifact of the job's run. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteJobArtifactRequest) Reset() { *x = DeleteJobArtifactRequest{} mi := &file_ermite_artifact_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteJobArtifactRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteJobArtifactRequest) ProtoMessage() {} func (x *DeleteJobArtifactRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteJobArtifactRequest.ProtoReflect.Descriptor instead. func (*DeleteJobArtifactRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{13} } func (x *DeleteJobArtifactRequest) GetJobId() string { if x != nil { return x.JobId } return "" } func (x *DeleteJobArtifactRequest) GetName() string { if x != nil { return x.Name } return "" } // DeleteJobArtifactResponse identifies the deleted artifact. type DeleteJobArtifactResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // ArtifactId is the Artifact.id of the artifact that was deleted. ArtifactId int64 `protobuf:"varint,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteJobArtifactResponse) Reset() { *x = DeleteJobArtifactResponse{} mi := &file_ermite_artifact_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteJobArtifactResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteJobArtifactResponse) ProtoMessage() {} func (x *DeleteJobArtifactResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteJobArtifactResponse.ProtoReflect.Descriptor instead. func (*DeleteJobArtifactResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{14} } func (x *DeleteJobArtifactResponse) GetArtifactId() int64 { if x != nil { return x.ArtifactId } return 0 } // ListArtifactsRequest selects the artifacts of a run. type ListArtifactsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Repo is the repository name. Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // RunId is the run. RunId int64 `protobuf:"varint,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListArtifactsRequest) Reset() { *x = ListArtifactsRequest{} mi := &file_ermite_artifact_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListArtifactsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListArtifactsRequest) ProtoMessage() {} func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead. func (*ListArtifactsRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{15} } func (x *ListArtifactsRequest) GetRepo() string { if x != nil { return x.Repo } return "" } func (x *ListArtifactsRequest) GetRunId() int64 { if x != nil { return x.RunId } return 0 } // ListArtifactsResponse lists the artifacts of a run. type ListArtifactsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Artifacts are the artifacts of the run, all attempts, by id. Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` // UsedBytes is the space that all the artifacts of the repository use, // uploads in progress included. UsedBytes int64 `protobuf:"varint,2,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"` // QuotaBytes is the space the artifacts of the repository may use. QuotaBytes int64 `protobuf:"varint,3,opt,name=quota_bytes,json=quotaBytes,proto3" json:"quota_bytes,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListArtifactsResponse) Reset() { *x = ListArtifactsResponse{} mi := &file_ermite_artifact_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListArtifactsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListArtifactsResponse) ProtoMessage() {} func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead. func (*ListArtifactsResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{16} } func (x *ListArtifactsResponse) GetArtifacts() []*Artifact { if x != nil { return x.Artifacts } return nil } func (x *ListArtifactsResponse) GetUsedBytes() int64 { if x != nil { return x.UsedBytes } return 0 } func (x *ListArtifactsResponse) GetQuotaBytes() int64 { if x != nil { return x.QuotaBytes } return 0 } // DownloadArtifactRequest selects the content of an artifact. type DownloadArtifactRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Repo is the repository name. Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // ArtifactId is the Artifact.id. ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // Offset is the first byte to send, from 0 to the size of the artifact. Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DownloadArtifactRequest) Reset() { *x = DownloadArtifactRequest{} mi := &file_ermite_artifact_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DownloadArtifactRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DownloadArtifactRequest) ProtoMessage() {} func (x *DownloadArtifactRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DownloadArtifactRequest.ProtoReflect.Descriptor instead. func (*DownloadArtifactRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{17} } func (x *DownloadArtifactRequest) GetRepo() string { if x != nil { return x.Repo } return "" } func (x *DownloadArtifactRequest) GetArtifactId() int64 { if x != nil { return x.ArtifactId } return 0 } func (x *DownloadArtifactRequest) GetOffset() int64 { if x != nil { return x.Offset } return 0 } // DownloadArtifactResponse is one message of the content stream. type DownloadArtifactResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Artifact describes the artifact. Set in the first message of the stream // only. Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` // Chunk is the next part of the content, at most 1 MiB, in order. The first // message may have an empty chunk. Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DownloadArtifactResponse) Reset() { *x = DownloadArtifactResponse{} mi := &file_ermite_artifact_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DownloadArtifactResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DownloadArtifactResponse) ProtoMessage() {} func (x *DownloadArtifactResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DownloadArtifactResponse.ProtoReflect.Descriptor instead. func (*DownloadArtifactResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{18} } func (x *DownloadArtifactResponse) GetArtifact() *Artifact { if x != nil { return x.Artifact } return nil } func (x *DownloadArtifactResponse) GetChunk() []byte { if x != nil { return x.Chunk } return nil } // DeleteArtifactRequest names the artifact to delete. type DeleteArtifactRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Repo is the repository name. Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // ArtifactId is the Artifact.id. ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteArtifactRequest) Reset() { *x = DeleteArtifactRequest{} mi := &file_ermite_artifact_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteArtifactRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteArtifactRequest) ProtoMessage() {} func (x *DeleteArtifactRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead. func (*DeleteArtifactRequest) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{19} } func (x *DeleteArtifactRequest) GetRepo() string { if x != nil { return x.Repo } return "" } func (x *DeleteArtifactRequest) GetArtifactId() int64 { if x != nil { return x.ArtifactId } return 0 } // DeleteArtifactResponse is empty. type DeleteArtifactResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteArtifactResponse) Reset() { *x = DeleteArtifactResponse{} mi := &file_ermite_artifact_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteArtifactResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteArtifactResponse) ProtoMessage() {} func (x *DeleteArtifactResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_artifact_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteArtifactResponse.ProtoReflect.Descriptor instead. func (*DeleteArtifactResponse) Descriptor() ([]byte, []int) { return file_ermite_artifact_proto_rawDescGZIP(), []int{20} } var File_ermite_artifact_proto protoreflect.FileDescriptor const file_ermite_artifact_proto_rawDesc = "" + "\n" + "\x15ermite/artifact.proto\x12\x06ermite\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcb\x02\n" + "\bArtifact\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" + "\x04repo\x18\x02 \x01(\tR\x04repo\x12\x15\n" + "\x06run_id\x18\x03 \x01(\x03R\x05runId\x12\x18\n" + "\aattempt\x18\x04 \x01(\x05R\aattempt\x12\x15\n" + "\x06job_id\x18\x05 \x01(\tR\x05jobId\x12\x12\n" + "\x04name\x18\x06 \x01(\tR\x04name\x12\x12\n" + "\x04size\x18\a \x01(\x03R\x04size\x12\x16\n" + "\x06digest\x18\b \x01(\tR\x06digest\x12\x1d\n" + "\n" + "media_type\x18\t \x01(\tR\tmediaType\x129\n" + "\n" + "created_at\x18\n" + " \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" + "\n" + "expires_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\"\x9f\x01\n" + "\x18CreateJobArtifactRequest\x12\x15\n" + "\x06job_id\x18\x01 \x01(\tR\x05jobId\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" + "\n" + "media_type\x18\x03 \x01(\tR\tmediaType\x129\n" + "\n" + "expires_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\"w\n" + "\x19CreateJobArtifactResponse\x12\x1f\n" + "\vartifact_id\x18\x01 \x01(\x03R\n" + "artifactId\x129\n" + "\n" + "expires_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\"\x86\x01\n" + "\x1dUploadJobArtifactBlockRequest\x12\x15\n" + "\x06job_id\x18\x01 \x01(\tR\x05jobId\x12\x1f\n" + "\vartifact_id\x18\x02 \x01(\x03R\n" + "artifactId\x12\x19\n" + "\bblock_id\x18\x03 \x01(\fR\ablockId\x12\x12\n" + "\x04data\x18\x04 \x01(\fR\x04data\"4\n" + "\x1eUploadJobArtifactBlockResponse\x12\x12\n" + "\x04size\x18\x01 \x01(\x03R\x04size\"o\n" + "\x18CommitJobArtifactRequest\x12\x15\n" + "\x06job_id\x18\x01 \x01(\tR\x05jobId\x12\x1f\n" + "\vartifact_id\x18\x02 \x01(\x03R\n" + "artifactId\x12\x1b\n" + "\tblock_ids\x18\x03 \x03(\fR\bblockIds\"G\n" + "\x19CommitJobArtifactResponse\x12\x12\n" + "\x04size\x18\x01 \x01(\x03R\x04size\x12\x16\n" + "\x06digest\x18\x02 \x01(\tR\x06digest\"s\n" + "\x1aFinalizeJobArtifactRequest\x12\x15\n" + "\x06job_id\x18\x01 \x01(\tR\x05jobId\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" + "\x04size\x18\x03 \x01(\x03R\x04size\x12\x16\n" + "\x06digest\x18\x04 \x01(\tR\x06digest\"K\n" + "\x1bFinalizeJobArtifactResponse\x12,\n" + "\bartifact\x18\x01 \x01(\v2\x10.ermite.ArtifactR\bartifact\"e\n" + "\x17ListJobArtifactsRequest\x12\x15\n" + "\x06job_id\x18\x01 \x01(\tR\x05jobId\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x1f\n" + "\vartifact_id\x18\x03 \x01(\x03R\n" + "artifactId\"J\n" + "\x18ListJobArtifactsResponse\x12.\n" + "\tartifacts\x18\x01 \x03(\v2\x10.ermite.ArtifactR\tartifacts\"l\n" + "\x1aDownloadJobArtifactRequest\x12\x15\n" + "\x06job_id\x18\x01 \x01(\tR\x05jobId\x12\x1f\n" + "\vartifact_id\x18\x02 \x01(\x03R\n" + "artifactId\x12\x16\n" + "\x06offset\x18\x03 \x01(\x03R\x06offset\"a\n" + "\x1bDownloadJobArtifactResponse\x12,\n" + "\bartifact\x18\x01 \x01(\v2\x10.ermite.ArtifactR\bartifact\x12\x14\n" + "\x05chunk\x18\x02 \x01(\fR\x05chunk\"E\n" + "\x18DeleteJobArtifactRequest\x12\x15\n" + "\x06job_id\x18\x01 \x01(\tR\x05jobId\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\"<\n" + "\x19DeleteJobArtifactResponse\x12\x1f\n" + "\vartifact_id\x18\x01 \x01(\x03R\n" + "artifactId\"A\n" + "\x14ListArtifactsRequest\x12\x12\n" + "\x04repo\x18\x01 \x01(\tR\x04repo\x12\x15\n" + "\x06run_id\x18\x02 \x01(\x03R\x05runId\"\x87\x01\n" + "\x15ListArtifactsResponse\x12.\n" + "\tartifacts\x18\x01 \x03(\v2\x10.ermite.ArtifactR\tartifacts\x12\x1d\n" + "\n" + "used_bytes\x18\x02 \x01(\x03R\tusedBytes\x12\x1f\n" + "\vquota_bytes\x18\x03 \x01(\x03R\n" + "quotaBytes\"f\n" + "\x17DownloadArtifactRequest\x12\x12\n" + "\x04repo\x18\x01 \x01(\tR\x04repo\x12\x1f\n" + "\vartifact_id\x18\x02 \x01(\x03R\n" + "artifactId\x12\x16\n" + "\x06offset\x18\x03 \x01(\x03R\x06offset\"^\n" + "\x18DownloadArtifactResponse\x12,\n" + "\bartifact\x18\x01 \x01(\v2\x10.ermite.ArtifactR\bartifact\x12\x14\n" + "\x05chunk\x18\x02 \x01(\fR\x05chunk\"L\n" + "\x15DeleteArtifactRequest\x12\x12\n" + "\x04repo\x18\x01 \x01(\tR\x04repo\x12\x1f\n" + "\vartifact_id\x18\x02 \x01(\x03R\n" + "artifactId\"\x18\n" + "\x16DeleteArtifactResponse2\xa6\x05\n" + "\x12JobArtifactService\x12X\n" + "\x11CreateJobArtifact\x12 .ermite.CreateJobArtifactRequest\x1a!.ermite.CreateJobArtifactResponse\x12i\n" + "\x16UploadJobArtifactBlock\x12%.ermite.UploadJobArtifactBlockRequest\x1a&.ermite.UploadJobArtifactBlockResponse(\x01\x12X\n" + "\x11CommitJobArtifact\x12 .ermite.CommitJobArtifactRequest\x1a!.ermite.CommitJobArtifactResponse\x12^\n" + "\x13FinalizeJobArtifact\x12\".ermite.FinalizeJobArtifactRequest\x1a#.ermite.FinalizeJobArtifactResponse\x12U\n" + "\x10ListJobArtifacts\x12\x1f.ermite.ListJobArtifactsRequest\x1a .ermite.ListJobArtifactsResponse\x12`\n" + "\x13DownloadJobArtifact\x12\".ermite.DownloadJobArtifactRequest\x1a#.ermite.DownloadJobArtifactResponse0\x01\x12X\n" + "\x11DeleteJobArtifact\x12 .ermite.DeleteJobArtifactRequest\x1a!.ermite.DeleteJobArtifactResponse2\x89\x02\n" + "\x0fArtifactService\x12L\n" + "\rListArtifacts\x12\x1c.ermite.ListArtifactsRequest\x1a\x1d.ermite.ListArtifactsResponse\x12W\n" + "\x10DownloadArtifact\x12\x1f.ermite.DownloadArtifactRequest\x1a .ermite.DownloadArtifactResponse0\x01\x12O\n" + "\x0eDeleteArtifact\x12\x1d.ermite.DeleteArtifactRequest\x1a\x1e.ermite.DeleteArtifactResponseBt\n" + "\n" + "com.ermiteB\rArtifactProtoP\x01Z\x1fbnema.dev/ermite-api/gen/ermite\xa2\x02\x03EXX\xaa\x02\x06Ermite\xca\x02\x06Ermite\xe2\x02\x12Ermite\\GPBMetadata\xea\x02\x06Ermiteb\x06proto3" var ( file_ermite_artifact_proto_rawDescOnce sync.Once file_ermite_artifact_proto_rawDescData []byte ) func file_ermite_artifact_proto_rawDescGZIP() []byte { file_ermite_artifact_proto_rawDescOnce.Do(func() { file_ermite_artifact_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ermite_artifact_proto_rawDesc), len(file_ermite_artifact_proto_rawDesc))) }) return file_ermite_artifact_proto_rawDescData } var file_ermite_artifact_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_ermite_artifact_proto_goTypes = []any{ (*Artifact)(nil), // 0: ermite.Artifact (*CreateJobArtifactRequest)(nil), // 1: ermite.CreateJobArtifactRequest (*CreateJobArtifactResponse)(nil), // 2: ermite.CreateJobArtifactResponse (*UploadJobArtifactBlockRequest)(nil), // 3: ermite.UploadJobArtifactBlockRequest (*UploadJobArtifactBlockResponse)(nil), // 4: ermite.UploadJobArtifactBlockResponse (*CommitJobArtifactRequest)(nil), // 5: ermite.CommitJobArtifactRequest (*CommitJobArtifactResponse)(nil), // 6: ermite.CommitJobArtifactResponse (*FinalizeJobArtifactRequest)(nil), // 7: ermite.FinalizeJobArtifactRequest (*FinalizeJobArtifactResponse)(nil), // 8: ermite.FinalizeJobArtifactResponse (*ListJobArtifactsRequest)(nil), // 9: ermite.ListJobArtifactsRequest (*ListJobArtifactsResponse)(nil), // 10: ermite.ListJobArtifactsResponse (*DownloadJobArtifactRequest)(nil), // 11: ermite.DownloadJobArtifactRequest (*DownloadJobArtifactResponse)(nil), // 12: ermite.DownloadJobArtifactResponse (*DeleteJobArtifactRequest)(nil), // 13: ermite.DeleteJobArtifactRequest (*DeleteJobArtifactResponse)(nil), // 14: ermite.DeleteJobArtifactResponse (*ListArtifactsRequest)(nil), // 15: ermite.ListArtifactsRequest (*ListArtifactsResponse)(nil), // 16: ermite.ListArtifactsResponse (*DownloadArtifactRequest)(nil), // 17: ermite.DownloadArtifactRequest (*DownloadArtifactResponse)(nil), // 18: ermite.DownloadArtifactResponse (*DeleteArtifactRequest)(nil), // 19: ermite.DeleteArtifactRequest (*DeleteArtifactResponse)(nil), // 20: ermite.DeleteArtifactResponse (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp } var file_ermite_artifact_proto_depIdxs = []int32{ 21, // 0: ermite.Artifact.created_at:type_name -> google.protobuf.Timestamp 21, // 1: ermite.Artifact.expires_at:type_name -> google.protobuf.Timestamp 21, // 2: ermite.CreateJobArtifactRequest.expires_at:type_name -> google.protobuf.Timestamp 21, // 3: ermite.CreateJobArtifactResponse.expires_at:type_name -> google.protobuf.Timestamp 0, // 4: ermite.FinalizeJobArtifactResponse.artifact:type_name -> ermite.Artifact 0, // 5: ermite.ListJobArtifactsResponse.artifacts:type_name -> ermite.Artifact 0, // 6: ermite.DownloadJobArtifactResponse.artifact:type_name -> ermite.Artifact 0, // 7: ermite.ListArtifactsResponse.artifacts:type_name -> ermite.Artifact 0, // 8: ermite.DownloadArtifactResponse.artifact:type_name -> ermite.Artifact 1, // 9: ermite.JobArtifactService.CreateJobArtifact:input_type -> ermite.CreateJobArtifactRequest 3, // 10: ermite.JobArtifactService.UploadJobArtifactBlock:input_type -> ermite.UploadJobArtifactBlockRequest 5, // 11: ermite.JobArtifactService.CommitJobArtifact:input_type -> ermite.CommitJobArtifactRequest 7, // 12: ermite.JobArtifactService.FinalizeJobArtifact:input_type -> ermite.FinalizeJobArtifactRequest 9, // 13: ermite.JobArtifactService.ListJobArtifacts:input_type -> ermite.ListJobArtifactsRequest 11, // 14: ermite.JobArtifactService.DownloadJobArtifact:input_type -> ermite.DownloadJobArtifactRequest 13, // 15: ermite.JobArtifactService.DeleteJobArtifact:input_type -> ermite.DeleteJobArtifactRequest 15, // 16: ermite.ArtifactService.ListArtifacts:input_type -> ermite.ListArtifactsRequest 17, // 17: ermite.ArtifactService.DownloadArtifact:input_type -> ermite.DownloadArtifactRequest 19, // 18: ermite.ArtifactService.DeleteArtifact:input_type -> ermite.DeleteArtifactRequest 2, // 19: ermite.JobArtifactService.CreateJobArtifact:output_type -> ermite.CreateJobArtifactResponse 4, // 20: ermite.JobArtifactService.UploadJobArtifactBlock:output_type -> ermite.UploadJobArtifactBlockResponse 6, // 21: ermite.JobArtifactService.CommitJobArtifact:output_type -> ermite.CommitJobArtifactResponse 8, // 22: ermite.JobArtifactService.FinalizeJobArtifact:output_type -> ermite.FinalizeJobArtifactResponse 10, // 23: ermite.JobArtifactService.ListJobArtifacts:output_type -> ermite.ListJobArtifactsResponse 12, // 24: ermite.JobArtifactService.DownloadJobArtifact:output_type -> ermite.DownloadJobArtifactResponse 14, // 25: ermite.JobArtifactService.DeleteJobArtifact:output_type -> ermite.DeleteJobArtifactResponse 16, // 26: ermite.ArtifactService.ListArtifacts:output_type -> ermite.ListArtifactsResponse 18, // 27: ermite.ArtifactService.DownloadArtifact:output_type -> ermite.DownloadArtifactResponse 20, // 28: ermite.ArtifactService.DeleteArtifact:output_type -> ermite.DeleteArtifactResponse 19, // [19:29] is the sub-list for method output_type 9, // [9:19] is the sub-list for method input_type 9, // [9:9] is the sub-list for extension type_name 9, // [9:9] is the sub-list for extension extendee 0, // [0:9] is the sub-list for field type_name } func init() { file_ermite_artifact_proto_init() } func file_ermite_artifact_proto_init() { if File_ermite_artifact_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_ermite_artifact_proto_rawDesc), len(file_ermite_artifact_proto_rawDesc)), NumEnums: 0, NumMessages: 21, NumExtensions: 0, NumServices: 2, }, GoTypes: file_ermite_artifact_proto_goTypes, DependencyIndexes: file_ermite_artifact_proto_depIdxs, MessageInfos: file_ermite_artifact_proto_msgTypes, }.Build() File_ermite_artifact_proto = out.File file_ermite_artifact_proto_goTypes = nil file_ermite_artifact_proto_depIdxs = nil }