chore(api)!: updated grpc files
This commit is contained in:
@@ -474,9 +474,9 @@ func (x *ListSubmissionsRequest) GetStatus() SubmissionStatus {
|
||||
|
||||
type ListSubmissionsResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Submissions []*Submission `protobuf:"bytes,1,rep,name=submissions,proto3" json:"submissions,omitempty"`
|
||||
TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
||||
NextPageToken int32 `protobuf:"varint,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
||||
Submissions []*Submission `protobuf:"bytes,1,rep,name=submissions,proto3" json:"submissions,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -511,13 +511,6 @@ func (*ListSubmissionsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_api_proto_submission_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *ListSubmissionsResponse) GetSubmissions() []*Submission {
|
||||
if x != nil {
|
||||
return x.Submissions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ListSubmissionsResponse) GetTotalCount() int32 {
|
||||
if x != nil {
|
||||
return x.TotalCount
|
||||
@@ -532,6 +525,13 @@ func (x *ListSubmissionsResponse) GetNextPageToken() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListSubmissionsResponse) GetSubmissions() []*Submission {
|
||||
if x != nil {
|
||||
return x.Submissions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_api_proto_submission_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_api_proto_submission_proto_rawDesc = "" +
|
||||
@@ -569,11 +569,11 @@ const file_api_proto_submission_proto_rawDesc = "" +
|
||||
"\atask_id\x18\x04 \x01(\tR\x06taskId\x12\x17\n" +
|
||||
"\auser_id\x18\x05 \x01(\tR\x06userId\x124\n" +
|
||||
"\x06status\x18\x06 \x01(\x0e2\x1c.submission.SubmissionStatusR\x06status\"\x9c\x01\n" +
|
||||
"\x17ListSubmissionsResponse\x128\n" +
|
||||
"\vsubmissions\x18\x01 \x03(\v2\x16.submission.SubmissionR\vsubmissions\x12\x1f\n" +
|
||||
"\x17ListSubmissionsResponse\x12\x1f\n" +
|
||||
"\vtotal_count\x18\x02 \x01(\x05R\n" +
|
||||
"totalCount\x12&\n" +
|
||||
"\x0fnext_page_token\x18\x03 \x01(\x05R\rnextPageToken*\xd7\x01\n" +
|
||||
"\x0fnext_page_token\x18\x03 \x01(\x05R\rnextPageToken\x128\n" +
|
||||
"\vsubmissions\x18\x01 \x03(\v2\x16.submission.SubmissionR\vsubmissions*\xd7\x01\n" +
|
||||
"\x10SubmissionStatus\x12!\n" +
|
||||
"\x1dSUBMISSION_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n" +
|
||||
"\x19SUBMISSION_STATUS_PENDING\x10\x01\x12$\n" +
|
||||
|
||||
Reference in New Issue
Block a user