pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_exception_proto protoreflect.FileDescriptor

Functions

func ExceptionServiceClientType

func ExceptionServiceClientType() reflect.Type

ExceptionServiceClientType .

func ExceptionServiceHandlerType

func ExceptionServiceHandlerType() reflect.Type

ExceptionServiceHandlerType .

func ExceptionServiceServerType

func ExceptionServiceServerType() reflect.Type

ExceptionServiceServerType .

func RegisterExceptionServiceHandler

func RegisterExceptionServiceHandler(r http.Router, srv ExceptionServiceHandler, opts ...http.HandleOption)

RegisterExceptionServiceHandler register ExceptionServiceHandler to http.Router.

func RegisterExceptionServiceImp

func RegisterExceptionServiceImp(regester transport.Register, srv ExceptionServiceServer, opts ...transport.ServiceOption)

RegisterExceptionServiceImp exception.proto

func RegisterExceptionServiceServer

func RegisterExceptionServiceServer(s grpc1.ServiceRegistrar, srv ExceptionServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type Exception

type Exception struct {
	Id               string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClassName        string `protobuf:"bytes,2,opt,name=className,proto3" json:"className,omitempty"`
	Method           string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	Type             string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	EventCount       int64  `protobuf:"varint,5,opt,name=eventCount,proto3" json:"eventCount,omitempty"`
	ExceptionMessage string `protobuf:"bytes,6,opt,name=exceptionMessage,proto3" json:"exceptionMessage,omitempty"`
	File             string `protobuf:"bytes,7,opt,name=file,proto3" json:"file,omitempty"`
	ApplicationID    string `protobuf:"bytes,8,opt,name=applicationID,json=applicationId,proto3" json:"applicationID,omitempty"`
	RuntimeID        string `protobuf:"bytes,9,opt,name=runtimeID,json=runtimeId,proto3" json:"runtimeID,omitempty"`
	ServiceName      string `protobuf:"bytes,10,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
	ScopeID          string `protobuf:"bytes,11,opt,name=scopeID,json=scopeId,proto3" json:"scopeID,omitempty"`
	CreateTime       string `protobuf:"bytes,12,opt,name=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime       string `protobuf:"bytes,13,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*Exception) Descriptor deprecated

func (*Exception) Descriptor() ([]byte, []int)

Deprecated: Use Exception.ProtoReflect.Descriptor instead.

func (*Exception) GetApplicationID

func (x *Exception) GetApplicationID() string

func (*Exception) GetClassName

func (x *Exception) GetClassName() string

func (*Exception) GetCreateTime

func (x *Exception) GetCreateTime() string

func (*Exception) GetEventCount

func (x *Exception) GetEventCount() int64

func (*Exception) GetExceptionMessage

func (x *Exception) GetExceptionMessage() string

func (*Exception) GetFile

func (x *Exception) GetFile() string

func (*Exception) GetId

func (x *Exception) GetId() string

func (*Exception) GetMethod

func (x *Exception) GetMethod() string

func (*Exception) GetRuntimeID

func (x *Exception) GetRuntimeID() string

func (*Exception) GetScopeID

func (x *Exception) GetScopeID() string

func (*Exception) GetServiceName

func (x *Exception) GetServiceName() string

func (*Exception) GetType

func (x *Exception) GetType() string

func (*Exception) GetUpdateTime

func (x *Exception) GetUpdateTime() string

func (*Exception) MarshalJSON

func (m *Exception) MarshalJSON() ([]byte, error)

Exception implement json.Marshaler.

func (*Exception) ProtoMessage

func (*Exception) ProtoMessage()

func (*Exception) ProtoReflect

func (x *Exception) ProtoReflect() protoreflect.Message

func (*Exception) Reset

func (x *Exception) Reset()

func (*Exception) String

func (x *Exception) String() string

func (*Exception) UnmarshalJSON

func (m *Exception) UnmarshalJSON(b []byte) error

Exception implement json.Marshaler.

func (*Exception) UnmarshalURLValues

func (m *Exception) UnmarshalURLValues(prefix string, values url.Values) error

Exception implement urlenc.URLValuesUnmarshaler.

func (*Exception) Validate

func (this *Exception) Validate() error

type ExceptionEvent

type ExceptionEvent struct {
	Id             string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ExceptionID    string            `protobuf:"bytes,2,opt,name=exceptionID,json=exceptionId,proto3" json:"exceptionID,omitempty"`
	Metadata       map[string]string `` /* 157-byte string literal not displayed */
	RequestContext map[string]string `` /* 169-byte string literal not displayed */
	RequestHeaders map[string]string `` /* 169-byte string literal not displayed */
	RequestID      string            `protobuf:"bytes,6,opt,name=requestID,json=requestId,proto3" json:"requestID,omitempty"`
	Stacks         []*Stacks         `protobuf:"bytes,7,rep,name=stacks,proto3" json:"stacks,omitempty"`
	Tags           map[string]string `` /* 149-byte string literal not displayed */
	Timestamp      int64             `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	RequestSampled bool              `protobuf:"varint,10,opt,name=requestSampled,proto3" json:"requestSampled,omitempty"`
	// contains filtered or unexported fields
}

func (*ExceptionEvent) Descriptor deprecated

func (*ExceptionEvent) Descriptor() ([]byte, []int)

Deprecated: Use ExceptionEvent.ProtoReflect.Descriptor instead.

func (*ExceptionEvent) GetExceptionID

func (x *ExceptionEvent) GetExceptionID() string

func (*ExceptionEvent) GetId

func (x *ExceptionEvent) GetId() string

func (*ExceptionEvent) GetMetadata

func (x *ExceptionEvent) GetMetadata() map[string]string

func (*ExceptionEvent) GetRequestContext

func (x *ExceptionEvent) GetRequestContext() map[string]string

func (*ExceptionEvent) GetRequestHeaders

func (x *ExceptionEvent) GetRequestHeaders() map[string]string

func (*ExceptionEvent) GetRequestID

func (x *ExceptionEvent) GetRequestID() string

func (*ExceptionEvent) GetRequestSampled

func (x *ExceptionEvent) GetRequestSampled() bool

func (*ExceptionEvent) GetStacks

func (x *ExceptionEvent) GetStacks() []*Stacks

func (*ExceptionEvent) GetTags

func (x *ExceptionEvent) GetTags() map[string]string

func (*ExceptionEvent) GetTimestamp

func (x *ExceptionEvent) GetTimestamp() int64

func (*ExceptionEvent) MarshalJSON

func (m *ExceptionEvent) MarshalJSON() ([]byte, error)

ExceptionEvent implement json.Marshaler.

func (*ExceptionEvent) ProtoMessage

func (*ExceptionEvent) ProtoMessage()

func (*ExceptionEvent) ProtoReflect

func (x *ExceptionEvent) ProtoReflect() protoreflect.Message

func (*ExceptionEvent) Reset

func (x *ExceptionEvent) Reset()

func (*ExceptionEvent) String

func (x *ExceptionEvent) String() string

func (*ExceptionEvent) UnmarshalJSON

func (m *ExceptionEvent) UnmarshalJSON(b []byte) error

ExceptionEvent implement json.Marshaler.

func (*ExceptionEvent) UnmarshalURLValues

func (m *ExceptionEvent) UnmarshalURLValues(prefix string, values url.Values) error

ExceptionEvent implement urlenc.URLValuesUnmarshaler.

func (*ExceptionEvent) Validate

func (this *ExceptionEvent) Validate() error

type ExceptionServiceClient

type ExceptionServiceClient interface {
	GetExceptions(ctx context.Context, in *GetExceptionsRequest, opts ...grpc.CallOption) (*GetExceptionsResponse, error)
	GetExceptionEventIds(ctx context.Context, in *GetExceptionEventIdsRequest, opts ...grpc.CallOption) (*GetExceptionEventIdsResponse, error)
	GetExceptionEvent(ctx context.Context, in *GetExceptionEventRequest, opts ...grpc.CallOption) (*GetExceptionEventResponse, error)
}

ExceptionServiceClient is the client API for ExceptionService 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 ExceptionServiceHandler

type ExceptionServiceHandler interface {
	// GET /api/msp/apm/exceptions
	GetExceptions(context.Context, *GetExceptionsRequest) (*GetExceptionsResponse, error)
	// GET /api/msp/apm/exceptions/event-ids
	GetExceptionEventIds(context.Context, *GetExceptionEventIdsRequest) (*GetExceptionEventIdsResponse, error)
	// GET /api/msp/apm/exceptions/events
	GetExceptionEvent(context.Context, *GetExceptionEventRequest) (*GetExceptionEventResponse, error)
}

ExceptionServiceHandler is the server API for ExceptionService service.

type ExceptionServiceServer

ExceptionServiceServer is the server API for ExceptionService service. All implementations should embed UnimplementedExceptionServiceServer for forward compatibility

type GetExceptionEventIdsRequest

type GetExceptionEventIdsRequest struct {
	ExceptionID string `protobuf:"bytes,1,opt,name=exceptionID,proto3" json:"exceptionID,omitempty"`
	ScopeID     string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExceptionEventIdsRequest) Descriptor deprecated

func (*GetExceptionEventIdsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetExceptionEventIdsRequest.ProtoReflect.Descriptor instead.

func (*GetExceptionEventIdsRequest) GetExceptionID

func (x *GetExceptionEventIdsRequest) GetExceptionID() string

func (*GetExceptionEventIdsRequest) GetScopeID

func (x *GetExceptionEventIdsRequest) GetScopeID() string

func (*GetExceptionEventIdsRequest) MarshalJSON

func (m *GetExceptionEventIdsRequest) MarshalJSON() ([]byte, error)

GetExceptionEventIdsRequest implement json.Marshaler.

func (*GetExceptionEventIdsRequest) ProtoMessage

func (*GetExceptionEventIdsRequest) ProtoMessage()

func (*GetExceptionEventIdsRequest) ProtoReflect

func (*GetExceptionEventIdsRequest) Reset

func (x *GetExceptionEventIdsRequest) Reset()

func (*GetExceptionEventIdsRequest) String

func (x *GetExceptionEventIdsRequest) String() string

func (*GetExceptionEventIdsRequest) UnmarshalJSON

func (m *GetExceptionEventIdsRequest) UnmarshalJSON(b []byte) error

GetExceptionEventIdsRequest implement json.Marshaler.

func (*GetExceptionEventIdsRequest) UnmarshalURLValues

func (m *GetExceptionEventIdsRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetExceptionEventIdsRequest implement urlenc.URLValuesUnmarshaler.

func (*GetExceptionEventIdsRequest) Validate

func (this *GetExceptionEventIdsRequest) Validate() error

type GetExceptionEventIdsResponse

type GetExceptionEventIdsResponse struct {
	Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExceptionEventIdsResponse) Descriptor deprecated

func (*GetExceptionEventIdsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetExceptionEventIdsResponse.ProtoReflect.Descriptor instead.

func (*GetExceptionEventIdsResponse) GetData

func (x *GetExceptionEventIdsResponse) GetData() []string

func (*GetExceptionEventIdsResponse) MarshalJSON

func (m *GetExceptionEventIdsResponse) MarshalJSON() ([]byte, error)

GetExceptionEventIdsResponse implement json.Marshaler.

func (*GetExceptionEventIdsResponse) ProtoMessage

func (*GetExceptionEventIdsResponse) ProtoMessage()

func (*GetExceptionEventIdsResponse) ProtoReflect

func (*GetExceptionEventIdsResponse) Reset

func (x *GetExceptionEventIdsResponse) Reset()

func (*GetExceptionEventIdsResponse) String

func (*GetExceptionEventIdsResponse) UnmarshalJSON

func (m *GetExceptionEventIdsResponse) UnmarshalJSON(b []byte) error

GetExceptionEventIdsResponse implement json.Marshaler.

func (*GetExceptionEventIdsResponse) UnmarshalURLValues

func (m *GetExceptionEventIdsResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetExceptionEventIdsResponse implement urlenc.URLValuesUnmarshaler.

func (*GetExceptionEventIdsResponse) Validate

func (this *GetExceptionEventIdsResponse) Validate() error

type GetExceptionEventRequest

type GetExceptionEventRequest struct {
	ExceptionEventID string `protobuf:"bytes,1,opt,name=exceptionEventID,proto3" json:"exceptionEventID,omitempty"`
	ScopeID          string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExceptionEventRequest) Descriptor deprecated

func (*GetExceptionEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetExceptionEventRequest.ProtoReflect.Descriptor instead.

func (*GetExceptionEventRequest) GetExceptionEventID

func (x *GetExceptionEventRequest) GetExceptionEventID() string

func (*GetExceptionEventRequest) GetScopeID

func (x *GetExceptionEventRequest) GetScopeID() string

func (*GetExceptionEventRequest) MarshalJSON

func (m *GetExceptionEventRequest) MarshalJSON() ([]byte, error)

GetExceptionEventRequest implement json.Marshaler.

func (*GetExceptionEventRequest) ProtoMessage

func (*GetExceptionEventRequest) ProtoMessage()

func (*GetExceptionEventRequest) ProtoReflect

func (x *GetExceptionEventRequest) ProtoReflect() protoreflect.Message

func (*GetExceptionEventRequest) Reset

func (x *GetExceptionEventRequest) Reset()

func (*GetExceptionEventRequest) String

func (x *GetExceptionEventRequest) String() string

func (*GetExceptionEventRequest) UnmarshalJSON

func (m *GetExceptionEventRequest) UnmarshalJSON(b []byte) error

GetExceptionEventRequest implement json.Marshaler.

func (*GetExceptionEventRequest) UnmarshalURLValues

func (m *GetExceptionEventRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetExceptionEventRequest implement urlenc.URLValuesUnmarshaler.

func (*GetExceptionEventRequest) Validate

func (this *GetExceptionEventRequest) Validate() error

type GetExceptionEventResponse

type GetExceptionEventResponse struct {
	Data *ExceptionEvent `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExceptionEventResponse) Descriptor deprecated

func (*GetExceptionEventResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetExceptionEventResponse.ProtoReflect.Descriptor instead.

func (*GetExceptionEventResponse) GetData

func (*GetExceptionEventResponse) MarshalJSON

func (m *GetExceptionEventResponse) MarshalJSON() ([]byte, error)

GetExceptionEventResponse implement json.Marshaler.

func (*GetExceptionEventResponse) ProtoMessage

func (*GetExceptionEventResponse) ProtoMessage()

func (*GetExceptionEventResponse) ProtoReflect

func (*GetExceptionEventResponse) Reset

func (x *GetExceptionEventResponse) Reset()

func (*GetExceptionEventResponse) String

func (x *GetExceptionEventResponse) String() string

func (*GetExceptionEventResponse) UnmarshalJSON

func (m *GetExceptionEventResponse) UnmarshalJSON(b []byte) error

GetExceptionEventResponse implement json.Marshaler.

func (*GetExceptionEventResponse) UnmarshalURLValues

func (m *GetExceptionEventResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetExceptionEventResponse implement urlenc.URLValuesUnmarshaler.

func (*GetExceptionEventResponse) Validate

func (this *GetExceptionEventResponse) Validate() error

type GetExceptionsRequest

type GetExceptionsRequest struct {
	StartTime int64  `protobuf:"varint,1,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime   int64  `protobuf:"varint,2,opt,name=endTime,proto3" json:"endTime,omitempty"`
	ScopeID   string `protobuf:"bytes,3,opt,name=scopeID,proto3" json:"scopeID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExceptionsRequest) Descriptor deprecated

func (*GetExceptionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetExceptionsRequest.ProtoReflect.Descriptor instead.

func (*GetExceptionsRequest) GetEndTime

func (x *GetExceptionsRequest) GetEndTime() int64

func (*GetExceptionsRequest) GetScopeID

func (x *GetExceptionsRequest) GetScopeID() string

func (*GetExceptionsRequest) GetStartTime

func (x *GetExceptionsRequest) GetStartTime() int64

func (*GetExceptionsRequest) MarshalJSON

func (m *GetExceptionsRequest) MarshalJSON() ([]byte, error)

GetExceptionsRequest implement json.Marshaler.

func (*GetExceptionsRequest) ProtoMessage

func (*GetExceptionsRequest) ProtoMessage()

func (*GetExceptionsRequest) ProtoReflect

func (x *GetExceptionsRequest) ProtoReflect() protoreflect.Message

func (*GetExceptionsRequest) Reset

func (x *GetExceptionsRequest) Reset()

func (*GetExceptionsRequest) String

func (x *GetExceptionsRequest) String() string

func (*GetExceptionsRequest) UnmarshalJSON

func (m *GetExceptionsRequest) UnmarshalJSON(b []byte) error

GetExceptionsRequest implement json.Marshaler.

func (*GetExceptionsRequest) UnmarshalURLValues

func (m *GetExceptionsRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetExceptionsRequest implement urlenc.URLValuesUnmarshaler.

func (*GetExceptionsRequest) Validate

func (this *GetExceptionsRequest) Validate() error

type GetExceptionsResponse

type GetExceptionsResponse struct {
	Data []*Exception `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExceptionsResponse) Descriptor deprecated

func (*GetExceptionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetExceptionsResponse.ProtoReflect.Descriptor instead.

func (*GetExceptionsResponse) GetData

func (x *GetExceptionsResponse) GetData() []*Exception

func (*GetExceptionsResponse) MarshalJSON

func (m *GetExceptionsResponse) MarshalJSON() ([]byte, error)

GetExceptionsResponse implement json.Marshaler.

func (*GetExceptionsResponse) ProtoMessage

func (*GetExceptionsResponse) ProtoMessage()

func (*GetExceptionsResponse) ProtoReflect

func (x *GetExceptionsResponse) ProtoReflect() protoreflect.Message

func (*GetExceptionsResponse) Reset

func (x *GetExceptionsResponse) Reset()

func (*GetExceptionsResponse) String

func (x *GetExceptionsResponse) String() string

func (*GetExceptionsResponse) UnmarshalJSON

func (m *GetExceptionsResponse) UnmarshalJSON(b []byte) error

GetExceptionsResponse implement json.Marshaler.

func (*GetExceptionsResponse) UnmarshalURLValues

func (m *GetExceptionsResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetExceptionsResponse implement urlenc.URLValuesUnmarshaler.

func (*GetExceptionsResponse) Validate

func (this *GetExceptionsResponse) Validate() error

type Stacks

type Stacks struct {
	Stack map[string]*structpb.Value `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Stacks) Descriptor deprecated

func (*Stacks) Descriptor() ([]byte, []int)

Deprecated: Use Stacks.ProtoReflect.Descriptor instead.

func (*Stacks) GetStack

func (x *Stacks) GetStack() map[string]*structpb.Value

func (*Stacks) MarshalJSON

func (m *Stacks) MarshalJSON() ([]byte, error)

Stacks implement json.Marshaler.

func (*Stacks) ProtoMessage

func (*Stacks) ProtoMessage()

func (*Stacks) ProtoReflect

func (x *Stacks) ProtoReflect() protoreflect.Message

func (*Stacks) Reset

func (x *Stacks) Reset()

func (*Stacks) String

func (x *Stacks) String() string

func (*Stacks) UnmarshalJSON

func (m *Stacks) UnmarshalJSON(b []byte) error

Stacks implement json.Marshaler.

func (*Stacks) UnmarshalURLValues

func (m *Stacks) UnmarshalURLValues(prefix string, values url.Values) error

Stacks implement urlenc.URLValuesUnmarshaler.

func (*Stacks) Validate

func (this *Stacks) Validate() error

type UnimplementedExceptionServiceServer

type UnimplementedExceptionServiceServer struct {
}

UnimplementedExceptionServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedExceptionServiceServer) GetExceptionEvent

func (*UnimplementedExceptionServiceServer) GetExceptionEventIds

func (*UnimplementedExceptionServiceServer) GetExceptions

Jump to

Keyboard shortcuts

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