chore(api)!: updated grpc files
This commit is contained in:
+14
-14
@@ -384,9 +384,9 @@ func (x *ListSubmissionsForReviewRequest) GetStatus() ReviewStatus {
|
||||
|
||||
type ListSubmissionsForReviewResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Submissions []*SubmissionSummary `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"`
|
||||
TotalCount int32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
||||
NextPageToken int32 `protobuf:"varint,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
||||
Submissions []*SubmissionSummary `protobuf:"bytes,3,rep,name=submissions,proto3" json:"submissions,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -421,13 +421,6 @@ func (*ListSubmissionsForReviewResponse) Descriptor() ([]byte, []int) {
|
||||
return file_api_proto_review_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *ListSubmissionsForReviewResponse) GetSubmissions() []*SubmissionSummary {
|
||||
if x != nil {
|
||||
return x.Submissions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ListSubmissionsForReviewResponse) GetTotalCount() int32 {
|
||||
if x != nil {
|
||||
return x.TotalCount
|
||||
@@ -442,6 +435,13 @@ func (x *ListSubmissionsForReviewResponse) GetNextPageToken() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListSubmissionsForReviewResponse) GetSubmissions() []*SubmissionSummary {
|
||||
if x != nil {
|
||||
return x.Submissions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type GetSubmissionForReviewRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SubmissionId string `protobuf:"bytes,1,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"`
|
||||
@@ -692,11 +692,11 @@ const file_api_proto_review_proto_rawDesc = "" +
|
||||
"page_token\x18\x02 \x01(\x05R\tpageToken\x121\n" +
|
||||
"\x06status\x18\x03 \x01(\x0e2\x14.review.ReviewStatusH\x00R\x06status\x88\x01\x01B\t\n" +
|
||||
"\a_status\"\xa8\x01\n" +
|
||||
" ListSubmissionsForReviewResponse\x12;\n" +
|
||||
"\vsubmissions\x18\x01 \x03(\v2\x19.review.SubmissionSummaryR\vsubmissions\x12\x1f\n" +
|
||||
"\vtotal_count\x18\x02 \x01(\x05R\n" +
|
||||
" ListSubmissionsForReviewResponse\x12\x1f\n" +
|
||||
"\vtotal_count\x18\x01 \x01(\x05R\n" +
|
||||
"totalCount\x12&\n" +
|
||||
"\x0fnext_page_token\x18\x03 \x01(\x05R\rnextPageToken\"D\n" +
|
||||
"\x0fnext_page_token\x18\x02 \x01(\x05R\rnextPageToken\x12;\n" +
|
||||
"\vsubmissions\x18\x03 \x03(\v2\x19.review.SubmissionSummaryR\vsubmissions\"D\n" +
|
||||
"\x1dGetSubmissionForReviewRequest\x12#\n" +
|
||||
"\rsubmission_id\x18\x01 \x01(\tR\fsubmissionId\"\xbc\x01\n" +
|
||||
"\x19EvaluateSubmissionRequest\x12#\n" +
|
||||
|
||||
Reference in New Issue
Block a user