253 lines
8.2 KiB
Go
253 lines
8.2 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: music_agregator/hello/v1/service.proto
|
|
|
|
package hello
|
|
|
|
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 PingRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PingRequest) Reset() {
|
|
*x = PingRequest{}
|
|
mi := &file_music_agregator_hello_v1_service_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PingRequest) ProtoMessage() {}
|
|
|
|
func (x *PingRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_music_agregator_hello_v1_service_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 PingRequest.ProtoReflect.Descriptor instead.
|
|
func (*PingRequest) Descriptor() ([]byte, []int) {
|
|
return file_music_agregator_hello_v1_service_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type PongResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PongResponse) Reset() {
|
|
*x = PongResponse{}
|
|
mi := &file_music_agregator_hello_v1_service_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PongResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PongResponse) ProtoMessage() {}
|
|
|
|
func (x *PongResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_music_agregator_hello_v1_service_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 PongResponse.ProtoReflect.Descriptor instead.
|
|
func (*PongResponse) Descriptor() ([]byte, []int) {
|
|
return file_music_agregator_hello_v1_service_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type EchoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EchoRequest) Reset() {
|
|
*x = EchoRequest{}
|
|
mi := &file_music_agregator_hello_v1_service_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EchoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EchoRequest) ProtoMessage() {}
|
|
|
|
func (x *EchoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_music_agregator_hello_v1_service_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 EchoRequest.ProtoReflect.Descriptor instead.
|
|
func (*EchoRequest) Descriptor() ([]byte, []int) {
|
|
return file_music_agregator_hello_v1_service_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *EchoRequest) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EchoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EchoResponse) Reset() {
|
|
*x = EchoResponse{}
|
|
mi := &file_music_agregator_hello_v1_service_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EchoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EchoResponse) ProtoMessage() {}
|
|
|
|
func (x *EchoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_music_agregator_hello_v1_service_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 EchoResponse.ProtoReflect.Descriptor instead.
|
|
func (*EchoResponse) Descriptor() ([]byte, []int) {
|
|
return file_music_agregator_hello_v1_service_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *EchoResponse) GetResponse() string {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_music_agregator_hello_v1_service_proto protoreflect.FileDescriptor
|
|
|
|
const file_music_agregator_hello_v1_service_proto_rawDesc = "" +
|
|
"\n" +
|
|
"&music_agregator/hello/v1/service.proto\x12\x18music_agregator.hello.v1\"\r\n" +
|
|
"\vPingRequest\"\x0e\n" +
|
|
"\fPongResponse\"\x1f\n" +
|
|
"\vEchoRequest\x12\x10\n" +
|
|
"\x03msg\x18\x01 \x01(\tR\x03msg\"*\n" +
|
|
"\fEchoResponse\x12\x1a\n" +
|
|
"\bresponse\x18\x01 \x01(\tR\bresponse2\xc0\x01\n" +
|
|
"\fHelloService\x12W\n" +
|
|
"\x04Ping\x12%.music_agregator.hello.v1.PingRequest\x1a&.music_agregator.hello.v1.PongResponse\"\x00\x12W\n" +
|
|
"\x04Echo\x12%.music_agregator.hello.v1.EchoRequest\x1a&.music_agregator.hello.v1.EchoResponse\"\x00B:Z8homelab.lan/music-agregator/gen/music_agregator/v1/hellob\x06proto3"
|
|
|
|
var (
|
|
file_music_agregator_hello_v1_service_proto_rawDescOnce sync.Once
|
|
file_music_agregator_hello_v1_service_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_music_agregator_hello_v1_service_proto_rawDescGZIP() []byte {
|
|
file_music_agregator_hello_v1_service_proto_rawDescOnce.Do(func() {
|
|
file_music_agregator_hello_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_music_agregator_hello_v1_service_proto_rawDesc), len(file_music_agregator_hello_v1_service_proto_rawDesc)))
|
|
})
|
|
return file_music_agregator_hello_v1_service_proto_rawDescData
|
|
}
|
|
|
|
var file_music_agregator_hello_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_music_agregator_hello_v1_service_proto_goTypes = []any{
|
|
(*PingRequest)(nil), // 0: music_agregator.hello.v1.PingRequest
|
|
(*PongResponse)(nil), // 1: music_agregator.hello.v1.PongResponse
|
|
(*EchoRequest)(nil), // 2: music_agregator.hello.v1.EchoRequest
|
|
(*EchoResponse)(nil), // 3: music_agregator.hello.v1.EchoResponse
|
|
}
|
|
var file_music_agregator_hello_v1_service_proto_depIdxs = []int32{
|
|
0, // 0: music_agregator.hello.v1.HelloService.Ping:input_type -> music_agregator.hello.v1.PingRequest
|
|
2, // 1: music_agregator.hello.v1.HelloService.Echo:input_type -> music_agregator.hello.v1.EchoRequest
|
|
1, // 2: music_agregator.hello.v1.HelloService.Ping:output_type -> music_agregator.hello.v1.PongResponse
|
|
3, // 3: music_agregator.hello.v1.HelloService.Echo:output_type -> music_agregator.hello.v1.EchoResponse
|
|
2, // [2:4] is the sub-list for method output_type
|
|
0, // [0:2] 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_music_agregator_hello_v1_service_proto_init() }
|
|
func file_music_agregator_hello_v1_service_proto_init() {
|
|
if File_music_agregator_hello_v1_service_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_music_agregator_hello_v1_service_proto_rawDesc), len(file_music_agregator_hello_v1_service_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_music_agregator_hello_v1_service_proto_goTypes,
|
|
DependencyIndexes: file_music_agregator_hello_v1_service_proto_depIdxs,
|
|
MessageInfos: file_music_agregator_hello_v1_service_proto_msgTypes,
|
|
}.Build()
|
|
File_music_agregator_hello_v1_service_proto = out.File
|
|
file_music_agregator_hello_v1_service_proto_goTypes = nil
|
|
file_music_agregator_hello_v1_service_proto_depIdxs = nil
|
|
}
|