Documentation ¶
Index ¶
- Variables
- func RegisterLogEntryGrpcServiceServer(s grpc.ServiceRegistrar, srv LogEntryGrpcServiceServer)
- type AddTagGrpcRequest
- func (*AddTagGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTagGrpcRequest) GetId() string
- func (x *AddTagGrpcRequest) GetTagId() string
- func (x *AddTagGrpcRequest) GetTenant() string
- func (x *AddTagGrpcRequest) GetUserId() string
- func (*AddTagGrpcRequest) ProtoMessage()
- func (x *AddTagGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *AddTagGrpcRequest) Reset()
- func (x *AddTagGrpcRequest) String() string
- type LogEntryGrpcServiceClient
- type LogEntryGrpcServiceServer
- type LogEntryIdGrpcResponse
- func (*LogEntryIdGrpcResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntryIdGrpcResponse) GetId() string
- func (*LogEntryIdGrpcResponse) ProtoMessage()
- func (x *LogEntryIdGrpcResponse) ProtoReflect() protoreflect.Message
- func (x *LogEntryIdGrpcResponse) Reset()
- func (x *LogEntryIdGrpcResponse) String() string
- type RemoveTagGrpcRequest
- func (*RemoveTagGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTagGrpcRequest) GetId() string
- func (x *RemoveTagGrpcRequest) GetTagId() string
- func (x *RemoveTagGrpcRequest) GetTenant() string
- func (x *RemoveTagGrpcRequest) GetUserId() string
- func (*RemoveTagGrpcRequest) ProtoMessage()
- func (x *RemoveTagGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveTagGrpcRequest) Reset()
- func (x *RemoveTagGrpcRequest) String() string
- type UnimplementedLogEntryGrpcServiceServer
- func (UnimplementedLogEntryGrpcServiceServer) AddTag(context.Context, *AddTagGrpcRequest) (*LogEntryIdGrpcResponse, error)
- func (UnimplementedLogEntryGrpcServiceServer) RemoveTag(context.Context, *RemoveTagGrpcRequest) (*LogEntryIdGrpcResponse, error)
- func (UnimplementedLogEntryGrpcServiceServer) UpsertLogEntry(context.Context, *UpsertLogEntryGrpcRequest) (*LogEntryIdGrpcResponse, error)
- type UnsafeLogEntryGrpcServiceServer
- type UpsertLogEntryGrpcRequest
- func (*UpsertLogEntryGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertLogEntryGrpcRequest) GetAuthorUserId() string
- func (x *UpsertLogEntryGrpcRequest) GetContent() string
- func (x *UpsertLogEntryGrpcRequest) GetContentType() string
- func (x *UpsertLogEntryGrpcRequest) GetCreatedAt() *timestamppb.Timestamp
- func (x *UpsertLogEntryGrpcRequest) GetExternalSystemFields() *common.ExternalSystemFields
- func (x *UpsertLogEntryGrpcRequest) GetId() string
- func (x *UpsertLogEntryGrpcRequest) GetLoggedOrganizationId() string
- func (x *UpsertLogEntryGrpcRequest) GetSourceFields() *common.SourceFields
- func (x *UpsertLogEntryGrpcRequest) GetStartedAt() *timestamppb.Timestamp
- func (x *UpsertLogEntryGrpcRequest) GetTenant() string
- func (x *UpsertLogEntryGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp
- func (x *UpsertLogEntryGrpcRequest) GetUserId() string
- func (*UpsertLogEntryGrpcRequest) ProtoMessage()
- func (x *UpsertLogEntryGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertLogEntryGrpcRequest) Reset()
- func (x *UpsertLogEntryGrpcRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_log_entry_proto protoreflect.FileDescriptor
var LogEntryGrpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "logEntryGrpcService", HandlerType: (*LogEntryGrpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpsertLogEntry", Handler: _LogEntryGrpcService_UpsertLogEntry_Handler, }, { MethodName: "AddTag", Handler: _LogEntryGrpcService_AddTag_Handler, }, { MethodName: "RemoveTag", Handler: _LogEntryGrpcService_RemoveTag_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "log_entry.proto", }
LogEntryGrpcService_ServiceDesc is the grpc.ServiceDesc for LogEntryGrpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLogEntryGrpcServiceServer ¶
func RegisterLogEntryGrpcServiceServer(s grpc.ServiceRegistrar, srv LogEntryGrpcServiceServer)
Types ¶
type AddTagGrpcRequest ¶
type AddTagGrpcRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"` TagId string `protobuf:"bytes,4,opt,name=tagId,proto3" json:"tagId,omitempty"` // contains filtered or unexported fields }
func (*AddTagGrpcRequest) Descriptor
deprecated
func (*AddTagGrpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTagGrpcRequest.ProtoReflect.Descriptor instead.
func (*AddTagGrpcRequest) GetId ¶
func (x *AddTagGrpcRequest) GetId() string
func (*AddTagGrpcRequest) GetTagId ¶
func (x *AddTagGrpcRequest) GetTagId() string
func (*AddTagGrpcRequest) GetTenant ¶
func (x *AddTagGrpcRequest) GetTenant() string
func (*AddTagGrpcRequest) GetUserId ¶
func (x *AddTagGrpcRequest) GetUserId() string
func (*AddTagGrpcRequest) ProtoMessage ¶
func (*AddTagGrpcRequest) ProtoMessage()
func (*AddTagGrpcRequest) ProtoReflect ¶
func (x *AddTagGrpcRequest) ProtoReflect() protoreflect.Message
func (*AddTagGrpcRequest) Reset ¶
func (x *AddTagGrpcRequest) Reset()
func (*AddTagGrpcRequest) String ¶
func (x *AddTagGrpcRequest) String() string
type LogEntryGrpcServiceClient ¶
type LogEntryGrpcServiceClient interface { UpsertLogEntry(ctx context.Context, in *UpsertLogEntryGrpcRequest, opts ...grpc.CallOption) (*LogEntryIdGrpcResponse, error) AddTag(ctx context.Context, in *AddTagGrpcRequest, opts ...grpc.CallOption) (*LogEntryIdGrpcResponse, error) RemoveTag(ctx context.Context, in *RemoveTagGrpcRequest, opts ...grpc.CallOption) (*LogEntryIdGrpcResponse, error) }
LogEntryGrpcServiceClient is the client API for LogEntryGrpcService service.
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.
func NewLogEntryGrpcServiceClient ¶
func NewLogEntryGrpcServiceClient(cc grpc.ClientConnInterface) LogEntryGrpcServiceClient
type LogEntryGrpcServiceServer ¶
type LogEntryGrpcServiceServer interface { UpsertLogEntry(context.Context, *UpsertLogEntryGrpcRequest) (*LogEntryIdGrpcResponse, error) AddTag(context.Context, *AddTagGrpcRequest) (*LogEntryIdGrpcResponse, error) RemoveTag(context.Context, *RemoveTagGrpcRequest) (*LogEntryIdGrpcResponse, error) }
LogEntryGrpcServiceServer is the server API for LogEntryGrpcService service. All implementations should embed UnimplementedLogEntryGrpcServiceServer for forward compatibility
type LogEntryIdGrpcResponse ¶
type LogEntryIdGrpcResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*LogEntryIdGrpcResponse) Descriptor
deprecated
func (*LogEntryIdGrpcResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogEntryIdGrpcResponse.ProtoReflect.Descriptor instead.
func (*LogEntryIdGrpcResponse) GetId ¶
func (x *LogEntryIdGrpcResponse) GetId() string
func (*LogEntryIdGrpcResponse) ProtoMessage ¶
func (*LogEntryIdGrpcResponse) ProtoMessage()
func (*LogEntryIdGrpcResponse) ProtoReflect ¶
func (x *LogEntryIdGrpcResponse) ProtoReflect() protoreflect.Message
func (*LogEntryIdGrpcResponse) Reset ¶
func (x *LogEntryIdGrpcResponse) Reset()
func (*LogEntryIdGrpcResponse) String ¶
func (x *LogEntryIdGrpcResponse) String() string
type RemoveTagGrpcRequest ¶
type RemoveTagGrpcRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"` TagId string `protobuf:"bytes,4,opt,name=tagId,proto3" json:"tagId,omitempty"` // contains filtered or unexported fields }
func (*RemoveTagGrpcRequest) Descriptor
deprecated
func (*RemoveTagGrpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTagGrpcRequest.ProtoReflect.Descriptor instead.
func (*RemoveTagGrpcRequest) GetId ¶
func (x *RemoveTagGrpcRequest) GetId() string
func (*RemoveTagGrpcRequest) GetTagId ¶
func (x *RemoveTagGrpcRequest) GetTagId() string
func (*RemoveTagGrpcRequest) GetTenant ¶
func (x *RemoveTagGrpcRequest) GetTenant() string
func (*RemoveTagGrpcRequest) GetUserId ¶
func (x *RemoveTagGrpcRequest) GetUserId() string
func (*RemoveTagGrpcRequest) ProtoMessage ¶
func (*RemoveTagGrpcRequest) ProtoMessage()
func (*RemoveTagGrpcRequest) ProtoReflect ¶
func (x *RemoveTagGrpcRequest) ProtoReflect() protoreflect.Message
func (*RemoveTagGrpcRequest) Reset ¶
func (x *RemoveTagGrpcRequest) Reset()
func (*RemoveTagGrpcRequest) String ¶
func (x *RemoveTagGrpcRequest) String() string
type UnimplementedLogEntryGrpcServiceServer ¶
type UnimplementedLogEntryGrpcServiceServer struct { }
UnimplementedLogEntryGrpcServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedLogEntryGrpcServiceServer) AddTag ¶
func (UnimplementedLogEntryGrpcServiceServer) AddTag(context.Context, *AddTagGrpcRequest) (*LogEntryIdGrpcResponse, error)
func (UnimplementedLogEntryGrpcServiceServer) RemoveTag ¶
func (UnimplementedLogEntryGrpcServiceServer) RemoveTag(context.Context, *RemoveTagGrpcRequest) (*LogEntryIdGrpcResponse, error)
func (UnimplementedLogEntryGrpcServiceServer) UpsertLogEntry ¶
func (UnimplementedLogEntryGrpcServiceServer) UpsertLogEntry(context.Context, *UpsertLogEntryGrpcRequest) (*LogEntryIdGrpcResponse, error)
type UnsafeLogEntryGrpcServiceServer ¶
type UnsafeLogEntryGrpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLogEntryGrpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LogEntryGrpcServiceServer will result in compilation errors.
type UpsertLogEntryGrpcRequest ¶
type UpsertLogEntryGrpcRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` ContentType string `protobuf:"bytes,5,opt,name=contentType,proto3" json:"contentType,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` StartedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=startedAt,proto3" json:"startedAt,omitempty"` AuthorUserId *string `protobuf:"bytes,12,opt,name=authorUserId,proto3,oneof" json:"authorUserId,omitempty"` LoggedOrganizationId *string `protobuf:"bytes,13,opt,name=loggedOrganizationId,proto3,oneof" json:"loggedOrganizationId,omitempty"` SourceFields *common.SourceFields `protobuf:"bytes,14,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"` ExternalSystemFields *common.ExternalSystemFields `protobuf:"bytes,15,opt,name=externalSystemFields,proto3" json:"externalSystemFields,omitempty"` // contains filtered or unexported fields }
func (*UpsertLogEntryGrpcRequest) Descriptor
deprecated
func (*UpsertLogEntryGrpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertLogEntryGrpcRequest.ProtoReflect.Descriptor instead.
func (*UpsertLogEntryGrpcRequest) GetAuthorUserId ¶
func (x *UpsertLogEntryGrpcRequest) GetAuthorUserId() string
func (*UpsertLogEntryGrpcRequest) GetContent ¶
func (x *UpsertLogEntryGrpcRequest) GetContent() string
func (*UpsertLogEntryGrpcRequest) GetContentType ¶
func (x *UpsertLogEntryGrpcRequest) GetContentType() string
func (*UpsertLogEntryGrpcRequest) GetCreatedAt ¶
func (x *UpsertLogEntryGrpcRequest) GetCreatedAt() *timestamppb.Timestamp
func (*UpsertLogEntryGrpcRequest) GetExternalSystemFields ¶
func (x *UpsertLogEntryGrpcRequest) GetExternalSystemFields() *common.ExternalSystemFields
func (*UpsertLogEntryGrpcRequest) GetId ¶
func (x *UpsertLogEntryGrpcRequest) GetId() string
func (*UpsertLogEntryGrpcRequest) GetLoggedOrganizationId ¶
func (x *UpsertLogEntryGrpcRequest) GetLoggedOrganizationId() string
func (*UpsertLogEntryGrpcRequest) GetSourceFields ¶
func (x *UpsertLogEntryGrpcRequest) GetSourceFields() *common.SourceFields
func (*UpsertLogEntryGrpcRequest) GetStartedAt ¶
func (x *UpsertLogEntryGrpcRequest) GetStartedAt() *timestamppb.Timestamp
func (*UpsertLogEntryGrpcRequest) GetTenant ¶
func (x *UpsertLogEntryGrpcRequest) GetTenant() string
func (*UpsertLogEntryGrpcRequest) GetUpdatedAt ¶
func (x *UpsertLogEntryGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp
func (*UpsertLogEntryGrpcRequest) GetUserId ¶
func (x *UpsertLogEntryGrpcRequest) GetUserId() string
func (*UpsertLogEntryGrpcRequest) ProtoMessage ¶
func (*UpsertLogEntryGrpcRequest) ProtoMessage()
func (*UpsertLogEntryGrpcRequest) ProtoReflect ¶
func (x *UpsertLogEntryGrpcRequest) ProtoReflect() protoreflect.Message
func (*UpsertLogEntryGrpcRequest) Reset ¶
func (x *UpsertLogEntryGrpcRequest) Reset()
func (*UpsertLogEntryGrpcRequest) String ¶
func (x *UpsertLogEntryGrpcRequest) String() string