123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.34.2
- // protoc v4.25.3
- // source: user/v2/alarm_clock.proto
- package v2
- import (
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- 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)
- )
- // 手表获取闹钟 Request
- type GetWristwatchAlarmClockRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
- }
- func (x *GetWristwatchAlarmClockRequest) Reset() {
- *x = GetWristwatchAlarmClockRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetWristwatchAlarmClockRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetWristwatchAlarmClockRequest) ProtoMessage() {}
- func (x *GetWristwatchAlarmClockRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_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 GetWristwatchAlarmClockRequest.ProtoReflect.Descriptor instead.
- func (*GetWristwatchAlarmClockRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{0}
- }
- func (x *GetWristwatchAlarmClockRequest) GetTicket() string {
- if x != nil {
- return x.Ticket
- }
- return ""
- }
- // 手表获取闹钟 Response
- type GetWristwatchAlarmClockResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- AlarmClocks []*GetWristwatchAlarmClockResponse_AlarmClock `protobuf:"bytes,1,rep,name=alarmClocks,proto3" json:"alarmClocks,omitempty"`
- }
- func (x *GetWristwatchAlarmClockResponse) Reset() {
- *x = GetWristwatchAlarmClockResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetWristwatchAlarmClockResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetWristwatchAlarmClockResponse) ProtoMessage() {}
- func (x *GetWristwatchAlarmClockResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_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 GetWristwatchAlarmClockResponse.ProtoReflect.Descriptor instead.
- func (*GetWristwatchAlarmClockResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{1}
- }
- func (x *GetWristwatchAlarmClockResponse) GetAlarmClocks() []*GetWristwatchAlarmClockResponse_AlarmClock {
- if x != nil {
- return x.AlarmClocks
- }
- return nil
- }
- // 获取闹钟 Request
- type GetAlarmClockRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
- }
- func (x *GetAlarmClockRequest) Reset() {
- *x = GetAlarmClockRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetAlarmClockRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAlarmClockRequest) ProtoMessage() {}
- func (x *GetAlarmClockRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[2]
- 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 GetAlarmClockRequest.ProtoReflect.Descriptor instead.
- func (*GetAlarmClockRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{2}
- }
- func (x *GetAlarmClockRequest) GetCid() string {
- if x != nil {
- return x.Cid
- }
- return ""
- }
- // 获取闹钟 Response
- type GetAlarmClockResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- AlarmClocks []*GetAlarmClockResponse_AlarmClock `protobuf:"bytes,1,rep,name=alarmClocks,proto3" json:"alarmClocks,omitempty"`
- }
- func (x *GetAlarmClockResponse) Reset() {
- *x = GetAlarmClockResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetAlarmClockResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAlarmClockResponse) ProtoMessage() {}
- func (x *GetAlarmClockResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[3]
- 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 GetAlarmClockResponse.ProtoReflect.Descriptor instead.
- func (*GetAlarmClockResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{3}
- }
- func (x *GetAlarmClockResponse) GetAlarmClocks() []*GetAlarmClockResponse_AlarmClock {
- if x != nil {
- return x.AlarmClocks
- }
- return nil
- }
- // 创建闹钟 Request
- type CreateAlarmClockRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 小孩ID
- Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
- // 闹钟标签
- Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
- // 重复天 eg: 1000000 周一开启 1111100 工作日开启
- Repeats string `protobuf:"bytes,3,opt,name=repeats,proto3" json:"repeats,omitempty"`
- // Time 闹钟时间 格式: HH:mm
- Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
- // 仅一次时间戳
- OnceTime int64 `protobuf:"varint,5,opt,name=onceTime,proto3" json:"onceTime,omitempty"`
- // 是否开启
- Status bool `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
- }
- func (x *CreateAlarmClockRequest) Reset() {
- *x = CreateAlarmClockRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CreateAlarmClockRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CreateAlarmClockRequest) ProtoMessage() {}
- func (x *CreateAlarmClockRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[4]
- 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 CreateAlarmClockRequest.ProtoReflect.Descriptor instead.
- func (*CreateAlarmClockRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{4}
- }
- func (x *CreateAlarmClockRequest) GetCid() string {
- if x != nil {
- return x.Cid
- }
- return ""
- }
- func (x *CreateAlarmClockRequest) GetLabel() string {
- if x != nil {
- return x.Label
- }
- return ""
- }
- func (x *CreateAlarmClockRequest) GetRepeats() string {
- if x != nil {
- return x.Repeats
- }
- return ""
- }
- func (x *CreateAlarmClockRequest) GetTime() string {
- if x != nil {
- return x.Time
- }
- return ""
- }
- func (x *CreateAlarmClockRequest) GetOnceTime() int64 {
- if x != nil {
- return x.OnceTime
- }
- return 0
- }
- func (x *CreateAlarmClockRequest) GetStatus() bool {
- if x != nil {
- return x.Status
- }
- return false
- }
- // 创建闹钟 Response
- type CreateAlarmClockResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *CreateAlarmClockResponse) Reset() {
- *x = CreateAlarmClockResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CreateAlarmClockResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CreateAlarmClockResponse) ProtoMessage() {}
- func (x *CreateAlarmClockResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[5]
- 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 CreateAlarmClockResponse.ProtoReflect.Descriptor instead.
- func (*CreateAlarmClockResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{5}
- }
- // 修改闹钟 Request
- type UpdateAlarmClockRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 小孩ID
- Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
- // 闹钟标签
- Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
- // 重复天 eg: 1000000 周一开启 1111100 工作日开启
- Repeats string `protobuf:"bytes,3,opt,name=repeats,proto3" json:"repeats,omitempty"`
- // Time 闹钟时间 格式: HH:mm
- Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
- // 仅一次时间戳
- OnceTime int64 `protobuf:"varint,5,opt,name=onceTime,proto3" json:"onceTime,omitempty"`
- // 闹钟ID
- Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
- // 是否开启
- Status bool `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
- }
- func (x *UpdateAlarmClockRequest) Reset() {
- *x = UpdateAlarmClockRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UpdateAlarmClockRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UpdateAlarmClockRequest) ProtoMessage() {}
- func (x *UpdateAlarmClockRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[6]
- 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 UpdateAlarmClockRequest.ProtoReflect.Descriptor instead.
- func (*UpdateAlarmClockRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{6}
- }
- func (x *UpdateAlarmClockRequest) GetCid() string {
- if x != nil {
- return x.Cid
- }
- return ""
- }
- func (x *UpdateAlarmClockRequest) GetLabel() string {
- if x != nil {
- return x.Label
- }
- return ""
- }
- func (x *UpdateAlarmClockRequest) GetRepeats() string {
- if x != nil {
- return x.Repeats
- }
- return ""
- }
- func (x *UpdateAlarmClockRequest) GetTime() string {
- if x != nil {
- return x.Time
- }
- return ""
- }
- func (x *UpdateAlarmClockRequest) GetOnceTime() int64 {
- if x != nil {
- return x.OnceTime
- }
- return 0
- }
- func (x *UpdateAlarmClockRequest) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *UpdateAlarmClockRequest) GetStatus() bool {
- if x != nil {
- return x.Status
- }
- return false
- }
- // 修改闹钟 Response
- type UpdateAlarmClockResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *UpdateAlarmClockResponse) Reset() {
- *x = UpdateAlarmClockResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UpdateAlarmClockResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UpdateAlarmClockResponse) ProtoMessage() {}
- func (x *UpdateAlarmClockResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[7]
- 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 UpdateAlarmClockResponse.ProtoReflect.Descriptor instead.
- func (*UpdateAlarmClockResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{7}
- }
- // 删除闹钟 Request
- type DeleteAlarmClockRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 闹钟ID
- Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
- }
- func (x *DeleteAlarmClockRequest) Reset() {
- *x = DeleteAlarmClockRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DeleteAlarmClockRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeleteAlarmClockRequest) ProtoMessage() {}
- func (x *DeleteAlarmClockRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[8]
- 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 DeleteAlarmClockRequest.ProtoReflect.Descriptor instead.
- func (*DeleteAlarmClockRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{8}
- }
- func (x *DeleteAlarmClockRequest) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- // 删除闹钟 Response
- type DeleteAlarmClockResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *DeleteAlarmClockResponse) Reset() {
- *x = DeleteAlarmClockResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DeleteAlarmClockResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeleteAlarmClockResponse) ProtoMessage() {}
- func (x *DeleteAlarmClockResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[9]
- 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 DeleteAlarmClockResponse.ProtoReflect.Descriptor instead.
- func (*DeleteAlarmClockResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{9}
- }
- type GetWristwatchAlarmClockResponse_AlarmClock struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
- Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
- Repeats string `protobuf:"bytes,3,opt,name=repeats,proto3" json:"repeats,omitempty"`
- Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
- OnceTime int64 `protobuf:"varint,5,opt,name=onceTime,proto3" json:"onceTime,omitempty"`
- Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
- Status bool `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
- }
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) Reset() {
- *x = GetWristwatchAlarmClockResponse_AlarmClock{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetWristwatchAlarmClockResponse_AlarmClock) ProtoMessage() {}
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[10]
- 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 GetWristwatchAlarmClockResponse_AlarmClock.ProtoReflect.Descriptor instead.
- func (*GetWristwatchAlarmClockResponse_AlarmClock) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{1, 0}
- }
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetCid() string {
- if x != nil {
- return x.Cid
- }
- return ""
- }
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetLabel() string {
- if x != nil {
- return x.Label
- }
- return ""
- }
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetRepeats() string {
- if x != nil {
- return x.Repeats
- }
- return ""
- }
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetTime() string {
- if x != nil {
- return x.Time
- }
- return ""
- }
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetOnceTime() int64 {
- if x != nil {
- return x.OnceTime
- }
- return 0
- }
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetStatus() bool {
- if x != nil {
- return x.Status
- }
- return false
- }
- type GetAlarmClockResponse_AlarmClock struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
- Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
- Repeats string `protobuf:"bytes,3,opt,name=repeats,proto3" json:"repeats,omitempty"`
- Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
- OnceTime int64 `protobuf:"varint,5,opt,name=onceTime,proto3" json:"onceTime,omitempty"`
- Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
- Status bool `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
- }
- func (x *GetAlarmClockResponse_AlarmClock) Reset() {
- *x = GetAlarmClockResponse_AlarmClock{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetAlarmClockResponse_AlarmClock) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAlarmClockResponse_AlarmClock) ProtoMessage() {}
- func (x *GetAlarmClockResponse_AlarmClock) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_alarm_clock_proto_msgTypes[11]
- 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 GetAlarmClockResponse_AlarmClock.ProtoReflect.Descriptor instead.
- func (*GetAlarmClockResponse_AlarmClock) Descriptor() ([]byte, []int) {
- return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{3, 0}
- }
- func (x *GetAlarmClockResponse_AlarmClock) GetCid() string {
- if x != nil {
- return x.Cid
- }
- return ""
- }
- func (x *GetAlarmClockResponse_AlarmClock) GetLabel() string {
- if x != nil {
- return x.Label
- }
- return ""
- }
- func (x *GetAlarmClockResponse_AlarmClock) GetRepeats() string {
- if x != nil {
- return x.Repeats
- }
- return ""
- }
- func (x *GetAlarmClockResponse_AlarmClock) GetTime() string {
- if x != nil {
- return x.Time
- }
- return ""
- }
- func (x *GetAlarmClockResponse_AlarmClock) GetOnceTime() int64 {
- if x != nil {
- return x.OnceTime
- }
- return 0
- }
- func (x *GetAlarmClockResponse_AlarmClock) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *GetAlarmClockResponse_AlarmClock) GetStatus() bool {
- if x != nil {
- return x.Status
- }
- return false
- }
- var File_user_v2_alarm_clock_proto protoreflect.FileDescriptor
- var file_user_v2_alarm_clock_proto_rawDesc = []byte{
- 0x0a, 0x19, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x5f,
- 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x61, 0x70, 0x69,
- 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
- 0x41, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x57, 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68,
- 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x1f, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b,
- 0x65, 0x74, 0x22, 0xa5, 0x02, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x57, 0x72, 0x69, 0x73, 0x74, 0x77,
- 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0b, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x43,
- 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x72, 0x69,
- 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63,
- 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43,
- 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x0b, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b,
- 0x73, 0x1a, 0xa6, 0x01, 0x0a, 0x0a, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b,
- 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63,
- 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x65,
- 0x61, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61,
- 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69,
- 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69,
- 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
- 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x34, 0x0a, 0x14, 0x47, 0x65,
- 0x74, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0xb0, 0x01, 0x01, 0x52, 0x03, 0x63, 0x69, 0x64,
- 0x22, 0x91, 0x02, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f,
- 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x61, 0x6c,
- 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65,
- 0x74, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x0b,
- 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x1a, 0xa6, 0x01, 0x0a, 0x0a,
- 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
- 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62,
- 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04,
- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65,
- 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02,
- 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41,
- 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x1c, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa,
- 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0xb0, 0x01, 0x01, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14,
- 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c,
- 0x61, 0x62, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x12,
- 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x69,
- 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16,
- 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61,
- 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c,
- 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07,
- 0x72, 0x05, 0x10, 0x01, 0xb0, 0x01, 0x01, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
- 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62,
- 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04,
- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65,
- 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x02,
- 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x20,
- 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x1a, 0x0a,
- 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63,
- 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, 0x17, 0x44, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
- 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x20, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a,
- 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63,
- 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x82, 0x06, 0x0a, 0x0a, 0x41, 0x6c,
- 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0xae, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74,
- 0x57, 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43,
- 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
- 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68,
- 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x2c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e,
- 0x47, 0x65, 0x74, 0x57, 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 0x61,
- 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76,
- 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x77,
- 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x2d,
- 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x67, 0x65, 0x74, 0x12, 0x88, 0x01, 0x0a, 0x0d, 0x47, 0x65,
- 0x74, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x61,
- 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74,
- 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x61, 0x70, 0x69,
- 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65,
- 0x72, 0x2f, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x2d, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x67, 0x65,
- 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x94, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41,
- 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c,
- 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01,
- 0x2a, 0x22, 0x28, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72,
- 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x2d, 0x63,
- 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x94, 0x01, 0x0a, 0x10,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b,
- 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65,
- 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d,
- 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f,
- 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
- 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x2d, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x12, 0x89, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x61,
- 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73,
- 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72,
- 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65,
- 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61,
- 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x61, 0x6c, 0x61, 0x72,
- 0x6d, 0x2d, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x30,
- 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x50, 0x01, 0x5a,
- 0x1f, 0x73, 0x69, 0x6b, 0x65, 0x79, 0x2f, 0x77, 0x33, 0x30, 0x33, 0x61, 0x2f, 0x68, 0x74, 0x74,
- 0x70, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x3b, 0x76, 0x32,
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_user_v2_alarm_clock_proto_rawDescOnce sync.Once
- file_user_v2_alarm_clock_proto_rawDescData = file_user_v2_alarm_clock_proto_rawDesc
- )
- func file_user_v2_alarm_clock_proto_rawDescGZIP() []byte {
- file_user_v2_alarm_clock_proto_rawDescOnce.Do(func() {
- file_user_v2_alarm_clock_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_v2_alarm_clock_proto_rawDescData)
- })
- return file_user_v2_alarm_clock_proto_rawDescData
- }
- var file_user_v2_alarm_clock_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
- var file_user_v2_alarm_clock_proto_goTypes = []any{
- (*GetWristwatchAlarmClockRequest)(nil), // 0: api.user.v2.GetWristwatchAlarmClockRequest
- (*GetWristwatchAlarmClockResponse)(nil), // 1: api.user.v2.GetWristwatchAlarmClockResponse
- (*GetAlarmClockRequest)(nil), // 2: api.user.v2.GetAlarmClockRequest
- (*GetAlarmClockResponse)(nil), // 3: api.user.v2.GetAlarmClockResponse
- (*CreateAlarmClockRequest)(nil), // 4: api.user.v2.CreateAlarmClockRequest
- (*CreateAlarmClockResponse)(nil), // 5: api.user.v2.CreateAlarmClockResponse
- (*UpdateAlarmClockRequest)(nil), // 6: api.user.v2.UpdateAlarmClockRequest
- (*UpdateAlarmClockResponse)(nil), // 7: api.user.v2.UpdateAlarmClockResponse
- (*DeleteAlarmClockRequest)(nil), // 8: api.user.v2.DeleteAlarmClockRequest
- (*DeleteAlarmClockResponse)(nil), // 9: api.user.v2.DeleteAlarmClockResponse
- (*GetWristwatchAlarmClockResponse_AlarmClock)(nil), // 10: api.user.v2.GetWristwatchAlarmClockResponse.AlarmClock
- (*GetAlarmClockResponse_AlarmClock)(nil), // 11: api.user.v2.GetAlarmClockResponse.AlarmClock
- }
- var file_user_v2_alarm_clock_proto_depIdxs = []int32{
- 10, // 0: api.user.v2.GetWristwatchAlarmClockResponse.alarmClocks:type_name -> api.user.v2.GetWristwatchAlarmClockResponse.AlarmClock
- 11, // 1: api.user.v2.GetAlarmClockResponse.alarmClocks:type_name -> api.user.v2.GetAlarmClockResponse.AlarmClock
- 0, // 2: api.user.v2.AlarmClock.GetWristwatchAlarmClock:input_type -> api.user.v2.GetWristwatchAlarmClockRequest
- 2, // 3: api.user.v2.AlarmClock.GetAlarmClock:input_type -> api.user.v2.GetAlarmClockRequest
- 4, // 4: api.user.v2.AlarmClock.CreateAlarmClock:input_type -> api.user.v2.CreateAlarmClockRequest
- 6, // 5: api.user.v2.AlarmClock.UpdateAlarmClock:input_type -> api.user.v2.UpdateAlarmClockRequest
- 8, // 6: api.user.v2.AlarmClock.DeleteAlarmClock:input_type -> api.user.v2.DeleteAlarmClockRequest
- 1, // 7: api.user.v2.AlarmClock.GetWristwatchAlarmClock:output_type -> api.user.v2.GetWristwatchAlarmClockResponse
- 3, // 8: api.user.v2.AlarmClock.GetAlarmClock:output_type -> api.user.v2.GetAlarmClockResponse
- 5, // 9: api.user.v2.AlarmClock.CreateAlarmClock:output_type -> api.user.v2.CreateAlarmClockResponse
- 7, // 10: api.user.v2.AlarmClock.UpdateAlarmClock:output_type -> api.user.v2.UpdateAlarmClockResponse
- 9, // 11: api.user.v2.AlarmClock.DeleteAlarmClock:output_type -> api.user.v2.DeleteAlarmClockResponse
- 7, // [7:12] is the sub-list for method output_type
- 2, // [2:7] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
- }
- func init() { file_user_v2_alarm_clock_proto_init() }
- func file_user_v2_alarm_clock_proto_init() {
- if File_user_v2_alarm_clock_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_user_v2_alarm_clock_proto_msgTypes[0].Exporter = func(v any, i int) any {
- switch v := v.(*GetWristwatchAlarmClockRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[1].Exporter = func(v any, i int) any {
- switch v := v.(*GetWristwatchAlarmClockResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[2].Exporter = func(v any, i int) any {
- switch v := v.(*GetAlarmClockRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[3].Exporter = func(v any, i int) any {
- switch v := v.(*GetAlarmClockResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[4].Exporter = func(v any, i int) any {
- switch v := v.(*CreateAlarmClockRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[5].Exporter = func(v any, i int) any {
- switch v := v.(*CreateAlarmClockResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[6].Exporter = func(v any, i int) any {
- switch v := v.(*UpdateAlarmClockRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[7].Exporter = func(v any, i int) any {
- switch v := v.(*UpdateAlarmClockResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[8].Exporter = func(v any, i int) any {
- switch v := v.(*DeleteAlarmClockRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[9].Exporter = func(v any, i int) any {
- switch v := v.(*DeleteAlarmClockResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[10].Exporter = func(v any, i int) any {
- switch v := v.(*GetWristwatchAlarmClockResponse_AlarmClock); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_alarm_clock_proto_msgTypes[11].Exporter = func(v any, i int) any {
- switch v := v.(*GetAlarmClockResponse_AlarmClock); 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_user_v2_alarm_clock_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 12,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_user_v2_alarm_clock_proto_goTypes,
- DependencyIndexes: file_user_v2_alarm_clock_proto_depIdxs,
- MessageInfos: file_user_v2_alarm_clock_proto_msgTypes,
- }.Build()
- File_user_v2_alarm_clock_proto = out.File
- file_user_v2_alarm_clock_proto_rawDesc = nil
- file_user_v2_alarm_clock_proto_goTypes = nil
- file_user_v2_alarm_clock_proto_depIdxs = nil
- }
|