// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.21.12 // source: common.proto package protoapi import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 DateTime struct { state protoimpl.MessageState `protogen:"open.v1"` Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DateTime) Reset() { *x = DateTime{} mi := &file_common_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DateTime) String() string { return protoimpl.X.MessageStringOf(x) } func (*DateTime) ProtoMessage() {} func (x *DateTime) ProtoReflect() protoreflect.Message { mi := &file_common_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 DateTime.ProtoReflect.Descriptor instead. func (*DateTime) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{0} } func (x *DateTime) GetValue() string { if x != nil { return x.Value } return "" } type RequestDateTime struct { state protoimpl.MessageState `protogen:"open.v1"` Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RequestDateTime) Reset() { *x = RequestDateTime{} mi := &file_common_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RequestDateTime) String() string { return protoimpl.X.MessageStringOf(x) } func (*RequestDateTime) ProtoMessage() {} func (x *RequestDateTime) ProtoReflect() protoreflect.Message { mi := &file_common_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 RequestDateTime.ProtoReflect.Descriptor instead. func (*RequestDateTime) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{1} } func (x *RequestDateTime) GetValue() string { if x != nil { return x.Value } return "" } type RequestPass struct { state protoimpl.MessageState `protogen:"open.v1"` Seed int64 `protobuf:"varint,1,opt,name=Seed,proto3" json:"Seed,omitempty"` Length int64 `protobuf:"varint,8,opt,name=Length,proto3" json:"Length,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RequestPass) Reset() { *x = RequestPass{} mi := &file_common_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RequestPass) String() string { return protoimpl.X.MessageStringOf(x) } func (*RequestPass) ProtoMessage() {} func (x *RequestPass) ProtoReflect() protoreflect.Message { mi := &file_common_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 RequestPass.ProtoReflect.Descriptor instead. func (*RequestPass) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{2} } func (x *RequestPass) GetSeed() int64 { if x != nil { return x.Seed } return 0 } func (x *RequestPass) GetLength() int64 { if x != nil { return x.Length } return 0 } type RandomPass struct { state protoimpl.MessageState `protogen:"open.v1"` Password string `protobuf:"bytes,1,opt,name=Password,proto3" json:"Password,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RandomPass) Reset() { *x = RandomPass{} mi := &file_common_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RandomPass) String() string { return protoimpl.X.MessageStringOf(x) } func (*RandomPass) ProtoMessage() {} func (x *RandomPass) ProtoReflect() protoreflect.Message { mi := &file_common_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 RandomPass.ProtoReflect.Descriptor instead. func (*RandomPass) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{3} } func (x *RandomPass) GetPassword() string { if x != nil { return x.Password } return "" } type EmptyRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *EmptyRequest) Reset() { *x = EmptyRequest{} mi := &file_common_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *EmptyRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*EmptyRequest) ProtoMessage() {} func (x *EmptyRequest) ProtoReflect() protoreflect.Message { mi := &file_common_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 EmptyRequest.ProtoReflect.Descriptor instead. func (*EmptyRequest) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{4} } var File_common_proto protoreflect.FileDescriptor const file_common_proto_rawDesc = "" + "\n" + "\fcommon.proto\" \n" + "\bDateTime\x12\x14\n" + "\x05Value\x18\x01 \x01(\tR\x05Value\"'\n" + "\x0fRequestDateTime\x12\x14\n" + "\x05Value\x18\x02 \x01(\tR\x05Value\"9\n" + "\vRequestPass\x12\x12\n" + "\x04Seed\x18\x01 \x01(\x03R\x04Seed\x12\x16\n" + "\x06Length\x18\b \x01(\x03R\x06Length\"(\n" + "\n" + "RandomPass\x12\x1a\n" + "\bPassword\x18\x01 \x01(\tR\bPassword\"\x0e\n" + "\fEmptyRequestB\x16Z\x14./protoapi/;protoapib\x06proto3" var ( file_common_proto_rawDescOnce sync.Once file_common_proto_rawDescData []byte ) func file_common_proto_rawDescGZIP() []byte { file_common_proto_rawDescOnce.Do(func() { file_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc))) }) return file_common_proto_rawDescData } var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_common_proto_goTypes = []any{ (*DateTime)(nil), // 0: DateTime (*RequestDateTime)(nil), // 1: RequestDateTime (*RequestPass)(nil), // 2: RequestPass (*RandomPass)(nil), // 3: RandomPass (*EmptyRequest)(nil), // 4: EmptyRequest } var file_common_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_common_proto_init() } func file_common_proto_init() { if File_common_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)), NumEnums: 0, NumMessages: 5, NumExtensions: 0, NumServices: 0, }, GoTypes: file_common_proto_goTypes, DependencyIndexes: file_common_proto_depIdxs, MessageInfos: file_common_proto_msgTypes, }.Build() File_common_proto = out.File file_common_proto_goTypes = nil file_common_proto_depIdxs = nil }