// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.17.3 // source: data.proto package fho_forward_proto 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" ) 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 DataReply_ReplyStatus int32 const ( DataReply_SCHEDULE_TYPE_UNSPECIFIED DataReply_ReplyStatus = 0 DataReply_OK DataReply_ReplyStatus = 1 DataReply_ERROR DataReply_ReplyStatus = 2 ) // Enum value maps for DataReply_ReplyStatus. var ( DataReply_ReplyStatus_name = map[int32]string{ 0: "SCHEDULE_TYPE_UNSPECIFIED", 1: "OK", 2: "ERROR", } DataReply_ReplyStatus_value = map[string]int32{ "SCHEDULE_TYPE_UNSPECIFIED": 0, "OK": 1, "ERROR": 2, } ) func (x DataReply_ReplyStatus) Enum() *DataReply_ReplyStatus { p := new(DataReply_ReplyStatus) *p = x return p } func (x DataReply_ReplyStatus) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (DataReply_ReplyStatus) Descriptor() protoreflect.EnumDescriptor { return file_data_proto_enumTypes[0].Descriptor() } func (DataReply_ReplyStatus) Type() protoreflect.EnumType { return &file_data_proto_enumTypes[0] } func (x DataReply_ReplyStatus) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use DataReply_ReplyStatus.Descriptor instead. func (DataReply_ReplyStatus) EnumDescriptor() ([]byte, []int) { return file_data_proto_rawDescGZIP(), []int{1, 0} } type DataRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` UpdatedAfter *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_after,json=updatedAfter,proto3" json:"updated_after,omitempty"` } func (x *DataRequest) Reset() { *x = DataRequest{} if protoimpl.UnsafeEnabled { mi := &file_data_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DataRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DataRequest) ProtoMessage() {} func (x *DataRequest) ProtoReflect() protoreflect.Message { mi := &file_data_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DataRequest.ProtoReflect.Descriptor instead. func (*DataRequest) Descriptor() ([]byte, []int) { return file_data_proto_rawDescGZIP(), []int{0} } func (x *DataRequest) GetObject() string { if x != nil { return x.Object } return "" } func (x *DataRequest) GetUpdatedAfter() *timestamppb.Timestamp { if x != nil { return x.UpdatedAfter } return nil } type DataReply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` ReplyStatus DataReply_ReplyStatus `protobuf:"varint,2,opt,name=reply_status,json=replyStatus,proto3,enum=fho.DataReply_ReplyStatus" json:"reply_status,omitempty"` ErrorMsg string `protobuf:"bytes,3,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` LatestUpdatedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=latest_updated_time,json=latestUpdatedTime,proto3" json:"latest_updated_time,omitempty"` } func (x *DataReply) Reset() { *x = DataReply{} if protoimpl.UnsafeEnabled { mi := &file_data_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DataReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*DataReply) ProtoMessage() {} func (x *DataReply) ProtoReflect() protoreflect.Message { mi := &file_data_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DataReply.ProtoReflect.Descriptor instead. func (*DataReply) Descriptor() ([]byte, []int) { return file_data_proto_rawDescGZIP(), []int{1} } func (x *DataReply) GetData() string { if x != nil { return x.Data } return "" } func (x *DataReply) GetReplyStatus() DataReply_ReplyStatus { if x != nil { return x.ReplyStatus } return DataReply_SCHEDULE_TYPE_UNSPECIFIED } func (x *DataReply) GetErrorMsg() string { if x != nil { return x.ErrorMsg } return "" } func (x *DataReply) GetLatestUpdatedTime() *timestamppb.Timestamp { if x != nil { return x.LatestUpdatedTime } return nil } var File_data_proto protoreflect.FileDescriptor var file_data_proto_rawDesc = []byte{ 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x66, 0x68, 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, 0x22, 0x66, 0x0a, 0x0b, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, 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, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x22, 0x88, 0x02, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3d, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x66, 0x68, 0x6f, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x4a, 0x0a, 0x13, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 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, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x3f, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x32, 0x70, 0x0a, 0x0b, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x2e, 0x66, 0x68, 0x6f, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x66, 0x68, 0x6f, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x32, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x2e, 0x66, 0x68, 0x6f, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x66, 0x68, 0x6f, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x42, 0x2a, 0x50, 0x01, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x2e, 0x6d, 0x6f, 0x6b, 0x6b, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x61, 0x69, 0x6e, 0x77, 0x2f, 0x66, 0x68, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_data_proto_rawDescOnce sync.Once file_data_proto_rawDescData = file_data_proto_rawDesc ) func file_data_proto_rawDescGZIP() []byte { file_data_proto_rawDescOnce.Do(func() { file_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_data_proto_rawDescData) }) return file_data_proto_rawDescData } var file_data_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_data_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_data_proto_goTypes = []interface{}{ (DataReply_ReplyStatus)(0), // 0: fho.DataReply.ReplyStatus (*DataRequest)(nil), // 1: fho.DataRequest (*DataReply)(nil), // 2: fho.DataReply (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_data_proto_depIdxs = []int32{ 3, // 0: fho.DataRequest.updated_after:type_name -> google.protobuf.Timestamp 0, // 1: fho.DataReply.reply_status:type_name -> fho.DataReply.ReplyStatus 3, // 2: fho.DataReply.latest_updated_time:type_name -> google.protobuf.Timestamp 1, // 3: fho.DataService.GetData:input_type -> fho.DataRequest 1, // 4: fho.DataService.StreamData:input_type -> fho.DataRequest 2, // 5: fho.DataService.GetData:output_type -> fho.DataReply 2, // 6: fho.DataService.StreamData:output_type -> fho.DataReply 5, // [5:7] is the sub-list for method output_type 3, // [3:5] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_data_proto_init() } func file_data_proto_init() { if File_data_proto != nil { return } if !protoimpl.UnsafeEnabled { file_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DataRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DataReply); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_data_proto_rawDesc, NumEnums: 1, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, GoTypes: file_data_proto_goTypes, DependencyIndexes: file_data_proto_depIdxs, EnumInfos: file_data_proto_enumTypes, MessageInfos: file_data_proto_msgTypes, }.Build() File_data_proto = out.File file_data_proto_rawDesc = nil file_data_proto_goTypes = nil file_data_proto_depIdxs = nil }