Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterConditionServiceServer(s grpc.ServiceRegistrar, srv ConditionServiceServer)
- func RegisterNotificationServiceServer(s grpc.ServiceRegistrar, srv NotificationServiceServer)
- func RegisterOfferServiceServer(s grpc.ServiceRegistrar, srv OfferServiceServer)
- func RegisterProcessorServiceServer(s grpc.ServiceRegistrar, srv ProcessorServiceServer)
- func RegisterWatchUrlServiceServer(s grpc.ServiceRegistrar, srv WatchUrlServiceServer)
- type AddConditionRequest
- func (*AddConditionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddConditionRequest) GetName() string
- func (x *AddConditionRequest) GetWasm() []byte
- func (*AddConditionRequest) ProtoMessage()
- func (x *AddConditionRequest) ProtoReflect() protoreflect.Message
- func (x *AddConditionRequest) Reset()
- func (x *AddConditionRequest) String() string
- func (m *AddConditionRequest) Validate() error
- func (m *AddConditionRequest) ValidateAll() error
- type AddConditionRequestMultiError
- type AddConditionRequestValidationError
- func (e AddConditionRequestValidationError) Cause() error
- func (e AddConditionRequestValidationError) Error() string
- func (e AddConditionRequestValidationError) ErrorName() string
- func (e AddConditionRequestValidationError) Field() string
- func (e AddConditionRequestValidationError) Key() bool
- func (e AddConditionRequestValidationError) Reason() string
- type AddUrlRequest
- func (*AddUrlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUrlRequest) GetIsList() bool
- func (x *AddUrlRequest) GetUrl() string
- func (*AddUrlRequest) ProtoMessage()
- func (x *AddUrlRequest) ProtoReflect() protoreflect.Message
- func (x *AddUrlRequest) Reset()
- func (x *AddUrlRequest) String() string
- func (m *AddUrlRequest) Validate() error
- func (m *AddUrlRequest) ValidateAll() error
- type AddUrlRequestMultiError
- type AddUrlRequestValidationError
- func (e AddUrlRequestValidationError) Cause() error
- func (e AddUrlRequestValidationError) Error() string
- func (e AddUrlRequestValidationError) ErrorName() string
- func (e AddUrlRequestValidationError) Field() string
- func (e AddUrlRequestValidationError) Key() bool
- func (e AddUrlRequestValidationError) Reason() string
- type ConditionResponse
- func (*ConditionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConditionResponse) GetCreated() int64
- func (x *ConditionResponse) GetId() string
- func (x *ConditionResponse) GetName() string
- func (x *ConditionResponse) GetUpdated() int64
- func (*ConditionResponse) ProtoMessage()
- func (x *ConditionResponse) ProtoReflect() protoreflect.Message
- func (x *ConditionResponse) Reset()
- func (x *ConditionResponse) String() string
- func (m *ConditionResponse) Validate() error
- func (m *ConditionResponse) ValidateAll() error
- type ConditionResponseMultiError
- type ConditionResponseValidationError
- func (e ConditionResponseValidationError) Cause() error
- func (e ConditionResponseValidationError) Error() string
- func (e ConditionResponseValidationError) ErrorName() string
- func (e ConditionResponseValidationError) Field() string
- func (e ConditionResponseValidationError) Key() bool
- func (e ConditionResponseValidationError) Reason() string
- type ConditionServiceClient
- type ConditionServiceServer
- type ConditionsListResponse
- func (*ConditionsListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConditionsListResponse) GetConditions() []*ConditionResponse
- func (x *ConditionsListResponse) GetTotal() int64
- func (*ConditionsListResponse) ProtoMessage()
- func (x *ConditionsListResponse) ProtoReflect() protoreflect.Message
- func (x *ConditionsListResponse) Reset()
- func (x *ConditionsListResponse) String() string
- func (m *ConditionsListResponse) Validate() error
- func (m *ConditionsListResponse) ValidateAll() error
- type ConditionsListResponseMultiError
- type ConditionsListResponseValidationError
- func (e ConditionsListResponseValidationError) Cause() error
- func (e ConditionsListResponseValidationError) Error() string
- func (e ConditionsListResponseValidationError) ErrorName() string
- func (e ConditionsListResponseValidationError) Field() string
- func (e ConditionsListResponseValidationError) Key() bool
- func (e ConditionsListResponseValidationError) Reason() string
- type CreateNotificationRequest
- func (*CreateNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotificationRequest) GetConditionId() string
- func (x *CreateNotificationRequest) GetConfig() string
- func (x *CreateNotificationRequest) GetName() string
- func (*CreateNotificationRequest) ProtoMessage()
- func (x *CreateNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNotificationRequest) Reset()
- func (x *CreateNotificationRequest) String() string
- func (m *CreateNotificationRequest) Validate() error
- func (m *CreateNotificationRequest) ValidateAll() error
- type CreateNotificationRequestMultiError
- type CreateNotificationRequestValidationError
- func (e CreateNotificationRequestValidationError) Cause() error
- func (e CreateNotificationRequestValidationError) Error() string
- func (e CreateNotificationRequestValidationError) ErrorName() string
- func (e CreateNotificationRequestValidationError) Field() string
- func (e CreateNotificationRequestValidationError) Key() bool
- func (e CreateNotificationRequestValidationError) Reason() string
- type GetConditionRequest
- func (*GetConditionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConditionRequest) GetId() string
- func (*GetConditionRequest) ProtoMessage()
- func (x *GetConditionRequest) ProtoReflect() protoreflect.Message
- func (x *GetConditionRequest) Reset()
- func (x *GetConditionRequest) String() string
- func (m *GetConditionRequest) Validate() error
- func (m *GetConditionRequest) ValidateAll() error
- type GetConditionRequestMultiError
- type GetConditionRequestValidationError
- func (e GetConditionRequestValidationError) Cause() error
- func (e GetConditionRequestValidationError) Error() string
- func (e GetConditionRequestValidationError) ErrorName() string
- func (e GetConditionRequestValidationError) Field() string
- func (e GetConditionRequestValidationError) Key() bool
- func (e GetConditionRequestValidationError) Reason() string
- type GetConditionsRequest
- func (*GetConditionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConditionsRequest) GetPage() int32
- func (x *GetConditionsRequest) GetPageSize() int32
- func (*GetConditionsRequest) ProtoMessage()
- func (x *GetConditionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetConditionsRequest) Reset()
- func (x *GetConditionsRequest) String() string
- func (m *GetConditionsRequest) Validate() error
- func (m *GetConditionsRequest) ValidateAll() error
- type GetConditionsRequestMultiError
- type GetConditionsRequestValidationError
- func (e GetConditionsRequestValidationError) Cause() error
- func (e GetConditionsRequestValidationError) Error() string
- func (e GetConditionsRequestValidationError) ErrorName() string
- func (e GetConditionsRequestValidationError) Field() string
- func (e GetConditionsRequestValidationError) Key() bool
- func (e GetConditionsRequestValidationError) Reason() string
- type GetNotificationRequest
- func (*GetNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationRequest) GetPage() int32
- func (x *GetNotificationRequest) GetPageSize() int32
- func (*GetNotificationRequest) ProtoMessage()
- func (x *GetNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotificationRequest) Reset()
- func (x *GetNotificationRequest) String() string
- func (m *GetNotificationRequest) Validate() error
- func (m *GetNotificationRequest) ValidateAll() error
- type GetNotificationRequestMultiError
- type GetNotificationRequestValidationError
- func (e GetNotificationRequestValidationError) Cause() error
- func (e GetNotificationRequestValidationError) Error() string
- func (e GetNotificationRequestValidationError) ErrorName() string
- func (e GetNotificationRequestValidationError) Field() string
- func (e GetNotificationRequestValidationError) Key() bool
- func (e GetNotificationRequestValidationError) Reason() string
- type GetNotificationsRequest
- func (*GetNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationsRequest) GetPage() int32
- func (x *GetNotificationsRequest) GetPageSize() int32
- func (*GetNotificationsRequest) ProtoMessage()
- func (x *GetNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotificationsRequest) Reset()
- func (x *GetNotificationsRequest) String() string
- func (m *GetNotificationsRequest) Validate() error
- func (m *GetNotificationsRequest) ValidateAll() error
- type GetNotificationsRequestMultiError
- type GetNotificationsRequestValidationError
- func (e GetNotificationsRequestValidationError) Cause() error
- func (e GetNotificationsRequestValidationError) Error() string
- func (e GetNotificationsRequestValidationError) ErrorName() string
- func (e GetNotificationsRequestValidationError) Field() string
- func (e GetNotificationsRequestValidationError) Key() bool
- func (e GetNotificationsRequestValidationError) Reason() string
- type GetOfferRequest
- func (*GetOfferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOfferRequest) GetId() string
- func (*GetOfferRequest) ProtoMessage()
- func (x *GetOfferRequest) ProtoReflect() protoreflect.Message
- func (x *GetOfferRequest) Reset()
- func (x *GetOfferRequest) String() string
- func (m *GetOfferRequest) Validate() error
- func (m *GetOfferRequest) ValidateAll() error
- type GetOfferRequestMultiError
- type GetOfferRequestValidationError
- func (e GetOfferRequestValidationError) Cause() error
- func (e GetOfferRequestValidationError) Error() string
- func (e GetOfferRequestValidationError) ErrorName() string
- func (e GetOfferRequestValidationError) Field() string
- func (e GetOfferRequestValidationError) Key() bool
- func (e GetOfferRequestValidationError) Reason() string
- type GetOffersRequest
- func (*GetOffersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOffersRequest) GetPage() int32
- func (x *GetOffersRequest) GetPageSize() int32
- func (*GetOffersRequest) ProtoMessage()
- func (x *GetOffersRequest) ProtoReflect() protoreflect.Message
- func (x *GetOffersRequest) Reset()
- func (x *GetOffersRequest) String() string
- func (m *GetOffersRequest) Validate() error
- func (m *GetOffersRequest) ValidateAll() error
- type GetOffersRequestMultiError
- type GetOffersRequestValidationError
- func (e GetOffersRequestValidationError) Cause() error
- func (e GetOffersRequestValidationError) Error() string
- func (e GetOffersRequestValidationError) ErrorName() string
- func (e GetOffersRequestValidationError) Field() string
- func (e GetOffersRequestValidationError) Key() bool
- func (e GetOffersRequestValidationError) Reason() string
- type GetUrlsRequest
- func (*GetUrlsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUrlsRequest) GetPage() int32
- func (x *GetUrlsRequest) GetPageSize() int32
- func (*GetUrlsRequest) ProtoMessage()
- func (x *GetUrlsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUrlsRequest) Reset()
- func (x *GetUrlsRequest) String() string
- func (m *GetUrlsRequest) Validate() error
- func (m *GetUrlsRequest) ValidateAll() error
- type GetUrlsRequestMultiError
- type GetUrlsRequestValidationError
- func (e GetUrlsRequestValidationError) Cause() error
- func (e GetUrlsRequestValidationError) Error() string
- func (e GetUrlsRequestValidationError) ErrorName() string
- func (e GetUrlsRequestValidationError) Field() string
- func (e GetUrlsRequestValidationError) Key() bool
- func (e GetUrlsRequestValidationError) Reason() string
- type NotificationListResponse
- func (*NotificationListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationListResponse) GetNotifications() []*NotificationResponse
- func (x *NotificationListResponse) GetTotal() int64
- func (*NotificationListResponse) ProtoMessage()
- func (x *NotificationListResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationListResponse) Reset()
- func (x *NotificationListResponse) String() string
- func (m *NotificationListResponse) Validate() error
- func (m *NotificationListResponse) ValidateAll() error
- type NotificationListResponseMultiError
- type NotificationListResponseValidationError
- func (e NotificationListResponseValidationError) Cause() error
- func (e NotificationListResponseValidationError) Error() string
- func (e NotificationListResponseValidationError) ErrorName() string
- func (e NotificationListResponseValidationError) Field() string
- func (e NotificationListResponseValidationError) Key() bool
- func (e NotificationListResponseValidationError) Reason() string
- type NotificationResponse
- func (*NotificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationResponse) GetConditionId() string
- func (x *NotificationResponse) GetConfig() string
- func (x *NotificationResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *NotificationResponse) GetId() string
- func (x *NotificationResponse) GetName() string
- func (x *NotificationResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*NotificationResponse) ProtoMessage()
- func (x *NotificationResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationResponse) Reset()
- func (x *NotificationResponse) String() string
- func (m *NotificationResponse) Validate() error
- func (m *NotificationResponse) ValidateAll() error
- type NotificationResponseMultiError
- type NotificationResponseValidationError
- func (e NotificationResponseValidationError) Cause() error
- func (e NotificationResponseValidationError) Error() string
- func (e NotificationResponseValidationError) ErrorName() string
- func (e NotificationResponseValidationError) Field() string
- func (e NotificationResponseValidationError) Key() bool
- func (e NotificationResponseValidationError) Reason() string
- type NotificationServiceClient
- type NotificationServiceServer
- type OfferHistory
- func (*OfferHistory) Descriptor() ([]byte, []int)deprecated
- func (x *OfferHistory) GetPrice() int32
- func (x *OfferHistory) GetUpdated() int64
- func (*OfferHistory) ProtoMessage()
- func (x *OfferHistory) ProtoReflect() protoreflect.Message
- func (x *OfferHistory) Reset()
- func (x *OfferHistory) String() string
- func (m *OfferHistory) Validate() error
- func (m *OfferHistory) ValidateAll() error
- type OfferHistoryMultiError
- type OfferHistoryValidationError
- func (e OfferHistoryValidationError) Cause() error
- func (e OfferHistoryValidationError) Error() string
- func (e OfferHistoryValidationError) ErrorName() string
- func (e OfferHistoryValidationError) Field() string
- func (e OfferHistoryValidationError) Key() bool
- func (e OfferHistoryValidationError) Reason() string
- type OfferListResponse
- func (*OfferListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OfferListResponse) GetOffers() []*OfferResponse
- func (x *OfferListResponse) GetTotal() int64
- func (*OfferListResponse) ProtoMessage()
- func (x *OfferListResponse) ProtoReflect() protoreflect.Message
- func (x *OfferListResponse) Reset()
- func (x *OfferListResponse) String() string
- func (m *OfferListResponse) Validate() error
- func (m *OfferListResponse) ValidateAll() error
- type OfferListResponseMultiError
- type OfferListResponseValidationError
- func (e OfferListResponseValidationError) Cause() error
- func (e OfferListResponseValidationError) Error() string
- func (e OfferListResponseValidationError) ErrorName() string
- func (e OfferListResponseValidationError) Field() string
- func (e OfferListResponseValidationError) Key() bool
- func (e OfferListResponseValidationError) Reason() string
- type OfferResponse
- func (*OfferResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OfferResponse) GetArea() float32
- func (x *OfferResponse) GetBalcony() bool
- func (x *OfferResponse) GetBuildingFloors() int32
- func (x *OfferResponse) GetCreated() int64
- func (x *OfferResponse) GetElevator() bool
- func (x *OfferResponse) GetFloor() int32
- func (x *OfferResponse) GetHeating() string
- func (x *OfferResponse) GetHistory() []*OfferHistory
- func (x *OfferResponse) GetId() string
- func (x *OfferResponse) GetMarket() string
- func (x *OfferResponse) GetMedia() []string
- func (x *OfferResponse) GetName() string
- func (x *OfferResponse) GetRooms() int32
- func (x *OfferResponse) GetSite() string
- func (x *OfferResponse) GetSiteId() string
- func (x *OfferResponse) GetUpdated() int64
- func (x *OfferResponse) GetUrl() string
- func (x *OfferResponse) GetWindow() string
- func (x *OfferResponse) GetYear() int32
- func (*OfferResponse) ProtoMessage()
- func (x *OfferResponse) ProtoReflect() protoreflect.Message
- func (x *OfferResponse) Reset()
- func (x *OfferResponse) String() string
- func (m *OfferResponse) Validate() error
- func (m *OfferResponse) ValidateAll() error
- type OfferResponseMultiError
- type OfferResponseValidationError
- func (e OfferResponseValidationError) Cause() error
- func (e OfferResponseValidationError) Error() string
- func (e OfferResponseValidationError) ErrorName() string
- func (e OfferResponseValidationError) Field() string
- func (e OfferResponseValidationError) Key() bool
- func (e OfferResponseValidationError) Reason() string
- type OfferServiceClient
- type OfferServiceServer
- type ProcessingStatus
- func (*ProcessingStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessingStatus) GetIsRunning() bool
- func (x *ProcessingStatus) GetLastRun() *timestamppb.Timestamp
- func (x *ProcessingStatus) GetNextRun() *timestamppb.Timestamp
- func (*ProcessingStatus) ProtoMessage()
- func (x *ProcessingStatus) ProtoReflect() protoreflect.Message
- func (x *ProcessingStatus) Reset()
- func (x *ProcessingStatus) String() string
- func (m *ProcessingStatus) Validate() error
- func (m *ProcessingStatus) ValidateAll() error
- type ProcessingStatusMultiError
- type ProcessingStatusValidationError
- func (e ProcessingStatusValidationError) Cause() error
- func (e ProcessingStatusValidationError) Error() string
- func (e ProcessingStatusValidationError) ErrorName() string
- func (e ProcessingStatusValidationError) Field() string
- func (e ProcessingStatusValidationError) Key() bool
- func (e ProcessingStatusValidationError) Reason() string
- type ProcessorServiceClient
- type ProcessorServiceServer
- type SetStateRequest
- func (*SetStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetStateRequest) GetId() string
- func (x *SetStateRequest) GetIsDisabled() bool
- func (*SetStateRequest) ProtoMessage()
- func (x *SetStateRequest) ProtoReflect() protoreflect.Message
- func (x *SetStateRequest) Reset()
- func (x *SetStateRequest) String() string
- func (m *SetStateRequest) Validate() error
- func (m *SetStateRequest) ValidateAll() error
- type SetStateRequestMultiError
- type SetStateRequestValidationError
- func (e SetStateRequestValidationError) Cause() error
- func (e SetStateRequestValidationError) Error() string
- func (e SetStateRequestValidationError) ErrorName() string
- func (e SetStateRequestValidationError) Field() string
- func (e SetStateRequestValidationError) Key() bool
- func (e SetStateRequestValidationError) Reason() string
- type UnimplementedConditionServiceServer
- func (UnimplementedConditionServiceServer) AddCondition(context.Context, *AddConditionRequest) (*ConditionResponse, error)
- func (UnimplementedConditionServiceServer) DeleteCondition(context.Context, *GetConditionRequest) (*ConditionResponse, error)
- func (UnimplementedConditionServiceServer) GetCondition(context.Context, *GetConditionRequest) (*ConditionResponse, error)
- func (UnimplementedConditionServiceServer) GetConditions(context.Context, *GetConditionsRequest) (*ConditionsListResponse, error)
- type UnimplementedNotificationServiceServer
- func (UnimplementedNotificationServiceServer) CreateNotification(context.Context, *CreateNotificationRequest) (*NotificationResponse, error)
- func (UnimplementedNotificationServiceServer) DeleteNotification(context.Context, *GetNotificationRequest) (*NotificationResponse, error)
- func (UnimplementedNotificationServiceServer) GetNotification(context.Context, *GetNotificationRequest) (*NotificationResponse, error)
- func (UnimplementedNotificationServiceServer) ListNotifications(context.Context, *GetNotificationsRequest) (*NotificationListResponse, error)
- type UnimplementedOfferServiceServer
- type UnimplementedProcessorServiceServer
- func (UnimplementedProcessorServiceServer) GetProcessingStatus(context.Context, *emptypb.Empty) (*ProcessingStatus, error)
- func (UnimplementedProcessorServiceServer) StartProcessing(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedProcessorServiceServer) StopProcessing(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- type UnimplementedWatchUrlServiceServer
- func (UnimplementedWatchUrlServiceServer) AddUrl(context.Context, *AddUrlRequest) (*UrlResponse, error)
- func (UnimplementedWatchUrlServiceServer) GetUrls(context.Context, *GetUrlsRequest) (*UrlListResponse, error)
- func (UnimplementedWatchUrlServiceServer) SetState(context.Context, *SetStateRequest) (*UrlResponse, error)
- type UnsafeConditionServiceServer
- type UnsafeNotificationServiceServer
- type UnsafeOfferServiceServer
- type UnsafeProcessorServiceServer
- type UnsafeWatchUrlServiceServer
- type UrlListResponse
- func (*UrlListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UrlListResponse) GetTotal() int64
- func (x *UrlListResponse) GetUrls() []*UrlResponse
- func (*UrlListResponse) ProtoMessage()
- func (x *UrlListResponse) ProtoReflect() protoreflect.Message
- func (x *UrlListResponse) Reset()
- func (x *UrlListResponse) String() string
- func (m *UrlListResponse) Validate() error
- func (m *UrlListResponse) ValidateAll() error
- type UrlListResponseMultiError
- type UrlListResponseValidationError
- func (e UrlListResponseValidationError) Cause() error
- func (e UrlListResponseValidationError) Error() string
- func (e UrlListResponseValidationError) ErrorName() string
- func (e UrlListResponseValidationError) Field() string
- func (e UrlListResponseValidationError) Key() bool
- func (e UrlListResponseValidationError) Reason() string
- type UrlResponse
- func (*UrlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UrlResponse) GetCreated() int64
- func (x *UrlResponse) GetId() string
- func (x *UrlResponse) GetIsDisabled() bool
- func (x *UrlResponse) GetIsList() bool
- func (x *UrlResponse) GetUpdated() int64
- func (x *UrlResponse) GetUrl() string
- func (*UrlResponse) ProtoMessage()
- func (x *UrlResponse) ProtoReflect() protoreflect.Message
- func (x *UrlResponse) Reset()
- func (x *UrlResponse) String() string
- func (m *UrlResponse) Validate() error
- func (m *UrlResponse) ValidateAll() error
- type UrlResponseMultiError
- type UrlResponseValidationError
- func (e UrlResponseValidationError) Cause() error
- func (e UrlResponseValidationError) Error() string
- func (e UrlResponseValidationError) ErrorName() string
- func (e UrlResponseValidationError) Field() string
- func (e UrlResponseValidationError) Key() bool
- func (e UrlResponseValidationError) Reason() string
- type WatchUrlServiceClient
- type WatchUrlServiceServer
Constants ¶
const ( ConditionService_AddCondition_FullMethodName = "/api.ConditionService/AddCondition" ConditionService_GetCondition_FullMethodName = "/api.ConditionService/GetCondition" ConditionService_GetConditions_FullMethodName = "/api.ConditionService/GetConditions" ConditionService_DeleteCondition_FullMethodName = "/api.ConditionService/DeleteCondition" )
const ( NotificationService_CreateNotification_FullMethodName = "/api.NotificationService/CreateNotification" NotificationService_GetNotification_FullMethodName = "/api.NotificationService/GetNotification" NotificationService_ListNotifications_FullMethodName = "/api.NotificationService/ListNotifications" NotificationService_DeleteNotification_FullMethodName = "/api.NotificationService/DeleteNotification" )
const ( OfferService_GetOffer_FullMethodName = "/api.OfferService/GetOffer" OfferService_GetOffers_FullMethodName = "/api.OfferService/GetOffers" )
const ( ProcessorService_StartProcessing_FullMethodName = "/api.ProcessorService/StartProcessing" ProcessorService_StopProcessing_FullMethodName = "/api.ProcessorService/StopProcessing" ProcessorService_GetProcessingStatus_FullMethodName = "/api.ProcessorService/GetProcessingStatus" )
const ( WatchUrlService_AddUrl_FullMethodName = "/api.WatchUrlService/AddUrl" WatchUrlService_SetState_FullMethodName = "/api.WatchUrlService/SetState" WatchUrlService_GetUrls_FullMethodName = "/api.WatchUrlService/GetUrls" )
Variables ¶
var ConditionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.ConditionService", HandlerType: (*ConditionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddCondition", Handler: _ConditionService_AddCondition_Handler, }, { MethodName: "GetCondition", Handler: _ConditionService_GetCondition_Handler, }, { MethodName: "GetConditions", Handler: _ConditionService_GetConditions_Handler, }, { MethodName: "DeleteCondition", Handler: _ConditionService_DeleteCondition_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "condition.proto", }
ConditionService_ServiceDesc is the grpc.ServiceDesc for ConditionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_condition_proto protoreflect.FileDescriptor
var File_notification_proto protoreflect.FileDescriptor
var File_offer_proto protoreflect.FileDescriptor
var File_processor_proto protoreflect.FileDescriptor
var File_watch_url_proto protoreflect.FileDescriptor
var NotificationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.NotificationService", HandlerType: (*NotificationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateNotification", Handler: _NotificationService_CreateNotification_Handler, }, { MethodName: "GetNotification", Handler: _NotificationService_GetNotification_Handler, }, { MethodName: "ListNotifications", Handler: _NotificationService_ListNotifications_Handler, }, { MethodName: "DeleteNotification", Handler: _NotificationService_DeleteNotification_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "notification.proto", }
NotificationService_ServiceDesc is the grpc.ServiceDesc for NotificationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OfferService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.OfferService", HandlerType: (*OfferServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOffer", Handler: _OfferService_GetOffer_Handler, }, { MethodName: "GetOffers", Handler: _OfferService_GetOffers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "offer.proto", }
OfferService_ServiceDesc is the grpc.ServiceDesc for OfferService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ProcessorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.ProcessorService", HandlerType: (*ProcessorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "StartProcessing", Handler: _ProcessorService_StartProcessing_Handler, }, { MethodName: "StopProcessing", Handler: _ProcessorService_StopProcessing_Handler, }, { MethodName: "GetProcessingStatus", Handler: _ProcessorService_GetProcessingStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "processor.proto", }
ProcessorService_ServiceDesc is the grpc.ServiceDesc for ProcessorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WatchUrlService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.WatchUrlService", HandlerType: (*WatchUrlServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddUrl", Handler: _WatchUrlService_AddUrl_Handler, }, { MethodName: "SetState", Handler: _WatchUrlService_SetState_Handler, }, { MethodName: "GetUrls", Handler: _WatchUrlService_GetUrls_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "watch_url.proto", }
WatchUrlService_ServiceDesc is the grpc.ServiceDesc for WatchUrlService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterConditionServiceServer ¶
func RegisterConditionServiceServer(s grpc.ServiceRegistrar, srv ConditionServiceServer)
func RegisterNotificationServiceServer ¶
func RegisterNotificationServiceServer(s grpc.ServiceRegistrar, srv NotificationServiceServer)
func RegisterOfferServiceServer ¶
func RegisterOfferServiceServer(s grpc.ServiceRegistrar, srv OfferServiceServer)
func RegisterProcessorServiceServer ¶
func RegisterProcessorServiceServer(s grpc.ServiceRegistrar, srv ProcessorServiceServer)
func RegisterWatchUrlServiceServer ¶
func RegisterWatchUrlServiceServer(s grpc.ServiceRegistrar, srv WatchUrlServiceServer)
Types ¶
type AddConditionRequest ¶
type AddConditionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Wasm []byte `protobuf:"bytes,2,opt,name=wasm,proto3" json:"wasm,omitempty"` // contains filtered or unexported fields }
func (*AddConditionRequest) Descriptor
deprecated
func (*AddConditionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddConditionRequest.ProtoReflect.Descriptor instead.
func (*AddConditionRequest) GetName ¶
func (x *AddConditionRequest) GetName() string
func (*AddConditionRequest) GetWasm ¶
func (x *AddConditionRequest) GetWasm() []byte
func (*AddConditionRequest) ProtoMessage ¶
func (*AddConditionRequest) ProtoMessage()
func (*AddConditionRequest) ProtoReflect ¶
func (x *AddConditionRequest) ProtoReflect() protoreflect.Message
func (*AddConditionRequest) Reset ¶
func (x *AddConditionRequest) Reset()
func (*AddConditionRequest) String ¶
func (x *AddConditionRequest) String() string
func (*AddConditionRequest) Validate ¶
func (m *AddConditionRequest) Validate() error
Validate checks the field values on AddConditionRequest 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 (*AddConditionRequest) ValidateAll ¶
func (m *AddConditionRequest) ValidateAll() error
ValidateAll checks the field values on AddConditionRequest 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 AddConditionRequestMultiError, or nil if none found.
type AddConditionRequestMultiError ¶
type AddConditionRequestMultiError []error
AddConditionRequestMultiError is an error wrapping multiple validation errors returned by AddConditionRequest.ValidateAll() if the designated constraints aren't met.
func (AddConditionRequestMultiError) AllErrors ¶
func (m AddConditionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddConditionRequestMultiError) Error ¶
func (m AddConditionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddConditionRequestValidationError ¶
type AddConditionRequestValidationError struct {
// contains filtered or unexported fields
}
AddConditionRequestValidationError is the validation error returned by AddConditionRequest.Validate if the designated constraints aren't met.
func (AddConditionRequestValidationError) Cause ¶
func (e AddConditionRequestValidationError) Cause() error
Cause function returns cause value.
func (AddConditionRequestValidationError) Error ¶
func (e AddConditionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddConditionRequestValidationError) ErrorName ¶
func (e AddConditionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddConditionRequestValidationError) Field ¶
func (e AddConditionRequestValidationError) Field() string
Field function returns field value.
func (AddConditionRequestValidationError) Key ¶
func (e AddConditionRequestValidationError) Key() bool
Key function returns key value.
func (AddConditionRequestValidationError) Reason ¶
func (e AddConditionRequestValidationError) Reason() string
Reason function returns reason value.
type AddUrlRequest ¶
type AddUrlRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` IsList bool `protobuf:"varint,2,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"` // contains filtered or unexported fields }
func (*AddUrlRequest) Descriptor
deprecated
func (*AddUrlRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUrlRequest.ProtoReflect.Descriptor instead.
func (*AddUrlRequest) GetIsList ¶
func (x *AddUrlRequest) GetIsList() bool
func (*AddUrlRequest) GetUrl ¶
func (x *AddUrlRequest) GetUrl() string
func (*AddUrlRequest) ProtoMessage ¶
func (*AddUrlRequest) ProtoMessage()
func (*AddUrlRequest) ProtoReflect ¶
func (x *AddUrlRequest) ProtoReflect() protoreflect.Message
func (*AddUrlRequest) Reset ¶
func (x *AddUrlRequest) Reset()
func (*AddUrlRequest) String ¶
func (x *AddUrlRequest) String() string
func (*AddUrlRequest) Validate ¶
func (m *AddUrlRequest) Validate() error
Validate checks the field values on AddUrlRequest 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 (*AddUrlRequest) ValidateAll ¶
func (m *AddUrlRequest) ValidateAll() error
ValidateAll checks the field values on AddUrlRequest 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 AddUrlRequestMultiError, or nil if none found.
type AddUrlRequestMultiError ¶
type AddUrlRequestMultiError []error
AddUrlRequestMultiError is an error wrapping multiple validation errors returned by AddUrlRequest.ValidateAll() if the designated constraints aren't met.
func (AddUrlRequestMultiError) AllErrors ¶
func (m AddUrlRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddUrlRequestMultiError) Error ¶
func (m AddUrlRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddUrlRequestValidationError ¶
type AddUrlRequestValidationError struct {
// contains filtered or unexported fields
}
AddUrlRequestValidationError is the validation error returned by AddUrlRequest.Validate if the designated constraints aren't met.
func (AddUrlRequestValidationError) Cause ¶
func (e AddUrlRequestValidationError) Cause() error
Cause function returns cause value.
func (AddUrlRequestValidationError) Error ¶
func (e AddUrlRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddUrlRequestValidationError) ErrorName ¶
func (e AddUrlRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddUrlRequestValidationError) Field ¶
func (e AddUrlRequestValidationError) Field() string
Field function returns field value.
func (AddUrlRequestValidationError) Key ¶
func (e AddUrlRequestValidationError) Key() bool
Key function returns key value.
func (AddUrlRequestValidationError) Reason ¶
func (e AddUrlRequestValidationError) Reason() string
Reason function returns reason value.
type ConditionResponse ¶
type ConditionResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Created int64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"` Updated int64 `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"` // contains filtered or unexported fields }
func (*ConditionResponse) Descriptor
deprecated
func (*ConditionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConditionResponse.ProtoReflect.Descriptor instead.
func (*ConditionResponse) GetCreated ¶
func (x *ConditionResponse) GetCreated() int64
func (*ConditionResponse) GetId ¶
func (x *ConditionResponse) GetId() string
func (*ConditionResponse) GetName ¶
func (x *ConditionResponse) GetName() string
func (*ConditionResponse) GetUpdated ¶
func (x *ConditionResponse) GetUpdated() int64
func (*ConditionResponse) ProtoMessage ¶
func (*ConditionResponse) ProtoMessage()
func (*ConditionResponse) ProtoReflect ¶
func (x *ConditionResponse) ProtoReflect() protoreflect.Message
func (*ConditionResponse) Reset ¶
func (x *ConditionResponse) Reset()
func (*ConditionResponse) String ¶
func (x *ConditionResponse) String() string
func (*ConditionResponse) Validate ¶
func (m *ConditionResponse) Validate() error
Validate checks the field values on ConditionResponse 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 (*ConditionResponse) ValidateAll ¶
func (m *ConditionResponse) ValidateAll() error
ValidateAll checks the field values on ConditionResponse 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 ConditionResponseMultiError, or nil if none found.
type ConditionResponseMultiError ¶
type ConditionResponseMultiError []error
ConditionResponseMultiError is an error wrapping multiple validation errors returned by ConditionResponse.ValidateAll() if the designated constraints aren't met.
func (ConditionResponseMultiError) AllErrors ¶
func (m ConditionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConditionResponseMultiError) Error ¶
func (m ConditionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConditionResponseValidationError ¶
type ConditionResponseValidationError struct {
// contains filtered or unexported fields
}
ConditionResponseValidationError is the validation error returned by ConditionResponse.Validate if the designated constraints aren't met.
func (ConditionResponseValidationError) Cause ¶
func (e ConditionResponseValidationError) Cause() error
Cause function returns cause value.
func (ConditionResponseValidationError) Error ¶
func (e ConditionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ConditionResponseValidationError) ErrorName ¶
func (e ConditionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ConditionResponseValidationError) Field ¶
func (e ConditionResponseValidationError) Field() string
Field function returns field value.
func (ConditionResponseValidationError) Key ¶
func (e ConditionResponseValidationError) Key() bool
Key function returns key value.
func (ConditionResponseValidationError) Reason ¶
func (e ConditionResponseValidationError) Reason() string
Reason function returns reason value.
type ConditionServiceClient ¶
type ConditionServiceClient interface { AddCondition(ctx context.Context, in *AddConditionRequest, opts ...grpc.CallOption) (*ConditionResponse, error) GetCondition(ctx context.Context, in *GetConditionRequest, opts ...grpc.CallOption) (*ConditionResponse, error) GetConditions(ctx context.Context, in *GetConditionsRequest, opts ...grpc.CallOption) (*ConditionsListResponse, error) DeleteCondition(ctx context.Context, in *GetConditionRequest, opts ...grpc.CallOption) (*ConditionResponse, error) }
ConditionServiceClient is the client API for ConditionService 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 NewConditionServiceClient ¶
func NewConditionServiceClient(cc grpc.ClientConnInterface) ConditionServiceClient
type ConditionServiceServer ¶
type ConditionServiceServer interface { AddCondition(context.Context, *AddConditionRequest) (*ConditionResponse, error) GetCondition(context.Context, *GetConditionRequest) (*ConditionResponse, error) GetConditions(context.Context, *GetConditionsRequest) (*ConditionsListResponse, error) DeleteCondition(context.Context, *GetConditionRequest) (*ConditionResponse, error) // contains filtered or unexported methods }
ConditionServiceServer is the server API for ConditionService service. All implementations must embed UnimplementedConditionServiceServer for forward compatibility
type ConditionsListResponse ¶
type ConditionsListResponse struct { Conditions []*ConditionResponse `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ConditionsListResponse) Descriptor
deprecated
func (*ConditionsListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConditionsListResponse.ProtoReflect.Descriptor instead.
func (*ConditionsListResponse) GetConditions ¶
func (x *ConditionsListResponse) GetConditions() []*ConditionResponse
func (*ConditionsListResponse) GetTotal ¶
func (x *ConditionsListResponse) GetTotal() int64
func (*ConditionsListResponse) ProtoMessage ¶
func (*ConditionsListResponse) ProtoMessage()
func (*ConditionsListResponse) ProtoReflect ¶
func (x *ConditionsListResponse) ProtoReflect() protoreflect.Message
func (*ConditionsListResponse) Reset ¶
func (x *ConditionsListResponse) Reset()
func (*ConditionsListResponse) String ¶
func (x *ConditionsListResponse) String() string
func (*ConditionsListResponse) Validate ¶
func (m *ConditionsListResponse) Validate() error
Validate checks the field values on ConditionsListResponse 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 (*ConditionsListResponse) ValidateAll ¶
func (m *ConditionsListResponse) ValidateAll() error
ValidateAll checks the field values on ConditionsListResponse 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 ConditionsListResponseMultiError, or nil if none found.
type ConditionsListResponseMultiError ¶
type ConditionsListResponseMultiError []error
ConditionsListResponseMultiError is an error wrapping multiple validation errors returned by ConditionsListResponse.ValidateAll() if the designated constraints aren't met.
func (ConditionsListResponseMultiError) AllErrors ¶
func (m ConditionsListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConditionsListResponseMultiError) Error ¶
func (m ConditionsListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConditionsListResponseValidationError ¶
type ConditionsListResponseValidationError struct {
// contains filtered or unexported fields
}
ConditionsListResponseValidationError is the validation error returned by ConditionsListResponse.Validate if the designated constraints aren't met.
func (ConditionsListResponseValidationError) Cause ¶
func (e ConditionsListResponseValidationError) Cause() error
Cause function returns cause value.
func (ConditionsListResponseValidationError) Error ¶
func (e ConditionsListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ConditionsListResponseValidationError) ErrorName ¶
func (e ConditionsListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ConditionsListResponseValidationError) Field ¶
func (e ConditionsListResponseValidationError) Field() string
Field function returns field value.
func (ConditionsListResponseValidationError) Key ¶
func (e ConditionsListResponseValidationError) Key() bool
Key function returns key value.
func (ConditionsListResponseValidationError) Reason ¶
func (e ConditionsListResponseValidationError) Reason() string
Reason function returns reason value.
type CreateNotificationRequest ¶
type CreateNotificationRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ConditionId string `protobuf:"bytes,2,opt,name=condition_id,json=conditionId,proto3" json:"condition_id,omitempty"` Config string `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*CreateNotificationRequest) Descriptor
deprecated
func (*CreateNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotificationRequest.ProtoReflect.Descriptor instead.
func (*CreateNotificationRequest) GetConditionId ¶
func (x *CreateNotificationRequest) GetConditionId() string
func (*CreateNotificationRequest) GetConfig ¶
func (x *CreateNotificationRequest) GetConfig() string
func (*CreateNotificationRequest) GetName ¶
func (x *CreateNotificationRequest) GetName() string
func (*CreateNotificationRequest) ProtoMessage ¶
func (*CreateNotificationRequest) ProtoMessage()
func (*CreateNotificationRequest) ProtoReflect ¶
func (x *CreateNotificationRequest) ProtoReflect() protoreflect.Message
func (*CreateNotificationRequest) Reset ¶
func (x *CreateNotificationRequest) Reset()
func (*CreateNotificationRequest) String ¶
func (x *CreateNotificationRequest) String() string
func (*CreateNotificationRequest) Validate ¶
func (m *CreateNotificationRequest) Validate() error
Validate checks the field values on CreateNotificationRequest 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 (*CreateNotificationRequest) ValidateAll ¶
func (m *CreateNotificationRequest) ValidateAll() error
ValidateAll checks the field values on CreateNotificationRequest 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 CreateNotificationRequestMultiError, or nil if none found.
type CreateNotificationRequestMultiError ¶
type CreateNotificationRequestMultiError []error
CreateNotificationRequestMultiError is an error wrapping multiple validation errors returned by CreateNotificationRequest.ValidateAll() if the designated constraints aren't met.
func (CreateNotificationRequestMultiError) AllErrors ¶
func (m CreateNotificationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateNotificationRequestMultiError) Error ¶
func (m CreateNotificationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateNotificationRequestValidationError ¶
type CreateNotificationRequestValidationError struct {
// contains filtered or unexported fields
}
CreateNotificationRequestValidationError is the validation error returned by CreateNotificationRequest.Validate if the designated constraints aren't met.
func (CreateNotificationRequestValidationError) Cause ¶
func (e CreateNotificationRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateNotificationRequestValidationError) Error ¶
func (e CreateNotificationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNotificationRequestValidationError) ErrorName ¶
func (e CreateNotificationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNotificationRequestValidationError) Field ¶
func (e CreateNotificationRequestValidationError) Field() string
Field function returns field value.
func (CreateNotificationRequestValidationError) Key ¶
func (e CreateNotificationRequestValidationError) Key() bool
Key function returns key value.
func (CreateNotificationRequestValidationError) Reason ¶
func (e CreateNotificationRequestValidationError) Reason() string
Reason function returns reason value.
type GetConditionRequest ¶
type GetConditionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetConditionRequest) Descriptor
deprecated
func (*GetConditionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConditionRequest.ProtoReflect.Descriptor instead.
func (*GetConditionRequest) GetId ¶
func (x *GetConditionRequest) GetId() string
func (*GetConditionRequest) ProtoMessage ¶
func (*GetConditionRequest) ProtoMessage()
func (*GetConditionRequest) ProtoReflect ¶
func (x *GetConditionRequest) ProtoReflect() protoreflect.Message
func (*GetConditionRequest) Reset ¶
func (x *GetConditionRequest) Reset()
func (*GetConditionRequest) String ¶
func (x *GetConditionRequest) String() string
func (*GetConditionRequest) Validate ¶
func (m *GetConditionRequest) Validate() error
Validate checks the field values on GetConditionRequest 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 (*GetConditionRequest) ValidateAll ¶
func (m *GetConditionRequest) ValidateAll() error
ValidateAll checks the field values on GetConditionRequest 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 GetConditionRequestMultiError, or nil if none found.
type GetConditionRequestMultiError ¶
type GetConditionRequestMultiError []error
GetConditionRequestMultiError is an error wrapping multiple validation errors returned by GetConditionRequest.ValidateAll() if the designated constraints aren't met.
func (GetConditionRequestMultiError) AllErrors ¶
func (m GetConditionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConditionRequestMultiError) Error ¶
func (m GetConditionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConditionRequestValidationError ¶
type GetConditionRequestValidationError struct {
// contains filtered or unexported fields
}
GetConditionRequestValidationError is the validation error returned by GetConditionRequest.Validate if the designated constraints aren't met.
func (GetConditionRequestValidationError) Cause ¶
func (e GetConditionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConditionRequestValidationError) Error ¶
func (e GetConditionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConditionRequestValidationError) ErrorName ¶
func (e GetConditionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConditionRequestValidationError) Field ¶
func (e GetConditionRequestValidationError) Field() string
Field function returns field value.
func (GetConditionRequestValidationError) Key ¶
func (e GetConditionRequestValidationError) Key() bool
Key function returns key value.
func (GetConditionRequestValidationError) Reason ¶
func (e GetConditionRequestValidationError) Reason() string
Reason function returns reason value.
type GetConditionsRequest ¶
type GetConditionsRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*GetConditionsRequest) Descriptor
deprecated
func (*GetConditionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConditionsRequest.ProtoReflect.Descriptor instead.
func (*GetConditionsRequest) GetPage ¶
func (x *GetConditionsRequest) GetPage() int32
func (*GetConditionsRequest) GetPageSize ¶
func (x *GetConditionsRequest) GetPageSize() int32
func (*GetConditionsRequest) ProtoMessage ¶
func (*GetConditionsRequest) ProtoMessage()
func (*GetConditionsRequest) ProtoReflect ¶
func (x *GetConditionsRequest) ProtoReflect() protoreflect.Message
func (*GetConditionsRequest) Reset ¶
func (x *GetConditionsRequest) Reset()
func (*GetConditionsRequest) String ¶
func (x *GetConditionsRequest) String() string
func (*GetConditionsRequest) Validate ¶
func (m *GetConditionsRequest) Validate() error
Validate checks the field values on GetConditionsRequest 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 (*GetConditionsRequest) ValidateAll ¶
func (m *GetConditionsRequest) ValidateAll() error
ValidateAll checks the field values on GetConditionsRequest 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 GetConditionsRequestMultiError, or nil if none found.
type GetConditionsRequestMultiError ¶
type GetConditionsRequestMultiError []error
GetConditionsRequestMultiError is an error wrapping multiple validation errors returned by GetConditionsRequest.ValidateAll() if the designated constraints aren't met.
func (GetConditionsRequestMultiError) AllErrors ¶
func (m GetConditionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConditionsRequestMultiError) Error ¶
func (m GetConditionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConditionsRequestValidationError ¶
type GetConditionsRequestValidationError struct {
// contains filtered or unexported fields
}
GetConditionsRequestValidationError is the validation error returned by GetConditionsRequest.Validate if the designated constraints aren't met.
func (GetConditionsRequestValidationError) Cause ¶
func (e GetConditionsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConditionsRequestValidationError) Error ¶
func (e GetConditionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConditionsRequestValidationError) ErrorName ¶
func (e GetConditionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConditionsRequestValidationError) Field ¶
func (e GetConditionsRequestValidationError) Field() string
Field function returns field value.
func (GetConditionsRequestValidationError) Key ¶
func (e GetConditionsRequestValidationError) Key() bool
Key function returns key value.
func (GetConditionsRequestValidationError) Reason ¶
func (e GetConditionsRequestValidationError) Reason() string
Reason function returns reason value.
type GetNotificationRequest ¶
type GetNotificationRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationRequest) Descriptor
deprecated
func (*GetNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationRequest.ProtoReflect.Descriptor instead.
func (*GetNotificationRequest) GetPage ¶
func (x *GetNotificationRequest) GetPage() int32
func (*GetNotificationRequest) GetPageSize ¶
func (x *GetNotificationRequest) GetPageSize() int32
func (*GetNotificationRequest) ProtoMessage ¶
func (*GetNotificationRequest) ProtoMessage()
func (*GetNotificationRequest) ProtoReflect ¶
func (x *GetNotificationRequest) ProtoReflect() protoreflect.Message
func (*GetNotificationRequest) Reset ¶
func (x *GetNotificationRequest) Reset()
func (*GetNotificationRequest) String ¶
func (x *GetNotificationRequest) String() string
func (*GetNotificationRequest) Validate ¶
func (m *GetNotificationRequest) Validate() error
Validate checks the field values on GetNotificationRequest 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 (*GetNotificationRequest) ValidateAll ¶
func (m *GetNotificationRequest) ValidateAll() error
ValidateAll checks the field values on GetNotificationRequest 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 GetNotificationRequestMultiError, or nil if none found.
type GetNotificationRequestMultiError ¶
type GetNotificationRequestMultiError []error
GetNotificationRequestMultiError is an error wrapping multiple validation errors returned by GetNotificationRequest.ValidateAll() if the designated constraints aren't met.
func (GetNotificationRequestMultiError) AllErrors ¶
func (m GetNotificationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNotificationRequestMultiError) Error ¶
func (m GetNotificationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNotificationRequestValidationError ¶
type GetNotificationRequestValidationError struct {
// contains filtered or unexported fields
}
GetNotificationRequestValidationError is the validation error returned by GetNotificationRequest.Validate if the designated constraints aren't met.
func (GetNotificationRequestValidationError) Cause ¶
func (e GetNotificationRequestValidationError) Cause() error
Cause function returns cause value.
func (GetNotificationRequestValidationError) Error ¶
func (e GetNotificationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetNotificationRequestValidationError) ErrorName ¶
func (e GetNotificationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetNotificationRequestValidationError) Field ¶
func (e GetNotificationRequestValidationError) Field() string
Field function returns field value.
func (GetNotificationRequestValidationError) Key ¶
func (e GetNotificationRequestValidationError) Key() bool
Key function returns key value.
func (GetNotificationRequestValidationError) Reason ¶
func (e GetNotificationRequestValidationError) Reason() string
Reason function returns reason value.
type GetNotificationsRequest ¶
type GetNotificationsRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationsRequest) Descriptor
deprecated
func (*GetNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationsRequest.ProtoReflect.Descriptor instead.
func (*GetNotificationsRequest) GetPage ¶
func (x *GetNotificationsRequest) GetPage() int32
func (*GetNotificationsRequest) GetPageSize ¶
func (x *GetNotificationsRequest) GetPageSize() int32
func (*GetNotificationsRequest) ProtoMessage ¶
func (*GetNotificationsRequest) ProtoMessage()
func (*GetNotificationsRequest) ProtoReflect ¶
func (x *GetNotificationsRequest) ProtoReflect() protoreflect.Message
func (*GetNotificationsRequest) Reset ¶
func (x *GetNotificationsRequest) Reset()
func (*GetNotificationsRequest) String ¶
func (x *GetNotificationsRequest) String() string
func (*GetNotificationsRequest) Validate ¶
func (m *GetNotificationsRequest) Validate() error
Validate checks the field values on GetNotificationsRequest 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 (*GetNotificationsRequest) ValidateAll ¶
func (m *GetNotificationsRequest) ValidateAll() error
ValidateAll checks the field values on GetNotificationsRequest 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 GetNotificationsRequestMultiError, or nil if none found.
type GetNotificationsRequestMultiError ¶
type GetNotificationsRequestMultiError []error
GetNotificationsRequestMultiError is an error wrapping multiple validation errors returned by GetNotificationsRequest.ValidateAll() if the designated constraints aren't met.
func (GetNotificationsRequestMultiError) AllErrors ¶
func (m GetNotificationsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNotificationsRequestMultiError) Error ¶
func (m GetNotificationsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNotificationsRequestValidationError ¶
type GetNotificationsRequestValidationError struct {
// contains filtered or unexported fields
}
GetNotificationsRequestValidationError is the validation error returned by GetNotificationsRequest.Validate if the designated constraints aren't met.
func (GetNotificationsRequestValidationError) Cause ¶
func (e GetNotificationsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetNotificationsRequestValidationError) Error ¶
func (e GetNotificationsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetNotificationsRequestValidationError) ErrorName ¶
func (e GetNotificationsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetNotificationsRequestValidationError) Field ¶
func (e GetNotificationsRequestValidationError) Field() string
Field function returns field value.
func (GetNotificationsRequestValidationError) Key ¶
func (e GetNotificationsRequestValidationError) Key() bool
Key function returns key value.
func (GetNotificationsRequestValidationError) Reason ¶
func (e GetNotificationsRequestValidationError) Reason() string
Reason function returns reason value.
type GetOfferRequest ¶
type GetOfferRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetOfferRequest) Descriptor
deprecated
func (*GetOfferRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOfferRequest.ProtoReflect.Descriptor instead.
func (*GetOfferRequest) GetId ¶
func (x *GetOfferRequest) GetId() string
func (*GetOfferRequest) ProtoMessage ¶
func (*GetOfferRequest) ProtoMessage()
func (*GetOfferRequest) ProtoReflect ¶
func (x *GetOfferRequest) ProtoReflect() protoreflect.Message
func (*GetOfferRequest) Reset ¶
func (x *GetOfferRequest) Reset()
func (*GetOfferRequest) String ¶
func (x *GetOfferRequest) String() string
func (*GetOfferRequest) Validate ¶
func (m *GetOfferRequest) Validate() error
Validate checks the field values on GetOfferRequest 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 (*GetOfferRequest) ValidateAll ¶
func (m *GetOfferRequest) ValidateAll() error
ValidateAll checks the field values on GetOfferRequest 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 GetOfferRequestMultiError, or nil if none found.
type GetOfferRequestMultiError ¶
type GetOfferRequestMultiError []error
GetOfferRequestMultiError is an error wrapping multiple validation errors returned by GetOfferRequest.ValidateAll() if the designated constraints aren't met.
func (GetOfferRequestMultiError) AllErrors ¶
func (m GetOfferRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetOfferRequestMultiError) Error ¶
func (m GetOfferRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetOfferRequestValidationError ¶
type GetOfferRequestValidationError struct {
// contains filtered or unexported fields
}
GetOfferRequestValidationError is the validation error returned by GetOfferRequest.Validate if the designated constraints aren't met.
func (GetOfferRequestValidationError) Cause ¶
func (e GetOfferRequestValidationError) Cause() error
Cause function returns cause value.
func (GetOfferRequestValidationError) Error ¶
func (e GetOfferRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetOfferRequestValidationError) ErrorName ¶
func (e GetOfferRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetOfferRequestValidationError) Field ¶
func (e GetOfferRequestValidationError) Field() string
Field function returns field value.
func (GetOfferRequestValidationError) Key ¶
func (e GetOfferRequestValidationError) Key() bool
Key function returns key value.
func (GetOfferRequestValidationError) Reason ¶
func (e GetOfferRequestValidationError) Reason() string
Reason function returns reason value.
type GetOffersRequest ¶
type GetOffersRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*GetOffersRequest) Descriptor
deprecated
func (*GetOffersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOffersRequest.ProtoReflect.Descriptor instead.
func (*GetOffersRequest) GetPage ¶
func (x *GetOffersRequest) GetPage() int32
func (*GetOffersRequest) GetPageSize ¶
func (x *GetOffersRequest) GetPageSize() int32
func (*GetOffersRequest) ProtoMessage ¶
func (*GetOffersRequest) ProtoMessage()
func (*GetOffersRequest) ProtoReflect ¶
func (x *GetOffersRequest) ProtoReflect() protoreflect.Message
func (*GetOffersRequest) Reset ¶
func (x *GetOffersRequest) Reset()
func (*GetOffersRequest) String ¶
func (x *GetOffersRequest) String() string
func (*GetOffersRequest) Validate ¶
func (m *GetOffersRequest) Validate() error
Validate checks the field values on GetOffersRequest 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 (*GetOffersRequest) ValidateAll ¶
func (m *GetOffersRequest) ValidateAll() error
ValidateAll checks the field values on GetOffersRequest 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 GetOffersRequestMultiError, or nil if none found.
type GetOffersRequestMultiError ¶
type GetOffersRequestMultiError []error
GetOffersRequestMultiError is an error wrapping multiple validation errors returned by GetOffersRequest.ValidateAll() if the designated constraints aren't met.
func (GetOffersRequestMultiError) AllErrors ¶
func (m GetOffersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetOffersRequestMultiError) Error ¶
func (m GetOffersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetOffersRequestValidationError ¶
type GetOffersRequestValidationError struct {
// contains filtered or unexported fields
}
GetOffersRequestValidationError is the validation error returned by GetOffersRequest.Validate if the designated constraints aren't met.
func (GetOffersRequestValidationError) Cause ¶
func (e GetOffersRequestValidationError) Cause() error
Cause function returns cause value.
func (GetOffersRequestValidationError) Error ¶
func (e GetOffersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetOffersRequestValidationError) ErrorName ¶
func (e GetOffersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetOffersRequestValidationError) Field ¶
func (e GetOffersRequestValidationError) Field() string
Field function returns field value.
func (GetOffersRequestValidationError) Key ¶
func (e GetOffersRequestValidationError) Key() bool
Key function returns key value.
func (GetOffersRequestValidationError) Reason ¶
func (e GetOffersRequestValidationError) Reason() string
Reason function returns reason value.
type GetUrlsRequest ¶
type GetUrlsRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*GetUrlsRequest) Descriptor
deprecated
func (*GetUrlsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUrlsRequest.ProtoReflect.Descriptor instead.
func (*GetUrlsRequest) GetPage ¶
func (x *GetUrlsRequest) GetPage() int32
func (*GetUrlsRequest) GetPageSize ¶
func (x *GetUrlsRequest) GetPageSize() int32
func (*GetUrlsRequest) ProtoMessage ¶
func (*GetUrlsRequest) ProtoMessage()
func (*GetUrlsRequest) ProtoReflect ¶
func (x *GetUrlsRequest) ProtoReflect() protoreflect.Message
func (*GetUrlsRequest) Reset ¶
func (x *GetUrlsRequest) Reset()
func (*GetUrlsRequest) String ¶
func (x *GetUrlsRequest) String() string
func (*GetUrlsRequest) Validate ¶
func (m *GetUrlsRequest) Validate() error
Validate checks the field values on GetUrlsRequest 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 (*GetUrlsRequest) ValidateAll ¶
func (m *GetUrlsRequest) ValidateAll() error
ValidateAll checks the field values on GetUrlsRequest 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 GetUrlsRequestMultiError, or nil if none found.
type GetUrlsRequestMultiError ¶
type GetUrlsRequestMultiError []error
GetUrlsRequestMultiError is an error wrapping multiple validation errors returned by GetUrlsRequest.ValidateAll() if the designated constraints aren't met.
func (GetUrlsRequestMultiError) AllErrors ¶
func (m GetUrlsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUrlsRequestMultiError) Error ¶
func (m GetUrlsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUrlsRequestValidationError ¶
type GetUrlsRequestValidationError struct {
// contains filtered or unexported fields
}
GetUrlsRequestValidationError is the validation error returned by GetUrlsRequest.Validate if the designated constraints aren't met.
func (GetUrlsRequestValidationError) Cause ¶
func (e GetUrlsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUrlsRequestValidationError) Error ¶
func (e GetUrlsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUrlsRequestValidationError) ErrorName ¶
func (e GetUrlsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUrlsRequestValidationError) Field ¶
func (e GetUrlsRequestValidationError) Field() string
Field function returns field value.
func (GetUrlsRequestValidationError) Key ¶
func (e GetUrlsRequestValidationError) Key() bool
Key function returns key value.
func (GetUrlsRequestValidationError) Reason ¶
func (e GetUrlsRequestValidationError) Reason() string
Reason function returns reason value.
type NotificationListResponse ¶
type NotificationListResponse struct { Notifications []*NotificationResponse `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*NotificationListResponse) Descriptor
deprecated
func (*NotificationListResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationListResponse.ProtoReflect.Descriptor instead.
func (*NotificationListResponse) GetNotifications ¶
func (x *NotificationListResponse) GetNotifications() []*NotificationResponse
func (*NotificationListResponse) GetTotal ¶
func (x *NotificationListResponse) GetTotal() int64
func (*NotificationListResponse) ProtoMessage ¶
func (*NotificationListResponse) ProtoMessage()
func (*NotificationListResponse) ProtoReflect ¶
func (x *NotificationListResponse) ProtoReflect() protoreflect.Message
func (*NotificationListResponse) Reset ¶
func (x *NotificationListResponse) Reset()
func (*NotificationListResponse) String ¶
func (x *NotificationListResponse) String() string
func (*NotificationListResponse) Validate ¶
func (m *NotificationListResponse) Validate() error
Validate checks the field values on NotificationListResponse 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 (*NotificationListResponse) ValidateAll ¶
func (m *NotificationListResponse) ValidateAll() error
ValidateAll checks the field values on NotificationListResponse 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 NotificationListResponseMultiError, or nil if none found.
type NotificationListResponseMultiError ¶
type NotificationListResponseMultiError []error
NotificationListResponseMultiError is an error wrapping multiple validation errors returned by NotificationListResponse.ValidateAll() if the designated constraints aren't met.
func (NotificationListResponseMultiError) AllErrors ¶
func (m NotificationListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotificationListResponseMultiError) Error ¶
func (m NotificationListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotificationListResponseValidationError ¶
type NotificationListResponseValidationError struct {
// contains filtered or unexported fields
}
NotificationListResponseValidationError is the validation error returned by NotificationListResponse.Validate if the designated constraints aren't met.
func (NotificationListResponseValidationError) Cause ¶
func (e NotificationListResponseValidationError) Cause() error
Cause function returns cause value.
func (NotificationListResponseValidationError) Error ¶
func (e NotificationListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NotificationListResponseValidationError) ErrorName ¶
func (e NotificationListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NotificationListResponseValidationError) Field ¶
func (e NotificationListResponseValidationError) Field() string
Field function returns field value.
func (NotificationListResponseValidationError) Key ¶
func (e NotificationListResponseValidationError) Key() bool
Key function returns key value.
func (NotificationListResponseValidationError) Reason ¶
func (e NotificationListResponseValidationError) Reason() string
Reason function returns reason value.
type NotificationResponse ¶
type NotificationResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ConditionId string `protobuf:"bytes,3,opt,name=condition_id,json=conditionId,proto3" json:"condition_id,omitempty"` Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*NotificationResponse) Descriptor
deprecated
func (*NotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationResponse.ProtoReflect.Descriptor instead.
func (*NotificationResponse) GetConditionId ¶
func (x *NotificationResponse) GetConditionId() string
func (*NotificationResponse) GetConfig ¶
func (x *NotificationResponse) GetConfig() string
func (*NotificationResponse) GetCreatedAt ¶
func (x *NotificationResponse) GetCreatedAt() *timestamppb.Timestamp
func (*NotificationResponse) GetId ¶
func (x *NotificationResponse) GetId() string
func (*NotificationResponse) GetName ¶
func (x *NotificationResponse) GetName() string
func (*NotificationResponse) GetUpdatedAt ¶
func (x *NotificationResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*NotificationResponse) ProtoMessage ¶
func (*NotificationResponse) ProtoMessage()
func (*NotificationResponse) ProtoReflect ¶
func (x *NotificationResponse) ProtoReflect() protoreflect.Message
func (*NotificationResponse) Reset ¶
func (x *NotificationResponse) Reset()
func (*NotificationResponse) String ¶
func (x *NotificationResponse) String() string
func (*NotificationResponse) Validate ¶
func (m *NotificationResponse) Validate() error
Validate checks the field values on NotificationResponse 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 (*NotificationResponse) ValidateAll ¶
func (m *NotificationResponse) ValidateAll() error
ValidateAll checks the field values on NotificationResponse 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 NotificationResponseMultiError, or nil if none found.
type NotificationResponseMultiError ¶
type NotificationResponseMultiError []error
NotificationResponseMultiError is an error wrapping multiple validation errors returned by NotificationResponse.ValidateAll() if the designated constraints aren't met.
func (NotificationResponseMultiError) AllErrors ¶
func (m NotificationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotificationResponseMultiError) Error ¶
func (m NotificationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotificationResponseValidationError ¶
type NotificationResponseValidationError struct {
// contains filtered or unexported fields
}
NotificationResponseValidationError is the validation error returned by NotificationResponse.Validate if the designated constraints aren't met.
func (NotificationResponseValidationError) Cause ¶
func (e NotificationResponseValidationError) Cause() error
Cause function returns cause value.
func (NotificationResponseValidationError) Error ¶
func (e NotificationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NotificationResponseValidationError) ErrorName ¶
func (e NotificationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NotificationResponseValidationError) Field ¶
func (e NotificationResponseValidationError) Field() string
Field function returns field value.
func (NotificationResponseValidationError) Key ¶
func (e NotificationResponseValidationError) Key() bool
Key function returns key value.
func (NotificationResponseValidationError) Reason ¶
func (e NotificationResponseValidationError) Reason() string
Reason function returns reason value.
type NotificationServiceClient ¶
type NotificationServiceClient interface { CreateNotification(ctx context.Context, in *CreateNotificationRequest, opts ...grpc.CallOption) (*NotificationResponse, error) GetNotification(ctx context.Context, in *GetNotificationRequest, opts ...grpc.CallOption) (*NotificationResponse, error) ListNotifications(ctx context.Context, in *GetNotificationsRequest, opts ...grpc.CallOption) (*NotificationListResponse, error) DeleteNotification(ctx context.Context, in *GetNotificationRequest, opts ...grpc.CallOption) (*NotificationResponse, error) }
NotificationServiceClient is the client API for NotificationService 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 NewNotificationServiceClient ¶
func NewNotificationServiceClient(cc grpc.ClientConnInterface) NotificationServiceClient
type NotificationServiceServer ¶
type NotificationServiceServer interface { CreateNotification(context.Context, *CreateNotificationRequest) (*NotificationResponse, error) GetNotification(context.Context, *GetNotificationRequest) (*NotificationResponse, error) ListNotifications(context.Context, *GetNotificationsRequest) (*NotificationListResponse, error) DeleteNotification(context.Context, *GetNotificationRequest) (*NotificationResponse, error) // contains filtered or unexported methods }
NotificationServiceServer is the server API for NotificationService service. All implementations must embed UnimplementedNotificationServiceServer for forward compatibility
type OfferHistory ¶
type OfferHistory struct { Updated int64 `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"` Price int32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` // contains filtered or unexported fields }
func (*OfferHistory) Descriptor
deprecated
func (*OfferHistory) Descriptor() ([]byte, []int)
Deprecated: Use OfferHistory.ProtoReflect.Descriptor instead.
func (*OfferHistory) GetPrice ¶
func (x *OfferHistory) GetPrice() int32
func (*OfferHistory) GetUpdated ¶
func (x *OfferHistory) GetUpdated() int64
func (*OfferHistory) ProtoMessage ¶
func (*OfferHistory) ProtoMessage()
func (*OfferHistory) ProtoReflect ¶
func (x *OfferHistory) ProtoReflect() protoreflect.Message
func (*OfferHistory) Reset ¶
func (x *OfferHistory) Reset()
func (*OfferHistory) String ¶
func (x *OfferHistory) String() string
func (*OfferHistory) Validate ¶
func (m *OfferHistory) Validate() error
Validate checks the field values on OfferHistory 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 (*OfferHistory) ValidateAll ¶
func (m *OfferHistory) ValidateAll() error
ValidateAll checks the field values on OfferHistory 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 OfferHistoryMultiError, or nil if none found.
type OfferHistoryMultiError ¶
type OfferHistoryMultiError []error
OfferHistoryMultiError is an error wrapping multiple validation errors returned by OfferHistory.ValidateAll() if the designated constraints aren't met.
func (OfferHistoryMultiError) AllErrors ¶
func (m OfferHistoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OfferHistoryMultiError) Error ¶
func (m OfferHistoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OfferHistoryValidationError ¶
type OfferHistoryValidationError struct {
// contains filtered or unexported fields
}
OfferHistoryValidationError is the validation error returned by OfferHistory.Validate if the designated constraints aren't met.
func (OfferHistoryValidationError) Cause ¶
func (e OfferHistoryValidationError) Cause() error
Cause function returns cause value.
func (OfferHistoryValidationError) Error ¶
func (e OfferHistoryValidationError) Error() string
Error satisfies the builtin error interface
func (OfferHistoryValidationError) ErrorName ¶
func (e OfferHistoryValidationError) ErrorName() string
ErrorName returns error name.
func (OfferHistoryValidationError) Field ¶
func (e OfferHistoryValidationError) Field() string
Field function returns field value.
func (OfferHistoryValidationError) Key ¶
func (e OfferHistoryValidationError) Key() bool
Key function returns key value.
func (OfferHistoryValidationError) Reason ¶
func (e OfferHistoryValidationError) Reason() string
Reason function returns reason value.
type OfferListResponse ¶
type OfferListResponse struct { Offers []*OfferResponse `protobuf:"bytes,1,rep,name=offers,proto3" json:"offers,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*OfferListResponse) Descriptor
deprecated
func (*OfferListResponse) Descriptor() ([]byte, []int)
Deprecated: Use OfferListResponse.ProtoReflect.Descriptor instead.
func (*OfferListResponse) GetOffers ¶
func (x *OfferListResponse) GetOffers() []*OfferResponse
func (*OfferListResponse) GetTotal ¶
func (x *OfferListResponse) GetTotal() int64
func (*OfferListResponse) ProtoMessage ¶
func (*OfferListResponse) ProtoMessage()
func (*OfferListResponse) ProtoReflect ¶
func (x *OfferListResponse) ProtoReflect() protoreflect.Message
func (*OfferListResponse) Reset ¶
func (x *OfferListResponse) Reset()
func (*OfferListResponse) String ¶
func (x *OfferListResponse) String() string
func (*OfferListResponse) Validate ¶
func (m *OfferListResponse) Validate() error
Validate checks the field values on OfferListResponse 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 (*OfferListResponse) ValidateAll ¶
func (m *OfferListResponse) ValidateAll() error
ValidateAll checks the field values on OfferListResponse 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 OfferListResponseMultiError, or nil if none found.
type OfferListResponseMultiError ¶
type OfferListResponseMultiError []error
OfferListResponseMultiError is an error wrapping multiple validation errors returned by OfferListResponse.ValidateAll() if the designated constraints aren't met.
func (OfferListResponseMultiError) AllErrors ¶
func (m OfferListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OfferListResponseMultiError) Error ¶
func (m OfferListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OfferListResponseValidationError ¶
type OfferListResponseValidationError struct {
// contains filtered or unexported fields
}
OfferListResponseValidationError is the validation error returned by OfferListResponse.Validate if the designated constraints aren't met.
func (OfferListResponseValidationError) Cause ¶
func (e OfferListResponseValidationError) Cause() error
Cause function returns cause value.
func (OfferListResponseValidationError) Error ¶
func (e OfferListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (OfferListResponseValidationError) ErrorName ¶
func (e OfferListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (OfferListResponseValidationError) Field ¶
func (e OfferListResponseValidationError) Field() string
Field function returns field value.
func (OfferListResponseValidationError) Key ¶
func (e OfferListResponseValidationError) Key() bool
Key function returns key value.
func (OfferListResponseValidationError) Reason ¶
func (e OfferListResponseValidationError) Reason() string
Reason function returns reason value.
type OfferResponse ¶
type OfferResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SiteId string `protobuf:"bytes,2,opt,name=siteId,proto3" json:"siteId,omitempty"` Site string `protobuf:"bytes,3,opt,name=site,proto3" json:"site,omitempty"` Created int64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"` Updated int64 `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` Area float32 `protobuf:"fixed32,8,opt,name=area,proto3" json:"area,omitempty"` Rooms int32 `protobuf:"varint,9,opt,name=rooms,proto3" json:"rooms,omitempty"` Floor int32 `protobuf:"varint,10,opt,name=floor,proto3" json:"floor,omitempty"` BuildingFloors int32 `protobuf:"varint,11,opt,name=buildingFloors,proto3" json:"buildingFloors,omitempty"` Year int32 `protobuf:"varint,12,opt,name=year,proto3" json:"year,omitempty"` Heating string `protobuf:"bytes,13,opt,name=heating,proto3" json:"heating,omitempty"` Market string `protobuf:"bytes,14,opt,name=market,proto3" json:"market,omitempty"` Window string `protobuf:"bytes,15,opt,name=window,proto3" json:"window,omitempty"` Elevator bool `protobuf:"varint,16,opt,name=elevator,proto3" json:"elevator,omitempty"` Balcony bool `protobuf:"varint,17,opt,name=balcony,proto3" json:"balcony,omitempty"` Media []string `protobuf:"bytes,18,rep,name=media,proto3" json:"media,omitempty"` History []*OfferHistory `protobuf:"bytes,19,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
func (*OfferResponse) Descriptor
deprecated
func (*OfferResponse) Descriptor() ([]byte, []int)
Deprecated: Use OfferResponse.ProtoReflect.Descriptor instead.
func (*OfferResponse) GetArea ¶
func (x *OfferResponse) GetArea() float32
func (*OfferResponse) GetBalcony ¶
func (x *OfferResponse) GetBalcony() bool
func (*OfferResponse) GetBuildingFloors ¶
func (x *OfferResponse) GetBuildingFloors() int32
func (*OfferResponse) GetCreated ¶
func (x *OfferResponse) GetCreated() int64
func (*OfferResponse) GetElevator ¶
func (x *OfferResponse) GetElevator() bool
func (*OfferResponse) GetFloor ¶
func (x *OfferResponse) GetFloor() int32
func (*OfferResponse) GetHeating ¶
func (x *OfferResponse) GetHeating() string
func (*OfferResponse) GetHistory ¶
func (x *OfferResponse) GetHistory() []*OfferHistory
func (*OfferResponse) GetId ¶
func (x *OfferResponse) GetId() string
func (*OfferResponse) GetMarket ¶
func (x *OfferResponse) GetMarket() string
func (*OfferResponse) GetMedia ¶
func (x *OfferResponse) GetMedia() []string
func (*OfferResponse) GetName ¶
func (x *OfferResponse) GetName() string
func (*OfferResponse) GetRooms ¶
func (x *OfferResponse) GetRooms() int32
func (*OfferResponse) GetSite ¶
func (x *OfferResponse) GetSite() string
func (*OfferResponse) GetSiteId ¶
func (x *OfferResponse) GetSiteId() string
func (*OfferResponse) GetUpdated ¶
func (x *OfferResponse) GetUpdated() int64
func (*OfferResponse) GetUrl ¶
func (x *OfferResponse) GetUrl() string
func (*OfferResponse) GetWindow ¶
func (x *OfferResponse) GetWindow() string
func (*OfferResponse) GetYear ¶
func (x *OfferResponse) GetYear() int32
func (*OfferResponse) ProtoMessage ¶
func (*OfferResponse) ProtoMessage()
func (*OfferResponse) ProtoReflect ¶
func (x *OfferResponse) ProtoReflect() protoreflect.Message
func (*OfferResponse) Reset ¶
func (x *OfferResponse) Reset()
func (*OfferResponse) String ¶
func (x *OfferResponse) String() string
func (*OfferResponse) Validate ¶
func (m *OfferResponse) Validate() error
Validate checks the field values on OfferResponse 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 (*OfferResponse) ValidateAll ¶
func (m *OfferResponse) ValidateAll() error
ValidateAll checks the field values on OfferResponse 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 OfferResponseMultiError, or nil if none found.
type OfferResponseMultiError ¶
type OfferResponseMultiError []error
OfferResponseMultiError is an error wrapping multiple validation errors returned by OfferResponse.ValidateAll() if the designated constraints aren't met.
func (OfferResponseMultiError) AllErrors ¶
func (m OfferResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OfferResponseMultiError) Error ¶
func (m OfferResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OfferResponseValidationError ¶
type OfferResponseValidationError struct {
// contains filtered or unexported fields
}
OfferResponseValidationError is the validation error returned by OfferResponse.Validate if the designated constraints aren't met.
func (OfferResponseValidationError) Cause ¶
func (e OfferResponseValidationError) Cause() error
Cause function returns cause value.
func (OfferResponseValidationError) Error ¶
func (e OfferResponseValidationError) Error() string
Error satisfies the builtin error interface
func (OfferResponseValidationError) ErrorName ¶
func (e OfferResponseValidationError) ErrorName() string
ErrorName returns error name.
func (OfferResponseValidationError) Field ¶
func (e OfferResponseValidationError) Field() string
Field function returns field value.
func (OfferResponseValidationError) Key ¶
func (e OfferResponseValidationError) Key() bool
Key function returns key value.
func (OfferResponseValidationError) Reason ¶
func (e OfferResponseValidationError) Reason() string
Reason function returns reason value.
type OfferServiceClient ¶
type OfferServiceClient interface { GetOffer(ctx context.Context, in *GetOfferRequest, opts ...grpc.CallOption) (*OfferResponse, error) GetOffers(ctx context.Context, in *GetOffersRequest, opts ...grpc.CallOption) (*OfferListResponse, error) }
OfferServiceClient is the client API for OfferService 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 NewOfferServiceClient ¶
func NewOfferServiceClient(cc grpc.ClientConnInterface) OfferServiceClient
type OfferServiceServer ¶
type OfferServiceServer interface { GetOffer(context.Context, *GetOfferRequest) (*OfferResponse, error) GetOffers(context.Context, *GetOffersRequest) (*OfferListResponse, error) // contains filtered or unexported methods }
OfferServiceServer is the server API for OfferService service. All implementations must embed UnimplementedOfferServiceServer for forward compatibility
type ProcessingStatus ¶
type ProcessingStatus struct { IsRunning bool `protobuf:"varint,1,opt,name=isRunning,proto3" json:"isRunning,omitempty"` LastRun *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=lastRun,proto3" json:"lastRun,omitempty"` NextRun *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=nextRun,proto3" json:"nextRun,omitempty"` // contains filtered or unexported fields }
func (*ProcessingStatus) Descriptor
deprecated
func (*ProcessingStatus) Descriptor() ([]byte, []int)
Deprecated: Use ProcessingStatus.ProtoReflect.Descriptor instead.
func (*ProcessingStatus) GetIsRunning ¶
func (x *ProcessingStatus) GetIsRunning() bool
func (*ProcessingStatus) GetLastRun ¶
func (x *ProcessingStatus) GetLastRun() *timestamppb.Timestamp
func (*ProcessingStatus) GetNextRun ¶
func (x *ProcessingStatus) GetNextRun() *timestamppb.Timestamp
func (*ProcessingStatus) ProtoMessage ¶
func (*ProcessingStatus) ProtoMessage()
func (*ProcessingStatus) ProtoReflect ¶
func (x *ProcessingStatus) ProtoReflect() protoreflect.Message
func (*ProcessingStatus) Reset ¶
func (x *ProcessingStatus) Reset()
func (*ProcessingStatus) String ¶
func (x *ProcessingStatus) String() string
func (*ProcessingStatus) Validate ¶
func (m *ProcessingStatus) Validate() error
Validate checks the field values on ProcessingStatus 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 (*ProcessingStatus) ValidateAll ¶
func (m *ProcessingStatus) ValidateAll() error
ValidateAll checks the field values on ProcessingStatus 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 ProcessingStatusMultiError, or nil if none found.
type ProcessingStatusMultiError ¶
type ProcessingStatusMultiError []error
ProcessingStatusMultiError is an error wrapping multiple validation errors returned by ProcessingStatus.ValidateAll() if the designated constraints aren't met.
func (ProcessingStatusMultiError) AllErrors ¶
func (m ProcessingStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProcessingStatusMultiError) Error ¶
func (m ProcessingStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProcessingStatusValidationError ¶
type ProcessingStatusValidationError struct {
// contains filtered or unexported fields
}
ProcessingStatusValidationError is the validation error returned by ProcessingStatus.Validate if the designated constraints aren't met.
func (ProcessingStatusValidationError) Cause ¶
func (e ProcessingStatusValidationError) Cause() error
Cause function returns cause value.
func (ProcessingStatusValidationError) Error ¶
func (e ProcessingStatusValidationError) Error() string
Error satisfies the builtin error interface
func (ProcessingStatusValidationError) ErrorName ¶
func (e ProcessingStatusValidationError) ErrorName() string
ErrorName returns error name.
func (ProcessingStatusValidationError) Field ¶
func (e ProcessingStatusValidationError) Field() string
Field function returns field value.
func (ProcessingStatusValidationError) Key ¶
func (e ProcessingStatusValidationError) Key() bool
Key function returns key value.
func (ProcessingStatusValidationError) Reason ¶
func (e ProcessingStatusValidationError) Reason() string
Reason function returns reason value.
type ProcessorServiceClient ¶
type ProcessorServiceClient interface { StartProcessing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) StopProcessing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) GetProcessingStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ProcessingStatus, error) }
ProcessorServiceClient is the client API for ProcessorService 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 NewProcessorServiceClient ¶
func NewProcessorServiceClient(cc grpc.ClientConnInterface) ProcessorServiceClient
type ProcessorServiceServer ¶
type ProcessorServiceServer interface { StartProcessing(context.Context, *emptypb.Empty) (*emptypb.Empty, error) StopProcessing(context.Context, *emptypb.Empty) (*emptypb.Empty, error) GetProcessingStatus(context.Context, *emptypb.Empty) (*ProcessingStatus, error) // contains filtered or unexported methods }
ProcessorServiceServer is the server API for ProcessorService service. All implementations must embed UnimplementedProcessorServiceServer for forward compatibility
type SetStateRequest ¶
type SetStateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` IsDisabled bool `protobuf:"varint,2,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty"` // contains filtered or unexported fields }
func (*SetStateRequest) Descriptor
deprecated
func (*SetStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetStateRequest.ProtoReflect.Descriptor instead.
func (*SetStateRequest) GetId ¶
func (x *SetStateRequest) GetId() string
func (*SetStateRequest) GetIsDisabled ¶
func (x *SetStateRequest) GetIsDisabled() bool
func (*SetStateRequest) ProtoMessage ¶
func (*SetStateRequest) ProtoMessage()
func (*SetStateRequest) ProtoReflect ¶
func (x *SetStateRequest) ProtoReflect() protoreflect.Message
func (*SetStateRequest) Reset ¶
func (x *SetStateRequest) Reset()
func (*SetStateRequest) String ¶
func (x *SetStateRequest) String() string
func (*SetStateRequest) Validate ¶
func (m *SetStateRequest) Validate() error
Validate checks the field values on SetStateRequest 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 (*SetStateRequest) ValidateAll ¶
func (m *SetStateRequest) ValidateAll() error
ValidateAll checks the field values on SetStateRequest 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 SetStateRequestMultiError, or nil if none found.
type SetStateRequestMultiError ¶
type SetStateRequestMultiError []error
SetStateRequestMultiError is an error wrapping multiple validation errors returned by SetStateRequest.ValidateAll() if the designated constraints aren't met.
func (SetStateRequestMultiError) AllErrors ¶
func (m SetStateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetStateRequestMultiError) Error ¶
func (m SetStateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetStateRequestValidationError ¶
type SetStateRequestValidationError struct {
// contains filtered or unexported fields
}
SetStateRequestValidationError is the validation error returned by SetStateRequest.Validate if the designated constraints aren't met.
func (SetStateRequestValidationError) Cause ¶
func (e SetStateRequestValidationError) Cause() error
Cause function returns cause value.
func (SetStateRequestValidationError) Error ¶
func (e SetStateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetStateRequestValidationError) ErrorName ¶
func (e SetStateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetStateRequestValidationError) Field ¶
func (e SetStateRequestValidationError) Field() string
Field function returns field value.
func (SetStateRequestValidationError) Key ¶
func (e SetStateRequestValidationError) Key() bool
Key function returns key value.
func (SetStateRequestValidationError) Reason ¶
func (e SetStateRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedConditionServiceServer ¶
type UnimplementedConditionServiceServer struct { }
UnimplementedConditionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedConditionServiceServer) AddCondition ¶
func (UnimplementedConditionServiceServer) AddCondition(context.Context, *AddConditionRequest) (*ConditionResponse, error)
func (UnimplementedConditionServiceServer) DeleteCondition ¶
func (UnimplementedConditionServiceServer) DeleteCondition(context.Context, *GetConditionRequest) (*ConditionResponse, error)
func (UnimplementedConditionServiceServer) GetCondition ¶
func (UnimplementedConditionServiceServer) GetCondition(context.Context, *GetConditionRequest) (*ConditionResponse, error)
func (UnimplementedConditionServiceServer) GetConditions ¶
func (UnimplementedConditionServiceServer) GetConditions(context.Context, *GetConditionsRequest) (*ConditionsListResponse, error)
type UnimplementedNotificationServiceServer ¶
type UnimplementedNotificationServiceServer struct { }
UnimplementedNotificationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNotificationServiceServer) CreateNotification ¶
func (UnimplementedNotificationServiceServer) CreateNotification(context.Context, *CreateNotificationRequest) (*NotificationResponse, error)
func (UnimplementedNotificationServiceServer) DeleteNotification ¶
func (UnimplementedNotificationServiceServer) DeleteNotification(context.Context, *GetNotificationRequest) (*NotificationResponse, error)
func (UnimplementedNotificationServiceServer) GetNotification ¶
func (UnimplementedNotificationServiceServer) GetNotification(context.Context, *GetNotificationRequest) (*NotificationResponse, error)
func (UnimplementedNotificationServiceServer) ListNotifications ¶
func (UnimplementedNotificationServiceServer) ListNotifications(context.Context, *GetNotificationsRequest) (*NotificationListResponse, error)
type UnimplementedOfferServiceServer ¶
type UnimplementedOfferServiceServer struct { }
UnimplementedOfferServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOfferServiceServer) GetOffer ¶
func (UnimplementedOfferServiceServer) GetOffer(context.Context, *GetOfferRequest) (*OfferResponse, error)
func (UnimplementedOfferServiceServer) GetOffers ¶
func (UnimplementedOfferServiceServer) GetOffers(context.Context, *GetOffersRequest) (*OfferListResponse, error)
type UnimplementedProcessorServiceServer ¶
type UnimplementedProcessorServiceServer struct { }
UnimplementedProcessorServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedProcessorServiceServer) GetProcessingStatus ¶
func (UnimplementedProcessorServiceServer) GetProcessingStatus(context.Context, *emptypb.Empty) (*ProcessingStatus, error)
func (UnimplementedProcessorServiceServer) StartProcessing ¶
func (UnimplementedProcessorServiceServer) StopProcessing ¶
type UnimplementedWatchUrlServiceServer ¶
type UnimplementedWatchUrlServiceServer struct { }
UnimplementedWatchUrlServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWatchUrlServiceServer) AddUrl ¶
func (UnimplementedWatchUrlServiceServer) AddUrl(context.Context, *AddUrlRequest) (*UrlResponse, error)
func (UnimplementedWatchUrlServiceServer) GetUrls ¶
func (UnimplementedWatchUrlServiceServer) GetUrls(context.Context, *GetUrlsRequest) (*UrlListResponse, error)
func (UnimplementedWatchUrlServiceServer) SetState ¶
func (UnimplementedWatchUrlServiceServer) SetState(context.Context, *SetStateRequest) (*UrlResponse, error)
type UnsafeConditionServiceServer ¶
type UnsafeConditionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConditionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConditionServiceServer will result in compilation errors.
type UnsafeNotificationServiceServer ¶
type UnsafeNotificationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNotificationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotificationServiceServer will result in compilation errors.
type UnsafeOfferServiceServer ¶
type UnsafeOfferServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOfferServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OfferServiceServer will result in compilation errors.
type UnsafeProcessorServiceServer ¶
type UnsafeProcessorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProcessorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProcessorServiceServer will result in compilation errors.
type UnsafeWatchUrlServiceServer ¶
type UnsafeWatchUrlServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWatchUrlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WatchUrlServiceServer will result in compilation errors.
type UrlListResponse ¶
type UrlListResponse struct { Urls []*UrlResponse `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*UrlListResponse) Descriptor
deprecated
func (*UrlListResponse) Descriptor() ([]byte, []int)
Deprecated: Use UrlListResponse.ProtoReflect.Descriptor instead.
func (*UrlListResponse) GetTotal ¶
func (x *UrlListResponse) GetTotal() int64
func (*UrlListResponse) GetUrls ¶
func (x *UrlListResponse) GetUrls() []*UrlResponse
func (*UrlListResponse) ProtoMessage ¶
func (*UrlListResponse) ProtoMessage()
func (*UrlListResponse) ProtoReflect ¶
func (x *UrlListResponse) ProtoReflect() protoreflect.Message
func (*UrlListResponse) Reset ¶
func (x *UrlListResponse) Reset()
func (*UrlListResponse) String ¶
func (x *UrlListResponse) String() string
func (*UrlListResponse) Validate ¶
func (m *UrlListResponse) Validate() error
Validate checks the field values on UrlListResponse 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 (*UrlListResponse) ValidateAll ¶
func (m *UrlListResponse) ValidateAll() error
ValidateAll checks the field values on UrlListResponse 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 UrlListResponseMultiError, or nil if none found.
type UrlListResponseMultiError ¶
type UrlListResponseMultiError []error
UrlListResponseMultiError is an error wrapping multiple validation errors returned by UrlListResponse.ValidateAll() if the designated constraints aren't met.
func (UrlListResponseMultiError) AllErrors ¶
func (m UrlListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UrlListResponseMultiError) Error ¶
func (m UrlListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UrlListResponseValidationError ¶
type UrlListResponseValidationError struct {
// contains filtered or unexported fields
}
UrlListResponseValidationError is the validation error returned by UrlListResponse.Validate if the designated constraints aren't met.
func (UrlListResponseValidationError) Cause ¶
func (e UrlListResponseValidationError) Cause() error
Cause function returns cause value.
func (UrlListResponseValidationError) Error ¶
func (e UrlListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UrlListResponseValidationError) ErrorName ¶
func (e UrlListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UrlListResponseValidationError) Field ¶
func (e UrlListResponseValidationError) Field() string
Field function returns field value.
func (UrlListResponseValidationError) Key ¶
func (e UrlListResponseValidationError) Key() bool
Key function returns key value.
func (UrlListResponseValidationError) Reason ¶
func (e UrlListResponseValidationError) Reason() string
Reason function returns reason value.
type UrlResponse ¶
type UrlResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` IsList bool `protobuf:"varint,2,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` IsDisabled bool `protobuf:"varint,4,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty"` Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"` Updated int64 `protobuf:"varint,6,opt,name=updated,proto3" json:"updated,omitempty"` // contains filtered or unexported fields }
func (*UrlResponse) Descriptor
deprecated
func (*UrlResponse) Descriptor() ([]byte, []int)
Deprecated: Use UrlResponse.ProtoReflect.Descriptor instead.
func (*UrlResponse) GetCreated ¶
func (x *UrlResponse) GetCreated() int64
func (*UrlResponse) GetId ¶
func (x *UrlResponse) GetId() string
func (*UrlResponse) GetIsDisabled ¶
func (x *UrlResponse) GetIsDisabled() bool
func (*UrlResponse) GetIsList ¶
func (x *UrlResponse) GetIsList() bool
func (*UrlResponse) GetUpdated ¶
func (x *UrlResponse) GetUpdated() int64
func (*UrlResponse) GetUrl ¶
func (x *UrlResponse) GetUrl() string
func (*UrlResponse) ProtoMessage ¶
func (*UrlResponse) ProtoMessage()
func (*UrlResponse) ProtoReflect ¶
func (x *UrlResponse) ProtoReflect() protoreflect.Message
func (*UrlResponse) Reset ¶
func (x *UrlResponse) Reset()
func (*UrlResponse) String ¶
func (x *UrlResponse) String() string
func (*UrlResponse) Validate ¶
func (m *UrlResponse) Validate() error
Validate checks the field values on UrlResponse 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 (*UrlResponse) ValidateAll ¶
func (m *UrlResponse) ValidateAll() error
ValidateAll checks the field values on UrlResponse 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 UrlResponseMultiError, or nil if none found.
type UrlResponseMultiError ¶
type UrlResponseMultiError []error
UrlResponseMultiError is an error wrapping multiple validation errors returned by UrlResponse.ValidateAll() if the designated constraints aren't met.
func (UrlResponseMultiError) AllErrors ¶
func (m UrlResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UrlResponseMultiError) Error ¶
func (m UrlResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UrlResponseValidationError ¶
type UrlResponseValidationError struct {
// contains filtered or unexported fields
}
UrlResponseValidationError is the validation error returned by UrlResponse.Validate if the designated constraints aren't met.
func (UrlResponseValidationError) Cause ¶
func (e UrlResponseValidationError) Cause() error
Cause function returns cause value.
func (UrlResponseValidationError) Error ¶
func (e UrlResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UrlResponseValidationError) ErrorName ¶
func (e UrlResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UrlResponseValidationError) Field ¶
func (e UrlResponseValidationError) Field() string
Field function returns field value.
func (UrlResponseValidationError) Key ¶
func (e UrlResponseValidationError) Key() bool
Key function returns key value.
func (UrlResponseValidationError) Reason ¶
func (e UrlResponseValidationError) Reason() string
Reason function returns reason value.
type WatchUrlServiceClient ¶
type WatchUrlServiceClient interface { AddUrl(ctx context.Context, in *AddUrlRequest, opts ...grpc.CallOption) (*UrlResponse, error) SetState(ctx context.Context, in *SetStateRequest, opts ...grpc.CallOption) (*UrlResponse, error) GetUrls(ctx context.Context, in *GetUrlsRequest, opts ...grpc.CallOption) (*UrlListResponse, error) }
WatchUrlServiceClient is the client API for WatchUrlService 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 NewWatchUrlServiceClient ¶
func NewWatchUrlServiceClient(cc grpc.ClientConnInterface) WatchUrlServiceClient
type WatchUrlServiceServer ¶
type WatchUrlServiceServer interface { AddUrl(context.Context, *AddUrlRequest) (*UrlResponse, error) SetState(context.Context, *SetStateRequest) (*UrlResponse, error) GetUrls(context.Context, *GetUrlsRequest) (*UrlListResponse, error) // contains filtered or unexported methods }
WatchUrlServiceServer is the server API for WatchUrlService service. All implementations must embed UnimplementedWatchUrlServiceServer for forward compatibility
Source Files ¶
- condition.pb.go
- condition.pb.validate.go
- condition_grpc.pb.go
- notification.pb.go
- notification.pb.validate.go
- notification_grpc.pb.go
- offer.pb.go
- offer.pb.validate.go
- offer_grpc.pb.go
- processor.pb.go
- processor.pb.validate.go
- processor_grpc.pb.go
- watch_url.pb.go
- watch_url.pb.validate.go
- watch_url_grpc.pb.go