Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCalendarServer(s grpc.ServiceRegistrar, srv CalendarServer)
- type Alarm
- func (*Alarm) Descriptor() ([]byte, []int)deprecated
- func (x *Alarm) GetAction() string
- func (x *Alarm) GetAttach() []string
- func (x *Alarm) GetAttendee() *CalendarUserAddress
- func (x *Alarm) GetDescription() string
- func (x *Alarm) GetDuration() int64
- func (x *Alarm) GetProperties() *Properties
- func (x *Alarm) GetRepeat() int64
- func (x *Alarm) GetSummary() string
- func (x *Alarm) GetTrigger() int64
- func (*Alarm) ProtoMessage()
- func (x *Alarm) ProtoReflect() protoreflect.Message
- func (x *Alarm) Reset()
- func (x *Alarm) String() string
- type CalendarClient
- type CalendarInfo
- func (*CalendarInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarInfo) GetDescription() string
- func (x *CalendarInfo) GetMaxSize() int64
- func (x *CalendarInfo) GetName() string
- func (x *CalendarInfo) GetSupportedTypes() []Types
- func (x *CalendarInfo) GetUid() []byte
- func (*CalendarInfo) ProtoMessage()
- func (x *CalendarInfo) ProtoReflect() protoreflect.Message
- func (x *CalendarInfo) Reset()
- func (x *CalendarInfo) String() string
- type CalendarObjectInfo
- func (*CalendarObjectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarObjectInfo) GetData() *ICalendar
- func (x *CalendarObjectInfo) GetEtag() string
- func (x *CalendarObjectInfo) GetEventType() Types
- func (x *CalendarObjectInfo) GetModifiedAt() int64
- func (x *CalendarObjectInfo) GetObjectUid() []byte
- func (x *CalendarObjectInfo) GetSize() int64
- func (*CalendarObjectInfo) ProtoMessage()
- func (x *CalendarObjectInfo) ProtoReflect() protoreflect.Message
- func (x *CalendarObjectInfo) Reset()
- func (x *CalendarObjectInfo) String() string
- type CalendarObjectRequest
- func (*CalendarObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarObjectRequest) GetCalendarUid() []byte
- func (x *CalendarObjectRequest) GetObjectUid() []byte
- func (x *CalendarObjectRequest) GetUserLogin() string
- func (*CalendarObjectRequest) ProtoMessage()
- func (x *CalendarObjectRequest) ProtoReflect() protoreflect.Message
- func (x *CalendarObjectRequest) Reset()
- func (x *CalendarObjectRequest) String() string
- type CalendarRequest
- func (*CalendarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarRequest) GetCalendarUid() []byte
- func (x *CalendarRequest) GetUserLogin() string
- func (*CalendarRequest) ProtoMessage()
- func (x *CalendarRequest) ProtoReflect() protoreflect.Message
- func (x *CalendarRequest) Reset()
- func (x *CalendarRequest) String() string
- type CalendarResponse
- type CalendarServer
- type CalendarUserAccessRequest
- func (*CalendarUserAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarUserAccessRequest) GetCalendarUid() []byte
- func (x *CalendarUserAccessRequest) GetUserLogin() string
- func (*CalendarUserAccessRequest) ProtoMessage()
- func (x *CalendarUserAccessRequest) ProtoReflect() protoreflect.Message
- func (x *CalendarUserAccessRequest) Reset()
- func (x *CalendarUserAccessRequest) String() string
- type CalendarUserAddress
- func (*CalendarUserAddress) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarUserAddress) GetAddress() string
- func (x *CalendarUserAddress) GetDelegateFrom() *CalendarUserAddress
- func (x *CalendarUserAddress) GetDelegateTo() *CalendarUserAddress
- func (x *CalendarUserAddress) GetDir() string
- func (x *CalendarUserAddress) GetMember() *CalendarUserAddress
- func (x *CalendarUserAddress) GetName() string
- func (x *CalendarUserAddress) GetParticipationStatus() string
- func (x *CalendarUserAddress) GetRole() string
- func (x *CalendarUserAddress) GetRsvp() bool
- func (x *CalendarUserAddress) GetSentBy() *CalendarUserAddress
- func (x *CalendarUserAddress) GetUid() []byte
- func (x *CalendarUserAddress) GetUserType() string
- func (*CalendarUserAddress) ProtoMessage()
- func (x *CalendarUserAddress) ProtoReflect() protoreflect.Message
- func (x *CalendarUserAddress) Reset()
- func (x *CalendarUserAddress) String() string
- type CreateCalendarRequest
- func (*CreateCalendarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCalendarRequest) GetCalendar() *CalendarInfo
- func (x *CreateCalendarRequest) GetUserLogin() string
- func (*CreateCalendarRequest) ProtoMessage()
- func (x *CreateCalendarRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCalendarRequest) Reset()
- func (x *CreateCalendarRequest) String() string
- type DeleteCalendarObjectResponse
- func (*DeleteCalendarObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCalendarObjectResponse) GetObjectUid() []byte
- func (*DeleteCalendarObjectResponse) ProtoMessage()
- func (x *DeleteCalendarObjectResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteCalendarObjectResponse) Reset()
- func (x *DeleteCalendarObjectResponse) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAttach() string
- func (x *Event) GetAttendee() []*CalendarUserAddress
- func (x *Event) GetCategories() string
- func (x *Event) GetClass() string
- func (x *Event) GetComment() string
- func (x *Event) GetContact() string
- func (x *Event) GetCreated() int64
- func (x *Event) GetDescription() string
- func (x *Event) GetDuration() int64
- func (x *Event) GetEndTime() int64
- func (x *Event) GetGeo() string
- func (x *Event) GetLastModified() int64
- func (x *Event) GetLocation() string
- func (x *Event) GetOrganizer() *CalendarUserAddress
- func (x *Event) GetPriority() uint32
- func (x *Event) GetProperties() *Properties
- func (x *Event) GetRecurrenceSet() *RecurrenceInfo
- func (x *Event) GetRelated() string
- func (x *Event) GetRequestStatus() string
- func (x *Event) GetResources() string
- func (x *Event) GetSequence() uint32
- func (x *Event) GetStartTime() int64
- func (x *Event) GetStatus() bool
- func (x *Event) GetSummary() string
- func (x *Event) GetTimestamp() int64
- func (x *Event) GetTransparent() bool
- func (x *Event) GetUid() []byte
- func (x *Event) GetUrl() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type FreeBusy
- func (*FreeBusy) Descriptor() ([]byte, []int)deprecated
- func (x *FreeBusy) GetAttendee() []*CalendarUserAddress
- func (x *FreeBusy) GetComment() string
- func (x *FreeBusy) GetContact() string
- func (x *FreeBusy) GetEndTime() uint64
- func (x *FreeBusy) GetFreeBusy() string
- func (x *FreeBusy) GetOrganizer() *CalendarUserAddress
- func (x *FreeBusy) GetProperties() *Properties
- func (x *FreeBusy) GetRecurrenceStatus() string
- func (x *FreeBusy) GetStartTime() uint64
- func (x *FreeBusy) GetTimestamp() uint64
- func (x *FreeBusy) GetUid() []byte
- func (x *FreeBusy) GetUrl() string
- func (*FreeBusy) ProtoMessage()
- func (x *FreeBusy) ProtoReflect() protoreflect.Message
- func (x *FreeBusy) Reset()
- func (x *FreeBusy) String() string
- type ICalendar
- func (*ICalendar) Descriptor() ([]byte, []int)deprecated
- func (x *ICalendar) GetCalScale() string
- func (x *ICalendar) GetEvents() []*Event
- func (x *ICalendar) GetFreeBusy() []*FreeBusy
- func (x *ICalendar) GetMethod() string
- func (x *ICalendar) GetProdId() string
- func (x *ICalendar) GetTimezones() []*Timezone
- func (x *ICalendar) GetVersion() string
- func (*ICalendar) ProtoMessage()
- func (x *ICalendar) ProtoReflect() protoreflect.Message
- func (x *ICalendar) Reset()
- func (x *ICalendar) String() string
- type ListCalendarObjectsResponse
- func (*ListCalendarObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCalendarObjectsResponse) GetObjects() []*CalendarObjectInfo
- func (*ListCalendarObjectsResponse) ProtoMessage()
- func (x *ListCalendarObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCalendarObjectsResponse) Reset()
- func (x *ListCalendarObjectsResponse) String() string
- type ListCalendarsRequest
- func (*ListCalendarsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCalendarsRequest) GetUserLogin() string
- func (*ListCalendarsRequest) ProtoMessage()
- func (x *ListCalendarsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCalendarsRequest) Reset()
- func (x *ListCalendarsRequest) String() string
- type ListCalendarsResponse
- func (*ListCalendarsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCalendarsResponse) GetCalendars() []*CalendarInfo
- func (*ListCalendarsResponse) ProtoMessage()
- func (x *ListCalendarsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCalendarsResponse) Reset()
- func (x *ListCalendarsResponse) String() string
- type PrivilegesResponse
- func (*PrivilegesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrivilegesResponse) GetPrivileges() []string
- func (*PrivilegesResponse) ProtoMessage()
- func (x *PrivilegesResponse) ProtoReflect() protoreflect.Message
- func (x *PrivilegesResponse) Reset()
- func (x *PrivilegesResponse) String() string
- type Properties
- func (*Properties) Descriptor() ([]byte, []int)deprecated
- func (x *Properties) GetIanaProp() *structpb.Struct
- func (x *Properties) GetUcProp() *structpb.Struct
- func (x *Properties) GetXProp() *structpb.Struct
- func (*Properties) ProtoMessage()
- func (x *Properties) ProtoReflect() protoreflect.Message
- func (x *Properties) Reset()
- func (x *Properties) String() string
- type PutCalendarObjectRequest
- func (*PutCalendarObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutCalendarObjectRequest) GetCalendarUid() []byte
- func (x *PutCalendarObjectRequest) GetIfMatch() bool
- func (x *PutCalendarObjectRequest) GetIfNoneMatch() bool
- func (x *PutCalendarObjectRequest) GetObject() *CalendarObjectInfo
- func (*PutCalendarObjectRequest) ProtoMessage()
- func (x *PutCalendarObjectRequest) ProtoReflect() protoreflect.Message
- func (x *PutCalendarObjectRequest) Reset()
- func (x *PutCalendarObjectRequest) String() string
- type PutCalendarObjectResponse
- func (*PutCalendarObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutCalendarObjectResponse) GetEtag() string
- func (x *PutCalendarObjectResponse) GetObjectUid() []byte
- func (*PutCalendarObjectResponse) ProtoMessage()
- func (x *PutCalendarObjectResponse) ProtoReflect() protoreflect.Message
- func (x *PutCalendarObjectResponse) Reset()
- func (x *PutCalendarObjectResponse) String() string
- type RRule
- func (*RRule) Descriptor() ([]byte, []int)deprecated
- func (x *RRule) GetByDay() int64
- func (x *RRule) GetByHour() int64
- func (x *RRule) GetByMinute() int64
- func (x *RRule) GetByMonth() int64
- func (x *RRule) GetByMonthDay() int64
- func (x *RRule) GetBySecond() int64
- func (x *RRule) GetBySetPos() int64
- func (x *RRule) GetByWeekNo() int64
- func (x *RRule) GetByYearDay() int64
- func (x *RRule) GetCount() int64
- func (x *RRule) GetEndTime() int64
- func (x *RRule) GetFreq() string
- func (x *RRule) GetInterval() int64
- func (x *RRule) GetWkst() string
- func (*RRule) ProtoMessage()
- func (x *RRule) ProtoReflect() protoreflect.Message
- func (x *RRule) Reset()
- func (x *RRule) String() string
- type RecurrenceInfo
- func (*RecurrenceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RecurrenceInfo) GetDate() uint64
- func (x *RecurrenceInfo) GetExdates() []int64
- func (x *RecurrenceInfo) GetRecurrenceId() uint64
- func (x *RecurrenceInfo) GetRrule() *RRule
- func (*RecurrenceInfo) ProtoMessage()
- func (x *RecurrenceInfo) ProtoReflect() protoreflect.Message
- func (x *RecurrenceInfo) Reset()
- func (x *RecurrenceInfo) String() string
- type Timezone
- func (*Timezone) Descriptor() ([]byte, []int)deprecated
- func (x *Timezone) GetDaylights() []*TimezoneProps
- func (x *Timezone) GetStandards() []*TimezoneProps
- func (x *Timezone) GetTimezoneId() string
- func (*Timezone) ProtoMessage()
- func (x *Timezone) ProtoReflect() protoreflect.Message
- func (x *Timezone) Reset()
- func (x *Timezone) String() string
- type TimezoneProps
- func (*TimezoneProps) Descriptor() ([]byte, []int)deprecated
- func (x *TimezoneProps) GetComment() string
- func (x *TimezoneProps) GetRdate() int64
- func (x *TimezoneProps) GetRrule() *RRule
- func (x *TimezoneProps) GetStartTime() uint64
- func (x *TimezoneProps) GetTzName() string
- func (x *TimezoneProps) GetTzOffsetFrom() string
- func (x *TimezoneProps) GetTzOffsetTo() string
- func (*TimezoneProps) ProtoMessage()
- func (x *TimezoneProps) ProtoReflect() protoreflect.Message
- func (x *TimezoneProps) Reset()
- func (x *TimezoneProps) String() string
- type Types
- type UnimplementedCalendarServer
- func (UnimplementedCalendarServer) CreateCalendar(context.Context, *CreateCalendarRequest) (*CalendarResponse, error)
- func (UnimplementedCalendarServer) DeleteCalendar(context.Context, *CalendarRequest) (*CalendarResponse, error)
- func (UnimplementedCalendarServer) DeleteCalendarObject(context.Context, *CalendarObjectRequest) (*DeleteCalendarObjectResponse, error)
- func (UnimplementedCalendarServer) GetCalendar(context.Context, *CalendarRequest) (*CalendarInfo, error)
- func (UnimplementedCalendarServer) GetCalendarAccess(context.Context, *CalendarUserAccessRequest) (*PrivilegesResponse, error)
- func (UnimplementedCalendarServer) GetCalendarObject(context.Context, *CalendarObjectRequest) (*CalendarObjectInfo, error)
- func (UnimplementedCalendarServer) GetUserAccess(context.Context, *UserRequest) (*PrivilegesResponse, error)
- func (UnimplementedCalendarServer) ListCalendarObjects(context.Context, *CalendarRequest) (*ListCalendarObjectsResponse, error)
- func (UnimplementedCalendarServer) ListCalendars(context.Context, *ListCalendarsRequest) (*ListCalendarsResponse, error)
- func (UnimplementedCalendarServer) PutCalendarObject(context.Context, *PutCalendarObjectRequest) (*PutCalendarObjectResponse, error)
- type UnsafeCalendarServer
- type UserRequest
Constants ¶
const ( Calendar_GetUserAccess_FullMethodName = "/calendar.api.Calendar/GetUserAccess" Calendar_GetCalendarAccess_FullMethodName = "/calendar.api.Calendar/GetCalendarAccess" Calendar_CreateCalendar_FullMethodName = "/calendar.api.Calendar/CreateCalendar" Calendar_ListCalendars_FullMethodName = "/calendar.api.Calendar/ListCalendars" Calendar_GetCalendar_FullMethodName = "/calendar.api.Calendar/GetCalendar" Calendar_DeleteCalendar_FullMethodName = "/calendar.api.Calendar/DeleteCalendar" Calendar_PutCalendarObject_FullMethodName = "/calendar.api.Calendar/PutCalendarObject" Calendar_ListCalendarObjects_FullMethodName = "/calendar.api.Calendar/ListCalendarObjects" Calendar_GetCalendarObject_FullMethodName = "/calendar.api.Calendar/GetCalendarObject" Calendar_DeleteCalendarObject_FullMethodName = "/calendar.api.Calendar/DeleteCalendarObject" )
Variables ¶
var ( Types_name = map[int32]string{ 0: "VEVENT", 1: "VTODO", 2: "VJOURNAL", 3: "VFREEBUSY", 4: "VTIMEZONE", } Types_value = map[string]int32{ "VEVENT": 0, "VTODO": 1, "VJOURNAL": 2, "VFREEBUSY": 3, "VTIMEZONE": 4, } )
Enum value maps for Types.
var Calendar_ServiceDesc = grpc.ServiceDesc{ ServiceName: "calendar.api.Calendar", HandlerType: (*CalendarServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserAccess", Handler: _Calendar_GetUserAccess_Handler, }, { MethodName: "GetCalendarAccess", Handler: _Calendar_GetCalendarAccess_Handler, }, { MethodName: "CreateCalendar", Handler: _Calendar_CreateCalendar_Handler, }, { MethodName: "ListCalendars", Handler: _Calendar_ListCalendars_Handler, }, { MethodName: "GetCalendar", Handler: _Calendar_GetCalendar_Handler, }, { MethodName: "DeleteCalendar", Handler: _Calendar_DeleteCalendar_Handler, }, { MethodName: "PutCalendarObject", Handler: _Calendar_PutCalendarObject_Handler, }, { MethodName: "ListCalendarObjects", Handler: _Calendar_ListCalendarObjects_Handler, }, { MethodName: "GetCalendarObject", Handler: _Calendar_GetCalendarObject_Handler, }, { MethodName: "DeleteCalendarObject", Handler: _Calendar_DeleteCalendarObject_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/caldav.proto", }
Calendar_ServiceDesc is the grpc.ServiceDesc for Calendar service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_protobuf_caldav_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCalendarServer ¶
func RegisterCalendarServer(s grpc.ServiceRegistrar, srv CalendarServer)
Types ¶
type Alarm ¶
type Alarm struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Trigger int64 `protobuf:"varint,2,opt,name=trigger,proto3" json:"trigger,omitempty"` Duration *int64 `protobuf:"varint,3,opt,name=duration,proto3,oneof" json:"duration,omitempty"` Repeat *int64 `protobuf:"varint,4,opt,name=repeat,proto3,oneof" json:"repeat,omitempty"` Summary *string `protobuf:"bytes,5,opt,name=summary,proto3,oneof" json:"summary,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` Attendee *CalendarUserAddress `protobuf:"bytes,7,opt,name=attendee,proto3,oneof" json:"attendee,omitempty"` Attach []string `protobuf:"bytes,8,rep,name=attach,proto3" json:"attach,omitempty"` Properties *Properties `protobuf:"bytes,9,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*Alarm) Descriptor
deprecated
func (*Alarm) GetAttendee ¶
func (x *Alarm) GetAttendee() *CalendarUserAddress
func (*Alarm) GetDescription ¶
func (*Alarm) GetDuration ¶
func (*Alarm) GetProperties ¶
func (x *Alarm) GetProperties() *Properties
func (*Alarm) GetSummary ¶
func (*Alarm) GetTrigger ¶
func (*Alarm) ProtoMessage ¶
func (*Alarm) ProtoMessage()
func (*Alarm) ProtoReflect ¶
func (x *Alarm) ProtoReflect() protoreflect.Message
type CalendarClient ¶
type CalendarClient interface { GetUserAccess(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*PrivilegesResponse, error) GetCalendarAccess(ctx context.Context, in *CalendarUserAccessRequest, opts ...grpc.CallOption) (*PrivilegesResponse, error) CreateCalendar(ctx context.Context, in *CreateCalendarRequest, opts ...grpc.CallOption) (*CalendarResponse, error) ListCalendars(ctx context.Context, in *ListCalendarsRequest, opts ...grpc.CallOption) (*ListCalendarsResponse, error) GetCalendar(ctx context.Context, in *CalendarRequest, opts ...grpc.CallOption) (*CalendarInfo, error) DeleteCalendar(ctx context.Context, in *CalendarRequest, opts ...grpc.CallOption) (*CalendarResponse, error) PutCalendarObject(ctx context.Context, in *PutCalendarObjectRequest, opts ...grpc.CallOption) (*PutCalendarObjectResponse, error) ListCalendarObjects(ctx context.Context, in *CalendarRequest, opts ...grpc.CallOption) (*ListCalendarObjectsResponse, error) GetCalendarObject(ctx context.Context, in *CalendarObjectRequest, opts ...grpc.CallOption) (*CalendarObjectInfo, error) DeleteCalendarObject(ctx context.Context, in *CalendarObjectRequest, opts ...grpc.CallOption) (*DeleteCalendarObjectResponse, error) }
CalendarClient is the client API for Calendar service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCalendarClient ¶
func NewCalendarClient(cc grpc.ClientConnInterface) CalendarClient
type CalendarInfo ¶
type CalendarInfo struct { Uid []byte `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` SupportedTypes []Types `` /* 135-byte string literal not displayed */ MaxSize int64 `protobuf:"varint,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // contains filtered or unexported fields }
func (*CalendarInfo) Descriptor
deprecated
func (*CalendarInfo) Descriptor() ([]byte, []int)
Deprecated: Use CalendarInfo.ProtoReflect.Descriptor instead.
func (*CalendarInfo) GetDescription ¶
func (x *CalendarInfo) GetDescription() string
func (*CalendarInfo) GetMaxSize ¶
func (x *CalendarInfo) GetMaxSize() int64
func (*CalendarInfo) GetName ¶
func (x *CalendarInfo) GetName() string
func (*CalendarInfo) GetSupportedTypes ¶
func (x *CalendarInfo) GetSupportedTypes() []Types
func (*CalendarInfo) GetUid ¶
func (x *CalendarInfo) GetUid() []byte
func (*CalendarInfo) ProtoMessage ¶
func (*CalendarInfo) ProtoMessage()
func (*CalendarInfo) ProtoReflect ¶
func (x *CalendarInfo) ProtoReflect() protoreflect.Message
func (*CalendarInfo) Reset ¶
func (x *CalendarInfo) Reset()
func (*CalendarInfo) String ¶
func (x *CalendarInfo) String() string
type CalendarObjectInfo ¶
type CalendarObjectInfo struct { ObjectUid []byte `protobuf:"bytes,1,opt,name=object_uid,json=objectUid,proto3" json:"object_uid,omitempty"` EventType Types `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=calendar.api.Types" json:"event_type,omitempty"` ModifiedAt int64 `protobuf:"varint,3,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"` Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"` Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` Data *ICalendar `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CalendarObjectInfo) Descriptor
deprecated
func (*CalendarObjectInfo) Descriptor() ([]byte, []int)
Deprecated: Use CalendarObjectInfo.ProtoReflect.Descriptor instead.
func (*CalendarObjectInfo) GetData ¶
func (x *CalendarObjectInfo) GetData() *ICalendar
func (*CalendarObjectInfo) GetEtag ¶
func (x *CalendarObjectInfo) GetEtag() string
func (*CalendarObjectInfo) GetEventType ¶
func (x *CalendarObjectInfo) GetEventType() Types
func (*CalendarObjectInfo) GetModifiedAt ¶
func (x *CalendarObjectInfo) GetModifiedAt() int64
func (*CalendarObjectInfo) GetObjectUid ¶
func (x *CalendarObjectInfo) GetObjectUid() []byte
func (*CalendarObjectInfo) GetSize ¶
func (x *CalendarObjectInfo) GetSize() int64
func (*CalendarObjectInfo) ProtoMessage ¶
func (*CalendarObjectInfo) ProtoMessage()
func (*CalendarObjectInfo) ProtoReflect ¶
func (x *CalendarObjectInfo) ProtoReflect() protoreflect.Message
func (*CalendarObjectInfo) Reset ¶
func (x *CalendarObjectInfo) Reset()
func (*CalendarObjectInfo) String ¶
func (x *CalendarObjectInfo) String() string
type CalendarObjectRequest ¶
type CalendarObjectRequest struct { UserLogin string `protobuf:"bytes,1,opt,name=user_login,json=userLogin,proto3" json:"user_login,omitempty"` CalendarUid []byte `protobuf:"bytes,2,opt,name=calendar_uid,json=calendarUid,proto3" json:"calendar_uid,omitempty"` ObjectUid []byte `protobuf:"bytes,3,opt,name=object_uid,json=objectUid,proto3" json:"object_uid,omitempty"` // contains filtered or unexported fields }
func (*CalendarObjectRequest) Descriptor
deprecated
func (*CalendarObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CalendarObjectRequest.ProtoReflect.Descriptor instead.
func (*CalendarObjectRequest) GetCalendarUid ¶
func (x *CalendarObjectRequest) GetCalendarUid() []byte
func (*CalendarObjectRequest) GetObjectUid ¶
func (x *CalendarObjectRequest) GetObjectUid() []byte
func (*CalendarObjectRequest) GetUserLogin ¶
func (x *CalendarObjectRequest) GetUserLogin() string
func (*CalendarObjectRequest) ProtoMessage ¶
func (*CalendarObjectRequest) ProtoMessage()
func (*CalendarObjectRequest) ProtoReflect ¶
func (x *CalendarObjectRequest) ProtoReflect() protoreflect.Message
func (*CalendarObjectRequest) Reset ¶
func (x *CalendarObjectRequest) Reset()
func (*CalendarObjectRequest) String ¶
func (x *CalendarObjectRequest) String() string
type CalendarRequest ¶
type CalendarRequest struct { UserLogin string `protobuf:"bytes,1,opt,name=user_login,json=userLogin,proto3" json:"user_login,omitempty"` CalendarUid []byte `protobuf:"bytes,2,opt,name=calendar_uid,json=calendarUid,proto3" json:"calendar_uid,omitempty"` // contains filtered or unexported fields }
func (*CalendarRequest) Descriptor
deprecated
func (*CalendarRequest) Descriptor() ([]byte, []int)
Deprecated: Use CalendarRequest.ProtoReflect.Descriptor instead.
func (*CalendarRequest) GetCalendarUid ¶
func (x *CalendarRequest) GetCalendarUid() []byte
func (*CalendarRequest) GetUserLogin ¶
func (x *CalendarRequest) GetUserLogin() string
func (*CalendarRequest) ProtoMessage ¶
func (*CalendarRequest) ProtoMessage()
func (*CalendarRequest) ProtoReflect ¶
func (x *CalendarRequest) ProtoReflect() protoreflect.Message
func (*CalendarRequest) Reset ¶
func (x *CalendarRequest) Reset()
func (*CalendarRequest) String ¶
func (x *CalendarRequest) String() string
type CalendarResponse ¶
type CalendarResponse struct { CalendarUid []byte `protobuf:"bytes,1,opt,name=calendar_uid,json=calendarUid,proto3" json:"calendar_uid,omitempty"` // contains filtered or unexported fields }
func (*CalendarResponse) Descriptor
deprecated
func (*CalendarResponse) Descriptor() ([]byte, []int)
Deprecated: Use CalendarResponse.ProtoReflect.Descriptor instead.
func (*CalendarResponse) GetCalendarUid ¶
func (x *CalendarResponse) GetCalendarUid() []byte
func (*CalendarResponse) ProtoMessage ¶
func (*CalendarResponse) ProtoMessage()
func (*CalendarResponse) ProtoReflect ¶
func (x *CalendarResponse) ProtoReflect() protoreflect.Message
func (*CalendarResponse) Reset ¶
func (x *CalendarResponse) Reset()
func (*CalendarResponse) String ¶
func (x *CalendarResponse) String() string
type CalendarServer ¶
type CalendarServer interface { GetUserAccess(context.Context, *UserRequest) (*PrivilegesResponse, error) GetCalendarAccess(context.Context, *CalendarUserAccessRequest) (*PrivilegesResponse, error) CreateCalendar(context.Context, *CreateCalendarRequest) (*CalendarResponse, error) ListCalendars(context.Context, *ListCalendarsRequest) (*ListCalendarsResponse, error) GetCalendar(context.Context, *CalendarRequest) (*CalendarInfo, error) DeleteCalendar(context.Context, *CalendarRequest) (*CalendarResponse, error) PutCalendarObject(context.Context, *PutCalendarObjectRequest) (*PutCalendarObjectResponse, error) ListCalendarObjects(context.Context, *CalendarRequest) (*ListCalendarObjectsResponse, error) GetCalendarObject(context.Context, *CalendarObjectRequest) (*CalendarObjectInfo, error) DeleteCalendarObject(context.Context, *CalendarObjectRequest) (*DeleteCalendarObjectResponse, error) // contains filtered or unexported methods }
CalendarServer is the server API for Calendar service. All implementations must embed UnimplementedCalendarServer for forward compatibility
type CalendarUserAccessRequest ¶
type CalendarUserAccessRequest struct { UserLogin string `protobuf:"bytes,1,opt,name=user_login,json=userLogin,proto3" json:"user_login,omitempty"` CalendarUid []byte `protobuf:"bytes,2,opt,name=calendar_uid,json=calendarUid,proto3" json:"calendar_uid,omitempty"` // contains filtered or unexported fields }
func (*CalendarUserAccessRequest) Descriptor
deprecated
func (*CalendarUserAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use CalendarUserAccessRequest.ProtoReflect.Descriptor instead.
func (*CalendarUserAccessRequest) GetCalendarUid ¶
func (x *CalendarUserAccessRequest) GetCalendarUid() []byte
func (*CalendarUserAccessRequest) GetUserLogin ¶
func (x *CalendarUserAccessRequest) GetUserLogin() string
func (*CalendarUserAccessRequest) ProtoMessage ¶
func (*CalendarUserAccessRequest) ProtoMessage()
func (*CalendarUserAccessRequest) ProtoReflect ¶
func (x *CalendarUserAccessRequest) ProtoReflect() protoreflect.Message
func (*CalendarUserAccessRequest) Reset ¶
func (x *CalendarUserAccessRequest) Reset()
func (*CalendarUserAccessRequest) String ¶
func (x *CalendarUserAccessRequest) String() string
type CalendarUserAddress ¶
type CalendarUserAddress struct { Uid []byte `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` UserType *string `protobuf:"bytes,4,opt,name=user_type,json=userType,proto3,oneof" json:"user_type,omitempty"` DelegateFrom *CalendarUserAddress `protobuf:"bytes,5,opt,name=delegate_from,json=delegateFrom,proto3,oneof" json:"delegate_from,omitempty"` DelegateTo *CalendarUserAddress `protobuf:"bytes,6,opt,name=delegate_to,json=delegateTo,proto3,oneof" json:"delegate_to,omitempty"` Dir *string `protobuf:"bytes,7,opt,name=dir,proto3,oneof" json:"dir,omitempty"` Member *CalendarUserAddress `protobuf:"bytes,8,opt,name=member,proto3,oneof" json:"member,omitempty"` ParticipationStatus *string `protobuf:"bytes,9,opt,name=participation_status,json=participationStatus,proto3,oneof" json:"participation_status,omitempty"` Role *string `protobuf:"bytes,10,opt,name=role,proto3,oneof" json:"role,omitempty"` Rsvp *bool `protobuf:"varint,11,opt,name=rsvp,proto3,oneof" json:"rsvp,omitempty"` SentBy *CalendarUserAddress `protobuf:"bytes,12,opt,name=sent_by,json=sentBy,proto3,oneof" json:"sent_by,omitempty"` // contains filtered or unexported fields }
func (*CalendarUserAddress) Descriptor
deprecated
func (*CalendarUserAddress) Descriptor() ([]byte, []int)
Deprecated: Use CalendarUserAddress.ProtoReflect.Descriptor instead.
func (*CalendarUserAddress) GetAddress ¶
func (x *CalendarUserAddress) GetAddress() string
func (*CalendarUserAddress) GetDelegateFrom ¶
func (x *CalendarUserAddress) GetDelegateFrom() *CalendarUserAddress
func (*CalendarUserAddress) GetDelegateTo ¶
func (x *CalendarUserAddress) GetDelegateTo() *CalendarUserAddress
func (*CalendarUserAddress) GetDir ¶
func (x *CalendarUserAddress) GetDir() string
func (*CalendarUserAddress) GetMember ¶
func (x *CalendarUserAddress) GetMember() *CalendarUserAddress
func (*CalendarUserAddress) GetName ¶
func (x *CalendarUserAddress) GetName() string
func (*CalendarUserAddress) GetParticipationStatus ¶
func (x *CalendarUserAddress) GetParticipationStatus() string
func (*CalendarUserAddress) GetRole ¶
func (x *CalendarUserAddress) GetRole() string
func (*CalendarUserAddress) GetRsvp ¶
func (x *CalendarUserAddress) GetRsvp() bool
func (*CalendarUserAddress) GetSentBy ¶
func (x *CalendarUserAddress) GetSentBy() *CalendarUserAddress
func (*CalendarUserAddress) GetUid ¶
func (x *CalendarUserAddress) GetUid() []byte
func (*CalendarUserAddress) GetUserType ¶
func (x *CalendarUserAddress) GetUserType() string
func (*CalendarUserAddress) ProtoMessage ¶
func (*CalendarUserAddress) ProtoMessage()
func (*CalendarUserAddress) ProtoReflect ¶
func (x *CalendarUserAddress) ProtoReflect() protoreflect.Message
func (*CalendarUserAddress) Reset ¶
func (x *CalendarUserAddress) Reset()
func (*CalendarUserAddress) String ¶
func (x *CalendarUserAddress) String() string
type CreateCalendarRequest ¶
type CreateCalendarRequest struct { UserLogin string `protobuf:"bytes,1,opt,name=user_login,json=userLogin,proto3" json:"user_login,omitempty"` Calendar *CalendarInfo `protobuf:"bytes,2,opt,name=calendar,proto3" json:"calendar,omitempty"` // contains filtered or unexported fields }
func (*CreateCalendarRequest) Descriptor
deprecated
func (*CreateCalendarRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCalendarRequest.ProtoReflect.Descriptor instead.
func (*CreateCalendarRequest) GetCalendar ¶
func (x *CreateCalendarRequest) GetCalendar() *CalendarInfo
func (*CreateCalendarRequest) GetUserLogin ¶
func (x *CreateCalendarRequest) GetUserLogin() string
func (*CreateCalendarRequest) ProtoMessage ¶
func (*CreateCalendarRequest) ProtoMessage()
func (*CreateCalendarRequest) ProtoReflect ¶
func (x *CreateCalendarRequest) ProtoReflect() protoreflect.Message
func (*CreateCalendarRequest) Reset ¶
func (x *CreateCalendarRequest) Reset()
func (*CreateCalendarRequest) String ¶
func (x *CreateCalendarRequest) String() string
type DeleteCalendarObjectResponse ¶
type DeleteCalendarObjectResponse struct { ObjectUid []byte `protobuf:"bytes,1,opt,name=object_uid,json=objectUid,proto3" json:"object_uid,omitempty"` // contains filtered or unexported fields }
func (*DeleteCalendarObjectResponse) Descriptor
deprecated
func (*DeleteCalendarObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCalendarObjectResponse.ProtoReflect.Descriptor instead.
func (*DeleteCalendarObjectResponse) GetObjectUid ¶
func (x *DeleteCalendarObjectResponse) GetObjectUid() []byte
func (*DeleteCalendarObjectResponse) ProtoMessage ¶
func (*DeleteCalendarObjectResponse) ProtoMessage()
func (*DeleteCalendarObjectResponse) ProtoReflect ¶
func (x *DeleteCalendarObjectResponse) ProtoReflect() protoreflect.Message
func (*DeleteCalendarObjectResponse) Reset ¶
func (x *DeleteCalendarObjectResponse) Reset()
func (*DeleteCalendarObjectResponse) String ¶
func (x *DeleteCalendarObjectResponse) String() string
type Event ¶
type Event struct { Uid []byte `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` Duration *int64 `protobuf:"varint,5,opt,name=duration,proto3,oneof" json:"duration,omitempty"` Summary *string `protobuf:"bytes,6,opt,name=summary,proto3,oneof" json:"summary,omitempty"` Class *string `protobuf:"bytes,7,opt,name=class,proto3,oneof" json:"class,omitempty"` Description *string `protobuf:"bytes,8,opt,name=description,proto3,oneof" json:"description,omitempty"` Url *string `protobuf:"bytes,9,opt,name=url,proto3,oneof" json:"url,omitempty"` Created *int64 `protobuf:"varint,10,opt,name=created,proto3,oneof" json:"created,omitempty"` LastModified *int64 `protobuf:"varint,11,opt,name=last_modified,json=lastModified,proto3,oneof" json:"last_modified,omitempty"` Status *bool `protobuf:"varint,12,opt,name=status,proto3,oneof" json:"status,omitempty"` Transparent *bool `protobuf:"varint,13,opt,name=transparent,proto3,oneof" json:"transparent,omitempty"` Geo *string `protobuf:"bytes,14,opt,name=geo,proto3,oneof" json:"geo,omitempty"` Location *string `protobuf:"bytes,15,opt,name=location,proto3,oneof" json:"location,omitempty"` Priority *uint32 `protobuf:"varint,16,opt,name=priority,proto3,oneof" json:"priority,omitempty"` Sequence *uint32 `protobuf:"varint,17,opt,name=sequence,proto3,oneof" json:"sequence,omitempty"` Categories *string `protobuf:"bytes,18,opt,name=categories,proto3,oneof" json:"categories,omitempty"` Attach *string `protobuf:"bytes,19,opt,name=attach,proto3,oneof" json:"attach,omitempty"` Comment *string `protobuf:"bytes,20,opt,name=comment,proto3,oneof" json:"comment,omitempty"` Contact *string `protobuf:"bytes,21,opt,name=contact,proto3,oneof" json:"contact,omitempty"` RequestStatus *string `protobuf:"bytes,22,opt,name=request_status,json=requestStatus,proto3,oneof" json:"request_status,omitempty"` Related *string `protobuf:"bytes,23,opt,name=related,proto3,oneof" json:"related,omitempty"` Resources *string `protobuf:"bytes,24,opt,name=resources,proto3,oneof" json:"resources,omitempty"` Organizer *CalendarUserAddress `protobuf:"bytes,25,opt,name=organizer,proto3,oneof" json:"organizer,omitempty"` Attendee []*CalendarUserAddress `protobuf:"bytes,26,rep,name=attendee,proto3" json:"attendee,omitempty"` RecurrenceSet *RecurrenceInfo `protobuf:"bytes,27,opt,name=recurrence_set,json=recurrenceSet,proto3,oneof" json:"recurrence_set,omitempty"` Properties *Properties `protobuf:"bytes,28,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetAttendee ¶
func (x *Event) GetAttendee() []*CalendarUserAddress
func (*Event) GetCategories ¶
func (*Event) GetComment ¶
func (*Event) GetContact ¶
func (*Event) GetCreated ¶
func (*Event) GetDescription ¶
func (*Event) GetDuration ¶
func (*Event) GetEndTime ¶
func (*Event) GetLastModified ¶
func (*Event) GetLocation ¶
func (*Event) GetOrganizer ¶
func (x *Event) GetOrganizer() *CalendarUserAddress
func (*Event) GetPriority ¶
func (*Event) GetProperties ¶
func (x *Event) GetProperties() *Properties
func (*Event) GetRecurrenceSet ¶
func (x *Event) GetRecurrenceSet() *RecurrenceInfo
func (*Event) GetRelated ¶
func (*Event) GetRequestStatus ¶
func (*Event) GetResources ¶
func (*Event) GetSequence ¶
func (*Event) GetStartTime ¶
func (*Event) GetSummary ¶
func (*Event) GetTimestamp ¶
func (*Event) GetTransparent ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type FreeBusy ¶
type FreeBusy struct { Uid []byte `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"` EndTime *uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` Url *string `protobuf:"bytes,5,opt,name=url,proto3,oneof" json:"url,omitempty"` Contact *string `protobuf:"bytes,6,opt,name=contact,proto3,oneof" json:"contact,omitempty"` Organizer *CalendarUserAddress `protobuf:"bytes,7,opt,name=organizer,proto3,oneof" json:"organizer,omitempty"` Attendee []*CalendarUserAddress `protobuf:"bytes,8,rep,name=attendee,proto3" json:"attendee,omitempty"` Comment *string `protobuf:"bytes,9,opt,name=comment,proto3,oneof" json:"comment,omitempty"` FreeBusy *string `protobuf:"bytes,10,opt,name=free_busy,json=freeBusy,proto3,oneof" json:"free_busy,omitempty"` RecurrenceStatus *string `protobuf:"bytes,11,opt,name=recurrence_status,json=recurrenceStatus,proto3,oneof" json:"recurrence_status,omitempty"` Properties *Properties `protobuf:"bytes,12,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*FreeBusy) Descriptor
deprecated
func (*FreeBusy) GetAttendee ¶
func (x *FreeBusy) GetAttendee() []*CalendarUserAddress
func (*FreeBusy) GetComment ¶
func (*FreeBusy) GetContact ¶
func (*FreeBusy) GetEndTime ¶
func (*FreeBusy) GetFreeBusy ¶
func (*FreeBusy) GetOrganizer ¶
func (x *FreeBusy) GetOrganizer() *CalendarUserAddress
func (*FreeBusy) GetProperties ¶
func (x *FreeBusy) GetProperties() *Properties
func (*FreeBusy) GetRecurrenceStatus ¶
func (*FreeBusy) GetStartTime ¶
func (*FreeBusy) GetTimestamp ¶
func (*FreeBusy) ProtoMessage ¶
func (*FreeBusy) ProtoMessage()
func (*FreeBusy) ProtoReflect ¶
func (x *FreeBusy) ProtoReflect() protoreflect.Message
type ICalendar ¶
type ICalendar struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` ProdId string `protobuf:"bytes,2,opt,name=prod_id,json=prodId,proto3" json:"prod_id,omitempty"` CalScale *string `protobuf:"bytes,3,opt,name=cal_scale,json=calScale,proto3,oneof" json:"cal_scale,omitempty"` Method *string `protobuf:"bytes,4,opt,name=method,proto3,oneof" json:"method,omitempty"` Events []*Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` FreeBusy []*FreeBusy `protobuf:"bytes,6,rep,name=free_busy,json=freeBusy,proto3" json:"free_busy,omitempty"` Timezones []*Timezone `protobuf:"bytes,7,rep,name=timezones,proto3" json:"timezones,omitempty"` //TODO x-prop / iana-prop нужны? // contains filtered or unexported fields }
func (*ICalendar) Descriptor
deprecated
func (*ICalendar) GetCalScale ¶
func (*ICalendar) GetFreeBusy ¶
func (*ICalendar) GetTimezones ¶
func (*ICalendar) GetVersion ¶
func (*ICalendar) ProtoMessage ¶
func (*ICalendar) ProtoMessage()
func (*ICalendar) ProtoReflect ¶
func (x *ICalendar) ProtoReflect() protoreflect.Message
type ListCalendarObjectsResponse ¶
type ListCalendarObjectsResponse struct { Objects []*CalendarObjectInfo `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*ListCalendarObjectsResponse) Descriptor
deprecated
func (*ListCalendarObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCalendarObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListCalendarObjectsResponse) GetObjects ¶
func (x *ListCalendarObjectsResponse) GetObjects() []*CalendarObjectInfo
func (*ListCalendarObjectsResponse) ProtoMessage ¶
func (*ListCalendarObjectsResponse) ProtoMessage()
func (*ListCalendarObjectsResponse) ProtoReflect ¶
func (x *ListCalendarObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListCalendarObjectsResponse) Reset ¶
func (x *ListCalendarObjectsResponse) Reset()
func (*ListCalendarObjectsResponse) String ¶
func (x *ListCalendarObjectsResponse) String() string
type ListCalendarsRequest ¶
type ListCalendarsRequest struct { UserLogin string `protobuf:"bytes,1,opt,name=user_login,json=userLogin,proto3" json:"user_login,omitempty"` // contains filtered or unexported fields }
func (*ListCalendarsRequest) Descriptor
deprecated
func (*ListCalendarsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCalendarsRequest.ProtoReflect.Descriptor instead.
func (*ListCalendarsRequest) GetUserLogin ¶
func (x *ListCalendarsRequest) GetUserLogin() string
func (*ListCalendarsRequest) ProtoMessage ¶
func (*ListCalendarsRequest) ProtoMessage()
func (*ListCalendarsRequest) ProtoReflect ¶
func (x *ListCalendarsRequest) ProtoReflect() protoreflect.Message
func (*ListCalendarsRequest) Reset ¶
func (x *ListCalendarsRequest) Reset()
func (*ListCalendarsRequest) String ¶
func (x *ListCalendarsRequest) String() string
type ListCalendarsResponse ¶
type ListCalendarsResponse struct { Calendars []*CalendarInfo `protobuf:"bytes,1,rep,name=calendars,proto3" json:"calendars,omitempty"` // contains filtered or unexported fields }
func (*ListCalendarsResponse) Descriptor
deprecated
func (*ListCalendarsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCalendarsResponse.ProtoReflect.Descriptor instead.
func (*ListCalendarsResponse) GetCalendars ¶
func (x *ListCalendarsResponse) GetCalendars() []*CalendarInfo
func (*ListCalendarsResponse) ProtoMessage ¶
func (*ListCalendarsResponse) ProtoMessage()
func (*ListCalendarsResponse) ProtoReflect ¶
func (x *ListCalendarsResponse) ProtoReflect() protoreflect.Message
func (*ListCalendarsResponse) Reset ¶
func (x *ListCalendarsResponse) Reset()
func (*ListCalendarsResponse) String ¶
func (x *ListCalendarsResponse) String() string
type PrivilegesResponse ¶
type PrivilegesResponse struct { Privileges []string `protobuf:"bytes,1,rep,name=privileges,proto3" json:"privileges,omitempty"` // TODO переделать // contains filtered or unexported fields }
func (*PrivilegesResponse) Descriptor
deprecated
func (*PrivilegesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrivilegesResponse.ProtoReflect.Descriptor instead.
func (*PrivilegesResponse) GetPrivileges ¶
func (x *PrivilegesResponse) GetPrivileges() []string
func (*PrivilegesResponse) ProtoMessage ¶
func (*PrivilegesResponse) ProtoMessage()
func (*PrivilegesResponse) ProtoReflect ¶
func (x *PrivilegesResponse) ProtoReflect() protoreflect.Message
func (*PrivilegesResponse) Reset ¶
func (x *PrivilegesResponse) Reset()
func (*PrivilegesResponse) String ¶
func (x *PrivilegesResponse) String() string
type Properties ¶
type Properties struct { XProp *structpb.Struct `protobuf:"bytes,1,opt,name=x_prop,json=xProp,proto3,oneof" json:"x_prop,omitempty"` IanaProp *structpb.Struct `protobuf:"bytes,2,opt,name=iana_prop,json=ianaProp,proto3,oneof" json:"iana_prop,omitempty"` UcProp *structpb.Struct `protobuf:"bytes,3,opt,name=uc_prop,json=ucProp,proto3" json:"uc_prop,omitempty"` // contains filtered or unexported fields }
func (*Properties) Descriptor
deprecated
func (*Properties) Descriptor() ([]byte, []int)
Deprecated: Use Properties.ProtoReflect.Descriptor instead.
func (*Properties) GetIanaProp ¶
func (x *Properties) GetIanaProp() *structpb.Struct
func (*Properties) GetUcProp ¶
func (x *Properties) GetUcProp() *structpb.Struct
func (*Properties) GetXProp ¶
func (x *Properties) GetXProp() *structpb.Struct
func (*Properties) ProtoMessage ¶
func (*Properties) ProtoMessage()
func (*Properties) ProtoReflect ¶
func (x *Properties) ProtoReflect() protoreflect.Message
func (*Properties) Reset ¶
func (x *Properties) Reset()
func (*Properties) String ¶
func (x *Properties) String() string
type PutCalendarObjectRequest ¶
type PutCalendarObjectRequest struct { CalendarUid []byte `protobuf:"bytes,1,opt,name=calendar_uid,json=calendarUid,proto3" json:"calendar_uid,omitempty"` Object *CalendarObjectInfo `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` IfMatch bool `protobuf:"varint,3,opt,name=if_match,json=ifMatch,proto3" json:"if_match,omitempty"` IfNoneMatch bool `protobuf:"varint,4,opt,name=if_none_match,json=ifNoneMatch,proto3" json:"if_none_match,omitempty"` // contains filtered or unexported fields }
func (*PutCalendarObjectRequest) Descriptor
deprecated
func (*PutCalendarObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutCalendarObjectRequest.ProtoReflect.Descriptor instead.
func (*PutCalendarObjectRequest) GetCalendarUid ¶
func (x *PutCalendarObjectRequest) GetCalendarUid() []byte
func (*PutCalendarObjectRequest) GetIfMatch ¶
func (x *PutCalendarObjectRequest) GetIfMatch() bool
func (*PutCalendarObjectRequest) GetIfNoneMatch ¶
func (x *PutCalendarObjectRequest) GetIfNoneMatch() bool
func (*PutCalendarObjectRequest) GetObject ¶
func (x *PutCalendarObjectRequest) GetObject() *CalendarObjectInfo
func (*PutCalendarObjectRequest) ProtoMessage ¶
func (*PutCalendarObjectRequest) ProtoMessage()
func (*PutCalendarObjectRequest) ProtoReflect ¶
func (x *PutCalendarObjectRequest) ProtoReflect() protoreflect.Message
func (*PutCalendarObjectRequest) Reset ¶
func (x *PutCalendarObjectRequest) Reset()
func (*PutCalendarObjectRequest) String ¶
func (x *PutCalendarObjectRequest) String() string
type PutCalendarObjectResponse ¶
type PutCalendarObjectResponse struct { ObjectUid []byte `protobuf:"bytes,1,opt,name=object_uid,json=objectUid,proto3" json:"object_uid,omitempty"` Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
func (*PutCalendarObjectResponse) Descriptor
deprecated
func (*PutCalendarObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutCalendarObjectResponse.ProtoReflect.Descriptor instead.
func (*PutCalendarObjectResponse) GetEtag ¶
func (x *PutCalendarObjectResponse) GetEtag() string
func (*PutCalendarObjectResponse) GetObjectUid ¶
func (x *PutCalendarObjectResponse) GetObjectUid() []byte
func (*PutCalendarObjectResponse) ProtoMessage ¶
func (*PutCalendarObjectResponse) ProtoMessage()
func (*PutCalendarObjectResponse) ProtoReflect ¶
func (x *PutCalendarObjectResponse) ProtoReflect() protoreflect.Message
func (*PutCalendarObjectResponse) Reset ¶
func (x *PutCalendarObjectResponse) Reset()
func (*PutCalendarObjectResponse) String ¶
func (x *PutCalendarObjectResponse) String() string
type RRule ¶
type RRule struct { Freq string `protobuf:"bytes,1,opt,name=freq,proto3" json:"freq,omitempty"` EndTime *int64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` Count *int64 `protobuf:"varint,3,opt,name=count,proto3,oneof" json:"count,omitempty"` Interval *int64 `protobuf:"varint,4,opt,name=interval,proto3,oneof" json:"interval,omitempty"` BySecond *int64 `protobuf:"varint,5,opt,name=by_second,json=bySecond,proto3,oneof" json:"by_second,omitempty"` ByMinute *int64 `protobuf:"varint,6,opt,name=by_minute,json=byMinute,proto3,oneof" json:"by_minute,omitempty"` ByHour *int64 `protobuf:"varint,7,opt,name=by_hour,json=byHour,proto3,oneof" json:"by_hour,omitempty"` ByDay *int64 `protobuf:"varint,8,opt,name=by_day,json=byDay,proto3,oneof" json:"by_day,omitempty"` ByMonthDay *int64 `protobuf:"varint,9,opt,name=by_month_day,json=byMonthDay,proto3,oneof" json:"by_month_day,omitempty"` ByYearDay *int64 `protobuf:"varint,10,opt,name=by_year_day,json=byYearDay,proto3,oneof" json:"by_year_day,omitempty"` ByWeekNo *int64 `protobuf:"varint,11,opt,name=by_week_no,json=byWeekNo,proto3,oneof" json:"by_week_no,omitempty"` ByMonth *int64 `protobuf:"varint,12,opt,name=by_month,json=byMonth,proto3,oneof" json:"by_month,omitempty"` BySetPos *int64 `protobuf:"varint,13,opt,name=by_set_pos,json=bySetPos,proto3,oneof" json:"by_set_pos,omitempty"` Wkst *string `protobuf:"bytes,14,opt,name=wkst,proto3,oneof" json:"wkst,omitempty"` // TODO уточнить типы // contains filtered or unexported fields }
func (*RRule) Descriptor
deprecated
func (*RRule) GetByMinute ¶
func (*RRule) GetByMonth ¶
func (*RRule) GetByMonthDay ¶
func (*RRule) GetBySecond ¶
func (*RRule) GetBySetPos ¶
func (*RRule) GetByWeekNo ¶
func (*RRule) GetByYearDay ¶
func (*RRule) GetEndTime ¶
func (*RRule) GetInterval ¶
func (*RRule) ProtoMessage ¶
func (*RRule) ProtoMessage()
func (*RRule) ProtoReflect ¶
func (x *RRule) ProtoReflect() protoreflect.Message
type RecurrenceInfo ¶
type RecurrenceInfo struct { RecurrenceId uint64 `protobuf:"varint,1,opt,name=recurrence_id,json=recurrenceId,proto3" json:"recurrence_id,omitempty"` Date uint64 `protobuf:"varint,2,opt,name=date,proto3" json:"date,omitempty"` Rrule *RRule `protobuf:"bytes,3,opt,name=rrule,proto3,oneof" json:"rrule,omitempty"` Exdates []int64 `protobuf:"varint,4,rep,packed,name=exdates,proto3" json:"exdates,omitempty"` // contains filtered or unexported fields }
func (*RecurrenceInfo) Descriptor
deprecated
func (*RecurrenceInfo) Descriptor() ([]byte, []int)
Deprecated: Use RecurrenceInfo.ProtoReflect.Descriptor instead.
func (*RecurrenceInfo) GetDate ¶
func (x *RecurrenceInfo) GetDate() uint64
func (*RecurrenceInfo) GetExdates ¶
func (x *RecurrenceInfo) GetExdates() []int64
func (*RecurrenceInfo) GetRecurrenceId ¶
func (x *RecurrenceInfo) GetRecurrenceId() uint64
func (*RecurrenceInfo) GetRrule ¶
func (x *RecurrenceInfo) GetRrule() *RRule
func (*RecurrenceInfo) ProtoMessage ¶
func (*RecurrenceInfo) ProtoMessage()
func (*RecurrenceInfo) ProtoReflect ¶
func (x *RecurrenceInfo) ProtoReflect() protoreflect.Message
func (*RecurrenceInfo) Reset ¶
func (x *RecurrenceInfo) Reset()
func (*RecurrenceInfo) String ¶
func (x *RecurrenceInfo) String() string
type Timezone ¶
type Timezone struct { TimezoneId string `protobuf:"bytes,1,opt,name=timezone_id,json=timezoneId,proto3" json:"timezone_id,omitempty"` Standards []*TimezoneProps `protobuf:"bytes,2,rep,name=standards,proto3" json:"standards,omitempty"` Daylights []*TimezoneProps `protobuf:"bytes,3,rep,name=daylights,proto3" json:"daylights,omitempty"` // contains filtered or unexported fields }
func (*Timezone) Descriptor
deprecated
func (*Timezone) GetDaylights ¶
func (x *Timezone) GetDaylights() []*TimezoneProps
func (*Timezone) GetStandards ¶
func (x *Timezone) GetStandards() []*TimezoneProps
func (*Timezone) GetTimezoneId ¶
func (*Timezone) ProtoMessage ¶
func (*Timezone) ProtoMessage()
func (*Timezone) ProtoReflect ¶
func (x *Timezone) ProtoReflect() protoreflect.Message
type TimezoneProps ¶
type TimezoneProps struct { StartTime uint64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` TzOffsetTo string `protobuf:"bytes,2,opt,name=tz_offset_to,json=tzOffsetTo,proto3" json:"tz_offset_to,omitempty"` TzOffsetFrom string `protobuf:"bytes,3,opt,name=tz_offset_from,json=tzOffsetFrom,proto3" json:"tz_offset_from,omitempty"` Rrule *RRule `protobuf:"bytes,4,opt,name=rrule,proto3,oneof" json:"rrule,omitempty"` Comment *string `protobuf:"bytes,5,opt,name=comment,proto3,oneof" json:"comment,omitempty"` Rdate *int64 `protobuf:"varint,6,opt,name=rdate,proto3,oneof" json:"rdate,omitempty"` TzName *string `protobuf:"bytes,7,opt,name=tz_name,json=tzName,proto3,oneof" json:"tz_name,omitempty"` //TODO x-prop / iana-prop нужны? // contains filtered or unexported fields }
func (*TimezoneProps) Descriptor
deprecated
func (*TimezoneProps) Descriptor() ([]byte, []int)
Deprecated: Use TimezoneProps.ProtoReflect.Descriptor instead.
func (*TimezoneProps) GetComment ¶
func (x *TimezoneProps) GetComment() string
func (*TimezoneProps) GetRdate ¶
func (x *TimezoneProps) GetRdate() int64
func (*TimezoneProps) GetRrule ¶
func (x *TimezoneProps) GetRrule() *RRule
func (*TimezoneProps) GetStartTime ¶
func (x *TimezoneProps) GetStartTime() uint64
func (*TimezoneProps) GetTzName ¶
func (x *TimezoneProps) GetTzName() string
func (*TimezoneProps) GetTzOffsetFrom ¶
func (x *TimezoneProps) GetTzOffsetFrom() string
func (*TimezoneProps) GetTzOffsetTo ¶
func (x *TimezoneProps) GetTzOffsetTo() string
func (*TimezoneProps) ProtoMessage ¶
func (*TimezoneProps) ProtoMessage()
func (*TimezoneProps) ProtoReflect ¶
func (x *TimezoneProps) ProtoReflect() protoreflect.Message
func (*TimezoneProps) Reset ¶
func (x *TimezoneProps) Reset()
func (*TimezoneProps) String ¶
func (x *TimezoneProps) String() string
type Types ¶
type Types int32
func (Types) Descriptor ¶
func (Types) Descriptor() protoreflect.EnumDescriptor
func (Types) EnumDescriptor
deprecated
func (Types) Number ¶
func (x Types) Number() protoreflect.EnumNumber
func (Types) Type ¶
func (Types) Type() protoreflect.EnumType
type UnimplementedCalendarServer ¶
type UnimplementedCalendarServer struct { }
UnimplementedCalendarServer must be embedded to have forward compatible implementations.
func (UnimplementedCalendarServer) CreateCalendar ¶
func (UnimplementedCalendarServer) CreateCalendar(context.Context, *CreateCalendarRequest) (*CalendarResponse, error)
func (UnimplementedCalendarServer) DeleteCalendar ¶
func (UnimplementedCalendarServer) DeleteCalendar(context.Context, *CalendarRequest) (*CalendarResponse, error)
func (UnimplementedCalendarServer) DeleteCalendarObject ¶
func (UnimplementedCalendarServer) DeleteCalendarObject(context.Context, *CalendarObjectRequest) (*DeleteCalendarObjectResponse, error)
func (UnimplementedCalendarServer) GetCalendar ¶
func (UnimplementedCalendarServer) GetCalendar(context.Context, *CalendarRequest) (*CalendarInfo, error)
func (UnimplementedCalendarServer) GetCalendarAccess ¶
func (UnimplementedCalendarServer) GetCalendarAccess(context.Context, *CalendarUserAccessRequest) (*PrivilegesResponse, error)
func (UnimplementedCalendarServer) GetCalendarObject ¶
func (UnimplementedCalendarServer) GetCalendarObject(context.Context, *CalendarObjectRequest) (*CalendarObjectInfo, error)
func (UnimplementedCalendarServer) GetUserAccess ¶
func (UnimplementedCalendarServer) GetUserAccess(context.Context, *UserRequest) (*PrivilegesResponse, error)
func (UnimplementedCalendarServer) ListCalendarObjects ¶
func (UnimplementedCalendarServer) ListCalendarObjects(context.Context, *CalendarRequest) (*ListCalendarObjectsResponse, error)
func (UnimplementedCalendarServer) ListCalendars ¶
func (UnimplementedCalendarServer) ListCalendars(context.Context, *ListCalendarsRequest) (*ListCalendarsResponse, error)
func (UnimplementedCalendarServer) PutCalendarObject ¶
func (UnimplementedCalendarServer) PutCalendarObject(context.Context, *PutCalendarObjectRequest) (*PutCalendarObjectResponse, error)
type UnsafeCalendarServer ¶
type UnsafeCalendarServer interface {
// contains filtered or unexported methods
}
UnsafeCalendarServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CalendarServer will result in compilation errors.
type UserRequest ¶
type UserRequest struct { UserLogin string `protobuf:"bytes,1,opt,name=user_login,json=userLogin,proto3" json:"user_login,omitempty"` // contains filtered or unexported fields }
func (*UserRequest) Descriptor
deprecated
func (*UserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRequest.ProtoReflect.Descriptor instead.
func (*UserRequest) GetUserLogin ¶
func (x *UserRequest) GetUserLogin() string
func (*UserRequest) ProtoMessage ¶
func (*UserRequest) ProtoMessage()
func (*UserRequest) ProtoReflect ¶
func (x *UserRequest) ProtoReflect() protoreflect.Message
func (*UserRequest) Reset ¶
func (x *UserRequest) Reset()
func (*UserRequest) String ¶
func (x *UserRequest) String() string