api

package
v0.0.0-...-e082e2d Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
const (
	OfferService_GetOffer_FullMethodName  = "/api.OfferService/GetOffer"
	OfferService_GetOffers_FullMethodName = "/api.OfferService/GetOffers"
)
View Source
const (
	ProcessorService_StartProcessing_FullMethodName     = "/api.ProcessorService/StartProcessing"
	ProcessorService_StopProcessing_FullMethodName      = "/api.ProcessorService/StopProcessing"
	ProcessorService_GetProcessingStatus_FullMethodName = "/api.ProcessorService/GetProcessingStatus"
)
View Source
const (
	WatchUrlService_AddUrl_FullMethodName   = "/api.WatchUrlService/AddUrl"
	WatchUrlService_SetState_FullMethodName = "/api.WatchUrlService/SetState"
	WatchUrlService_GetUrls_FullMethodName  = "/api.WatchUrlService/GetUrls"
)

Variables

View Source
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)

View Source
var File_condition_proto protoreflect.FileDescriptor
View Source
var File_notification_proto protoreflect.FileDescriptor
View Source
var File_offer_proto protoreflect.FileDescriptor
View Source
var File_processor_proto protoreflect.FileDescriptor
View Source
var File_watch_url_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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)

View Source
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

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

Cause function returns cause value.

func (AddConditionRequestValidationError) Error

Error satisfies the builtin error interface

func (AddConditionRequestValidationError) ErrorName

ErrorName returns error name.

func (AddConditionRequestValidationError) Field

Field function returns field value.

func (AddConditionRequestValidationError) Key

Key function returns key value.

func (AddConditionRequestValidationError) Reason

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

Cause function returns cause value.

func (AddUrlRequestValidationError) Error

Error satisfies the builtin error interface

func (AddUrlRequestValidationError) ErrorName

func (e AddUrlRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddUrlRequestValidationError) Field

Field function returns field value.

func (AddUrlRequestValidationError) Key

Key function returns key value.

func (AddUrlRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ConditionResponseValidationError) Error

Error satisfies the builtin error interface

func (ConditionResponseValidationError) ErrorName

ErrorName returns error name.

func (ConditionResponseValidationError) Field

Field function returns field value.

func (ConditionResponseValidationError) Key

Key function returns key value.

func (ConditionResponseValidationError) Reason

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.

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

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

Cause function returns cause value.

func (ConditionsListResponseValidationError) Error

Error satisfies the builtin error interface

func (ConditionsListResponseValidationError) ErrorName

ErrorName returns error name.

func (ConditionsListResponseValidationError) Field

Field function returns field value.

func (ConditionsListResponseValidationError) Key

Key function returns key value.

