Commit b2ae1a7f authored by Go Protoc Bot's avatar Go Protoc Bot
Browse files

update

parent 85feb850
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/sip/servis/servis.proto
package servis
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/testing/paymentcontrol/paymentcontrol.proto
package paymentcontrol
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/type/address.proto
package address
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/type/bank.proto
package bank
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/type/money.proto
package money
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/vis/ampel/ampel.proto
package ampel
......@@ -167,53 +167,6 @@ func (x *GetColorResponse) GetColor() Color {
return Color_INV
}
type Ack struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *Ack) Reset() {
*x = Ack{}
if protoimpl.UnsafeEnabled {
mi := &file_vseth_vis_ampel_ampel_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Ack) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Ack) ProtoMessage() {}
func (x *Ack) ProtoReflect() protoreflect.Message {
mi := &file_vseth_vis_ampel_ampel_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 Ack.ProtoReflect.Descriptor instead.
func (*Ack) Descriptor() ([]byte, []int) {
return file_vseth_vis_ampel_ampel_proto_rawDescGZIP(), []int{2}
}
func (x *Ack) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
var File_vseth_vis_ampel_ampel_proto protoreflect.FileDescriptor
var file_vseth_vis_ampel_ampel_proto_rawDesc = []byte{
......@@ -230,28 +183,26 @@ var file_vseth_vis_ampel_ampel_proto_rawDesc = []byte{
0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x16, 0x2e, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x69, 0x73, 0x2e, 0x61,
0x6d, 0x70, 0x65, 0x6c, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f,
0x72, 0x22, 0x1f, 0x0a, 0x03, 0x41, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63,
0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x2a, 0x30, 0x0a, 0x05, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x07, 0x0a, 0x03, 0x49,
0x4e, 0x56, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x52, 0x45, 0x45, 0x4e, 0x10, 0x01, 0x12,
0x0a, 0x0a, 0x06, 0x59, 0x45, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x52,
0x45, 0x44, 0x10, 0x03, 0x32, 0x98, 0x01, 0x0a, 0x05, 0x41, 0x6d, 0x70, 0x65, 0x6c, 0x12, 0x48,
0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x23, 0x2e,
0x72, 0x2a, 0x30, 0x0a, 0x05, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x07, 0x0a, 0x03, 0x49, 0x4e,
0x56, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x52, 0x45, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0a,
0x0a, 0x06, 0x59, 0x45, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x45,
0x44, 0x10, 0x03, 0x32, 0x9a, 0x01, 0x0a, 0x05, 0x41, 0x6d, 0x70, 0x65, 0x6c, 0x12, 0x4a, 0x0a,
0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x23, 0x2e, 0x76,
0x73, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x69, 0x73, 0x2e, 0x61, 0x6d, 0x70, 0x65, 0x6c, 0x2e, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x08, 0x47, 0x65, 0x74,
0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e,
0x76, 0x73, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x69, 0x73, 0x2e, 0x61, 0x6d, 0x70, 0x65, 0x6c, 0x2e,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x69, 0x73, 0x2e, 0x61,
0x6d, 0x70, 0x65, 0x6c, 0x2e, 0x41, 0x63, 0x6b, 0x12, 0x45, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x43,
0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x76,
0x73, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x69, 0x73, 0x2e, 0x61, 0x6d, 0x70, 0x65, 0x6c, 0x2e, 0x47,
0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
0x60, 0x0a, 0x12, 0x63, 0x68, 0x2e, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x69, 0x73, 0x2e,
0x61, 0x6d, 0x70, 0x65, 0x6c, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e,
0x65, 0x74, 0x68, 0x7a, 0x2e, 0x63, 0x68, 0x2f, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f, 0x30, 0x34,
0x30, 0x33, 0x2d, 0x69, 0x73, 0x67, 0x2f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x74, 0x75, 0x62, 0x2d, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
0x67, 0x2f, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x69, 0x73, 0x2f, 0x61, 0x6d, 0x70, 0x65,
0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x47, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x42, 0x60, 0x0a, 0x12, 0x63, 0x68, 0x2e, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x69, 0x73,
0x2e, 0x61, 0x6d, 0x70, 0x65, 0x6c, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62,
0x2e, 0x65, 0x74, 0x68, 0x7a, 0x2e, 0x63, 0x68, 0x2f, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f, 0x30,
0x34, 0x30, 0x33, 0x2d, 0x69, 0x73, 0x67, 0x2f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65,
0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x74, 0x75, 0x62, 0x2d, 0x67, 0x6f, 0x6c, 0x61,
0x6e, 0x67, 0x2f, 0x76, 0x73, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x69, 0x73, 0x2f, 0x61, 0x6d, 0x70,
0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
......@@ -267,20 +218,19 @@ func file_vseth_vis_ampel_ampel_proto_rawDescGZIP() []byte {
}
var file_vseth_vis_ampel_ampel_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_vseth_vis_ampel_ampel_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_vseth_vis_ampel_ampel_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_vseth_vis_ampel_ampel_proto_goTypes = []interface{}{
(Color)(0), // 0: vseth.vis.ampel.Color
(*UpdateColorRequest)(nil), // 1: vseth.vis.ampel.UpdateColorRequest
(*GetColorResponse)(nil), // 2: vseth.vis.ampel.GetColorResponse
(*Ack)(nil), // 3: vseth.vis.ampel.Ack
(*empty.Empty)(nil), // 4: google.protobuf.Empty
(*empty.Empty)(nil), // 3: google.protobuf.Empty
}
var file_vseth_vis_ampel_ampel_proto_depIdxs = []int32{
0, // 0: vseth.vis.ampel.UpdateColorRequest.color:type_name -> vseth.vis.ampel.Color
0, // 1: vseth.vis.ampel.GetColorResponse.color:type_name -> vseth.vis.ampel.Color
1, // 2: vseth.vis.ampel.Ampel.UpdateColor:input_type -> vseth.vis.ampel.UpdateColorRequest
4, // 3: vseth.vis.ampel.Ampel.GetColor:input_type -> google.protobuf.Empty
3, // 4: vseth.vis.ampel.Ampel.UpdateColor:output_type -> vseth.vis.ampel.Ack
3, // 3: vseth.vis.ampel.Ampel.GetColor:input_type -> google.protobuf.Empty
3, // 4: vseth.vis.ampel.Ampel.UpdateColor:output_type -> google.protobuf.Empty
2, // 5: vseth.vis.ampel.Ampel.GetColor:output_type -> vseth.vis.ampel.GetColorResponse
4, // [4:6] is the sub-list for method output_type
2, // [2:4] is the sub-list for method input_type
......@@ -319,18 +269,6 @@ func file_vseth_vis_ampel_ampel_proto_init() {
return nil
}
}
file_vseth_vis_ampel_ampel_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Ack); 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{
......@@ -338,7 +276,7 @@ func file_vseth_vis_ampel_ampel_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_vseth_vis_ampel_ampel_proto_rawDesc,
NumEnums: 1,
NumMessages: 3,
NumMessages: 2,
NumExtensions: 0,
NumServices: 1,
},
......
......@@ -20,7 +20,7 @@ const _ = grpc.SupportPackageIsVersion7
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type AmpelClient interface {
// UpdateColor sets the color of this ampel instance to to the color set in the request
UpdateColor(ctx context.Context, in *UpdateColorRequest, opts ...grpc.CallOption) (*Ack, error)
UpdateColor(ctx context.Context, in *UpdateColorRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// GetColor returns the currently displayed color of this ampel instance
GetColor(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetColorResponse, error)
}
......@@ -33,8 +33,8 @@ func NewAmpelClient(cc grpc.ClientConnInterface) AmpelClient {
return &ampelClient{cc}
}
func (c *ampelClient) UpdateColor(ctx context.Context, in *UpdateColorRequest, opts ...grpc.CallOption) (*Ack, error) {
out := new(Ack)
func (c *ampelClient) UpdateColor(ctx context.Context, in *UpdateColorRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/vseth.vis.ampel.Ampel/UpdateColor", in, out, opts...)
if err != nil {
return nil, err
......@@ -56,7 +56,7 @@ func (c *ampelClient) GetColor(ctx context.Context, in *empty.Empty, opts ...grp
// for forward compatibility
type AmpelServer interface {
// UpdateColor sets the color of this ampel instance to to the color set in the request
UpdateColor(context.Context, *UpdateColorRequest) (*Ack, error)
UpdateColor(context.Context, *UpdateColorRequest) (*empty.Empty, error)
// GetColor returns the currently displayed color of this ampel instance
GetColor(context.Context, *empty.Empty) (*GetColorResponse, error)
mustEmbedUnimplementedAmpelServer()
......@@ -66,7 +66,7 @@ type AmpelServer interface {
type UnimplementedAmpelServer struct {
}
func (UnimplementedAmpelServer) UpdateColor(context.Context, *UpdateColorRequest) (*Ack, error) {
func (UnimplementedAmpelServer) UpdateColor(context.Context, *UpdateColorRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateColor not implemented")
}
func (UnimplementedAmpelServer) GetColor(context.Context, *empty.Empty) (*GetColorResponse, error) {
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/vis/coffeelog/coffeelog.proto
package coffeelog
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/vis/infoscreen/infoscreen.proto
package infoscreen
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/vis/lists/lists.proto
package lists
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/vis/messaging/messaging.proto
package messaging
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.7
// protoc v3.18.1
// source: vseth/vis/people/people.proto
package people
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment