pb

package
v0.0.0-...-352fc9d Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 33 Imported by: 0

Documentation

Overview

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var EventService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tickity.v1.EventService",
	HandlerType: (*EventServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateEvent",
			Handler:    _EventService_CreateEvent_Handler,
		},
		{
			MethodName: "UpdateEvent",
			Handler:    _EventService_UpdateEvent_Handler,
		},
		{
			MethodName: "DeleteEvent",
			Handler:    _EventService_DeleteEvent_Handler,
		},
		{
			MethodName: "Invite",
			Handler:    _EventService_Invite_Handler,
		},
		{
			MethodName: "Accept",
			Handler:    _EventService_Accept_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetEvents",
			Handler:       _EventService_GetEvents_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "tickity/v1/event.proto",
}

EventService_ServiceDesc is the grpc.ServiceDesc for EventService 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_tickity_v1_event_proto protoreflect.FileDescriptor
View Source
var File_tickity_v1_location_proto protoreflect.FileDescriptor
View Source
var File_tickity_v1_profile_proto protoreflect.FileDescriptor
View Source
var File_tickity_v1_tickity_proto protoreflect.FileDescriptor
View Source
var LocationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tickity.v1.LocationService",
	HandlerType: (*LocationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLocation",
			Handler:    _LocationService_GetLocation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tickity/v1/location.proto",
}

LocationService_ServiceDesc is the grpc.ServiceDesc for LocationService 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 ProfileService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tickity.v1.ProfileService",
	HandlerType: (*ProfileServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProfile",
			Handler:    _ProfileService_GetProfile_Handler,
		},
		{
			MethodName: "UpsertProfile",
			Handler:    _ProfileService_UpsertProfile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tickity/v1/profile.proto",
}

ProfileService_ServiceDesc is the grpc.ServiceDesc for ProfileService 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 TickityService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tickity.v1.TickityService",
	HandlerType: (*TickityServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetExample",
			Handler:    _TickityService_GetExample_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tickity/v1/tickity.proto",
}

TickityService_ServiceDesc is the grpc.ServiceDesc for TickityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterEventServiceHandler

func RegisterEventServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterEventServiceHandler registers the http handlers for service EventService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterEventServiceHandlerClient

func RegisterEventServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventServiceClient) error

RegisterEventServiceHandlerClient registers the http handlers for service EventService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EventServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EventServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EventServiceClient" to call the correct interceptors.

func RegisterEventServiceHandlerFromEndpoint

func RegisterEventServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterEventServiceHandlerFromEndpoint is same as RegisterEventServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterEventServiceHandlerServer

func RegisterEventServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventServiceServer) error

RegisterEventServiceHandlerServer registers the http handlers for service EventService to "mux". UnaryRPC :call EventServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterEventServiceHandlerFromEndpoint instead.

func RegisterEventServiceServer

func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)

func RegisterLocationServiceHandler

func RegisterLocationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLocationServiceHandler registers the http handlers for service LocationService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLocationServiceHandlerClient

func RegisterLocationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LocationServiceClient) error

RegisterLocationServiceHandlerClient registers the http handlers for service LocationService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LocationServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LocationServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LocationServiceClient" to call the correct interceptors.

func RegisterLocationServiceHandlerFromEndpoint

func RegisterLocationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLocationServiceHandlerFromEndpoint is same as RegisterLocationServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLocationServiceHandlerServer

func RegisterLocationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LocationServiceServer) error

RegisterLocationServiceHandlerServer registers the http handlers for service LocationService to "mux". UnaryRPC :call LocationServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLocationServiceHandlerFromEndpoint instead.

func RegisterLocationServiceServer

func RegisterLocationServiceServer(s grpc.ServiceRegistrar, srv LocationServiceServer)

func RegisterProfileServiceHandler

func RegisterProfileServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterProfileServiceHandler registers the http handlers for service ProfileService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterProfileServiceHandlerClient

func RegisterProfileServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProfileServiceClient) error

RegisterProfileServiceHandlerClient registers the http handlers for service ProfileService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProfileServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProfileServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProfileServiceClient" to call the correct interceptors.

func RegisterProfileServiceHandlerFromEndpoint

func RegisterProfileServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterProfileServiceHandlerFromEndpoint is same as RegisterProfileServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterProfileServiceHandlerServer

func RegisterProfileServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProfileServiceServer) error

RegisterProfileServiceHandlerServer registers the http handlers for service ProfileService to "mux". UnaryRPC :call ProfileServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterProfileServiceHandlerFromEndpoint instead.

func RegisterProfileServiceServer

func RegisterProfileServiceServer(s grpc.ServiceRegistrar, srv ProfileServiceServer)

func RegisterTickityServiceHandler

func RegisterTickityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTickityServiceHandler registers the http handlers for service TickityService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTickityServiceHandlerClient

func RegisterTickityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TickityServiceClient) error

RegisterTickityServiceHandlerClient registers the http handlers for service TickityService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TickityServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TickityServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TickityServiceClient" to call the correct interceptors.

func RegisterTickityServiceHandlerFromEndpoint

func RegisterTickityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTickityServiceHandlerFromEndpoint is same as RegisterTickityServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTickityServiceHandlerServer

func RegisterTickityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TickityServiceServer) error

RegisterTickityServiceHandlerServer registers the http handlers for service TickityService to "mux". UnaryRPC :call TickityServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTickityServiceHandlerFromEndpoint instead.

func RegisterTickityServiceServer

func RegisterTickityServiceServer(s grpc.ServiceRegistrar, srv TickityServiceServer)

Types

type AcceptRequest

type AcceptRequest struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptRequest) Descriptor deprecated

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

Deprecated: Use AcceptRequest.ProtoReflect.Descriptor instead.

func (*AcceptRequest) GetEventId

func (x *AcceptRequest) GetEventId() string

func (*AcceptRequest) GetId

func (x *AcceptRequest) GetId() string

func (*AcceptRequest) ProtoMessage

func (*AcceptRequest) ProtoMessage()

func (*AcceptRequest) ProtoReflect

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

func (*AcceptRequest) Reset

func (x *AcceptRequest) Reset()

func (*AcceptRequest) String

func (x *AcceptRequest) String() string

func (*AcceptRequest) Validate

func (m *AcceptRequest) Validate() error

Validate checks the field values on AcceptRequest 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 (*AcceptRequest) ValidateAll

func (m *AcceptRequest) ValidateAll() error

ValidateAll checks the field values on AcceptRequest 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 AcceptRequestMultiError, or nil if none found.

type AcceptRequestMultiError

type AcceptRequestMultiError []error

