mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-18 13:45:09 +00:00
Multitenant streams api (#72)
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.23.0
|
||||
// protoc v3.13.0
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.15.5
|
||||
// source: proto/seen.proto
|
||||
|
||||
package seen
|
||||
|
||||
import (
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
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"
|
||||
)
|
||||
@@ -86,10 +86,10 @@ type SetRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||||
ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||||
Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||||
ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||||
Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SetRequest) Reset() {
|
||||
@@ -145,7 +145,7 @@ func (x *SetRequest) GetResourceId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SetRequest) GetTimestamp() *timestamp.Timestamp {
|
||||
func (x *SetRequest) GetTimestamp() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.Timestamp
|
||||
}
|
||||
@@ -359,7 +359,7 @@ type ReadResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Timestamps map[string]*timestamp.Timestamp `protobuf:"bytes,1,rep,name=timestamps,proto3" json:"timestamps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
Timestamps map[string]*timestamppb.Timestamp `protobuf:"bytes,1,rep,name=timestamps,proto3" json:"timestamps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
}
|
||||
|
||||
func (x *ReadResponse) Reset() {
|
||||
@@ -394,7 +394,7 @@ func (*ReadResponse) Descriptor() ([]byte, []int) {
|
||||
return file_proto_seen_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *ReadResponse) GetTimestamps() map[string]*timestamp.Timestamp {
|
||||
func (x *ReadResponse) GetTimestamps() map[string]*timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.Timestamps
|
||||
}
|
||||
@@ -475,15 +475,15 @@ func file_proto_seen_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_proto_seen_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||||
var file_proto_seen_proto_goTypes = []interface{}{
|
||||
(*Resource)(nil), // 0: seen.Resource
|
||||
(*SetRequest)(nil), // 1: seen.SetRequest
|
||||
(*SetResponse)(nil), // 2: seen.SetResponse
|
||||
(*UnsetRequest)(nil), // 3: seen.UnsetRequest
|
||||
(*UnsetResponse)(nil), // 4: seen.UnsetResponse
|
||||
(*ReadRequest)(nil), // 5: seen.ReadRequest
|
||||
(*ReadResponse)(nil), // 6: seen.ReadResponse
|
||||
nil, // 7: seen.ReadResponse.TimestampsEntry
|
||||
(*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp
|
||||
(*Resource)(nil), // 0: seen.Resource
|
||||
(*SetRequest)(nil), // 1: seen.SetRequest
|
||||
(*SetResponse)(nil), // 2: seen.SetResponse
|
||||
(*UnsetRequest)(nil), // 3: seen.UnsetRequest
|
||||
(*UnsetResponse)(nil), // 4: seen.UnsetResponse
|
||||
(*ReadRequest)(nil), // 5: seen.ReadRequest
|
||||
(*ReadResponse)(nil), // 6: seen.ReadResponse
|
||||
nil, // 7: seen.ReadResponse.TimestampsEntry
|
||||
(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
|
||||
}
|
||||
var file_proto_seen_proto_depIdxs = []int32{
|
||||
8, // 0: seen.SetRequest.timestamp:type_name -> google.protobuf.Timestamp
|
||||
|
||||
Reference in New Issue
Block a user