func (ConditionsListResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (CreateNotificationRequestMultiError) Error

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

Cause function returns cause value.

func (CreateNotificationRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateNotificationRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateNotificationRequestValidationError) Field

Field function returns field value.

func (CreateNotificationRequestValidationError) Key

Key function returns key value.

func (CreateNotificationRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetConditionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConditionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConditionRequestValidationError) Field

Field function returns field value.

func (GetConditionRequestValidationError) Key

Key function returns key value.

func (GetConditionRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetConditionsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConditionsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConditionsRequestValidationError) Field

Field function returns field value.

func (GetConditionsRequestValidationError) Key

Key function returns key value.

func (GetConditionsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetNotificationRequestValidationError) Error

Error satisfies the builtin error interface

func (GetNotificationRequestValidationError) ErrorName

ErrorName returns error name.

func (GetNotificationRequestValidationError) Field

Field function returns field value.

func (GetNotificationRequestValidationError) Key

Key function returns key value.

func (GetNotificationRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetNotificationsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetNotificationsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetNotificationsRequestValidationError) Field

Field function returns field value.

func (GetNotificationsRequestValidationError) Key

Key function returns key value.

func (GetNotificationsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetOfferRequestValidationError) Error

Error satisfies the builtin error interface

func (GetOfferRequestValidationError) ErrorName

func (e GetOfferRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetOfferRequestValidationError) Field

Field function returns field value.

func (GetOfferRequestValidationError) Key

Key function returns key value.

func (GetOfferRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetOffersRequestValidationError) Error

Error satisfies the builtin error interface

func (GetOffersRequestValidationError) ErrorName

ErrorName returns error name.

func (GetOffersRequestValidationError) Field

Field function returns field value.

func (GetOffersRequestValidationError) Key

Key function returns key value.

func (GetOffersRequestValidationError) Reason

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

Cause function returns cause value.

func (GetUrlsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUrlsRequestValidationError) ErrorName

func (e GetUrlsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetUrlsRequestValidationError) Field

Field function returns field value.

func (GetUrlsRequestValidationError) Key

Key function returns key value.

func (GetUrlsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (NotificationListResponseValidationError) Error

Error satisfies the builtin error interface

func (NotificationListResponseValidationError) ErrorName

ErrorName returns error name.

func (NotificationListResponseValidationError) Field

Field function returns field value.

func (NotificationListResponseValidationError) Key

Key function returns key value.

func (NotificationListResponseValidationError) Reason

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

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

Cause function returns cause value.

func (NotificationResponseValidationError) Error

Error satisfies the builtin error interface

func (NotificationResponseValidationError) ErrorName

ErrorName returns error name.

func (NotificationResponseValidationError) Field

Field function returns field value.

func (NotificationResponseValidationError) Key

Key function returns key value.

func (NotificationResponseValidationError) Reason

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.

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

Cause function returns cause value.

func (OfferHistoryValidationError) Error

Error satisfies the builtin error interface

func (OfferHistoryValidationError) ErrorName

func (e OfferHistoryValidationError) ErrorName() string

ErrorName returns error name.

func (OfferHistoryValidationError) Field

Field function returns field value.

func (OfferHistoryValidationError) Key

Key function returns key value.

func (OfferHistoryValidationError) Reason

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

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

Cause function returns cause value.

func (OfferListResponseValidationError) Error

Error satisfies the builtin error interface

func (OfferListResponseValidationError) ErrorName

ErrorName returns error name.

func (OfferListResponseValidationError) Field

Field function returns field value.

func (OfferListResponseValidationError) Key

Key function returns key value.

func (OfferListResponseValidationError) Reason

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

Cause function returns cause value.

func (OfferResponseValidationError) Error

Error satisfies the builtin error interface

func (OfferResponseValidationError) ErrorName

func (e OfferResponseValidationError) ErrorName() string

ErrorName returns error name.

func (OfferResponseValidationError) Field

Field function returns field value.

func (OfferResponseValidationError) Key

Key function returns key value.

func (OfferResponseValidationError) Reason

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.

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

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

Cause function returns cause value.

func (ProcessingStatusValidationError) Error

Error satisfies the builtin error interface

func (ProcessingStatusValidationError) ErrorName

ErrorName returns error name.

func (ProcessingStatusValidationError) Field

Field function returns field value.

func (ProcessingStatusValidationError) Key

Key function returns key value.

func (ProcessingStatusValidationError) Reason

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.

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

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

Cause function returns cause value.

func (SetStateRequestValidationError) Error

Error satisfies the builtin error interface

func (SetStateRequestValidationError) ErrorName

func (e SetStateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SetStateRequestValidationError) Field

Field function returns field value.

func (SetStateRequestValidationError) Key

Key function returns key value.

func (SetStateRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedConditionServiceServer

type UnimplementedConditionServiceServer struct {
}

UnimplementedConditionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedConditionServiceServer) AddCondition

func (UnimplementedConditionServiceServer) DeleteCondition

func (UnimplementedConditionServiceServer) GetCondition

func (UnimplementedConditionServiceServer) GetConditions

type UnimplementedNotificationServiceServer

type UnimplementedNotificationServiceServer struct {
}

UnimplementedNotificationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNotificationServiceServer) CreateNotification

func (UnimplementedNotificationServiceServer) DeleteNotification

func (UnimplementedNotificationServiceServer) GetNotification

func (UnimplementedNotificationServiceServer) ListNotifications

type UnimplementedOfferServiceServer

type UnimplementedOfferServiceServer struct {
}

UnimplementedOfferServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOfferServiceServer) GetOffer

func (UnimplementedOfferServiceServer) GetOffers

type UnimplementedProcessorServiceServer

type UnimplementedProcessorServiceServer struct {
}

UnimplementedProcessorServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedProcessorServiceServer) GetProcessingStatus

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

func (UnimplementedWatchUrlServiceServer) SetState

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

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

Cause function returns cause value.

func (UrlListResponseValidationError) Error

Error satisfies the builtin error interface

func (UrlListResponseValidationError) ErrorName

func (e UrlListResponseValidationError) ErrorName() string

ErrorName returns error name.

func (UrlListResponseValidationError) Field

Field function returns field value.

func (UrlListResponseValidationError) Key

Key function returns key value.

func (UrlListResponseValidationError) Reason

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

Cause function returns cause value.

func (UrlResponseValidationError) Error

Error satisfies the builtin error interface

func (UrlResponseValidationError) ErrorName

func (e UrlResponseValidationError) ErrorName() string

ErrorName returns error name.

func (UrlResponseValidationError) Field

Field function returns field value.

func (UrlResponseValidationError) Key

Key function returns key value.

func (UrlResponseValidationError) Reason

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.

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

Jump to

Keyboard shortcuts

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