638 lines
21 KiB
Go
638 lines
21 KiB
Go
|
//COOPGO Diags gRPC service definition
|
||
|
|
||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.35.2
|
||
|
// protoc v3.21.12
|
||
|
// source: diags.proto
|
||
|
|
||
|
package grpcapi
|
||
|
|
||
|
import (
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
_ "google.golang.org/protobuf/types/known/structpb"
|
||
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
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)
|
||
|
)
|
||
|
|
||
|
type CreateDiagRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Diag *Diag `protobuf:"bytes,1,opt,name=diag,proto3" json:"diag,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *CreateDiagRequest) Reset() {
|
||
|
*x = CreateDiagRequest{}
|
||
|
mi := &file_diags_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *CreateDiagRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*CreateDiagRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *CreateDiagRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 CreateDiagRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*CreateDiagRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *CreateDiagRequest) GetDiag() *Diag {
|
||
|
if x != nil {
|
||
|
return x.Diag
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type CreateDiagResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Diag *Diag `protobuf:"bytes,2,opt,name=diag,proto3" json:"diag,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *CreateDiagResponse) Reset() {
|
||
|
*x = CreateDiagResponse{}
|
||
|
mi := &file_diags_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *CreateDiagResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*CreateDiagResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *CreateDiagResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 CreateDiagResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*CreateDiagResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *CreateDiagResponse) GetDiag() *Diag {
|
||
|
if x != nil {
|
||
|
return x.Diag
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type GetDiagRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagRequest) Reset() {
|
||
|
*x = GetDiagRequest{}
|
||
|
mi := &file_diags_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetDiagRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetDiagRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 GetDiagRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*GetDiagRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagRequest) GetId() string {
|
||
|
if x != nil {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type GetDiagResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Diag *Diag `protobuf:"bytes,4,opt,name=diag,proto3" json:"diag,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagResponse) Reset() {
|
||
|
*x = GetDiagResponse{}
|
||
|
mi := &file_diags_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetDiagResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetDiagResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 GetDiagResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*GetDiagResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagResponse) GetDiag() *Diag {
|
||
|
if x != nil {
|
||
|
return x.Diag
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type DeleteDiagRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *DeleteDiagRequest) Reset() {
|
||
|
*x = DeleteDiagRequest{}
|
||
|
mi := &file_diags_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *DeleteDiagRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*DeleteDiagRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *DeleteDiagRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 DeleteDiagRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*DeleteDiagRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *DeleteDiagRequest) GetId() string {
|
||
|
if x != nil {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type DeleteDiagResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Ok bool `protobuf:"varint,6,opt,name=ok,proto3" json:"ok,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *DeleteDiagResponse) Reset() {
|
||
|
*x = DeleteDiagResponse{}
|
||
|
mi := &file_diags_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *DeleteDiagResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*DeleteDiagResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *DeleteDiagResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 DeleteDiagResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*DeleteDiagResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *DeleteDiagResponse) GetOk() bool {
|
||
|
if x != nil {
|
||
|
return x.Ok
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type GetDiagsRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Namespaces []string `protobuf:"bytes,7,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
|
||
|
Mindate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=mindate,proto3" json:"mindate,omitempty"`
|
||
|
Maxdate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=maxdate,proto3" json:"maxdate,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagsRequest) Reset() {
|
||
|
*x = GetDiagsRequest{}
|
||
|
mi := &file_diags_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagsRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetDiagsRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetDiagsRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 GetDiagsRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*GetDiagsRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{6}
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagsRequest) GetNamespaces() []string {
|
||
|
if x != nil {
|
||
|
return x.Namespaces
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagsRequest) GetMindate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.Mindate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagsRequest) GetMaxdate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.Maxdate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type GetDiagsResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Diags []*Diag `protobuf:"bytes,10,rep,name=diags,proto3" json:"diags,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagsResponse) Reset() {
|
||
|
*x = GetDiagsResponse{}
|
||
|
mi := &file_diags_proto_msgTypes[7]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagsResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetDiagsResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetDiagsResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 GetDiagsResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*GetDiagsResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{7}
|
||
|
}
|
||
|
|
||
|
func (x *GetDiagsResponse) GetDiags() []*Diag {
|
||
|
if x != nil {
|
||
|
return x.Diags
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UpdateDiagRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Diag *Diag `protobuf:"bytes,11,opt,name=diag,proto3" json:"diag,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *UpdateDiagRequest) Reset() {
|
||
|
*x = UpdateDiagRequest{}
|
||
|
mi := &file_diags_proto_msgTypes[8]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *UpdateDiagRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*UpdateDiagRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *UpdateDiagRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 UpdateDiagRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*UpdateDiagRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{8}
|
||
|
}
|
||
|
|
||
|
func (x *UpdateDiagRequest) GetDiag() *Diag {
|
||
|
if x != nil {
|
||
|
return x.Diag
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type UpdateDiagResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Diag *Diag `protobuf:"bytes,12,opt,name=diag,proto3" json:"diag,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *UpdateDiagResponse) Reset() {
|
||
|
*x = UpdateDiagResponse{}
|
||
|
mi := &file_diags_proto_msgTypes[9]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
|
||
|
func (x *UpdateDiagResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*UpdateDiagResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *UpdateDiagResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_diags_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 UpdateDiagResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*UpdateDiagResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_diags_proto_rawDescGZIP(), []int{9}
|
||
|
}
|
||
|
|
||
|
func (x *UpdateDiagResponse) GetDiag() *Diag {
|
||
|
if x != nil {
|
||
|
return x.Diag
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var File_diags_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_diags_proto_rawDesc = []byte{
|
||
|
0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
|
||
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
|
||
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c,
|
||
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
|
||
|
0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x64, 0x69,
|
||
|
0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61,
|
||
|
0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a,
|
||
|
0x04, 0x64, 0x69, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x44, 0x69,
|
||
|
0x61, 0x67, 0x52, 0x04, 0x64, 0x69, 0x61, 0x67, 0x22, 0x2f, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61,
|
||
|
0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19,
|
||
|
0x0a, 0x04, 0x64, 0x69, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x44,
|
||
|
0x69, 0x61, 0x67, 0x52, 0x04, 0x64, 0x69, 0x61, 0x67, 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74,
|
||
|
0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||
|
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2c, 0x0a, 0x0f, 0x47,
|
||
|
0x65, 0x74, 0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19,
|
||
|
0x0a, 0x04, 0x64, 0x69, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x44,
|
||
|
0x69, 0x61, 0x67, 0x52, 0x04, 0x64, 0x69, 0x61, 0x67, 0x22, 0x23, 0x0a, 0x11, 0x44, 0x65, 0x6c,
|
||
|
0x65, 0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
|
||
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x24,
|
||
|
0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70,
|
||
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
|
||
|
0x52, 0x02, 0x6f, 0x6b, 0x22, 0x9d, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x44, 0x69, 0x61, 0x67,
|
||
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65,
|
||
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61,
|
||
|
0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x64,
|
||
|
0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
||
|
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
|
||
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x64, 0x61, 0x74, 0x65, 0x12, 0x34,
|
||
|
0x0a, 0x07, 0x6d, 0x61, 0x78, 0x64, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
||
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x6d, 0x61, 0x78,
|
||
|
0x64, 0x61, 0x74, 0x65, 0x22, 0x2f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x44, 0x69, 0x61, 0x67, 0x73,
|
||
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x05, 0x64, 0x69, 0x61, 0x67,
|
||
|
0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x52, 0x05,
|
||
|
0x64, 0x69, 0x61, 0x67, 0x73, 0x22, 0x2e, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,
|
||
|
0x69, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x04, 0x64, 0x69,
|
||
|
0x61, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x52,
|
||
|
0x04, 0x64, 0x69, 0x61, 0x67, 0x22, 0x2f, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,
|
||
|
0x69, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x04, 0x64,
|
||
|
0x69, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x44, 0x69, 0x61, 0x67,
|
||
|
0x52, 0x04, 0x64, 0x69, 0x61, 0x67, 0x32, 0x95, 0x02, 0x0a, 0x05, 0x44, 0x69, 0x61, 0x67, 0x73,
|
||
|
0x12, 0x37, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x12, 0x12,
|
||
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||
|
0x73, 0x74, 0x1a, 0x13, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x52,
|
||
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x07, 0x47, 0x65, 0x74,
|
||
|
0x44, 0x69, 0x61, 0x67, 0x12, 0x0f, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x61, 0x67, 0x52, 0x65,
|
||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x61, 0x67, 0x52,
|
||
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x08, 0x47, 0x65, 0x74,
|
||
|
0x44, 0x69, 0x61, 0x67, 0x73, 0x12, 0x10, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x61, 0x67, 0x73,
|
||
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x61,
|
||
|
0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0a,
|
||
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x12, 0x12, 0x2e, 0x44, 0x65, 0x6c,
|
||
|
0x65, 0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13,
|
||
|
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||
|
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,
|
||
|
0x69, 0x61, 0x67, 0x12, 0x12, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x69, 0x61, 0x67,
|
||
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||
|
0x44, 0x69, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2d,
|
||
|
0x5a, 0x2b, 0x67, 0x69, 0x74, 0x2e, 0x63, 0x6f, 0x6f, 0x70, 0x67, 0x6f, 0x2e, 0x69, 0x6f, 0x2f,
|
||
|
0x63, 0x6f, 0x6f, 0x70, 0x67, 0x6f, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f,
|
||
|
0x64, 0x69, 0x61, 0x67, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70,
|
||
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_diags_proto_rawDescOnce sync.Once
|
||
|
file_diags_proto_rawDescData = file_diags_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_diags_proto_rawDescGZIP() []byte {
|
||
|
file_diags_proto_rawDescOnce.Do(func() {
|
||
|
file_diags_proto_rawDescData = protoimpl.X.CompressGZIP(file_diags_proto_rawDescData)
|
||
|
})
|
||
|
return file_diags_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_diags_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||
|
var file_diags_proto_goTypes = []any{
|
||
|
(*CreateDiagRequest)(nil), // 0: CreateDiagRequest
|
||
|
(*CreateDiagResponse)(nil), // 1: CreateDiagResponse
|
||
|
(*GetDiagRequest)(nil), // 2: GetDiagRequest
|
||
|
(*GetDiagResponse)(nil), // 3: GetDiagResponse
|
||
|
(*DeleteDiagRequest)(nil), // 4: DeleteDiagRequest
|
||
|
(*DeleteDiagResponse)(nil), // 5: DeleteDiagResponse
|
||
|
(*GetDiagsRequest)(nil), // 6: GetDiagsRequest
|
||
|
(*GetDiagsResponse)(nil), // 7: GetDiagsResponse
|
||
|
(*UpdateDiagRequest)(nil), // 8: UpdateDiagRequest
|
||
|
(*UpdateDiagResponse)(nil), // 9: UpdateDiagResponse
|
||
|
(*Diag)(nil), // 10: Diag
|
||
|
(*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp
|
||
|
}
|
||
|
var file_diags_proto_depIdxs = []int32{
|
||
|
10, // 0: CreateDiagRequest.diag:type_name -> Diag
|
||
|
10, // 1: CreateDiagResponse.diag:type_name -> Diag
|
||
|
10, // 2: GetDiagResponse.diag:type_name -> Diag
|
||
|
11, // 3: GetDiagsRequest.mindate:type_name -> google.protobuf.Timestamp
|
||
|
11, // 4: GetDiagsRequest.maxdate:type_name -> google.protobuf.Timestamp
|
||
|
10, // 5: GetDiagsResponse.diags:type_name -> Diag
|
||
|
10, // 6: UpdateDiagRequest.diag:type_name -> Diag
|
||
|
10, // 7: UpdateDiagResponse.diag:type_name -> Diag
|
||
|
0, // 8: Diags.CreateDiag:input_type -> CreateDiagRequest
|
||
|
2, // 9: Diags.GetDiag:input_type -> GetDiagRequest
|
||
|
6, // 10: Diags.GetDiags:input_type -> GetDiagsRequest
|
||
|
4, // 11: Diags.DeleteDiag:input_type -> DeleteDiagRequest
|
||
|
8, // 12: Diags.UpdateDiag:input_type -> UpdateDiagRequest
|
||
|
1, // 13: Diags.CreateDiag:output_type -> CreateDiagResponse
|
||
|
3, // 14: Diags.GetDiag:output_type -> GetDiagResponse
|
||
|
7, // 15: Diags.GetDiags:output_type -> GetDiagsResponse
|
||
|
5, // 16: Diags.DeleteDiag:output_type -> DeleteDiagResponse
|
||
|
9, // 17: Diags.UpdateDiag:output_type -> UpdateDiagResponse
|
||
|
13, // [13:18] is the sub-list for method output_type
|
||
|
8, // [8:13] is the sub-list for method input_type
|
||
|
8, // [8:8] is the sub-list for extension type_name
|
||
|
8, // [8:8] is the sub-list for extension extendee
|
||
|
0, // [0:8] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_diags_proto_init() }
|
||
|
func file_diags_proto_init() {
|
||
|
if File_diags_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
file_diag_proto_init()
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_diags_proto_rawDesc,
|
||
|
NumEnums: 0,
|
||
|
NumMessages: 10,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 1,
|
||
|
},
|
||
|
GoTypes: file_diags_proto_goTypes,
|
||
|
DependencyIndexes: file_diags_proto_depIdxs,
|
||
|
MessageInfos: file_diags_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_diags_proto = out.File
|
||
|
file_diags_proto_rawDesc = nil
|
||
|
file_diags_proto_goTypes = nil
|
||
|
file_diags_proto_depIdxs = nil
|
||
|
}
|