mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-06-19 17:45:17 +03:00
80 lines
3.0 KiB
Go
80 lines
3.0 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.34.1
|
|
// source: homeops/hub.proto
|
|
|
|
package homeops
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
reflect "reflect"
|
|
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)
|
|
)
|
|
|
|
var File_homeops_hub_proto protoreflect.FileDescriptor
|
|
|
|
const file_homeops_hub_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x11homeops/hub.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x16homeops/register.proto\x1a\x14homeops/stream.proto2\xb6\x01\n" +
|
|
"\x03Hub\x12/\n" +
|
|
"\x04Ping\x12\x16.google.protobuf.Empty\x1a\r.PongResponse\"\x00\x12@\n" +
|
|
"\rRegisterAgent\x12\x15.RegisterAgentRequest\x1a\x16.RegisterAgentResponse\"\x00\x12<\n" +
|
|
"\x10StreamConnection\x12\v.AgentEvent\x1a\x15.ServerCommandRequest\"\x00(\x010\x01B<Z:github.com/lorsanstand/HomeOps-Hub/api/gen/homeops;homeopsb\x06proto3"
|
|
|
|
var file_homeops_hub_proto_goTypes = []any{
|
|
(*emptypb.Empty)(nil), // 0: google.protobuf.Empty
|
|
(*RegisterAgentRequest)(nil), // 1: RegisterAgentRequest
|
|
(*AgentEvent)(nil), // 2: AgentEvent
|
|
(*PongResponse)(nil), // 3: PongResponse
|
|
(*RegisterAgentResponse)(nil), // 4: RegisterAgentResponse
|
|
(*ServerCommandRequest)(nil), // 5: ServerCommandRequest
|
|
}
|
|
var file_homeops_hub_proto_depIdxs = []int32{
|
|
0, // 0: Hub.Ping:input_type -> google.protobuf.Empty
|
|
1, // 1: Hub.RegisterAgent:input_type -> RegisterAgentRequest
|
|
2, // 2: Hub.StreamConnection:input_type -> AgentEvent
|
|
3, // 3: Hub.Ping:output_type -> PongResponse
|
|
4, // 4: Hub.RegisterAgent:output_type -> RegisterAgentResponse
|
|
5, // 5: Hub.StreamConnection:output_type -> ServerCommandRequest
|
|
3, // [3:6] is the sub-list for method output_type
|
|
0, // [0:3] 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_homeops_hub_proto_init() }
|
|
func file_homeops_hub_proto_init() {
|
|
if File_homeops_hub_proto != nil {
|
|
return
|
|
}
|
|
file_homeops_register_proto_init()
|
|
file_homeops_stream_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_homeops_hub_proto_rawDesc), len(file_homeops_hub_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_homeops_hub_proto_goTypes,
|
|
DependencyIndexes: file_homeops_hub_proto_depIdxs,
|
|
}.Build()
|
|
File_homeops_hub_proto = out.File
|
|
file_homeops_hub_proto_goTypes = nil
|
|
file_homeops_hub_proto_depIdxs = nil
|
|
}
|