Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterBMSStorageServiceServer(s grpc.ServiceRegistrar, srv BMSStorageServiceServer)
- type BMSStorageServiceClient
- type BMSStorageServiceServer
- type BMSStorageService_StoreDatedBotReplyBatchClient
- type BMSStorageService_StoreDatedBotReplyBatchServer
- type BMSStorageService_StoreDatedEdgeBatchClient
- type BMSStorageService_StoreDatedEdgeBatchServer
- type BMSStorageService_StoreDatedFailedTryBatchClient
- type BMSStorageService_StoreDatedFailedTryBatchServer
- type DatedBotReply
- func (*DatedBotReply) Descriptor() ([]byte, []int)deprecated
- func (x *DatedBotReply) GetBotId() string
- func (x *DatedBotReply) GetIp() *IPAddress
- func (x *DatedBotReply) GetOtherData() *JSON
- func (x *DatedBotReply) GetPort() *Port
- func (x *DatedBotReply) GetTimestamp() *Timestamp
- func (*DatedBotReply) ProtoMessage()
- func (x *DatedBotReply) ProtoReflect() protoreflect.Message
- func (x *DatedBotReply) Reset()
- func (x *DatedBotReply) String() string
- func (m *DatedBotReply) Validate() error
- func (m *DatedBotReply) ValidateAll() error
- type DatedBotReplyMultiError
- type DatedBotReplyValidationError
- func (e DatedBotReplyValidationError) Cause() error
- func (e DatedBotReplyValidationError) Error() string
- func (e DatedBotReplyValidationError) ErrorName() string
- func (e DatedBotReplyValidationError) Field() string
- func (e DatedBotReplyValidationError) Key() bool
- func (e DatedBotReplyValidationError) Reason() string
- type DatedEdge
- func (*DatedEdge) Descriptor() ([]byte, []int)deprecated
- func (x *DatedEdge) GetDstBotId() string
- func (x *DatedEdge) GetDstIp() *IPAddress
- func (x *DatedEdge) GetDstPort() *Port
- func (x *DatedEdge) GetSrcBotId() string
- func (x *DatedEdge) GetSrcIp() *IPAddress
- func (x *DatedEdge) GetSrcPort() *Port
- func (x *DatedEdge) GetTimestamp() *Timestamp
- func (*DatedEdge) ProtoMessage()
- func (x *DatedEdge) ProtoReflect() protoreflect.Message
- func (x *DatedEdge) Reset()
- func (x *DatedEdge) String() string
- func (m *DatedEdge) Validate() error
- func (m *DatedEdge) ValidateAll() error
- type DatedEdgeMultiError
- type DatedEdgeValidationError
- type DatedFailedTry
- func (*DatedFailedTry) Descriptor() ([]byte, []int)deprecated
- func (x *DatedFailedTry) GetBotId() string
- func (x *DatedFailedTry) GetIp() *IPAddress
- func (x *DatedFailedTry) GetOtherData() *JSON
- func (x *DatedFailedTry) GetPort() *Port
- func (x *DatedFailedTry) GetReason() string
- func (x *DatedFailedTry) GetTimestamp() *Timestamp
- func (*DatedFailedTry) ProtoMessage()
- func (x *DatedFailedTry) ProtoReflect() protoreflect.Message
- func (x *DatedFailedTry) Reset()
- func (x *DatedFailedTry) String() string
- func (m *DatedFailedTry) Validate() error
- func (m *DatedFailedTry) ValidateAll() error
- type DatedFailedTryMultiError
- type DatedFailedTryValidationError
- func (e DatedFailedTryValidationError) Cause() error
- func (e DatedFailedTryValidationError) Error() string
- func (e DatedFailedTryValidationError) ErrorName() string
- func (e DatedFailedTryValidationError) Field() string
- func (e DatedFailedTryValidationError) Key() bool
- func (e DatedFailedTryValidationError) Reason() string
- type DisconnectReason
- func (DisconnectReason) Descriptor() protoreflect.EnumDescriptor
- func (x DisconnectReason) Enum() *DisconnectReason
- func (DisconnectReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x DisconnectReason) Number() protoreflect.EnumNumber
- func (x DisconnectReason) String() string
- func (DisconnectReason) Type() protoreflect.EnumType
- type DisconnectRequest
- func (*DisconnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectRequest) GetReason() DisconnectReason
- func (*DisconnectRequest) ProtoMessage()
- func (x *DisconnectRequest) ProtoReflect() protoreflect.Message
- func (x *DisconnectRequest) Reset()
- func (x *DisconnectRequest) String() string
- func (m *DisconnectRequest) Validate() error
- func (m *DisconnectRequest) ValidateAll() error
- type DisconnectRequestMultiError
- type DisconnectRequestValidationError
- func (e DisconnectRequestValidationError) Cause() error
- func (e DisconnectRequestValidationError) Error() string
- func (e DisconnectRequestValidationError) ErrorName() string
- func (e DisconnectRequestValidationError) Field() string
- func (e DisconnectRequestValidationError) Key() bool
- func (e DisconnectRequestValidationError) Reason() string
- type DisconnectResponse
- func (*DisconnectResponse) Descriptor() ([]byte, []int)deprecated
- func (*DisconnectResponse) ProtoMessage()
- func (x *DisconnectResponse) ProtoReflect() protoreflect.Message
- func (x *DisconnectResponse) Reset()
- func (x *DisconnectResponse) String() string
- func (m *DisconnectResponse) Validate() error
- func (m *DisconnectResponse) ValidateAll() error
- type DisconnectResponseMultiError
- type DisconnectResponseValidationError
- func (e DisconnectResponseValidationError) Cause() error
- func (e DisconnectResponseValidationError) Error() string
- func (e DisconnectResponseValidationError) ErrorName() string
- func (e DisconnectResponseValidationError) Field() string
- func (e DisconnectResponseValidationError) Key() bool
- func (e DisconnectResponseValidationError) Reason() string
- type IPAddress
- func (*IPAddress) Descriptor() ([]byte, []int)deprecated
- func (m *IPAddress) GetAddress() isIPAddress_Address
- func (x *IPAddress) GetV4() *IPv4Address
- func (x *IPAddress) GetV6() *IPv6Address
- func (*IPAddress) ProtoMessage()
- func (x *IPAddress) ProtoReflect() protoreflect.Message
- func (x *IPAddress) Reset()
- func (x *IPAddress) String() string
- func (m *IPAddress) Validate() error
- func (m *IPAddress) ValidateAll() error
- type IPAddressMultiError
- type IPAddressValidationError
- type IPAddress_V4
- type IPAddress_V6
- type IPv4Address
- func (*IPv4Address) Descriptor() ([]byte, []int)deprecated
- func (x *IPv4Address) GetAddress() uint32
- func (*IPv4Address) ProtoMessage()
- func (x *IPv4Address) ProtoReflect() protoreflect.Message
- func (x *IPv4Address) Reset()
- func (x *IPv4Address) String() string
- func (m *IPv4Address) Validate() error
- func (m *IPv4Address) ValidateAll() error
- type IPv4AddressMultiError
- type IPv4AddressValidationError
- func (e IPv4AddressValidationError) Cause() error
- func (e IPv4AddressValidationError) Error() string
- func (e IPv4AddressValidationError) ErrorName() string
- func (e IPv4AddressValidationError) Field() string
- func (e IPv4AddressValidationError) Key() bool
- func (e IPv4AddressValidationError) Reason() string
- type IPv6Address
- func (*IPv6Address) Descriptor() ([]byte, []int)deprecated
- func (x *IPv6Address) GetAddress() []byte
- func (*IPv6Address) ProtoMessage()
- func (x *IPv6Address) ProtoReflect() protoreflect.Message
- func (x *IPv6Address) Reset()
- func (x *IPv6Address) String() string
- func (m *IPv6Address) Validate() error
- func (m *IPv6Address) ValidateAll() error
- type IPv6AddressMultiError
- type IPv6AddressValidationError
- func (e IPv6AddressValidationError) Cause() error
- func (e IPv6AddressValidationError) Error() string
- func (e IPv6AddressValidationError) ErrorName() string
- func (e IPv6AddressValidationError) Field() string
- func (e IPv6AddressValidationError) Key() bool
- func (e IPv6AddressValidationError) Reason() string
- type JSON
- type JSONMultiError
- type JSONValidationError
- type Port
- type PortMultiError
- type PortValidationError
- type RegisterSessionRequest
- func (*RegisterSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterSessionRequest) GetBotnetId() string
- func (x *RegisterSessionRequest) GetCampaignId() string
- func (x *RegisterSessionRequest) GetConfigJson() *JSON
- func (x *RegisterSessionRequest) GetFrequency() uint32
- func (x *RegisterSessionRequest) GetMonitorPort() *Port
- func (x *RegisterSessionRequest) GetPublicIp() *IPAddress
- func (*RegisterSessionRequest) ProtoMessage()
- func (x *RegisterSessionRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterSessionRequest) Reset()
- func (x *RegisterSessionRequest) String() string
- func (m *RegisterSessionRequest) Validate() error
- func (m *RegisterSessionRequest) ValidateAll() error
- type RegisterSessionRequestMultiError
- type RegisterSessionRequestValidationError
- func (e RegisterSessionRequestValidationError) Cause() error
- func (e RegisterSessionRequestValidationError) Error() string
- func (e RegisterSessionRequestValidationError) ErrorName() string
- func (e RegisterSessionRequestValidationError) Field() string
- func (e RegisterSessionRequestValidationError) Key() bool
- func (e RegisterSessionRequestValidationError) Reason() string
- type RegisterSessionResponse
- func (*RegisterSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterSessionResponse) GetLastInsertedBotReply() *Timestamp
- func (x *RegisterSessionResponse) GetLastInsertedEdge() *Timestamp
- func (x *RegisterSessionResponse) GetLastInsertedFailedTry() *Timestamp
- func (x *RegisterSessionResponse) GetSessionTimeout() uint32
- func (x *RegisterSessionResponse) GetSessionToken() *SessionToken
- func (*RegisterSessionResponse) ProtoMessage()
- func (x *RegisterSessionResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterSessionResponse) Reset()
- func (x *RegisterSessionResponse) String() string
- func (m *RegisterSessionResponse) Validate() error
- func (m *RegisterSessionResponse) ValidateAll() error
- type RegisterSessionResponseMultiError
- type RegisterSessionResponseValidationError
- func (e RegisterSessionResponseValidationError) Cause() error
- func (e RegisterSessionResponseValidationError) Error() string
- func (e RegisterSessionResponseValidationError) ErrorName() string
- func (e RegisterSessionResponseValidationError) Field() string
- func (e RegisterSessionResponseValidationError) Key() bool
- func (e RegisterSessionResponseValidationError) Reason() string
- type SessionToken
- func (*SessionToken) Descriptor() ([]byte, []int)deprecated
- func (x *SessionToken) GetToken() []byte
- func (*SessionToken) ProtoMessage()
- func (x *SessionToken) ProtoReflect() protoreflect.Message
- func (x *SessionToken) Reset()
- func (x *SessionToken) String() string
- func (m *SessionToken) Validate() error
- func (m *SessionToken) ValidateAll() error
- type SessionTokenMultiError
- type SessionTokenValidationError
- func (e SessionTokenValidationError) Cause() error
- func (e SessionTokenValidationError) Error() string
- func (e SessionTokenValidationError) ErrorName() string
- func (e SessionTokenValidationError) Field() string
- func (e SessionTokenValidationError) Key() bool
- func (e SessionTokenValidationError) Reason() string
- type StoreDatedBotReplyBatchRequest
- func (*StoreDatedBotReplyBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreDatedBotReplyBatchRequest) GetBatchId() uint32
- func (x *StoreDatedBotReplyBatchRequest) GetReplies() []*DatedBotReply
- func (*StoreDatedBotReplyBatchRequest) ProtoMessage()
- func (x *StoreDatedBotReplyBatchRequest) ProtoReflect() protoreflect.Message
- func (x *StoreDatedBotReplyBatchRequest) Reset()
- func (x *StoreDatedBotReplyBatchRequest) String() string
- func (m *StoreDatedBotReplyBatchRequest) Validate() error
- func (m *StoreDatedBotReplyBatchRequest) ValidateAll() error
- type StoreDatedBotReplyBatchRequestMultiError
- type StoreDatedBotReplyBatchRequestValidationError
- func (e StoreDatedBotReplyBatchRequestValidationError) Cause() error
- func (e StoreDatedBotReplyBatchRequestValidationError) Error() string
- func (e StoreDatedBotReplyBatchRequestValidationError) ErrorName() string
- func (e StoreDatedBotReplyBatchRequestValidationError) Field() string
- func (e StoreDatedBotReplyBatchRequestValidationError) Key() bool
- func (e StoreDatedBotReplyBatchRequestValidationError) Reason() string
- type StoreDatedBotReplyBatchResponse
- func (*StoreDatedBotReplyBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreDatedBotReplyBatchResponse) GetBatchId() uint32
- func (*StoreDatedBotReplyBatchResponse) ProtoMessage()
- func (x *StoreDatedBotReplyBatchResponse) ProtoReflect() protoreflect.Message
- func (x *StoreDatedBotReplyBatchResponse) Reset()
- func (x *StoreDatedBotReplyBatchResponse) String() string
- func (m *StoreDatedBotReplyBatchResponse) Validate() error
- func (m *StoreDatedBotReplyBatchResponse) ValidateAll() error
- type StoreDatedBotReplyBatchResponseMultiError
- type StoreDatedBotReplyBatchResponseValidationError
- func (e StoreDatedBotReplyBatchResponseValidationError) Cause() error
- func (e StoreDatedBotReplyBatchResponseValidationError) Error() string
- func (e StoreDatedBotReplyBatchResponseValidationError) ErrorName() string
- func (e StoreDatedBotReplyBatchResponseValidationError) Field() string
- func (e StoreDatedBotReplyBatchResponseValidationError) Key() bool
- func (e StoreDatedBotReplyBatchResponseValidationError) Reason() string
- type StoreDatedEdgeBatchRequest
- func (*StoreDatedEdgeBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreDatedEdgeBatchRequest) GetBatchId() uint32
- func (x *StoreDatedEdgeBatchRequest) GetEdges() []*DatedEdge
- func (*StoreDatedEdgeBatchRequest) ProtoMessage()
- func (x *StoreDatedEdgeBatchRequest) ProtoReflect() protoreflect.Message
- func (x *StoreDatedEdgeBatchRequest) Reset()
- func (x *StoreDatedEdgeBatchRequest) String() string
- func (m *StoreDatedEdgeBatchRequest) Validate() error
- func (m *StoreDatedEdgeBatchRequest) ValidateAll() error
- type StoreDatedEdgeBatchRequestMultiError
- type StoreDatedEdgeBatchRequestValidationError
- func (e StoreDatedEdgeBatchRequestValidationError) Cause() error
- func (e StoreDatedEdgeBatchRequestValidationError) Error() string
- func (e StoreDatedEdgeBatchRequestValidationError) ErrorName() string
- func (e StoreDatedEdgeBatchRequestValidationError) Field() string
- func (e StoreDatedEdgeBatchRequestValidationError) Key() bool
- func (e StoreDatedEdgeBatchRequestValidationError) Reason() string
- type StoreDatedEdgeBatchResponse
- func (*StoreDatedEdgeBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreDatedEdgeBatchResponse) GetBatchId() uint32
- func (*StoreDatedEdgeBatchResponse) ProtoMessage()
- func (x *StoreDatedEdgeBatchResponse) ProtoReflect() protoreflect.Message
- func (x *StoreDatedEdgeBatchResponse) Reset()
- func (x *StoreDatedEdgeBatchResponse) String() string
- func (m *StoreDatedEdgeBatchResponse) Validate() error
- func (m *StoreDatedEdgeBatchResponse) ValidateAll() error
- type StoreDatedEdgeBatchResponseMultiError
- type StoreDatedEdgeBatchResponseValidationError
- func (e StoreDatedEdgeBatchResponseValidationError) Cause() error
- func (e StoreDatedEdgeBatchResponseValidationError) Error() string
- func (e StoreDatedEdgeBatchResponseValidationError) ErrorName() string
- func (e StoreDatedEdgeBatchResponseValidationError) Field() string
- func (e StoreDatedEdgeBatchResponseValidationError) Key() bool
- func (e StoreDatedEdgeBatchResponseValidationError) Reason() string
- type StoreDatedFailedTryBatchRequest
- func (*StoreDatedFailedTryBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreDatedFailedTryBatchRequest) GetBatchId() uint32
- func (x *StoreDatedFailedTryBatchRequest) GetTries() []*DatedFailedTry
- func (*StoreDatedFailedTryBatchRequest) ProtoMessage()
- func (x *StoreDatedFailedTryBatchRequest) ProtoReflect() protoreflect.Message
- func (x *StoreDatedFailedTryBatchRequest) Reset()
- func (x *StoreDatedFailedTryBatchRequest) String() string
- func (m *StoreDatedFailedTryBatchRequest) Validate() error
- func (m *StoreDatedFailedTryBatchRequest) ValidateAll() error
- type StoreDatedFailedTryBatchRequestMultiError
- type StoreDatedFailedTryBatchRequestValidationError
- func (e StoreDatedFailedTryBatchRequestValidationError) Cause() error
- func (e StoreDatedFailedTryBatchRequestValidationError) Error() string
- func (e StoreDatedFailedTryBatchRequestValidationError) ErrorName() string
- func (e StoreDatedFailedTryBatchRequestValidationError) Field() string
- func (e StoreDatedFailedTryBatchRequestValidationError) Key() bool
- func (e StoreDatedFailedTryBatchRequestValidationError) Reason() string
- type StoreDatedFailedTryBatchResponse
- func (*StoreDatedFailedTryBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreDatedFailedTryBatchResponse) GetBatchId() uint32
- func (*StoreDatedFailedTryBatchResponse) ProtoMessage()
- func (x *StoreDatedFailedTryBatchResponse) ProtoReflect() protoreflect.Message
- func (x *StoreDatedFailedTryBatchResponse) Reset()
- func (x *StoreDatedFailedTryBatchResponse) String() string
- func (m *StoreDatedFailedTryBatchResponse) Validate() error
- func (m *StoreDatedFailedTryBatchResponse) ValidateAll() error
- type StoreDatedFailedTryBatchResponseMultiError
- type StoreDatedFailedTryBatchResponseValidationError
- func (e StoreDatedFailedTryBatchResponseValidationError) Cause() error
- func (e StoreDatedFailedTryBatchResponseValidationError) Error() string
- func (e StoreDatedFailedTryBatchResponseValidationError) ErrorName() string
- func (e StoreDatedFailedTryBatchResponseValidationError) Field() string
- func (e StoreDatedFailedTryBatchResponseValidationError) Key() bool
- func (e StoreDatedFailedTryBatchResponseValidationError) Reason() string
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)deprecated
- func (x *Timestamp) GetUnixNanoSeconds() int64
- func (x *Timestamp) GetUnixSeconds() int64
- func (*Timestamp) ProtoMessage()
- func (x *Timestamp) ProtoReflect() protoreflect.Message
- func (x *Timestamp) Reset()
- func (x *Timestamp) String() string
- func (m *Timestamp) Validate() error
- func (m *Timestamp) ValidateAll() error
- type TimestampMultiError
- type TimestampValidationError
- type UnimplementedBMSStorageServiceServer
- func (UnimplementedBMSStorageServiceServer) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
- func (UnimplementedBMSStorageServiceServer) RegisterSession(context.Context, *RegisterSessionRequest) (*RegisterSessionResponse, error)
- func (UnimplementedBMSStorageServiceServer) StoreDatedBotReplyBatch(BMSStorageService_StoreDatedBotReplyBatchServer) error
- func (UnimplementedBMSStorageServiceServer) StoreDatedEdgeBatch(BMSStorageService_StoreDatedEdgeBatchServer) error
- func (UnimplementedBMSStorageServiceServer) StoreDatedFailedTryBatch(BMSStorageService_StoreDatedFailedTryBatchServer) error
- type UnsafeBMSStorageServiceServer
Constants ¶
const ( BMSStorageService_RegisterSession_FullMethodName = "/grpc_api.BMSStorageService/RegisterSession" BMSStorageService_StoreDatedBotReplyBatch_FullMethodName = "/grpc_api.BMSStorageService/StoreDatedBotReplyBatch" BMSStorageService_StoreDatedFailedTryBatch_FullMethodName = "/grpc_api.BMSStorageService/StoreDatedFailedTryBatch" BMSStorageService_StoreDatedEdgeBatch_FullMethodName = "/grpc_api.BMSStorageService/StoreDatedEdgeBatch" BMSStorageService_Disconnect_FullMethodName = "/grpc_api.BMSStorageService/Disconnect" )
Variables ¶
var ( DisconnectReason_name = map[int32]string{ 0: "DISCONNECT_REASON_UNSPECIFIED", 1: "DISCONNECT_REASON_FINISHED", 2: "DISCONNECT_REASON_BE_RIGHT_BACK", 3: "DISCONNECT_REASON_BE_RIGHT_BACK_WITH_NEW_CONFIG", 4: "DISCONNECT_REASON_CLIENT_ERROR", 5: "DISCONNECT_REASON_OTHER", } DisconnectReason_value = map[string]int32{ "DISCONNECT_REASON_UNSPECIFIED": 0, "DISCONNECT_REASON_FINISHED": 1, "DISCONNECT_REASON_BE_RIGHT_BACK": 2, "DISCONNECT_REASON_BE_RIGHT_BACK_WITH_NEW_CONFIG": 3, "DISCONNECT_REASON_CLIENT_ERROR": 4, "DISCONNECT_REASON_OTHER": 5, } )
Enum value maps for DisconnectReason.
var BMSStorageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpc_api.BMSStorageService", HandlerType: (*BMSStorageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterSession", Handler: _BMSStorageService_RegisterSession_Handler, }, { MethodName: "Disconnect", Handler: _BMSStorageService_Disconnect_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StoreDatedBotReplyBatch", Handler: _BMSStorageService_StoreDatedBotReplyBatch_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "StoreDatedFailedTryBatch", Handler: _BMSStorageService_StoreDatedFailedTryBatch_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "StoreDatedEdgeBatch", Handler: _BMSStorageService_StoreDatedEdgeBatch_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "storage.proto", }
BMSStorageService_ServiceDesc is the grpc.ServiceDesc for BMSStorageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_common_proto protoreflect.FileDescriptor
var File_storage_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBMSStorageServiceServer ¶
func RegisterBMSStorageServiceServer(s grpc.ServiceRegistrar, srv BMSStorageServiceServer)
Types ¶
type BMSStorageServiceClient ¶
type BMSStorageServiceClient interface { // The method to register a new monitoring session. // // This method gives you back a session token which is needed for all further requests corresponding to the session. Furthermore it (optionally) can tell the client the time of the last bot reply batch, failed try batch and edge batch for the last session of the same monitor (and thereby giving an indicator for the last successful insert). // // Note: This method needs authentication via providing the 256bit auth token as `auth-token-bin` and the monitor ID as `auth-monitor-id` in the metadata (last given value wins). RegisterSession(ctx context.Context, in *RegisterSessionRequest, opts ...grpc.CallOption) (*RegisterSessionResponse, error) // The method to send a stream of dated bot replies. // // The server acknowledges the successful handling (receiving, processing, storing) of the sent batch by sending a response with the respective `batchID`. // The client should cache the sent batch until the server acknowledges it explicitly (otherwise data might be lost). // // Note: This method needs (session) authentication via providing the 32bit session token as `session-token-bin` in the metadata (last given value wins). // // @todo: Document errors which can occur StoreDatedBotReplyBatch(ctx context.Context, opts ...grpc.CallOption) (BMSStorageService_StoreDatedBotReplyBatchClient, error) // The method to send a stream of dated (failed) bot contact tries. // // The server acknowledges the successful handling (receiving, processing, storing) of the sent batch by sending a response with the respective `batchID`. // The client should cache the sent batch until the server acknowledges it explicitly (otherwise data might be lost). // // Note: This method needs (session) authentication via providing the 32bit session token as `session-token-bin` in the metadata (last given value wins). // // @todo: Document errors which can occur StoreDatedFailedTryBatch(ctx context.Context, opts ...grpc.CallOption) (BMSStorageService_StoreDatedFailedTryBatchClient, error) // The method to send a stream of dated bot edges. // // The server acknowledges the successful handling (receiving, processing, storing) of the sent batch by sending a response with the respective `batchID`. // The client should cache the sent batch until the server acknowledges it explicitly (otherwise data might be lost). // // Note: This method needs (session) authentication via providing the 32bit session token as `session-token-bin` in the metadata (last given value wins). // Note: The server will not accept batches with more than 10000 bot replies. // // @todo: Document errors which can occur StoreDatedEdgeBatch(ctx context.Context, opts ...grpc.CallOption) (BMSStorageService_StoreDatedEdgeBatchClient, error) // The method to disconnect the current monitoring session. // // Note: This method needs (session) authentication via providing the 32bit session token as `session-token-bin` in the metadata (last given value wins). // Note: The server will not accept batches with more than 10000 edges. // // @todo: Document errors which can occur Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error) }
BMSStorageServiceClient is the client API for BMSStorageService 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 NewBMSStorageServiceClient ¶
func NewBMSStorageServiceClient(cc grpc.ClientConnInterface) BMSStorageServiceClient
type BMSStorageServiceServer ¶
type BMSStorageServiceServer interface { // The method to register a new monitoring session. // // This method gives you back a session token which is needed for all further requests corresponding to the session. Furthermore it (optionally) can tell the client the time of the last bot reply batch, failed try batch and edge batch for the last session of the same monitor (and thereby giving an indicator for the last successful insert). // // Note: This method needs authentication via providing the 256bit auth token as `auth-token-bin` and the monitor ID as `auth-monitor-id` in the metadata (last given value wins). RegisterSession(context.Context, *RegisterSessionRequest) (*RegisterSessionResponse, error) // The method to send a stream of dated bot replies. // // The server acknowledges the successful handling (receiving, processing, storing) of the sent batch by sending a response with the respective `batchID`. // The client should cache the sent batch until the server acknowledges it explicitly (otherwise data might be lost). // // Note: This method needs (session) authentication via providing the 32bit session token as `session-token-bin` in the metadata (last given value wins). // // @todo: Document errors which can occur StoreDatedBotReplyBatch(BMSStorageService_StoreDatedBotReplyBatchServer) error // The method to send a stream of dated (failed) bot contact tries. // // The server acknowledges the successful handling (receiving, processing, storing) of the sent batch by sending a response with the respective `batchID`. // The client should cache the sent batch until the server acknowledges it explicitly (otherwise data might be lost). // // Note: This method needs (session) authentication via providing the 32bit session token as `session-token-bin` in the metadata (last given value wins). // // @todo: Document errors which can occur StoreDatedFailedTryBatch(BMSStorageService_StoreDatedFailedTryBatchServer) error // The method to send a stream of dated bot edges. // // The server acknowledges the successful handling (receiving, processing, storing) of the sent batch by sending a response with the respective `batchID`. // The client should cache the sent batch until the server acknowledges it explicitly (otherwise data might be lost). // // Note: This method needs (session) authentication via providing the 32bit session token as `session-token-bin` in the metadata (last given value wins). // Note: The server will not accept batches with more than 10000 bot replies. // // @todo: Document errors which can occur StoreDatedEdgeBatch(BMSStorageService_StoreDatedEdgeBatchServer) error // The method to disconnect the current monitoring session. // // Note: This method needs (session) authentication via providing the 32bit session token as `session-token-bin` in the metadata (last given value wins). // Note: The server will not accept batches with more than 10000 edges. // // @todo: Document errors which can occur Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error) // contains filtered or unexported methods }
BMSStorageServiceServer is the server API for BMSStorageService service. All implementations must embed UnimplementedBMSStorageServiceServer for forward compatibility
type BMSStorageService_StoreDatedBotReplyBatchClient ¶
type BMSStorageService_StoreDatedBotReplyBatchClient interface { Send(*StoreDatedBotReplyBatchRequest) error Recv() (*StoreDatedBotReplyBatchResponse, error) grpc.ClientStream }
type BMSStorageService_StoreDatedBotReplyBatchServer ¶
type BMSStorageService_StoreDatedBotReplyBatchServer interface { Send(*StoreDatedBotReplyBatchResponse) error Recv() (*StoreDatedBotReplyBatchRequest, error) grpc.ServerStream }
type BMSStorageService_StoreDatedEdgeBatchClient ¶
type BMSStorageService_StoreDatedEdgeBatchClient interface { Send(*StoreDatedEdgeBatchRequest) error Recv() (*StoreDatedEdgeBatchResponse, error) grpc.ClientStream }
type BMSStorageService_StoreDatedEdgeBatchServer ¶
type BMSStorageService_StoreDatedEdgeBatchServer interface { Send(*StoreDatedEdgeBatchResponse) error Recv() (*StoreDatedEdgeBatchRequest, error) grpc.ServerStream }
type BMSStorageService_StoreDatedFailedTryBatchClient ¶
type BMSStorageService_StoreDatedFailedTryBatchClient interface { Send(*StoreDatedFailedTryBatchRequest) error Recv() (*StoreDatedFailedTryBatchResponse, error) grpc.ClientStream }
type BMSStorageService_StoreDatedFailedTryBatchServer ¶
type BMSStorageService_StoreDatedFailedTryBatchServer interface { Send(*StoreDatedFailedTryBatchResponse) error Recv() (*StoreDatedFailedTryBatchRequest, error) grpc.ServerStream }
type DatedBotReply ¶
type DatedBotReply struct { // The timestamp the bot reply was observed (required). Timestamp *Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The bot's ID, if any in the respective botnet (optional). BotId *string `protobuf:"bytes,2,opt,name=bot_id,json=botId,proto3,oneof" json:"bot_id,omitempty"` // The IP address of the bot (required). Ip *IPAddress `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // The port of the bot (required). Port *Port `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"` // Potential other interesting data observed with the bot reply (optional). OtherData *JSON `protobuf:"bytes,5,opt,name=other_data,json=otherData,proto3,oneof" json:"other_data,omitempty"` // contains filtered or unexported fields }
The type which holds exactly one bot reply.
This message will be just used to fill batches which in turn will be sent.
func (*DatedBotReply) Descriptor
deprecated
func (*DatedBotReply) Descriptor() ([]byte, []int)
Deprecated: Use DatedBotReply.ProtoReflect.Descriptor instead.
func (*DatedBotReply) GetBotId ¶
func (x *DatedBotReply) GetBotId() string
func (*DatedBotReply) GetIp ¶
func (x *DatedBotReply) GetIp() *IPAddress
func (*DatedBotReply) GetOtherData ¶
func (x *DatedBotReply) GetOtherData() *JSON
func (*DatedBotReply) GetPort ¶
func (x *DatedBotReply) GetPort() *Port
func (*DatedBotReply) GetTimestamp ¶
func (x *DatedBotReply) GetTimestamp() *Timestamp
func (*DatedBotReply) ProtoMessage ¶
func (*DatedBotReply) ProtoMessage()
func (*DatedBotReply) ProtoReflect ¶
func (x *DatedBotReply) ProtoReflect() protoreflect.Message
func (*DatedBotReply) Reset ¶
func (x *DatedBotReply) Reset()
func (*DatedBotReply) String ¶
func (x *DatedBotReply) String() string
func (*DatedBotReply) Validate ¶
func (m *DatedBotReply) Validate() error
Validate checks the field values on DatedBotReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DatedBotReply) ValidateAll ¶
func (m *DatedBotReply) ValidateAll() error
ValidateAll checks the field values on DatedBotReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DatedBotReplyMultiError, or nil if none found.
type DatedBotReplyMultiError ¶
type DatedBotReplyMultiError []error
DatedBotReplyMultiError is an error wrapping multiple validation errors returned by DatedBotReply.ValidateAll() if the designated constraints aren't met.
func (DatedBotReplyMultiError) AllErrors ¶
func (m DatedBotReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DatedBotReplyMultiError) Error ¶
func (m DatedBotReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DatedBotReplyValidationError ¶
type DatedBotReplyValidationError struct {
// contains filtered or unexported fields
}
DatedBotReplyValidationError is the validation error returned by DatedBotReply.Validate if the designated constraints aren't met.
func (DatedBotReplyValidationError) Cause ¶
func (e DatedBotReplyValidationError) Cause() error
Cause function returns cause value.
func (DatedBotReplyValidationError) Error ¶
func (e DatedBotReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DatedBotReplyValidationError) ErrorName ¶
func (e DatedBotReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DatedBotReplyValidationError) Field ¶
func (e DatedBotReplyValidationError) Field() string
Field function returns field value.
func (DatedBotReplyValidationError) Key ¶
func (e DatedBotReplyValidationError) Key() bool
Key function returns key value.
func (DatedBotReplyValidationError) Reason ¶
func (e DatedBotReplyValidationError) Reason() string
Reason function returns reason value.
type DatedEdge ¶
type DatedEdge struct { // The timestamp the edge was observed (required). Timestamp *Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The source bot's ID, if any in the respective botnet (optional). SrcBotId *string `protobuf:"bytes,2,opt,name=src_bot_id,json=srcBotId,proto3,oneof" json:"src_bot_id,omitempty"` // The IP address of the source bot (required). SrcIp *IPAddress `protobuf:"bytes,3,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"` // The port of the source bot (required). SrcPort *Port `protobuf:"bytes,4,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"` // The destination bot's ID, if any in the respective botnet (optional). DstBotId *string `protobuf:"bytes,5,opt,name=dst_bot_id,json=dstBotId,proto3,oneof" json:"dst_bot_id,omitempty"` // The IP address of the destination bot (required). DstIp *IPAddress `protobuf:"bytes,6,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"` // The port of the destination bot (required). DstPort *Port `protobuf:"bytes,7,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"` // contains filtered or unexported fields }
The type which holds exactly one edge.
This message will be just used to fill batches which in turn will be sent.
func (*DatedEdge) Descriptor
deprecated
func (*DatedEdge) GetDstBotId ¶
func (*DatedEdge) GetDstPort ¶
func (*DatedEdge) GetSrcBotId ¶
func (*DatedEdge) GetSrcPort ¶
func (*DatedEdge) GetTimestamp ¶
func (*DatedEdge) ProtoMessage ¶
func (*DatedEdge) ProtoMessage()
func (*DatedEdge) ProtoReflect ¶
func (x *DatedEdge) ProtoReflect() protoreflect.Message
func (*DatedEdge) Validate ¶
Validate checks the field values on DatedEdge with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DatedEdge) ValidateAll ¶
ValidateAll checks the field values on DatedEdge with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DatedEdgeMultiError, or nil if none found.
type DatedEdgeMultiError ¶
type DatedEdgeMultiError []error
DatedEdgeMultiError is an error wrapping multiple validation errors returned by DatedEdge.ValidateAll() if the designated constraints aren't met.
func (DatedEdgeMultiError) AllErrors ¶
func (m DatedEdgeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DatedEdgeMultiError) Error ¶
func (m DatedEdgeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DatedEdgeValidationError ¶
type DatedEdgeValidationError struct {
// contains filtered or unexported fields
}
DatedEdgeValidationError is the validation error returned by DatedEdge.Validate if the designated constraints aren't met.
func (DatedEdgeValidationError) Cause ¶
func (e DatedEdgeValidationError) Cause() error
Cause function returns cause value.
func (DatedEdgeValidationError) Error ¶
func (e DatedEdgeValidationError) Error() string
Error satisfies the builtin error interface
func (DatedEdgeValidationError) ErrorName ¶
func (e DatedEdgeValidationError) ErrorName() string
ErrorName returns error name.
func (DatedEdgeValidationError) Field ¶
func (e DatedEdgeValidationError) Field() string
Field function returns field value.
func (DatedEdgeValidationError) Key ¶
func (e DatedEdgeValidationError) Key() bool
Key function returns key value.
func (DatedEdgeValidationError) Reason ¶
func (e DatedEdgeValidationError) Reason() string
Reason function returns reason value.
type DatedFailedTry ¶
type DatedFailedTry struct { // The timestamp the (failed) bot contact try was attempted (required). Timestamp *Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The bot's ID, if any in the respective botnet (optional). BotId *string `protobuf:"bytes,2,opt,name=bot_id,json=botId,proto3,oneof" json:"bot_id,omitempty"` // The IP address of the bot (required). Ip *IPAddress `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // The port of the bot (required). Port *Port `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"` // The the reason the contacted bot could not be reached (optional). Reason *string `protobuf:"bytes,5,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // Potential other interesting data observed with the (failed) bot contact try (optional). OtherData *JSON `protobuf:"bytes,6,opt,name=other_data,json=otherData,proto3,oneof" json:"other_data,omitempty"` // contains filtered or unexported fields }
The type which holds exactly one failed bot contact try.
This message will be just used to fill batches which in turn will be sent.
func (*DatedFailedTry) Descriptor
deprecated
func (*DatedFailedTry) Descriptor() ([]byte, []int)
Deprecated: Use DatedFailedTry.ProtoReflect.Descriptor instead.
func (*DatedFailedTry) GetBotId ¶
func (x *DatedFailedTry) GetBotId() string
func (*DatedFailedTry) GetIp ¶
func (x *DatedFailedTry) GetIp() *IPAddress
func (*DatedFailedTry) GetOtherData ¶
func (x *DatedFailedTry) GetOtherData() *JSON
func (*DatedFailedTry) GetPort ¶
func (x *DatedFailedTry) GetPort() *Port
func (*DatedFailedTry) GetReason ¶
func (x *DatedFailedTry) GetReason() string
func (*DatedFailedTry) GetTimestamp ¶
func (x *DatedFailedTry) GetTimestamp() *Timestamp
func (*DatedFailedTry) ProtoMessage ¶
func (*DatedFailedTry) ProtoMessage()
func (*DatedFailedTry) ProtoReflect ¶
func (x *DatedFailedTry) ProtoReflect() protoreflect.Message
func (*DatedFailedTry) Reset ¶
func (x *DatedFailedTry) Reset()
func (*DatedFailedTry) String ¶
func (x *DatedFailedTry) String() string
func (*DatedFailedTry) Validate ¶
func (m *DatedFailedTry) Validate() error
Validate checks the field values on DatedFailedTry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DatedFailedTry) ValidateAll ¶
func (m *DatedFailedTry) ValidateAll() error
ValidateAll checks the field values on DatedFailedTry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DatedFailedTryMultiError, or nil if none found.
type DatedFailedTryMultiError ¶
type DatedFailedTryMultiError []error
DatedFailedTryMultiError is an error wrapping multiple validation errors returned by DatedFailedTry.ValidateAll() if the designated constraints aren't met.
func (DatedFailedTryMultiError) AllErrors ¶
func (m DatedFailedTryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DatedFailedTryMultiError) Error ¶
func (m DatedFailedTryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DatedFailedTryValidationError ¶
type DatedFailedTryValidationError struct {
// contains filtered or unexported fields
}
DatedFailedTryValidationError is the validation error returned by DatedFailedTry.Validate if the designated constraints aren't met.
func (DatedFailedTryValidationError) Cause ¶
func (e DatedFailedTryValidationError) Cause() error
Cause function returns cause value.
func (DatedFailedTryValidationError) Error ¶
func (e DatedFailedTryValidationError) Error() string
Error satisfies the builtin error interface
func (DatedFailedTryValidationError) ErrorName ¶
func (e DatedFailedTryValidationError) ErrorName() string
ErrorName returns error name.
func (DatedFailedTryValidationError) Field ¶
func (e DatedFailedTryValidationError) Field() string
Field function returns field value.
func (DatedFailedTryValidationError) Key ¶
func (e DatedFailedTryValidationError) Key() bool
Key function returns key value.
func (DatedFailedTryValidationError) Reason ¶
func (e DatedFailedTryValidationError) Reason() string
Reason function returns reason value.
type DisconnectReason ¶
type DisconnectReason int32
Possible reasons a client wants to end the session with.
const ( // The client wants to specify no reason to end the session. DisconnectReason_DISCONNECT_REASON_UNSPECIFIED DisconnectReason = 0 // The client has done its purpose and thereby wants to end the session. DisconnectReason_DISCONNECT_REASON_FINISHED DisconnectReason = 1 // The clients wants to end the session in order to reconnect soon. DisconnectReason_DISCONNECT_REASON_BE_RIGHT_BACK DisconnectReason = 2 // The clients wants to end the session in order to reconnect soon with a new configuration. DisconnectReason_DISCONNECT_REASON_BE_RIGHT_BACK_WITH_NEW_CONFIG DisconnectReason = 3 // The client had some error and thereby wants to the the session. DisconnectReason_DISCONNECT_REASON_CLIENT_ERROR DisconnectReason = 4 // The client wants to end the session because of some other reason. DisconnectReason_DISCONNECT_REASON_OTHER DisconnectReason = 5 )
func (DisconnectReason) Descriptor ¶
func (DisconnectReason) Descriptor() protoreflect.EnumDescriptor
func (DisconnectReason) Enum ¶
func (x DisconnectReason) Enum() *DisconnectReason
func (DisconnectReason) EnumDescriptor
deprecated
func (DisconnectReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use DisconnectReason.Descriptor instead.
func (DisconnectReason) Number ¶
func (x DisconnectReason) Number() protoreflect.EnumNumber
func (DisconnectReason) String ¶
func (x DisconnectReason) String() string
func (DisconnectReason) Type ¶
func (DisconnectReason) Type() protoreflect.EnumType
type DisconnectRequest ¶
type DisconnectRequest struct { // The reason the clients wants to end the session due (optional). Reason DisconnectReason `protobuf:"varint,1,opt,name=reason,proto3,enum=grpc_api.DisconnectReason" json:"reason,omitempty"` // contains filtered or unexported fields }
The request the client sends when initiating a disconnect (which in turn explicitly ends the session).
func (*DisconnectRequest) Descriptor
deprecated
func (*DisconnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.
func (*DisconnectRequest) GetReason ¶
func (x *DisconnectRequest) GetReason() DisconnectReason
func (*DisconnectRequest) ProtoMessage ¶
func (*DisconnectRequest) ProtoMessage()
func (*DisconnectRequest) ProtoReflect ¶
func (x *DisconnectRequest) ProtoReflect() protoreflect.Message
func (*DisconnectRequest) Reset ¶
func (x *DisconnectRequest) Reset()
func (*DisconnectRequest) String ¶
func (x *DisconnectRequest) String() string
func (*DisconnectRequest) Validate ¶
func (m *DisconnectRequest) Validate() error
Validate checks the field values on DisconnectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DisconnectRequest) ValidateAll ¶
func (m *DisconnectRequest) ValidateAll() error
ValidateAll checks the field values on DisconnectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisconnectRequestMultiError, or nil if none found.
type DisconnectRequestMultiError ¶
type DisconnectRequestMultiError []error
DisconnectRequestMultiError is an error wrapping multiple validation errors returned by DisconnectRequest.ValidateAll() if the designated constraints aren't met.
func (DisconnectRequestMultiError) AllErrors ¶
func (m DisconnectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisconnectRequestMultiError) Error ¶
func (m DisconnectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisconnectRequestValidationError ¶
type DisconnectRequestValidationError struct {
// contains filtered or unexported fields
}
DisconnectRequestValidationError is the validation error returned by DisconnectRequest.Validate if the designated constraints aren't met.
func (DisconnectRequestValidationError) Cause ¶
func (e DisconnectRequestValidationError) Cause() error
Cause function returns cause value.
func (DisconnectRequestValidationError) Error ¶
func (e DisconnectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DisconnectRequestValidationError) ErrorName ¶
func (e DisconnectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DisconnectRequestValidationError) Field ¶
func (e DisconnectRequestValidationError) Field() string
Field function returns field value.
func (DisconnectRequestValidationError) Key ¶
func (e DisconnectRequestValidationError) Key() bool
Key function returns key value.
func (DisconnectRequestValidationError) Reason ¶
func (e DisconnectRequestValidationError) Reason() string
Reason function returns reason value.
type DisconnectResponse ¶
type DisconnectResponse struct {
// contains filtered or unexported fields
}
The response the server sends when receiving a disconnect request.
func (*DisconnectResponse) Descriptor
deprecated
func (*DisconnectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectResponse.ProtoReflect.Descriptor instead.
func (*DisconnectResponse) ProtoMessage ¶
func (*DisconnectResponse) ProtoMessage()
func (*DisconnectResponse) ProtoReflect ¶
func (x *DisconnectResponse) ProtoReflect() protoreflect.Message
func (*DisconnectResponse) Reset ¶
func (x *DisconnectResponse) Reset()
func (*DisconnectResponse) String ¶
func (x *DisconnectResponse) String() string
func (*DisconnectResponse) Validate ¶
func (m *DisconnectResponse) Validate() error
Validate checks the field values on DisconnectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DisconnectResponse) ValidateAll ¶
func (m *DisconnectResponse) ValidateAll() error
ValidateAll checks the field values on DisconnectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisconnectResponseMultiError, or nil if none found.
type DisconnectResponseMultiError ¶
type DisconnectResponseMultiError []error
DisconnectResponseMultiError is an error wrapping multiple validation errors returned by DisconnectResponse.ValidateAll() if the designated constraints aren't met.
func (DisconnectResponseMultiError) AllErrors ¶
func (m DisconnectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisconnectResponseMultiError) Error ¶
func (m DisconnectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisconnectResponseValidationError ¶
type DisconnectResponseValidationError struct {
// contains filtered or unexported fields
}
DisconnectResponseValidationError is the validation error returned by DisconnectResponse.Validate if the designated constraints aren't met.
func (DisconnectResponseValidationError) Cause ¶
func (e DisconnectResponseValidationError) Cause() error
Cause function returns cause value.
func (DisconnectResponseValidationError) Error ¶
func (e DisconnectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DisconnectResponseValidationError) ErrorName ¶
func (e DisconnectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DisconnectResponseValidationError) Field ¶
func (e DisconnectResponseValidationError) Field() string
Field function returns field value.
func (DisconnectResponseValidationError) Key ¶
func (e DisconnectResponseValidationError) Key() bool
Key function returns key value.
func (DisconnectResponseValidationError) Reason ¶
func (e DisconnectResponseValidationError) Reason() string
Reason function returns reason value.
type IPAddress ¶
type IPAddress struct { // Actual value (required). // // Types that are assignable to Address: // // *IPAddress_V4 // *IPAddress_V6 Address isIPAddress_Address `protobuf_oneof:"address"` // contains filtered or unexported fields }
A type for carrying an IPv4 or an IPv6 address.
func (*IPAddress) Descriptor
deprecated
func (*IPAddress) GetAddress ¶
func (m *IPAddress) GetAddress() isIPAddress_Address
func (*IPAddress) GetV4 ¶
func (x *IPAddress) GetV4() *IPv4Address
func (*IPAddress) GetV6 ¶
func (x *IPAddress) GetV6() *IPv6Address
func (*IPAddress) ProtoMessage ¶
func (*IPAddress) ProtoMessage()
func (*IPAddress) ProtoReflect ¶
func (x *IPAddress) ProtoReflect() protoreflect.Message
func (*IPAddress) Validate ¶
Validate checks the field values on IPAddress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IPAddress) ValidateAll ¶
ValidateAll checks the field values on IPAddress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IPAddressMultiError, or nil if none found.
type IPAddressMultiError ¶
type IPAddressMultiError []error
IPAddressMultiError is an error wrapping multiple validation errors returned by IPAddress.ValidateAll() if the designated constraints aren't met.
func (IPAddressMultiError) AllErrors ¶
func (m IPAddressMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IPAddressMultiError) Error ¶
func (m IPAddressMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IPAddressValidationError ¶
type IPAddressValidationError struct {
// contains filtered or unexported fields
}
IPAddressValidationError is the validation error returned by IPAddress.Validate if the designated constraints aren't met.
func (IPAddressValidationError) Cause ¶
func (e IPAddressValidationError) Cause() error
Cause function returns cause value.
func (IPAddressValidationError) Error ¶
func (e IPAddressValidationError) Error() string
Error satisfies the builtin error interface
func (IPAddressValidationError) ErrorName ¶
func (e IPAddressValidationError) ErrorName() string
ErrorName returns error name.
func (IPAddressValidationError) Field ¶
func (e IPAddressValidationError) Field() string
Field function returns field value.
func (IPAddressValidationError) Key ¶
func (e IPAddressValidationError) Key() bool
Key function returns key value.
func (IPAddressValidationError) Reason ¶
func (e IPAddressValidationError) Reason() string
Reason function returns reason value.
type IPAddress_V4 ¶
type IPAddress_V4 struct {
V4 *IPv4Address `protobuf:"bytes,1,opt,name=v4,proto3,oneof"`
}
type IPAddress_V6 ¶
type IPAddress_V6 struct {
V6 *IPv6Address `protobuf:"bytes,2,opt,name=v6,proto3,oneof"`
}
type IPv4Address ¶
type IPv4Address struct { // Actual value (required). Address uint32 `protobuf:"fixed32,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
A type for carrying an IPv4 address.
func (*IPv4Address) Descriptor
deprecated
func (*IPv4Address) Descriptor() ([]byte, []int)
Deprecated: Use IPv4Address.ProtoReflect.Descriptor instead.
func (*IPv4Address) GetAddress ¶
func (x *IPv4Address) GetAddress() uint32
func (*IPv4Address) ProtoMessage ¶
func (*IPv4Address) ProtoMessage()
func (*IPv4Address) ProtoReflect ¶
func (x *IPv4Address) ProtoReflect() protoreflect.Message
func (*IPv4Address) Reset ¶
func (x *IPv4Address) Reset()
func (*IPv4Address) String ¶
func (x *IPv4Address) String() string
func (*IPv4Address) Validate ¶
func (m *IPv4Address) Validate() error
Validate checks the field values on IPv4Address with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IPv4Address) ValidateAll ¶
func (m *IPv4Address) ValidateAll() error
ValidateAll checks the field values on IPv4Address with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IPv4AddressMultiError, or nil if none found.
type IPv4AddressMultiError ¶
type IPv4AddressMultiError []error
IPv4AddressMultiError is an error wrapping multiple validation errors returned by IPv4Address.ValidateAll() if the designated constraints aren't met.
func (IPv4AddressMultiError) AllErrors ¶
func (m IPv4AddressMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IPv4AddressMultiError) Error ¶
func (m IPv4AddressMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IPv4AddressValidationError ¶
type IPv4AddressValidationError struct {
// contains filtered or unexported fields
}
IPv4AddressValidationError is the validation error returned by IPv4Address.Validate if the designated constraints aren't met.
func (IPv4AddressValidationError) Cause ¶
func (e IPv4AddressValidationError) Cause() error
Cause function returns cause value.
func (IPv4AddressValidationError) Error ¶
func (e IPv4AddressValidationError) Error() string
Error satisfies the builtin error interface
func (IPv4AddressValidationError) ErrorName ¶
func (e IPv4AddressValidationError) ErrorName() string
ErrorName returns error name.
func (IPv4AddressValidationError) Field ¶
func (e IPv4AddressValidationError) Field() string
Field function returns field value.
func (IPv4AddressValidationError) Key ¶
func (e IPv4AddressValidationError) Key() bool
Key function returns key value.
func (IPv4AddressValidationError) Reason ¶
func (e IPv4AddressValidationError) Reason() string
Reason function returns reason value.
type IPv6Address ¶
type IPv6Address struct { // Actual value (required). Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
A type for carrying an IPv6 address.
func (*IPv6Address) Descriptor
deprecated
func (*IPv6Address) Descriptor() ([]byte, []int)
Deprecated: Use IPv6Address.ProtoReflect.Descriptor instead.
func (*IPv6Address) GetAddress ¶
func (x *IPv6Address) GetAddress() []byte
func (*IPv6Address) ProtoMessage ¶
func (*IPv6Address) ProtoMessage()
func (*IPv6Address) ProtoReflect ¶
func (x *IPv6Address) ProtoReflect() protoreflect.Message
func (*IPv6Address) Reset ¶
func (x *IPv6Address) Reset()
func (*IPv6Address) String ¶
func (x *IPv6Address) String() string
func (*IPv6Address) Validate ¶
func (m *IPv6Address) Validate() error
Validate checks the field values on IPv6Address with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IPv6Address) ValidateAll ¶
func (m *IPv6Address) ValidateAll() error
ValidateAll checks the field values on IPv6Address with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IPv6AddressMultiError, or nil if none found.
type IPv6AddressMultiError ¶
type IPv6AddressMultiError []error
IPv6AddressMultiError is an error wrapping multiple validation errors returned by IPv6Address.ValidateAll() if the designated constraints aren't met.
func (IPv6AddressMultiError) AllErrors ¶
func (m IPv6AddressMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IPv6AddressMultiError) Error ¶
func (m IPv6AddressMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IPv6AddressValidationError ¶
type IPv6AddressValidationError struct {
// contains filtered or unexported fields
}
IPv6AddressValidationError is the validation error returned by IPv6Address.Validate if the designated constraints aren't met.
func (IPv6AddressValidationError) Cause ¶
func (e IPv6AddressValidationError) Cause() error
Cause function returns cause value.
func (IPv6AddressValidationError) Error ¶
func (e IPv6AddressValidationError) Error() string
Error satisfies the builtin error interface
func (IPv6AddressValidationError) ErrorName ¶
func (e IPv6AddressValidationError) ErrorName() string
ErrorName returns error name.
func (IPv6AddressValidationError) Field ¶
func (e IPv6AddressValidationError) Field() string
Field function returns field value.
func (IPv6AddressValidationError) Key ¶
func (e IPv6AddressValidationError) Key() bool
Key function returns key value.
func (IPv6AddressValidationError) Reason ¶
func (e IPv6AddressValidationError) Reason() string
Reason function returns reason value.
type JSON ¶
type JSON struct { // Actual value (required). JsonString string `protobuf:"bytes,1,opt,name=json_string,json=jsonString,proto3" json:"json_string,omitempty"` // contains filtered or unexported fields }
A type for carrying a JSON string.
Actually this type has no validator, but the server still checks if the provided string is valid JSON.
func (*JSON) Descriptor
deprecated
func (*JSON) GetJsonString ¶
func (*JSON) ProtoMessage ¶
func (*JSON) ProtoMessage()
func (*JSON) ProtoReflect ¶
func (x *JSON) ProtoReflect() protoreflect.Message
func (*JSON) Validate ¶
Validate checks the field values on JSON with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*JSON) ValidateAll ¶
ValidateAll checks the field values on JSON with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JSONMultiError, or nil if none found.
type JSONMultiError ¶
type JSONMultiError []error
JSONMultiError is an error wrapping multiple validation errors returned by JSON.ValidateAll() if the designated constraints aren't met.
func (JSONMultiError) AllErrors ¶
func (m JSONMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JSONMultiError) Error ¶
func (m JSONMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JSONValidationError ¶
type JSONValidationError struct {
// contains filtered or unexported fields
}
JSONValidationError is the validation error returned by JSON.Validate if the designated constraints aren't met.
func (JSONValidationError) Cause ¶
func (e JSONValidationError) Cause() error
Cause function returns cause value.
func (JSONValidationError) Error ¶
func (e JSONValidationError) Error() string
Error satisfies the builtin error interface
func (JSONValidationError) ErrorName ¶
func (e JSONValidationError) ErrorName() string
ErrorName returns error name.
func (JSONValidationError) Field ¶
func (e JSONValidationError) Field() string
Field function returns field value.
func (JSONValidationError) Key ¶
func (e JSONValidationError) Key() bool
Key function returns key value.
func (JSONValidationError) Reason ¶
func (e JSONValidationError) Reason() string
Reason function returns reason value.
type Port ¶
type Port struct { // Actual value (required). Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
A type for carrying a valid port number.
Note: Excludes port 0, because it cannot be used to communicate externally.
func (*Port) Descriptor
deprecated
func (*Port) ProtoMessage ¶
func (*Port) ProtoMessage()
func (*Port) ProtoReflect ¶
func (x *Port) ProtoReflect() protoreflect.Message
func (*Port) Validate ¶
Validate checks the field values on Port with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Port) ValidateAll ¶
ValidateAll checks the field values on Port with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PortMultiError, or nil if none found.
type PortMultiError ¶
type PortMultiError []error
PortMultiError is an error wrapping multiple validation errors returned by Port.ValidateAll() if the designated constraints aren't met.
func (PortMultiError) AllErrors ¶
func (m PortMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PortMultiError) Error ¶
func (m PortMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PortValidationError ¶
type PortValidationError struct {
// contains filtered or unexported fields
}
PortValidationError is the validation error returned by Port.Validate if the designated constraints aren't met.
func (PortValidationError) Cause ¶
func (e PortValidationError) Cause() error
Cause function returns cause value.
func (PortValidationError) Error ¶
func (e PortValidationError) Error() string
Error satisfies the builtin error interface
func (PortValidationError) ErrorName ¶
func (e PortValidationError) ErrorName() string
ErrorName returns error name.
func (PortValidationError) Field ¶
func (e PortValidationError) Field() string
Field function returns field value.
func (PortValidationError) Key ¶
func (e PortValidationError) Key() bool
Key function returns key value.
func (PortValidationError) Reason ¶
func (e PortValidationError) Reason() string
Reason function returns reason value.
type RegisterSessionRequest ¶
type RegisterSessionRequest struct { // The botnet id the current monitoring session is monitoring (required). BotnetId string `protobuf:"bytes,1,opt,name=botnet_id,json=botnetId,proto3" json:"botnet_id,omitempty"` // The campaign id the current monitoring session should be part of (optional). CampaignId *string `protobuf:"bytes,2,opt,name=campaign_id,json=campaignId,proto3,oneof" json:"campaign_id,omitempty"` // The used frequency for crawling/populating for the current monitoring session (optional). Frequency *uint32 `protobuf:"varint,3,opt,name=frequency,proto3,oneof" json:"frequency,omitempty"` // The public IP address the monitor uses for the current monitoring session (optional). PublicIp *IPAddress `protobuf:"bytes,4,opt,name=public_ip,json=publicIp,proto3,oneof" json:"public_ip,omitempty"` // The port the monitoring session uses to listen for other bots (optional). MonitorPort *Port `protobuf:"bytes,5,opt,name=monitor_port,json=monitorPort,proto3,oneof" json:"monitor_port,omitempty"` // Potential further configuration data for the current monitoring session (optional). ConfigJson *JSON `protobuf:"bytes,6,opt,name=config_json,json=configJson,proto3,oneof" json:"config_json,omitempty"` // contains filtered or unexported fields }
The request used for registering a monitoring session.
func (*RegisterSessionRequest) Descriptor
deprecated
func (*RegisterSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterSessionRequest.ProtoReflect.Descriptor instead.
func (*RegisterSessionRequest) GetBotnetId ¶
func (x *RegisterSessionRequest) GetBotnetId() string
func (*RegisterSessionRequest) GetCampaignId ¶
func (x *RegisterSessionRequest) GetCampaignId() string
func (*RegisterSessionRequest) GetConfigJson ¶
func (x *RegisterSessionRequest) GetConfigJson() *JSON
func (*RegisterSessionRequest) GetFrequency ¶
func (x *RegisterSessionRequest) GetFrequency() uint32
func (*RegisterSessionRequest) GetMonitorPort ¶
func (x *RegisterSessionRequest) GetMonitorPort() *Port
func (*RegisterSessionRequest) GetPublicIp ¶
func (x *RegisterSessionRequest) GetPublicIp() *IPAddress
func (*RegisterSessionRequest) ProtoMessage ¶
func (*RegisterSessionRequest) ProtoMessage()
func (*RegisterSessionRequest) ProtoReflect ¶
func (x *RegisterSessionRequest) ProtoReflect() protoreflect.Message
func (*RegisterSessionRequest) Reset ¶
func (x *RegisterSessionRequest) Reset()
func (*RegisterSessionRequest) String ¶
func (x *RegisterSessionRequest) String() string
func (*RegisterSessionRequest) Validate ¶
func (m *RegisterSessionRequest) Validate() error
Validate checks the field values on RegisterSessionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterSessionRequest) ValidateAll ¶
func (m *RegisterSessionRequest) ValidateAll() error
ValidateAll checks the field values on RegisterSessionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterSessionRequestMultiError, or nil if none found.
type RegisterSessionRequestMultiError ¶
type RegisterSessionRequestMultiError []error
RegisterSessionRequestMultiError is an error wrapping multiple validation errors returned by RegisterSessionRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterSessionRequestMultiError) AllErrors ¶
func (m RegisterSessionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterSessionRequestMultiError) Error ¶
func (m RegisterSessionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterSessionRequestValidationError ¶
type RegisterSessionRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterSessionRequestValidationError is the validation error returned by RegisterSessionRequest.Validate if the designated constraints aren't met.
func (RegisterSessionRequestValidationError) Cause ¶
func (e RegisterSessionRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterSessionRequestValidationError) Error ¶
func (e RegisterSessionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterSessionRequestValidationError) ErrorName ¶
func (e RegisterSessionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterSessionRequestValidationError) Field ¶
func (e RegisterSessionRequestValidationError) Field() string
Field function returns field value.
func (RegisterSessionRequestValidationError) Key ¶
func (e RegisterSessionRequestValidationError) Key() bool
Key function returns key value.
func (RegisterSessionRequestValidationError) Reason ¶
func (e RegisterSessionRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterSessionResponse ¶
type RegisterSessionResponse struct { // The 32bit session token for all further requests of this session (required). SessionToken *SessionToken `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` // The timeout in seconds after which the server automatically ends the session (required). // // Precisely means: The session expires if the time since last message from the client is more than the timeout. SessionTimeout uint32 `protobuf:"varint,2,opt,name=session_timeout,json=sessionTimeout,proto3" json:"session_timeout,omitempty"` // The timestamp of the last successfully inserted bot reply (optional). // // Not set when there is no last entry (or the server might not want to add it for other reasons). LastInsertedBotReply *Timestamp `` /* 131-byte string literal not displayed */ // The timestamp of the last successfully inserted failed try (optional). // // Not set when there is no last entry (or the server might not want to add it for other reasons). LastInsertedFailedTry *Timestamp `` /* 134-byte string literal not displayed */ // The timestamp of the last successfully inserted edge (optional). // // Not set when there is no last entry (or the server might not want to add it for other reasons). LastInsertedEdge *Timestamp `protobuf:"bytes,5,opt,name=last_inserted_edge,json=lastInsertedEdge,proto3,oneof" json:"last_inserted_edge,omitempty"` // contains filtered or unexported fields }
The response the server sends when receiving a session registration request.
func (*RegisterSessionResponse) Descriptor
deprecated
func (*RegisterSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterSessionResponse.ProtoReflect.Descriptor instead.
func (*RegisterSessionResponse) GetLastInsertedBotReply ¶
func (x *RegisterSessionResponse) GetLastInsertedBotReply() *Timestamp
func (*RegisterSessionResponse) GetLastInsertedEdge ¶
func (x *RegisterSessionResponse) GetLastInsertedEdge() *Timestamp
func (*RegisterSessionResponse) GetLastInsertedFailedTry ¶
func (x *RegisterSessionResponse) GetLastInsertedFailedTry() *Timestamp
func (*RegisterSessionResponse) GetSessionTimeout ¶
func (x *RegisterSessionResponse) GetSessionTimeout() uint32
func (*RegisterSessionResponse) GetSessionToken ¶
func (x *RegisterSessionResponse) GetSessionToken() *SessionToken
func (*RegisterSessionResponse) ProtoMessage ¶
func (*RegisterSessionResponse) ProtoMessage()
func (*RegisterSessionResponse) ProtoReflect ¶
func (x *RegisterSessionResponse) ProtoReflect() protoreflect.Message
func (*RegisterSessionResponse) Reset ¶
func (x *RegisterSessionResponse) Reset()
func (*RegisterSessionResponse) String ¶
func (x *RegisterSessionResponse) String() string
func (*RegisterSessionResponse) Validate ¶
func (m *RegisterSessionResponse) Validate() error
Validate checks the field values on RegisterSessionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterSessionResponse) ValidateAll ¶
func (m *RegisterSessionResponse) ValidateAll() error
ValidateAll checks the field values on RegisterSessionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterSessionResponseMultiError, or nil if none found.
type RegisterSessionResponseMultiError ¶
type RegisterSessionResponseMultiError []error
RegisterSessionResponseMultiError is an error wrapping multiple validation errors returned by RegisterSessionResponse.ValidateAll() if the designated constraints aren't met.
func (RegisterSessionResponseMultiError) AllErrors ¶
func (m RegisterSessionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterSessionResponseMultiError) Error ¶
func (m RegisterSessionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterSessionResponseValidationError ¶
type RegisterSessionResponseValidationError struct {
// contains filtered or unexported fields
}
RegisterSessionResponseValidationError is the validation error returned by RegisterSessionResponse.Validate if the designated constraints aren't met.
func (RegisterSessionResponseValidationError) Cause ¶
func (e RegisterSessionResponseValidationError) Cause() error
Cause function returns cause value.
func (RegisterSessionResponseValidationError) Error ¶
func (e RegisterSessionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterSessionResponseValidationError) ErrorName ¶
func (e RegisterSessionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterSessionResponseValidationError) Field ¶
func (e RegisterSessionResponseValidationError) Field() string
Field function returns field value.
func (RegisterSessionResponseValidationError) Key ¶
func (e RegisterSessionResponseValidationError) Key() bool
Key function returns key value.
func (RegisterSessionResponseValidationError) Reason ¶
func (e RegisterSessionResponseValidationError) Reason() string
Reason function returns reason value.
type SessionToken ¶
type SessionToken struct { // Actual value (required). Token []byte `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
A type for carrying the 32bit session token.
func (*SessionToken) Descriptor
deprecated
func (*SessionToken) Descriptor() ([]byte, []int)
Deprecated: Use SessionToken.ProtoReflect.Descriptor instead.
func (*SessionToken) GetToken ¶
func (x *SessionToken) GetToken() []byte
func (*SessionToken) ProtoMessage ¶
func (*SessionToken) ProtoMessage()
func (*SessionToken) ProtoReflect ¶
func (x *SessionToken) ProtoReflect() protoreflect.Message
func (*SessionToken) Reset ¶
func (x *SessionToken) Reset()
func (*SessionToken) String ¶
func (x *SessionToken) String() string
func (*SessionToken) Validate ¶
func (m *SessionToken) Validate() error
Validate checks the field values on SessionToken with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SessionToken) ValidateAll ¶
func (m *SessionToken) ValidateAll() error
ValidateAll checks the field values on SessionToken with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SessionTokenMultiError, or nil if none found.
type SessionTokenMultiError ¶
type SessionTokenMultiError []error
SessionTokenMultiError is an error wrapping multiple validation errors returned by SessionToken.ValidateAll() if the designated constraints aren't met.
func (SessionTokenMultiError) AllErrors ¶
func (m SessionTokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SessionTokenMultiError) Error ¶
func (m SessionTokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SessionTokenValidationError ¶
type SessionTokenValidationError struct {
// contains filtered or unexported fields
}
SessionTokenValidationError is the validation error returned by SessionToken.Validate if the designated constraints aren't met.
func (SessionTokenValidationError) Cause ¶
func (e SessionTokenValidationError) Cause() error
Cause function returns cause value.
func (SessionTokenValidationError) Error ¶
func (e SessionTokenValidationError) Error() string
Error satisfies the builtin error interface
func (SessionTokenValidationError) ErrorName ¶
func (e SessionTokenValidationError) ErrorName() string
ErrorName returns error name.
func (SessionTokenValidationError) Field ¶
func (e SessionTokenValidationError) Field() string
Field function returns field value.
func (SessionTokenValidationError) Key ¶
func (e SessionTokenValidationError) Key() bool
Key function returns key value.
func (SessionTokenValidationError) Reason ¶
func (e SessionTokenValidationError) Reason() string
Reason function returns reason value.
type StoreDatedBotReplyBatchRequest ¶
type StoreDatedBotReplyBatchRequest struct { // The ID to identify this batch (required). // // This ID will be used by the server to later reference this batch. // // It is the responsibility of the client to use this ID wisely, the server will not verify uniqueness and will just use the ID it got from the client to reference batches. // It is recommended to simply use sequentially incrementing numbers per session. BatchId uint32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // The bot replies to include in this batch (required). Replies []*DatedBotReply `protobuf:"bytes,2,rep,name=replies,proto3" json:"replies,omitempty"` // contains filtered or unexported fields }
A batch of dated bot replies.
This is the message which actually will be streamed to the server.
func (*StoreDatedBotReplyBatchRequest) Descriptor
deprecated
func (*StoreDatedBotReplyBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreDatedBotReplyBatchRequest.ProtoReflect.Descriptor instead.
func (*StoreDatedBotReplyBatchRequest) GetBatchId ¶
func (x *StoreDatedBotReplyBatchRequest) GetBatchId() uint32
func (*StoreDatedBotReplyBatchRequest) GetReplies ¶
func (x *StoreDatedBotReplyBatchRequest) GetReplies() []*DatedBotReply
func (*StoreDatedBotReplyBatchRequest) ProtoMessage ¶
func (*StoreDatedBotReplyBatchRequest) ProtoMessage()
func (*StoreDatedBotReplyBatchRequest) ProtoReflect ¶
func (x *StoreDatedBotReplyBatchRequest) ProtoReflect() protoreflect.Message
func (*StoreDatedBotReplyBatchRequest) Reset ¶
func (x *StoreDatedBotReplyBatchRequest) Reset()
func (*StoreDatedBotReplyBatchRequest) String ¶
func (x *StoreDatedBotReplyBatchRequest) String() string
func (*StoreDatedBotReplyBatchRequest) Validate ¶
func (m *StoreDatedBotReplyBatchRequest) Validate() error
Validate checks the field values on StoreDatedBotReplyBatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StoreDatedBotReplyBatchRequest) ValidateAll ¶
func (m *StoreDatedBotReplyBatchRequest) ValidateAll() error
ValidateAll checks the field values on StoreDatedBotReplyBatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StoreDatedBotReplyBatchRequestMultiError, or nil if none found.
type StoreDatedBotReplyBatchRequestMultiError ¶
type StoreDatedBotReplyBatchRequestMultiError []error
StoreDatedBotReplyBatchRequestMultiError is an error wrapping multiple validation errors returned by StoreDatedBotReplyBatchRequest.ValidateAll() if the designated constraints aren't met.
func (StoreDatedBotReplyBatchRequestMultiError) AllErrors ¶
func (m StoreDatedBotReplyBatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StoreDatedBotReplyBatchRequestMultiError) Error ¶
func (m StoreDatedBotReplyBatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StoreDatedBotReplyBatchRequestValidationError ¶
type StoreDatedBotReplyBatchRequestValidationError struct {
// contains filtered or unexported fields
}
StoreDatedBotReplyBatchRequestValidationError is the validation error returned by StoreDatedBotReplyBatchRequest.Validate if the designated constraints aren't met.
func (StoreDatedBotReplyBatchRequestValidationError) Cause ¶
func (e StoreDatedBotReplyBatchRequestValidationError) Cause() error
Cause function returns cause value.
func (StoreDatedBotReplyBatchRequestValidationError) Error ¶
func (e StoreDatedBotReplyBatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StoreDatedBotReplyBatchRequestValidationError) ErrorName ¶
func (e StoreDatedBotReplyBatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StoreDatedBotReplyBatchRequestValidationError) Field ¶
func (e StoreDatedBotReplyBatchRequestValidationError) Field() string
Field function returns field value.
func (StoreDatedBotReplyBatchRequestValidationError) Key ¶
func (e StoreDatedBotReplyBatchRequestValidationError) Key() bool
Key function returns key value.
func (StoreDatedBotReplyBatchRequestValidationError) Reason ¶
func (e StoreDatedBotReplyBatchRequestValidationError) Reason() string
Reason function returns reason value.
type StoreDatedBotReplyBatchResponse ¶
type StoreDatedBotReplyBatchResponse struct { // The ID of the batch which was successfully received (required). // // The referenced batch can now be removed from the clients cache. BatchId uint32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // contains filtered or unexported fields }
The response the server sends when receiving a dated bot reply batch.
func (*StoreDatedBotReplyBatchResponse) Descriptor
deprecated
func (*StoreDatedBotReplyBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreDatedBotReplyBatchResponse.ProtoReflect.Descriptor instead.
func (*StoreDatedBotReplyBatchResponse) GetBatchId ¶
func (x *StoreDatedBotReplyBatchResponse) GetBatchId() uint32
func (*StoreDatedBotReplyBatchResponse) ProtoMessage ¶
func (*StoreDatedBotReplyBatchResponse) ProtoMessage()
func (*StoreDatedBotReplyBatchResponse) ProtoReflect ¶
func (x *StoreDatedBotReplyBatchResponse) ProtoReflect() protoreflect.Message
func (*StoreDatedBotReplyBatchResponse) Reset ¶
func (x *StoreDatedBotReplyBatchResponse) Reset()
func (*StoreDatedBotReplyBatchResponse) String ¶
func (x *StoreDatedBotReplyBatchResponse) String() string
func (*StoreDatedBotReplyBatchResponse) Validate ¶
func (m *StoreDatedBotReplyBatchResponse) Validate() error
Validate checks the field values on StoreDatedBotReplyBatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StoreDatedBotReplyBatchResponse) ValidateAll ¶
func (m *StoreDatedBotReplyBatchResponse) ValidateAll() error
ValidateAll checks the field values on StoreDatedBotReplyBatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StoreDatedBotReplyBatchResponseMultiError, or nil if none found.
type StoreDatedBotReplyBatchResponseMultiError ¶
type StoreDatedBotReplyBatchResponseMultiError []error
StoreDatedBotReplyBatchResponseMultiError is an error wrapping multiple validation errors returned by StoreDatedBotReplyBatchResponse.ValidateAll() if the designated constraints aren't met.
func (StoreDatedBotReplyBatchResponseMultiError) AllErrors ¶
func (m StoreDatedBotReplyBatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StoreDatedBotReplyBatchResponseMultiError) Error ¶
func (m StoreDatedBotReplyBatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StoreDatedBotReplyBatchResponseValidationError ¶
type StoreDatedBotReplyBatchResponseValidationError struct {
// contains filtered or unexported fields
}
StoreDatedBotReplyBatchResponseValidationError is the validation error returned by StoreDatedBotReplyBatchResponse.Validate if the designated constraints aren't met.
func (StoreDatedBotReplyBatchResponseValidationError) Cause ¶
func (e StoreDatedBotReplyBatchResponseValidationError) Cause() error
Cause function returns cause value.
func (StoreDatedBotReplyBatchResponseValidationError) Error ¶
func (e StoreDatedBotReplyBatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StoreDatedBotReplyBatchResponseValidationError) ErrorName ¶
func (e StoreDatedBotReplyBatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StoreDatedBotReplyBatchResponseValidationError) Field ¶
func (e StoreDatedBotReplyBatchResponseValidationError) Field() string
Field function returns field value.
func (StoreDatedBotReplyBatchResponseValidationError) Key ¶
func (e StoreDatedBotReplyBatchResponseValidationError) Key() bool
Key function returns key value.
func (StoreDatedBotReplyBatchResponseValidationError) Reason ¶
func (e StoreDatedBotReplyBatchResponseValidationError) Reason() string
Reason function returns reason value.
type StoreDatedEdgeBatchRequest ¶
type StoreDatedEdgeBatchRequest struct { // The ID to identify this batch (required). // // This ID will be used by the server to later reference this batch. // // It is the responsibility of the client to use this ID wisely, the server will not verify uniqueness and will just use the ID it got from the client to reference batches. // It is recommended to simply use sequentially incrementing numbers per session. BatchId uint32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // The edges to include in this batch (required). Edges []*DatedEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` // contains filtered or unexported fields }
A batch of dated edges.
This is the message which actually will be streamed to the server.
func (*StoreDatedEdgeBatchRequest) Descriptor
deprecated
func (*StoreDatedEdgeBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreDatedEdgeBatchRequest.ProtoReflect.Descriptor instead.
func (*StoreDatedEdgeBatchRequest) GetBatchId ¶
func (x *StoreDatedEdgeBatchRequest) GetBatchId() uint32
func (*StoreDatedEdgeBatchRequest) GetEdges ¶
func (x *StoreDatedEdgeBatchRequest) GetEdges() []*DatedEdge
func (*StoreDatedEdgeBatchRequest) ProtoMessage ¶
func (*StoreDatedEdgeBatchRequest) ProtoMessage()
func (*StoreDatedEdgeBatchRequest) ProtoReflect ¶
func (x *StoreDatedEdgeBatchRequest) ProtoReflect() protoreflect.Message
func (*StoreDatedEdgeBatchRequest) Reset ¶
func (x *StoreDatedEdgeBatchRequest) Reset()
func (*StoreDatedEdgeBatchRequest) String ¶
func (x *StoreDatedEdgeBatchRequest) String() string
func (*StoreDatedEdgeBatchRequest) Validate ¶
func (m *StoreDatedEdgeBatchRequest) Validate() error
Validate checks the field values on StoreDatedEdgeBatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StoreDatedEdgeBatchRequest) ValidateAll ¶
func (m *StoreDatedEdgeBatchRequest) ValidateAll() error
ValidateAll checks the field values on StoreDatedEdgeBatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StoreDatedEdgeBatchRequestMultiError, or nil if none found.
type StoreDatedEdgeBatchRequestMultiError ¶
type StoreDatedEdgeBatchRequestMultiError []error
StoreDatedEdgeBatchRequestMultiError is an error wrapping multiple validation errors returned by StoreDatedEdgeBatchRequest.ValidateAll() if the designated constraints aren't met.
func (StoreDatedEdgeBatchRequestMultiError) AllErrors ¶
func (m StoreDatedEdgeBatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StoreDatedEdgeBatchRequestMultiError) Error ¶
func (m StoreDatedEdgeBatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StoreDatedEdgeBatchRequestValidationError ¶
type StoreDatedEdgeBatchRequestValidationError struct {
// contains filtered or unexported fields
}
StoreDatedEdgeBatchRequestValidationError is the validation error returned by StoreDatedEdgeBatchRequest.Validate if the designated constraints aren't met.
func (StoreDatedEdgeBatchRequestValidationError) Cause ¶
func (e StoreDatedEdgeBatchRequestValidationError) Cause() error
Cause function returns cause value.
func (StoreDatedEdgeBatchRequestValidationError) Error ¶
func (e StoreDatedEdgeBatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StoreDatedEdgeBatchRequestValidationError) ErrorName ¶
func (e StoreDatedEdgeBatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StoreDatedEdgeBatchRequestValidationError) Field ¶
func (e StoreDatedEdgeBatchRequestValidationError) Field() string
Field function returns field value.
func (StoreDatedEdgeBatchRequestValidationError) Key ¶
func (e StoreDatedEdgeBatchRequestValidationError) Key() bool
Key function returns key value.
func (StoreDatedEdgeBatchRequestValidationError) Reason ¶
func (e StoreDatedEdgeBatchRequestValidationError) Reason() string
Reason function returns reason value.
type StoreDatedEdgeBatchResponse ¶
type StoreDatedEdgeBatchResponse struct { // The ID of the batch which was successfully received (required). // // The referenced batch can now be removed from the clients cache. BatchId uint32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // contains filtered or unexported fields }
The response the server sends when receiving a dated edge batch.
func (*StoreDatedEdgeBatchResponse) Descriptor
deprecated
func (*StoreDatedEdgeBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreDatedEdgeBatchResponse.ProtoReflect.Descriptor instead.
func (*StoreDatedEdgeBatchResponse) GetBatchId ¶
func (x *StoreDatedEdgeBatchResponse) GetBatchId() uint32
func (*StoreDatedEdgeBatchResponse) ProtoMessage ¶
func (*StoreDatedEdgeBatchResponse) ProtoMessage()
func (*StoreDatedEdgeBatchResponse) ProtoReflect ¶
func (x *StoreDatedEdgeBatchResponse) ProtoReflect() protoreflect.Message
func (*StoreDatedEdgeBatchResponse) Reset ¶
func (x *StoreDatedEdgeBatchResponse) Reset()
func (*StoreDatedEdgeBatchResponse) String ¶
func (x *StoreDatedEdgeBatchResponse) String() string
func (*StoreDatedEdgeBatchResponse) Validate ¶
func (m *StoreDatedEdgeBatchResponse) Validate() error
Validate checks the field values on StoreDatedEdgeBatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StoreDatedEdgeBatchResponse) ValidateAll ¶
func (m *StoreDatedEdgeBatchResponse) ValidateAll() error
ValidateAll checks the field values on StoreDatedEdgeBatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StoreDatedEdgeBatchResponseMultiError, or nil if none found.
type StoreDatedEdgeBatchResponseMultiError ¶
type StoreDatedEdgeBatchResponseMultiError []error
StoreDatedEdgeBatchResponseMultiError is an error wrapping multiple validation errors returned by StoreDatedEdgeBatchResponse.ValidateAll() if the designated constraints aren't met.
func (StoreDatedEdgeBatchResponseMultiError) AllErrors ¶
func (m StoreDatedEdgeBatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StoreDatedEdgeBatchResponseMultiError) Error ¶
func (m StoreDatedEdgeBatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StoreDatedEdgeBatchResponseValidationError ¶
type StoreDatedEdgeBatchResponseValidationError struct {
// contains filtered or unexported fields
}
StoreDatedEdgeBatchResponseValidationError is the validation error returned by StoreDatedEdgeBatchResponse.Validate if the designated constraints aren't met.
func (StoreDatedEdgeBatchResponseValidationError) Cause ¶
func (e StoreDatedEdgeBatchResponseValidationError) Cause() error
Cause function returns cause value.
func (StoreDatedEdgeBatchResponseValidationError) Error ¶
func (e StoreDatedEdgeBatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StoreDatedEdgeBatchResponseValidationError) ErrorName ¶
func (e StoreDatedEdgeBatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StoreDatedEdgeBatchResponseValidationError) Field ¶
func (e StoreDatedEdgeBatchResponseValidationError) Field() string
Field function returns field value.
func (StoreDatedEdgeBatchResponseValidationError) Key ¶
func (e StoreDatedEdgeBatchResponseValidationError) Key() bool
Key function returns key value.
func (StoreDatedEdgeBatchResponseValidationError) Reason ¶
func (e StoreDatedEdgeBatchResponseValidationError) Reason() string
Reason function returns reason value.
type StoreDatedFailedTryBatchRequest ¶
type StoreDatedFailedTryBatchRequest struct { // The ID to identify this batch (required). // // This ID will be used by the server to later reference this batch. // // It is the responsibility of the client to use this ID wisely, the server will not verify uniqueness and will just use the ID it got from the client to reference batches. // It is recommended to simply use sequentially incrementing numbers per session. BatchId uint32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // The (failed) bot contact tries to include in this batch (required). Tries []*DatedFailedTry `protobuf:"bytes,2,rep,name=tries,proto3" json:"tries,omitempty"` // contains filtered or unexported fields }
A batch of dated (failed) bot contact tries.
This is the message which actually will be streamed to the server.
func (*StoreDatedFailedTryBatchRequest) Descriptor
deprecated
func (*StoreDatedFailedTryBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreDatedFailedTryBatchRequest.ProtoReflect.Descriptor instead.
func (*StoreDatedFailedTryBatchRequest) GetBatchId ¶
func (x *StoreDatedFailedTryBatchRequest) GetBatchId() uint32
func (*StoreDatedFailedTryBatchRequest) GetTries ¶
func (x *StoreDatedFailedTryBatchRequest) GetTries() []*DatedFailedTry
func (*StoreDatedFailedTryBatchRequest) ProtoMessage ¶
func (*StoreDatedFailedTryBatchRequest) ProtoMessage()
func (*StoreDatedFailedTryBatchRequest) ProtoReflect ¶
func (x *StoreDatedFailedTryBatchRequest) ProtoReflect() protoreflect.Message
func (*StoreDatedFailedTryBatchRequest) Reset ¶
func (x *StoreDatedFailedTryBatchRequest) Reset()
func (*StoreDatedFailedTryBatchRequest) String ¶
func (x *StoreDatedFailedTryBatchRequest) String() string
func (*StoreDatedFailedTryBatchRequest) Validate ¶
func (m *StoreDatedFailedTryBatchRequest) Validate() error
Validate checks the field values on StoreDatedFailedTryBatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StoreDatedFailedTryBatchRequest) ValidateAll ¶
func (m *StoreDatedFailedTryBatchRequest) ValidateAll() error
ValidateAll checks the field values on StoreDatedFailedTryBatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StoreDatedFailedTryBatchRequestMultiError, or nil if none found.
type StoreDatedFailedTryBatchRequestMultiError ¶
type StoreDatedFailedTryBatchRequestMultiError []error
StoreDatedFailedTryBatchRequestMultiError is an error wrapping multiple validation errors returned by StoreDatedFailedTryBatchRequest.ValidateAll() if the designated constraints aren't met.
func (StoreDatedFailedTryBatchRequestMultiError) AllErrors ¶
func (m StoreDatedFailedTryBatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StoreDatedFailedTryBatchRequestMultiError) Error ¶
func (m StoreDatedFailedTryBatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StoreDatedFailedTryBatchRequestValidationError ¶
type StoreDatedFailedTryBatchRequestValidationError struct {
// contains filtered or unexported fields
}
StoreDatedFailedTryBatchRequestValidationError is the validation error returned by StoreDatedFailedTryBatchRequest.Validate if the designated constraints aren't met.
func (StoreDatedFailedTryBatchRequestValidationError) Cause ¶
func (e StoreDatedFailedTryBatchRequestValidationError) Cause() error
Cause function returns cause value.
func (StoreDatedFailedTryBatchRequestValidationError) Error ¶
func (e StoreDatedFailedTryBatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StoreDatedFailedTryBatchRequestValidationError) ErrorName ¶
func (e StoreDatedFailedTryBatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StoreDatedFailedTryBatchRequestValidationError) Field ¶
func (e StoreDatedFailedTryBatchRequestValidationError) Field() string
Field function returns field value.
func (StoreDatedFailedTryBatchRequestValidationError) Key ¶
func (e StoreDatedFailedTryBatchRequestValidationError) Key() bool
Key function returns key value.
func (StoreDatedFailedTryBatchRequestValidationError) Reason ¶
func (e StoreDatedFailedTryBatchRequestValidationError) Reason() string
Reason function returns reason value.
type StoreDatedFailedTryBatchResponse ¶
type StoreDatedFailedTryBatchResponse struct { // The ID of the batch which was successfully received (required). // // The referenced batch can now be removed from the clients cache. BatchId uint32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // contains filtered or unexported fields }
The response the server sends when receiving a dated (failed) bot contact try batch.
func (*StoreDatedFailedTryBatchResponse) Descriptor
deprecated
func (*StoreDatedFailedTryBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreDatedFailedTryBatchResponse.ProtoReflect.Descriptor instead.
func (*StoreDatedFailedTryBatchResponse) GetBatchId ¶
func (x *StoreDatedFailedTryBatchResponse) GetBatchId() uint32
func (*StoreDatedFailedTryBatchResponse) ProtoMessage ¶
func (*StoreDatedFailedTryBatchResponse) ProtoMessage()
func (*StoreDatedFailedTryBatchResponse) ProtoReflect ¶
func (x *StoreDatedFailedTryBatchResponse) ProtoReflect() protoreflect.Message
func (*StoreDatedFailedTryBatchResponse) Reset ¶
func (x *StoreDatedFailedTryBatchResponse) Reset()
func (*StoreDatedFailedTryBatchResponse) String ¶
func (x *StoreDatedFailedTryBatchResponse) String() string
func (*StoreDatedFailedTryBatchResponse) Validate ¶
func (m *StoreDatedFailedTryBatchResponse) Validate() error
Validate checks the field values on StoreDatedFailedTryBatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StoreDatedFailedTryBatchResponse) ValidateAll ¶
func (m *StoreDatedFailedTryBatchResponse) ValidateAll() error
ValidateAll checks the field values on StoreDatedFailedTryBatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StoreDatedFailedTryBatchResponseMultiError, or nil if none found.
type StoreDatedFailedTryBatchResponseMultiError ¶
type StoreDatedFailedTryBatchResponseMultiError []error
StoreDatedFailedTryBatchResponseMultiError is an error wrapping multiple validation errors returned by StoreDatedFailedTryBatchResponse.ValidateAll() if the designated constraints aren't met.
func (StoreDatedFailedTryBatchResponseMultiError) AllErrors ¶
func (m StoreDatedFailedTryBatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StoreDatedFailedTryBatchResponseMultiError) Error ¶
func (m StoreDatedFailedTryBatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StoreDatedFailedTryBatchResponseValidationError ¶
type StoreDatedFailedTryBatchResponseValidationError struct {
// contains filtered or unexported fields
}
StoreDatedFailedTryBatchResponseValidationError is the validation error returned by StoreDatedFailedTryBatchResponse.Validate if the designated constraints aren't met.
func (StoreDatedFailedTryBatchResponseValidationError) Cause ¶
func (e StoreDatedFailedTryBatchResponseValidationError) Cause() error
Cause function returns cause value.
func (StoreDatedFailedTryBatchResponseValidationError) Error ¶
func (e StoreDatedFailedTryBatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StoreDatedFailedTryBatchResponseValidationError) ErrorName ¶
func (e StoreDatedFailedTryBatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StoreDatedFailedTryBatchResponseValidationError) Field ¶
func (e StoreDatedFailedTryBatchResponseValidationError) Field() string
Field function returns field value.
func (StoreDatedFailedTryBatchResponseValidationError) Key ¶
func (e StoreDatedFailedTryBatchResponseValidationError) Key() bool
Key function returns key value.
func (StoreDatedFailedTryBatchResponseValidationError) Reason ¶
func (e StoreDatedFailedTryBatchResponseValidationError) Reason() string
Reason function returns reason value.
type Timestamp ¶
type Timestamp struct { // Seconds since the Unix epoch (1970-01-01) (required). UnixSeconds int64 `protobuf:"varint,1,opt,name=unix_seconds,json=unixSeconds,proto3" json:"unix_seconds,omitempty"` // Nano seconds to add to the given unix seconds (optional). UnixNanoSeconds int64 `protobuf:"varint,2,opt,name=unix_nano_seconds,json=unixNanoSeconds,proto3" json:"unix_nano_seconds,omitempty"` // contains filtered or unexported fields }
A type for carrying a timestamp with nano second resolution.
Note: Although this has a nano second resolution, the BMS database stores time only in micro second resolution.
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetUnixNanoSeconds ¶
func (*Timestamp) GetUnixSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
func (*Timestamp) Validate ¶
Validate checks the field values on Timestamp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Timestamp) ValidateAll ¶
ValidateAll checks the field values on Timestamp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimestampMultiError, or nil if none found.
type TimestampMultiError ¶
type TimestampMultiError []error
TimestampMultiError is an error wrapping multiple validation errors returned by Timestamp.ValidateAll() if the designated constraints aren't met.
func (TimestampMultiError) AllErrors ¶
func (m TimestampMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimestampMultiError) Error ¶
func (m TimestampMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimestampValidationError ¶
type TimestampValidationError struct {
// contains filtered or unexported fields
}
TimestampValidationError is the validation error returned by Timestamp.Validate if the designated constraints aren't met.
func (TimestampValidationError) Cause ¶
func (e TimestampValidationError) Cause() error
Cause function returns cause value.
func (TimestampValidationError) Error ¶
func (e TimestampValidationError) Error() string
Error satisfies the builtin error interface
func (TimestampValidationError) ErrorName ¶
func (e TimestampValidationError) ErrorName() string
ErrorName returns error name.
func (TimestampValidationError) Field ¶
func (e TimestampValidationError) Field() string
Field function returns field value.
func (TimestampValidationError) Key ¶
func (e TimestampValidationError) Key() bool
Key function returns key value.
func (TimestampValidationError) Reason ¶
func (e TimestampValidationError) Reason() string
Reason function returns reason value.
type UnimplementedBMSStorageServiceServer ¶
type UnimplementedBMSStorageServiceServer struct { }
UnimplementedBMSStorageServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBMSStorageServiceServer) Disconnect ¶
func (UnimplementedBMSStorageServiceServer) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
func (UnimplementedBMSStorageServiceServer) RegisterSession ¶
func (UnimplementedBMSStorageServiceServer) RegisterSession(context.Context, *RegisterSessionRequest) (*RegisterSessionResponse, error)
func (UnimplementedBMSStorageServiceServer) StoreDatedBotReplyBatch ¶
func (UnimplementedBMSStorageServiceServer) StoreDatedBotReplyBatch(BMSStorageService_StoreDatedBotReplyBatchServer) error
func (UnimplementedBMSStorageServiceServer) StoreDatedEdgeBatch ¶
func (UnimplementedBMSStorageServiceServer) StoreDatedEdgeBatch(BMSStorageService_StoreDatedEdgeBatchServer) error
func (UnimplementedBMSStorageServiceServer) StoreDatedFailedTryBatch ¶
func (UnimplementedBMSStorageServiceServer) StoreDatedFailedTryBatch(BMSStorageService_StoreDatedFailedTryBatchServer) error
type UnsafeBMSStorageServiceServer ¶
type UnsafeBMSStorageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBMSStorageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BMSStorageServiceServer will result in compilation errors.