AcceptRequestMultiError is an error wrapping multiple validation errors returned by AcceptRequest.ValidateAll() if the designated constraints aren't met.

func (AcceptRequestMultiError) AllErrors

func (m AcceptRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AcceptRequestMultiError) Error

func (m AcceptRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AcceptRequestValidationError

type AcceptRequestValidationError struct {
	// contains filtered or unexported fields
}

AcceptRequestValidationError is the validation error returned by AcceptRequest.Validate if the designated constraints aren't met.

func (AcceptRequestValidationError) Cause

Cause function returns cause value.

func (AcceptRequestValidationError) Error

Error satisfies the builtin error interface

func (AcceptRequestValidationError) ErrorName

func (e AcceptRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AcceptRequestValidationError) Field

Field function returns field value.

func (AcceptRequestValidationError) Key

Key function returns key value.

func (AcceptRequestValidationError) Reason

Reason function returns reason value.

type AcceptResponse

type AcceptResponse struct {
	// contains filtered or unexported fields
}

func (*AcceptResponse) Descriptor deprecated

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

Deprecated: Use AcceptResponse.ProtoReflect.Descriptor instead.

func (*AcceptResponse) ProtoMessage

func (*AcceptResponse) ProtoMessage()

func (*AcceptResponse) ProtoReflect

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

func (*AcceptResponse) Reset

func (x *AcceptResponse) Reset()

func (*AcceptResponse) String

func (x *AcceptResponse) String() string

func (*AcceptResponse) Validate

func (m *AcceptResponse) Validate() error

Validate checks the field values on AcceptResponse 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 (*AcceptResponse) ValidateAll

func (m *AcceptResponse) ValidateAll() error

ValidateAll checks the field values on AcceptResponse 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 AcceptResponseMultiError, or nil if none found.

type AcceptResponseMultiError

type AcceptResponseMultiError []error

AcceptResponseMultiError is an error wrapping multiple validation errors returned by AcceptResponse.ValidateAll() if the designated constraints aren't met.

func (AcceptResponseMultiError) AllErrors

func (m AcceptResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AcceptResponseMultiError) Error

func (m AcceptResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AcceptResponseValidationError

type AcceptResponseValidationError struct {
	// contains filtered or unexported fields
}

AcceptResponseValidationError is the validation error returned by AcceptResponse.Validate if the designated constraints aren't met.

func (AcceptResponseValidationError) Cause

Cause function returns cause value.

func (AcceptResponseValidationError) Error

Error satisfies the builtin error interface

func (AcceptResponseValidationError) ErrorName

func (e AcceptResponseValidationError) ErrorName() string

ErrorName returns error name.

func (AcceptResponseValidationError) Field

Field function returns field value.

func (AcceptResponseValidationError) Key

Key function returns key value.

func (AcceptResponseValidationError) Reason

Reason function returns reason value.

type CreateEventRequest

type CreateEventRequest struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Address     string                 `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Time        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	Description string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Organizers  []*User                `protobuf:"bytes,5,rep,name=organizers,proto3" json:"organizers,omitempty"`
	Guests      []*User                `protobuf:"bytes,6,rep,name=guests,proto3" json:"guests,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEventRequest) Descriptor deprecated

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

Deprecated: Use CreateEventRequest.ProtoReflect.Descriptor instead.

func (*CreateEventRequest) GetAddress

func (x *CreateEventRequest) GetAddress() string

func (*CreateEventRequest) GetDescription

func (x *CreateEventRequest) GetDescription() string

func (*CreateEventRequest) GetGuests

func (x *CreateEventRequest) GetGuests() []*User

func (*CreateEventRequest) GetName

func (x *CreateEventRequest) GetName() string

func (*CreateEventRequest) GetOrganizers

func (x *CreateEventRequest) GetOrganizers() []*User

func (*CreateEventRequest) GetTime

func (*CreateEventRequest) ProtoMessage

func (*CreateEventRequest) ProtoMessage()

func (*CreateEventRequest) ProtoReflect

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

func (*CreateEventRequest) Reset

func (x *CreateEventRequest) Reset()

func (*CreateEventRequest) String

func (x *CreateEventRequest) String() string

func (*CreateEventRequest) Validate

func (m *CreateEventRequest) Validate() error

Validate checks the field values on CreateEventRequest 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 (*CreateEventRequest) ValidateAll

func (m *CreateEventRequest) ValidateAll() error

ValidateAll checks the field values on CreateEventRequest 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 CreateEventRequestMultiError, or nil if none found.

type CreateEventRequestMultiError

type CreateEventRequestMultiError []error

CreateEventRequestMultiError is an error wrapping multiple validation errors returned by CreateEventRequest.ValidateAll() if the designated constraints aren't met.

func (CreateEventRequestMultiError) AllErrors

func (m CreateEventRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEventRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateEventRequestValidationError

type CreateEventRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateEventRequestValidationError is the validation error returned by CreateEventRequest.Validate if the designated constraints aren't met.

func (CreateEventRequestValidationError) Cause

Cause function returns cause value.

func (CreateEventRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateEventRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateEventRequestValidationError) Field

Field function returns field value.

func (CreateEventRequestValidationError) Key

Key function returns key value.

func (CreateEventRequestValidationError) Reason

Reason function returns reason value.

type CreateEventResponse

type CreateEventResponse 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"`
	Address     string                 `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Time        *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	Description string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Organizers  []*User                `protobuf:"bytes,6,rep,name=organizers,proto3" json:"organizers,omitempty"`
	Guests      []*User                `protobuf:"bytes,7,rep,name=guests,proto3" json:"guests,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEventResponse) Descriptor deprecated

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

Deprecated: Use CreateEventResponse.ProtoReflect.Descriptor instead.

func (*CreateEventResponse) GetAddress

func (x *CreateEventResponse) GetAddress() string

func (*CreateEventResponse) GetCreatedAt

func (x *CreateEventResponse) GetCreatedAt() *timestamppb.Timestamp

func (*CreateEventResponse) GetDescription

func (x *CreateEventResponse) GetDescription() string

func (*CreateEventResponse) GetGuests

func (x *CreateEventResponse) GetGuests() []*User

func (*CreateEventResponse) GetId

func (x *CreateEventResponse) GetId() string

func (*CreateEventResponse) GetName

func (x *CreateEventResponse) GetName() string

func (*CreateEventResponse) GetOrganizers

func (x *CreateEventResponse) GetOrganizers() []*User

func (*CreateEventResponse) GetTime

func (*CreateEventResponse) ProtoMessage

func (*CreateEventResponse) ProtoMessage()

func (*CreateEventResponse) ProtoReflect

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

func (*CreateEventResponse) Reset

func (x *CreateEventResponse) Reset()

func (*CreateEventResponse) String

func (x *CreateEventResponse) String() string

func (*CreateEventResponse) Validate

func (m *CreateEventResponse) Validate() error

Validate checks the field values on CreateEventResponse 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 (*CreateEventResponse) ValidateAll

func (m *CreateEventResponse) ValidateAll() error

ValidateAll checks the field values on CreateEventResponse 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 CreateEventResponseMultiError, or nil if none found.

type CreateEventResponseMultiError

type CreateEventResponseMultiError []error

CreateEventResponseMultiError is an error wrapping multiple validation errors returned by CreateEventResponse.ValidateAll() if the designated constraints aren't met.

func (CreateEventResponseMultiError) AllErrors

func (m CreateEventResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEventResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateEventResponseValidationError

type CreateEventResponseValidationError struct {
	// contains filtered or unexported fields
}

CreateEventResponseValidationError is the validation error returned by CreateEventResponse.Validate if the designated constraints aren't met.

func (CreateEventResponseValidationError) Cause

Cause function returns cause value.

func (CreateEventResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateEventResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateEventResponseValidationError) Field

Field function returns field value.

func (CreateEventResponseValidationError) Key

Key function returns key value.

func (CreateEventResponseValidationError) Reason

Reason function returns reason value.

type DeleteEventRequest

type DeleteEventRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEventRequest) Descriptor deprecated

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

Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.

func (*DeleteEventRequest) GetId

func (x *DeleteEventRequest) GetId() string

func (*DeleteEventRequest) ProtoMessage

func (*DeleteEventRequest) ProtoMessage()

func (*DeleteEventRequest) ProtoReflect

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

func (*DeleteEventRequest) Reset

func (x *DeleteEventRequest) Reset()

func (*DeleteEventRequest) String

func (x *DeleteEventRequest) String() string

func (*DeleteEventRequest) Validate

func (m *DeleteEventRequest) Validate() error

Validate checks the field values on DeleteEventRequest 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 (*DeleteEventRequest) ValidateAll

func (m *DeleteEventRequest) ValidateAll() error

ValidateAll checks the field values on DeleteEventRequest 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 DeleteEventRequestMultiError, or nil if none found.

type DeleteEventRequestMultiError

type DeleteEventRequestMultiError []error

DeleteEventRequestMultiError is an error wrapping multiple validation errors returned by DeleteEventRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteEventRequestMultiError) AllErrors

func (m DeleteEventRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEventRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteEventRequestValidationError

type DeleteEventRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteEventRequestValidationError is the validation error returned by DeleteEventRequest.Validate if the designated constraints aren't met.

func (DeleteEventRequestValidationError) Cause

Cause function returns cause value.

func (DeleteEventRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteEventRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteEventRequestValidationError) Field

Field function returns field value.

func (DeleteEventRequestValidationError) Key

Key function returns key value.

func (DeleteEventRequestValidationError) Reason

Reason function returns reason value.

type DeleteEventResponse

type DeleteEventResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteEventResponse) Descriptor deprecated

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

Deprecated: Use DeleteEventResponse.ProtoReflect.Descriptor instead.

func (*DeleteEventResponse) ProtoMessage

func (*DeleteEventResponse) ProtoMessage()

func (*DeleteEventResponse) ProtoReflect

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

func (*DeleteEventResponse) Reset

func (x *DeleteEventResponse) Reset()

func (*DeleteEventResponse) String

func (x *DeleteEventResponse) String() string

func (*DeleteEventResponse) Validate

func (m *DeleteEventResponse) Validate() error

Validate checks the field values on DeleteEventResponse 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 (*DeleteEventResponse) ValidateAll

func (m *DeleteEventResponse) ValidateAll() error

ValidateAll checks the field values on DeleteEventResponse 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 DeleteEventResponseMultiError, or nil if none found.

type DeleteEventResponseMultiError

type DeleteEventResponseMultiError []error

DeleteEventResponseMultiError is an error wrapping multiple validation errors returned by DeleteEventResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteEventResponseMultiError) AllErrors

func (m DeleteEventResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEventResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteEventResponseValidationError

type DeleteEventResponseValidationError struct {
	// contains filtered or unexported fields
}

DeleteEventResponseValidationError is the validation error returned by DeleteEventResponse.Validate if the designated constraints aren't met.

func (DeleteEventResponseValidationError) Cause

Cause function returns cause value.

func (DeleteEventResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteEventResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteEventResponseValidationError) Field

Field function returns field value.

func (DeleteEventResponseValidationError) Key

Key function returns key value.

func (DeleteEventResponseValidationError) Reason

Reason function returns reason value.

type EventServiceClient

type EventServiceClient interface {
	CreateEvent(ctx context.Context, in *CreateEventRequest, opts ...grpc.CallOption) (*CreateEventResponse, error)
	GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (EventService_GetEventsClient, error)
	UpdateEvent(ctx context.Context, in *UpdateEventRequest, opts ...grpc.CallOption) (*UpdateEventResponse, error)
	DeleteEvent(ctx context.Context, in *DeleteEventRequest, opts ...grpc.CallOption) (*DeleteEventResponse, error)
	Invite(ctx context.Context, in *InviteRequest, opts ...grpc.CallOption) (*InviteResponse, error)
	Accept(ctx context.Context, in *AcceptRequest, opts ...grpc.CallOption) (*AcceptResponse, error)
}

EventServiceClient is the client API for EventService 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 EventServiceServer

type EventServiceServer interface {
	CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error)
	GetEvents(*GetEventsRequest, EventService_GetEventsServer) error
	UpdateEvent(context.Context, *UpdateEventRequest) (*UpdateEventResponse, error)
	DeleteEvent(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error)
	Invite(context.Context, *InviteRequest) (*InviteResponse, error)
	Accept(context.Context, *AcceptRequest) (*AcceptResponse, error)
	// contains filtered or unexported methods
}

EventServiceServer is the server API for EventService service. All implementations must embed UnimplementedEventServiceServer for forward compatibility

type EventService_GetEventsClient

type EventService_GetEventsClient interface {
	Recv() (*GetEventResponse, error)
	grpc.ClientStream
}

type EventService_GetEventsServer

type EventService_GetEventsServer interface {
	Send(*GetEventResponse) error
	grpc.ServerStream
}

type GetEventResponse

type GetEventResponse 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"`
	Address     string                 `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Time        *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	Description string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Organizers  []*User                `protobuf:"bytes,6,rep,name=organizers,proto3" json:"organizers,omitempty"`
	Guests      []*User                `protobuf:"bytes,7,rep,name=guests,proto3" json:"guests,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventResponse) Descriptor deprecated

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

Deprecated: Use GetEventResponse.ProtoReflect.Descriptor instead.

func (*GetEventResponse) GetAddress

func (x *GetEventResponse) GetAddress() string

func (*GetEventResponse) GetCreatedAt

func (x *GetEventResponse) GetCreatedAt() *timestamppb.Timestamp

func (*GetEventResponse) GetDescription

func (x *GetEventResponse) GetDescription() string

func (*GetEventResponse) GetGuests

func (x *GetEventResponse) GetGuests() []*User

func (*GetEventResponse) GetId

func (x *GetEventResponse) GetId() string

func (*GetEventResponse) GetName

func (x *GetEventResponse) GetName() string

func (*GetEventResponse) GetOrganizers

func (x *GetEventResponse) GetOrganizers() []*User

func (*GetEventResponse) GetTime

func (x *GetEventResponse) GetTime() *timestamppb.Timestamp

func (*GetEventResponse) ProtoMessage

func (*GetEventResponse) ProtoMessage()

func (*GetEventResponse) ProtoReflect

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

func (*GetEventResponse) Reset

func (x *GetEventResponse) Reset()

func (*GetEventResponse) String

func (x *GetEventResponse) String() string

func (*GetEventResponse) Validate

func (m *GetEventResponse) Validate() error

Validate checks the field values on GetEventResponse 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 (*GetEventResponse) ValidateAll

func (m *GetEventResponse) ValidateAll() error

ValidateAll checks the field values on GetEventResponse 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 GetEventResponseMultiError, or nil if none found.

type GetEventResponseMultiError

type GetEventResponseMultiError []error

GetEventResponseMultiError is an error wrapping multiple validation errors returned by GetEventResponse.ValidateAll() if the designated constraints aren't met.

func (GetEventResponseMultiError) AllErrors

func (m GetEventResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEventResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetEventResponseValidationError

type GetEventResponseValidationError struct {
	// contains filtered or unexported fields
}

GetEventResponseValidationError is the validation error returned by GetEventResponse.Validate if the designated constraints aren't met.

func (GetEventResponseValidationError) Cause

Cause function returns cause value.

func (GetEventResponseValidationError) Error

Error satisfies the builtin error interface

func (GetEventResponseValidationError) ErrorName

ErrorName returns error name.

func (GetEventResponseValidationError) Field

Field function returns field value.

func (GetEventResponseValidationError) Key

Key function returns key value.

func (GetEventResponseValidationError) Reason

Reason function returns reason value.

type GetEventsRequest

type GetEventsRequest struct {
	// contains filtered or unexported fields
}

func (*GetEventsRequest) Descriptor deprecated

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

Deprecated: Use GetEventsRequest.ProtoReflect.Descriptor instead.

func (*GetEventsRequest) ProtoMessage

func (*GetEventsRequest) ProtoMessage()

func (*GetEventsRequest) ProtoReflect

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

func (*GetEventsRequest) Reset

func (x *GetEventsRequest) Reset()

func (*GetEventsRequest) String

func (x *GetEventsRequest) String() string

func (*GetEventsRequest) Validate

func (m *GetEventsRequest) Validate() error

Validate checks the field values on GetEventsRequest 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 (*GetEventsRequest) ValidateAll

func (m *GetEventsRequest) ValidateAll() error

ValidateAll checks the field values on GetEventsRequest 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 GetEventsRequestMultiError, or nil if none found.

type GetEventsRequestMultiError

type GetEventsRequestMultiError []error

GetEventsRequestMultiError is an error wrapping multiple validation errors returned by GetEventsRequest.ValidateAll() if the designated constraints aren't met.

func (GetEventsRequestMultiError) AllErrors

func (m GetEventsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEventsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetEventsRequestValidationError

type GetEventsRequestValidationError struct {
	// contains filtered or unexported fields
}

GetEventsRequestValidationError is the validation error returned by GetEventsRequest.Validate if the designated constraints aren't met.

func (GetEventsRequestValidationError) Cause

Cause function returns cause value.

func (GetEventsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEventsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetEventsRequestValidationError) Field

Field function returns field value.

func (GetEventsRequestValidationError) Key

Key function returns key value.

func (GetEventsRequestValidationError) Reason

Reason function returns reason value.

type GetExampleRequest

type GetExampleRequest struct {
	// contains filtered or unexported fields
}

func (*GetExampleRequest) Descriptor deprecated

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

Deprecated: Use GetExampleRequest.ProtoReflect.Descriptor instead.

func (*GetExampleRequest) ProtoMessage

func (*GetExampleRequest) ProtoMessage()

func (*GetExampleRequest) ProtoReflect

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

func (*GetExampleRequest) Reset

func (x *GetExampleRequest) Reset()

func (*GetExampleRequest) String

func (x *GetExampleRequest) String() string

func (*GetExampleRequest) Validate

func (m *GetExampleRequest) Validate() error

Validate checks the field values on GetExampleRequest 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 (*GetExampleRequest) ValidateAll

func (m *GetExampleRequest) ValidateAll() error

ValidateAll checks the field values on GetExampleRequest 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 GetExampleRequestMultiError, or nil if none found.

type GetExampleRequestMultiError

type GetExampleRequestMultiError []error

GetExampleRequestMultiError is an error wrapping multiple validation errors returned by GetExampleRequest.ValidateAll() if the designated constraints aren't met.

func (GetExampleRequestMultiError) AllErrors

func (m GetExampleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetExampleRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetExampleRequestValidationError

type GetExampleRequestValidationError struct {
	// contains filtered or unexported fields
}

GetExampleRequestValidationError is the validation error returned by GetExampleRequest.Validate if the designated constraints aren't met.

func (GetExampleRequestValidationError) Cause

Cause function returns cause value.

func (GetExampleRequestValidationError) Error

Error satisfies the builtin error interface

func (GetExampleRequestValidationError) ErrorName

ErrorName returns error name.

func (GetExampleRequestValidationError) Field

Field function returns field value.

func (GetExampleRequestValidationError) Key

Key function returns key value.

func (GetExampleRequestValidationError) Reason

Reason function returns reason value.

type GetExampleResponse

type GetExampleResponse struct {
	// contains filtered or unexported fields
}

func (*GetExampleResponse) Descriptor deprecated

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

Deprecated: Use GetExampleResponse.ProtoReflect.Descriptor instead.

func (*GetExampleResponse) ProtoMessage

func (*GetExampleResponse) ProtoMessage()

func (*GetExampleResponse) ProtoReflect

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

func (*GetExampleResponse) Reset

func (x *GetExampleResponse) Reset()

func (*GetExampleResponse) String

func (x *GetExampleResponse) String() string

func (*GetExampleResponse) Validate

func (m *GetExampleResponse) Validate() error

Validate checks the field values on GetExampleResponse 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 (*GetExampleResponse) ValidateAll

func (m *GetExampleResponse) ValidateAll() error

ValidateAll checks the field values on GetExampleResponse 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 GetExampleResponseMultiError, or nil if none found.

type GetExampleResponseMultiError

type GetExampleResponseMultiError []error

GetExampleResponseMultiError is an error wrapping multiple validation errors returned by GetExampleResponse.ValidateAll() if the designated constraints aren't met.

func (GetExampleResponseMultiError) AllErrors

func (m GetExampleResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetExampleResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetExampleResponseValidationError

type GetExampleResponseValidationError struct {
	// contains filtered or unexported fields
}

GetExampleResponseValidationError is the validation error returned by GetExampleResponse.Validate if the designated constraints aren't met.

func (GetExampleResponseValidationError) Cause

Cause function returns cause value.

func (GetExampleResponseValidationError) Error

Error satisfies the builtin error interface

func (GetExampleResponseValidationError) ErrorName

ErrorName returns error name.

func (GetExampleResponseValidationError) Field

Field function returns field value.

func (GetExampleResponseValidationError) Key

Key function returns key value.

func (GetExampleResponseValidationError) Reason

Reason function returns reason value.

type GetLocationRequest

type GetLocationRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLocationRequest) Descriptor deprecated

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

Deprecated: Use GetLocationRequest.ProtoReflect.Descriptor instead.

func (*GetLocationRequest) GetAddress

func (x *GetLocationRequest) GetAddress() string

func (*GetLocationRequest) ProtoMessage

func (*GetLocationRequest) ProtoMessage()

func (*GetLocationRequest) ProtoReflect

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

func (*GetLocationRequest) Reset

func (x *GetLocationRequest) Reset()

func (*GetLocationRequest) String

func (x *GetLocationRequest) String() string

func (*GetLocationRequest) Validate

func (m *GetLocationRequest) Validate() error

Validate checks the field values on GetLocationRequest 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 (*GetLocationRequest) ValidateAll

func (m *GetLocationRequest) ValidateAll() error

ValidateAll checks the field values on GetLocationRequest 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 GetLocationRequestMultiError, or nil if none found.

type GetLocationRequestMultiError

type GetLocationRequestMultiError []error

GetLocationRequestMultiError is an error wrapping multiple validation errors returned by GetLocationRequest.ValidateAll() if the designated constraints aren't met.

func (GetLocationRequestMultiError) AllErrors

func (m GetLocationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLocationRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetLocationRequestValidationError

type GetLocationRequestValidationError struct {
	// contains filtered or unexported fields
}

GetLocationRequestValidationError is the validation error returned by GetLocationRequest.Validate if the designated constraints aren't met.

func (GetLocationRequestValidationError) Cause

Cause function returns cause value.

func (GetLocationRequestValidationError) Error

Error satisfies the builtin error interface

func (GetLocationRequestValidationError) ErrorName

ErrorName returns error name.

func (GetLocationRequestValidationError) Field

Field function returns field value.

func (GetLocationRequestValidationError) Key

Key function returns key value.

func (GetLocationRequestValidationError) Reason

Reason function returns reason value.

type GetLocationResponse

type GetLocationResponse struct {
	Address string  `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Lat     float32 `protobuf:"fixed32,2,opt,name=lat,proto3" json:"lat,omitempty"`
	Lng     float32 `protobuf:"fixed32,3,opt,name=lng,proto3" json:"lng,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLocationResponse) Descriptor deprecated

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

Deprecated: Use GetLocationResponse.ProtoReflect.Descriptor instead.

func (*GetLocationResponse) GetAddress

func (x *GetLocationResponse) GetAddress() string

func (*GetLocationResponse) GetLat

func (x *GetLocationResponse) GetLat() float32

func (*GetLocationResponse) GetLng

func (x *GetLocationResponse) GetLng() float32

func (*GetLocationResponse) ProtoMessage

func (*GetLocationResponse) ProtoMessage()

func (*GetLocationResponse) ProtoReflect

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

func (*GetLocationResponse) Reset

func (x *GetLocationResponse) Reset()

func (*GetLocationResponse) String

func (x *GetLocationResponse) String() string

func (*GetLocationResponse) Validate

func (m *GetLocationResponse) Validate() error

Validate checks the field values on GetLocationResponse 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 (*GetLocationResponse) ValidateAll

func (m *GetLocationResponse) ValidateAll() error

ValidateAll checks the field values on GetLocationResponse 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 GetLocationResponseMultiError, or nil if none found.

type GetLocationResponseMultiError

type GetLocationResponseMultiError []error

GetLocationResponseMultiError is an error wrapping multiple validation errors returned by GetLocationResponse.ValidateAll() if the designated constraints aren't met.

func (GetLocationResponseMultiError) AllErrors

func (m GetLocationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLocationResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetLocationResponseValidationError

type GetLocationResponseValidationError struct {
	// contains filtered or unexported fields
}

GetLocationResponseValidationError is the validation error returned by GetLocationResponse.Validate if the designated constraints aren't met.

func (GetLocationResponseValidationError) Cause

Cause function returns cause value.

func (GetLocationResponseValidationError) Error

Error satisfies the builtin error interface

func (GetLocationResponseValidationError) ErrorName

ErrorName returns error name.

func (GetLocationResponseValidationError) Field

Field function returns field value.

func (GetLocationResponseValidationError) Key

Key function returns key value.

func (GetLocationResponseValidationError) Reason

Reason function returns reason value.

type GetProfileRequest

type GetProfileRequest struct {
	// contains filtered or unexported fields
}

func (*GetProfileRequest) Descriptor deprecated

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

Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.

func (*GetProfileRequest) ProtoMessage

func (*GetProfileRequest) ProtoMessage()

func (*GetProfileRequest) ProtoReflect

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

func (*GetProfileRequest) Reset

func (x *GetProfileRequest) Reset()

func (*GetProfileRequest) String

func (x *GetProfileRequest) String() string

func (*GetProfileRequest) Validate

func (m *GetProfileRequest) Validate() error

Validate checks the field values on GetProfileRequest 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 (*GetProfileRequest) ValidateAll

func (m *GetProfileRequest) ValidateAll() error

ValidateAll checks the field values on GetProfileRequest 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 GetProfileRequestMultiError, or nil if none found.

type GetProfileRequestMultiError

type GetProfileRequestMultiError []error

GetProfileRequestMultiError is an error wrapping multiple validation errors returned by GetProfileRequest.ValidateAll() if the designated constraints aren't met.

func (GetProfileRequestMultiError) AllErrors

func (m GetProfileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetProfileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetProfileRequestValidationError

type GetProfileRequestValidationError struct {
	// contains filtered or unexported fields
}

GetProfileRequestValidationError is the validation error returned by GetProfileRequest.Validate if the designated constraints aren't met.

func (GetProfileRequestValidationError) Cause

Cause function returns cause value.

func (GetProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProfileRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProfileRequestValidationError) Field

Field function returns field value.

func (GetProfileRequestValidationError) Key

Key function returns key value.

func (GetProfileRequestValidationError) Reason

Reason function returns reason value.

type GetProfileResponse

type GetProfileResponse struct {
	Email  string   `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name   string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Events []string `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileResponse) Descriptor deprecated

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

Deprecated: Use GetProfileResponse.ProtoReflect.Descriptor instead.

func (*GetProfileResponse) GetEmail

func (x *GetProfileResponse) GetEmail() string

func (*GetProfileResponse) GetEvents

func (x *GetProfileResponse) GetEvents() []string

func (*GetProfileResponse) GetName

func (x *GetProfileResponse) GetName() string

func (*GetProfileResponse) ProtoMessage

func (*GetProfileResponse) ProtoMessage()

func (*GetProfileResponse) ProtoReflect

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

func (*GetProfileResponse) Reset

func (x *GetProfileResponse) Reset()

func (*GetProfileResponse) String

func (x *GetProfileResponse) String() string

func (*GetProfileResponse) Validate

func (m *GetProfileResponse) Validate() error

Validate checks the field values on GetProfileResponse 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 (*GetProfileResponse) ValidateAll

func (m *GetProfileResponse) ValidateAll() error

ValidateAll checks the field values on GetProfileResponse 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 GetProfileResponseMultiError, or nil if none found.

type GetProfileResponseMultiError

type GetProfileResponseMultiError []error

GetProfileResponseMultiError is an error wrapping multiple validation errors returned by GetProfileResponse.ValidateAll() if the designated constraints aren't met.

func (GetProfileResponseMultiError) AllErrors

func (m GetProfileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetProfileResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetProfileResponseValidationError

type GetProfileResponseValidationError struct {
	// contains filtered or unexported fields
}

GetProfileResponseValidationError is the validation error returned by GetProfileResponse.Validate if the designated constraints aren't met.

func (GetProfileResponseValidationError) Cause

Cause function returns cause value.

func (GetProfileResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProfileResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProfileResponseValidationError) Field

Field function returns field value.

func (GetProfileResponseValidationError) Key

Key function returns key value.

func (GetProfileResponseValidationError) Reason

Reason function returns reason value.

type InviteRequest

type InviteRequest struct {
	EventId string                 `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	Eol     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=eol,proto3" json:"eol,omitempty"`
	// contains filtered or unexported fields
}

func (*InviteRequest) Descriptor deprecated

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

Deprecated: Use InviteRequest.ProtoReflect.Descriptor instead.

func (*InviteRequest) GetEol

func (x *InviteRequest) GetEol() *timestamppb.Timestamp

func (*InviteRequest) GetEventId

func (x *InviteRequest) GetEventId() string

func (*InviteRequest) ProtoMessage

func (*InviteRequest) ProtoMessage()

func (*InviteRequest) ProtoReflect

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

func (*InviteRequest) Reset

func (x *InviteRequest) Reset()

func (*InviteRequest) String

func (x *InviteRequest) String() string

func (*InviteRequest) Validate

func (m *InviteRequest) Validate() error

Validate checks the field values on InviteRequest 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 (*InviteRequest) ValidateAll

func (m *InviteRequest) ValidateAll() error

ValidateAll checks the field values on InviteRequest 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 InviteRequestMultiError, or nil if none found.

type InviteRequestMultiError

type InviteRequestMultiError []error

InviteRequestMultiError is an error wrapping multiple validation errors returned by InviteRequest.ValidateAll() if the designated constraints aren't met.

func (InviteRequestMultiError) AllErrors

func (m InviteRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InviteRequestMultiError) Error

func (m InviteRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InviteRequestValidationError

type InviteRequestValidationError struct {
	// contains filtered or unexported fields
}

InviteRequestValidationError is the validation error returned by InviteRequest.Validate if the designated constraints aren't met.

func (InviteRequestValidationError) Cause

Cause function returns cause value.

func (InviteRequestValidationError) Error

Error satisfies the builtin error interface

func (InviteRequestValidationError) ErrorName

func (e InviteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (InviteRequestValidationError) Field

Field function returns field value.

func (InviteRequestValidationError) Key

Key function returns key value.

func (InviteRequestValidationError) Reason

Reason function returns reason value.

type InviteResponse

type InviteResponse struct {
	Url    string                 `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	QrCode []byte                 `protobuf:"bytes,2,opt,name=qr_code,json=qrCode,proto3" json:"qr_code,omitempty"`
	Eol    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=eol,proto3" json:"eol,omitempty"`
	// contains filtered or unexported fields
}

func (*InviteResponse) Descriptor deprecated

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

Deprecated: Use InviteResponse.ProtoReflect.Descriptor instead.

func (*InviteResponse) GetEol

func (x *InviteResponse) GetEol() *timestamppb.Timestamp

func (*InviteResponse) GetQrCode

func (x *InviteResponse) GetQrCode() []byte

func (*InviteResponse) GetUrl

func (x *InviteResponse) GetUrl() string

func (*InviteResponse) ProtoMessage

func (*InviteResponse) ProtoMessage()

func (*InviteResponse) ProtoReflect

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

func (*InviteResponse) Reset

func (x *InviteResponse) Reset()

func (*InviteResponse) String

func (x *InviteResponse) String() string

func (*InviteResponse) Validate

func (m *InviteResponse) Validate() error

Validate checks the field values on InviteResponse 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 (*InviteResponse) ValidateAll

func (m *InviteResponse) ValidateAll() error

ValidateAll checks the field values on InviteResponse 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 InviteResponseMultiError, or nil if none found.

type InviteResponseMultiError

type InviteResponseMultiError []error

InviteResponseMultiError is an error wrapping multiple validation errors returned by InviteResponse.ValidateAll() if the designated constraints aren't met.

func (InviteResponseMultiError) AllErrors

func (m InviteResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InviteResponseMultiError) Error

func (m InviteResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InviteResponseValidationError

type InviteResponseValidationError struct {
	// contains filtered or unexported fields
}

InviteResponseValidationError is the validation error returned by InviteResponse.Validate if the designated constraints aren't met.

func (InviteResponseValidationError) Cause

Cause function returns cause value.

func (InviteResponseValidationError) Error

Error satisfies the builtin error interface

func (InviteResponseValidationError) ErrorName

func (e InviteResponseValidationError) ErrorName() string

ErrorName returns error name.

func (InviteResponseValidationError) Field

Field function returns field value.

func (InviteResponseValidationError) Key

Key function returns key value.

func (InviteResponseValidationError) Reason

Reason function returns reason value.

type LocationServiceClient

type LocationServiceClient interface {
	GetLocation(ctx context.Context, in *GetLocationRequest, opts ...grpc.CallOption) (*GetLocationResponse, error)
}

LocationServiceClient is the client API for LocationService 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 LocationServiceServer

type LocationServiceServer interface {
	GetLocation(context.Context, *GetLocationRequest) (*GetLocationResponse, error)
	// contains filtered or unexported methods
}

LocationServiceServer is the server API for LocationService service. All implementations must embed UnimplementedLocationServiceServer for forward compatibility

type ProfileServiceClient

type ProfileServiceClient interface {
	GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*GetProfileResponse, error)
	UpsertProfile(ctx context.Context, in *UpsertProfileRequest, opts ...grpc.CallOption) (*UpsertProfileResponse, error)
}

ProfileServiceClient is the client API for ProfileService 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 ProfileServiceServer

type ProfileServiceServer interface {
	GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
	UpsertProfile(context.Context, *UpsertProfileRequest) (*UpsertProfileResponse, error)
	// contains filtered or unexported methods
}

ProfileServiceServer is the server API for ProfileService service. All implementations must embed UnimplementedProfileServiceServer for forward compatibility

type TickityServiceClient

type TickityServiceClient interface {
	GetExample(ctx context.Context, in *GetExampleRequest, opts ...grpc.CallOption) (*GetExampleResponse, error)
}

TickityServiceClient is the client API for TickityService 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 TickityServiceServer

type TickityServiceServer interface {
	GetExample(context.Context, *GetExampleRequest) (*GetExampleResponse, error)
	// contains filtered or unexported methods
}

TickityServiceServer is the server API for TickityService service. All implementations must embed UnimplementedTickityServiceServer for forward compatibility

type UnimplementedEventServiceServer

type UnimplementedEventServiceServer struct {
}

UnimplementedEventServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEventServiceServer) Accept

func (UnimplementedEventServiceServer) CreateEvent

func (UnimplementedEventServiceServer) DeleteEvent

func (UnimplementedEventServiceServer) GetEvents

func (UnimplementedEventServiceServer) Invite

func (UnimplementedEventServiceServer) UpdateEvent

type UnimplementedLocationServiceServer

type UnimplementedLocationServiceServer struct {
}

UnimplementedLocationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLocationServiceServer) GetLocation

type UnimplementedProfileServiceServer

type UnimplementedProfileServiceServer struct {
}

UnimplementedProfileServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedProfileServiceServer) GetProfile

func (UnimplementedProfileServiceServer) UpsertProfile

type UnimplementedTickityServiceServer

type UnimplementedTickityServiceServer struct {
}

UnimplementedTickityServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTickityServiceServer) GetExample

type UnsafeEventServiceServer

type UnsafeEventServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEventServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventServiceServer will result in compilation errors.

type UnsafeLocationServiceServer

type UnsafeLocationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLocationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LocationServiceServer will result in compilation errors.

type UnsafeProfileServiceServer

type UnsafeProfileServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProfileServiceServer will result in compilation errors.

type UnsafeTickityServiceServer

type UnsafeTickityServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTickityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TickityServiceServer will result in compilation errors.

type UpdateEventRequest

type UpdateEventRequest 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"`
	Address     string                 `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Time        *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	Description string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Organizers  []*User                `protobuf:"bytes,6,rep,name=organizers,proto3" json:"organizers,omitempty"`
	Guests      []*User                `protobuf:"bytes,7,rep,name=guests,proto3" json:"guests,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEventRequest) Descriptor deprecated

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

Deprecated: Use UpdateEventRequest.ProtoReflect.Descriptor instead.

func (*UpdateEventRequest) GetAddress

func (x *UpdateEventRequest) GetAddress() string

func (*UpdateEventRequest) GetDescription

func (x *UpdateEventRequest) GetDescription() string

func (*UpdateEventRequest) GetGuests

func (x *UpdateEventRequest) GetGuests() []*User

func (*UpdateEventRequest) GetId

func (x *UpdateEventRequest) GetId() string

func (*UpdateEventRequest) GetName

func (x *UpdateEventRequest) GetName() string

func (*UpdateEventRequest) GetOrganizers

func (x *UpdateEventRequest) GetOrganizers() []*User

func (*UpdateEventRequest) GetTime

func (*UpdateEventRequest) ProtoMessage

func (*UpdateEventRequest) ProtoMessage()

func (*UpdateEventRequest) ProtoReflect

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

func (*UpdateEventRequest) Reset

func (x *UpdateEventRequest) Reset()

func (*UpdateEventRequest) String

func (x *UpdateEventRequest) String() string

func (*UpdateEventRequest) Validate

func (m *UpdateEventRequest) Validate() error

Validate checks the field values on UpdateEventRequest 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 (*UpdateEventRequest) ValidateAll

func (m *UpdateEventRequest) ValidateAll() error

ValidateAll checks the field values on UpdateEventRequest 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 UpdateEventRequestMultiError, or nil if none found.

type UpdateEventRequestMultiError

type UpdateEventRequestMultiError []error

UpdateEventRequestMultiError is an error wrapping multiple validation errors returned by UpdateEventRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateEventRequestMultiError) AllErrors

func (m UpdateEventRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEventRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateEventRequestValidationError

type UpdateEventRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateEventRequestValidationError is the validation error returned by UpdateEventRequest.Validate if the designated constraints aren't met.

func (UpdateEventRequestValidationError) Cause

Cause function returns cause value.

func (UpdateEventRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateEventRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateEventRequestValidationError) Field

Field function returns field value.

func (UpdateEventRequestValidationError) Key

Key function returns key value.

func (UpdateEventRequestValidationError) Reason

Reason function returns reason value.

type UpdateEventResponse

type UpdateEventResponse 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"`
	Address    string                 `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Time       *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	Organizers []*User                `protobuf:"bytes,5,rep,name=organizers,proto3" json:"organizers,omitempty"`
	Guests     []*User                `protobuf:"bytes,6,rep,name=guests,proto3" json:"guests,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEventResponse) Descriptor deprecated

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

Deprecated: Use UpdateEventResponse.ProtoReflect.Descriptor instead.

func (*UpdateEventResponse) GetAddress

func (x *UpdateEventResponse) GetAddress() string

func (*UpdateEventResponse) GetCreatedAt

func (x *UpdateEventResponse) GetCreatedAt() *timestamppb.Timestamp

func (*UpdateEventResponse) GetGuests

func (x *UpdateEventResponse) GetGuests() []*User

func (*UpdateEventResponse) GetId

func (x *UpdateEventResponse) GetId() string

func (*UpdateEventResponse) GetName

func (x *UpdateEventResponse) GetName() string

func (*UpdateEventResponse) GetOrganizers

func (x *UpdateEventResponse) GetOrganizers() []*User

func (*UpdateEventResponse) GetTime

func (*UpdateEventResponse) ProtoMessage

func (*UpdateEventResponse) ProtoMessage()

func (*UpdateEventResponse) ProtoReflect

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

func (*UpdateEventResponse) Reset

func (x *UpdateEventResponse) Reset()

func (*UpdateEventResponse) String

func (x *UpdateEventResponse) String() string

func (*UpdateEventResponse) Validate

func (m *UpdateEventResponse) Validate() error

Validate checks the field values on UpdateEventResponse 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 (*UpdateEventResponse) ValidateAll

func (m *UpdateEventResponse) ValidateAll() error

ValidateAll checks the field values on UpdateEventResponse 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 UpdateEventResponseMultiError, or nil if none found.

type UpdateEventResponseMultiError

type UpdateEventResponseMultiError []error

UpdateEventResponseMultiError is an error wrapping multiple validation errors returned by UpdateEventResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateEventResponseMultiError) AllErrors

func (m UpdateEventResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEventResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateEventResponseValidationError

type UpdateEventResponseValidationError struct {
	// contains filtered or unexported fields
}

UpdateEventResponseValidationError is the validation error returned by UpdateEventResponse.Validate if the designated constraints aren't met.

func (UpdateEventResponseValidationError) Cause

Cause function returns cause value.

func (UpdateEventResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateEventResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateEventResponseValidationError) Field

Field function returns field value.

func (UpdateEventResponseValidationError) Key

Key function returns key value.

func (UpdateEventResponseValidationError) Reason

Reason function returns reason value.

type UpsertProfileRequest

type UpsertProfileRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertProfileRequest) Descriptor deprecated

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

Deprecated: Use UpsertProfileRequest.ProtoReflect.Descriptor instead.

func (*UpsertProfileRequest) GetEmail

func (x *UpsertProfileRequest) GetEmail() string

func (*UpsertProfileRequest) GetName

func (x *UpsertProfileRequest) GetName() string

func (*UpsertProfileRequest) ProtoMessage

func (*UpsertProfileRequest) ProtoMessage()

func (*UpsertProfileRequest) ProtoReflect

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

func (*UpsertProfileRequest) Reset

func (x *UpsertProfileRequest) Reset()

func (*UpsertProfileRequest) String

func (x *UpsertProfileRequest) String() string

func (*UpsertProfileRequest) Validate

func (m *UpsertProfileRequest) Validate() error

Validate checks the field values on UpsertProfileRequest 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 (*UpsertProfileRequest) ValidateAll

func (m *UpsertProfileRequest) ValidateAll() error

ValidateAll checks the field values on UpsertProfileRequest 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 UpsertProfileRequestMultiError, or nil if none found.

type UpsertProfileRequestMultiError

type UpsertProfileRequestMultiError []error

UpsertProfileRequestMultiError is an error wrapping multiple validation errors returned by UpsertProfileRequest.ValidateAll() if the designated constraints aren't met.

func (UpsertProfileRequestMultiError) AllErrors

func (m UpsertProfileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpsertProfileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpsertProfileRequestValidationError

type UpsertProfileRequestValidationError struct {
	// contains filtered or unexported fields
}

UpsertProfileRequestValidationError is the validation error returned by UpsertProfileRequest.Validate if the designated constraints aren't met.

func (UpsertProfileRequestValidationError) Cause

Cause function returns cause value.

func (UpsertProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (UpsertProfileRequestValidationError) ErrorName

ErrorName returns error name.

func (UpsertProfileRequestValidationError) Field

Field function returns field value.

func (UpsertProfileRequestValidationError) Key

Key function returns key value.

func (UpsertProfileRequestValidationError) Reason

Reason function returns reason value.

type UpsertProfileResponse

type UpsertProfileResponse struct {
	Email  string   `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name   string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Events []string `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertProfileResponse) Descriptor deprecated

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

Deprecated: Use UpsertProfileResponse.ProtoReflect.Descriptor instead.

func (*UpsertProfileResponse) GetEmail

func (x *UpsertProfileResponse) GetEmail() string

func (*UpsertProfileResponse) GetEvents

func (x *UpsertProfileResponse) GetEvents() []string

func (*UpsertProfileResponse) GetName

func (x *UpsertProfileResponse) GetName() string

func (*UpsertProfileResponse) ProtoMessage

func (*UpsertProfileResponse) ProtoMessage()

func (*UpsertProfileResponse) ProtoReflect

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

func (*UpsertProfileResponse) Reset

func (x *UpsertProfileResponse) Reset()

func (*UpsertProfileResponse) String

func (x *UpsertProfileResponse) String() string

func (*UpsertProfileResponse) Validate

func (m *UpsertProfileResponse) Validate() error

Validate checks the field values on UpsertProfileResponse 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 (*UpsertProfileResponse) ValidateAll

func (m *UpsertProfileResponse) ValidateAll() error

ValidateAll checks the field values on UpsertProfileResponse 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 UpsertProfileResponseMultiError, or nil if none found.

type UpsertProfileResponseMultiError

type UpsertProfileResponseMultiError []error

UpsertProfileResponseMultiError is an error wrapping multiple validation errors returned by UpsertProfileResponse.ValidateAll() if the designated constraints aren't met.

func (UpsertProfileResponseMultiError) AllErrors

func (m UpsertProfileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpsertProfileResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpsertProfileResponseValidationError

type UpsertProfileResponseValidationError struct {
	// contains filtered or unexported fields
}

UpsertProfileResponseValidationError is the validation error returned by UpsertProfileResponse.Validate if the designated constraints aren't met.

func (UpsertProfileResponseValidationError) Cause

Cause function returns cause value.

func (UpsertProfileResponseValidationError) Error

Error satisfies the builtin error interface

func (UpsertProfileResponseValidationError) ErrorName

ErrorName returns error name.

func (UpsertProfileResponseValidationError) Field

Field function returns field value.

func (UpsertProfileResponseValidationError) Key

Key function returns key value.

func (UpsertProfileResponseValidationError) Reason

Reason function returns reason value.

type User

type User struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetName

func (x *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

Validate checks the field values on User 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 (*User) ValidateAll

func (m *User) ValidateAll() error

ValidateAll checks the field values on User 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 UserMultiError, or nil if none found.

type UserMultiError

type UserMultiError []error

UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.

func (UserMultiError) AllErrors

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error

func (m UserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserValidationError

type UserValidationError struct {
	// contains filtered or unexported fields
}

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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