log_entry_grpc_service

package
v0.0.0-...-e437075 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_log_entry_proto protoreflect.FileDescriptor
View Source
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.

type LogEntryGrpcServiceServer

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) RemoveTag

func (UnimplementedLogEntryGrpcServiceServer) UpsertLogEntry

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 (*UpsertLogEntryGrpcRequest) Reset

func (x *UpsertLogEntryGrpcRequest) Reset()

func (*UpsertLogEntryGrpcRequest) String

func (x *UpsertLogEntryGrpcRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL