Files
chirpstack/api/go/stream/backend_interfaces.pb.go
2025-06-11 09:25:20 +01:00

210 lines
7.0 KiB
Go
Vendored

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.6
// protoc v6.30.2
// source: stream/backend_interfaces.proto
package stream
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 BackendInterfacesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Sender ID.
SenderId string `protobuf:"bytes,1,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
// Receiver ID.
ReceiverId string `protobuf:"bytes,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"`
// Timestamp.
Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
// Transaction ID.
TransactionId uint32 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
// Message-type.
MessageType string `protobuf:"bytes,5,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
// Result code.
ResultCode string `protobuf:"bytes,6,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
// Request body.
RequestBody string `protobuf:"bytes,7,opt,name=request_body,json=requestBody,proto3" json:"request_body,omitempty"`
// Request error.
RequestError string `protobuf:"bytes,8,opt,name=request_error,json=requestError,proto3" json:"request_error,omitempty"`
// Response body.
ResponseBody string `protobuf:"bytes,9,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BackendInterfacesRequest) Reset() {
*x = BackendInterfacesRequest{}
mi := &file_stream_backend_interfaces_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BackendInterfacesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BackendInterfacesRequest) ProtoMessage() {}
func (x *BackendInterfacesRequest) ProtoReflect() protoreflect.Message {
mi := &file_stream_backend_interfaces_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 BackendInterfacesRequest.ProtoReflect.Descriptor instead.
func (*BackendInterfacesRequest) Descriptor() ([]byte, []int) {
return file_stream_backend_interfaces_proto_rawDescGZIP(), []int{0}
}
func (x *BackendInterfacesRequest) GetSenderId() string {
if x != nil {
return x.SenderId
}
return ""
}
func (x *BackendInterfacesRequest) GetReceiverId() string {
if x != nil {
return x.ReceiverId
}
return ""
}
func (x *BackendInterfacesRequest) GetTime() *timestamppb.Timestamp {
if x != nil {
return x.Time
}
return nil
}
func (x *BackendInterfacesRequest) GetTransactionId() uint32 {
if x != nil {
return x.TransactionId
}
return 0
}
func (x *BackendInterfacesRequest) GetMessageType() string {
if x != nil {
return x.MessageType
}
return ""
}
func (x *BackendInterfacesRequest) GetResultCode() string {
if x != nil {
return x.ResultCode
}
return ""
}
func (x *BackendInterfacesRequest) GetRequestBody() string {
if x != nil {
return x.RequestBody
}
return ""
}
func (x *BackendInterfacesRequest) GetRequestError() string {
if x != nil {
return x.RequestError
}
return ""
}
func (x *BackendInterfacesRequest) GetResponseBody() string {
if x != nil {
return x.ResponseBody
}
return ""
}
var File_stream_backend_interfaces_proto protoreflect.FileDescriptor
const file_stream_backend_interfaces_proto_rawDesc = "" +
"\n" +
"\x1fstream/backend_interfaces.proto\x12\x06stream\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe0\x02\n" +
"\x18BackendInterfacesRequest\x12\x1b\n" +
"\tsender_id\x18\x01 \x01(\tR\bsenderId\x12\x1f\n" +
"\vreceiver_id\x18\x02 \x01(\tR\n" +
"receiverId\x12.\n" +
"\x04time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x04time\x12%\n" +
"\x0etransaction_id\x18\x04 \x01(\rR\rtransactionId\x12!\n" +
"\fmessage_type\x18\x05 \x01(\tR\vmessageType\x12\x1f\n" +
"\vresult_code\x18\x06 \x01(\tR\n" +
"resultCode\x12!\n" +
"\frequest_body\x18\a \x01(\tR\vrequestBody\x12#\n" +
"\rrequest_error\x18\b \x01(\tR\frequestError\x12#\n" +
"\rresponse_body\x18\t \x01(\tR\fresponseBodyB\xaf\x01\n" +
"\x18io.chirpstack.api.streamB\x16BackendInterfacesProtoP\x01Z1github.com/chirpstack/chirpstack/api/go/v4/stream\xaa\x02\x11Chirpstack.Stream\xca\x02\x11Chirpstack\\Stream\xe2\x02\x1dGPBMetadata\\Chirpstack\\Streamb\x06proto3"
var (
file_stream_backend_interfaces_proto_rawDescOnce sync.Once
file_stream_backend_interfaces_proto_rawDescData []byte
)
func file_stream_backend_interfaces_proto_rawDescGZIP() []byte {
file_stream_backend_interfaces_proto_rawDescOnce.Do(func() {
file_stream_backend_interfaces_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_stream_backend_interfaces_proto_rawDesc), len(file_stream_backend_interfaces_proto_rawDesc)))
})
return file_stream_backend_interfaces_proto_rawDescData
}
var file_stream_backend_interfaces_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_stream_backend_interfaces_proto_goTypes = []any{
(*BackendInterfacesRequest)(nil), // 0: stream.BackendInterfacesRequest
(*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
}
var file_stream_backend_interfaces_proto_depIdxs = []int32{
1, // 0: stream.BackendInterfacesRequest.time:type_name -> google.protobuf.Timestamp
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_stream_backend_interfaces_proto_init() }
func file_stream_backend_interfaces_proto_init() {
if File_stream_backend_interfaces_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_stream_backend_interfaces_proto_rawDesc), len(file_stream_backend_interfaces_proto_rawDesc)),
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_stream_backend_interfaces_proto_goTypes,
DependencyIndexes: file_stream_backend_interfaces_proto_depIdxs,
MessageInfos: file_stream_backend_interfaces_proto_msgTypes,
}.Build()
File_stream_backend_interfaces_proto = out.File
file_stream_backend_interfaces_proto_goTypes = nil
file_stream_backend_interfaces_proto_depIdxs = nil
}