Documentation ¶
Index ¶
- func RegisterCalendarServiceServer(s *grpc.Server, srv CalendarServiceServer)
- type CalendarServiceClient
- type CalendarServiceServer
- type CreateEventRequest
- func (*CreateEventRequest) Descriptor() ([]byte, []int)
- func (m *CreateEventRequest) GetEndTime() *timestamp.Timestamp
- func (m *CreateEventRequest) GetStartTime() *timestamp.Timestamp
- func (m *CreateEventRequest) GetText() string
- func (m *CreateEventRequest) GetTitle() string
- func (*CreateEventRequest) ProtoMessage()
- func (m *CreateEventRequest) Reset()
- func (m *CreateEventRequest) String() string
- func (m *CreateEventRequest) XXX_DiscardUnknown()
- func (m *CreateEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateEventRequest) XXX_Merge(src proto.Message)
- func (m *CreateEventRequest) XXX_Size() int
- func (m *CreateEventRequest) XXX_Unmarshal(b []byte) error
- type CreateEventResponse
- func (*CreateEventResponse) Descriptor() ([]byte, []int)
- func (m *CreateEventResponse) GetError() string
- func (m *CreateEventResponse) GetEvent() *Event
- func (m *CreateEventResponse) GetResult() isCreateEventResponse_Result
- func (*CreateEventResponse) ProtoMessage()
- func (m *CreateEventResponse) Reset()
- func (m *CreateEventResponse) String() string
- func (m *CreateEventResponse) XXX_DiscardUnknown()
- func (m *CreateEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateEventResponse) XXX_Merge(src proto.Message)
- func (*CreateEventResponse) XXX_OneofWrappers() []interface{}
- func (m *CreateEventResponse) XXX_Size() int
- func (m *CreateEventResponse) XXX_Unmarshal(b []byte) error
- type CreateEventResponse_Error
- type CreateEventResponse_Event
- type DeleteEventRequest
- func (*DeleteEventRequest) Descriptor() ([]byte, []int)
- func (m *DeleteEventRequest) GetId() string
- func (*DeleteEventRequest) ProtoMessage()
- func (m *DeleteEventRequest) Reset()
- func (m *DeleteEventRequest) String() string
- func (m *DeleteEventRequest) XXX_DiscardUnknown()
- func (m *DeleteEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteEventRequest) XXX_Merge(src proto.Message)
- func (m *DeleteEventRequest) XXX_Size() int
- func (m *DeleteEventRequest) XXX_Unmarshal(b []byte) error
- type DeleteEventResponse
- func (*DeleteEventResponse) Descriptor() ([]byte, []int)
- func (m *DeleteEventResponse) GetError() string
- func (m *DeleteEventResponse) GetResult() isDeleteEventResponse_Result
- func (*DeleteEventResponse) ProtoMessage()
- func (m *DeleteEventResponse) Reset()
- func (m *DeleteEventResponse) String() string
- func (m *DeleteEventResponse) XXX_DiscardUnknown()
- func (m *DeleteEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteEventResponse) XXX_Merge(src proto.Message)
- func (*DeleteEventResponse) XXX_OneofWrappers() []interface{}
- func (m *DeleteEventResponse) XXX_Size() int
- func (m *DeleteEventResponse) XXX_Unmarshal(b []byte) error
- type DeleteEventResponse_Error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetEndTime() *timestamp.Timestamp
- func (m *Event) GetId() string
- func (m *Event) GetStartTime() *timestamp.Timestamp
- func (m *Event) GetText() string
- func (m *Event) GetTitle() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type GetEventRequest
- func (*GetEventRequest) Descriptor() ([]byte, []int)
- func (m *GetEventRequest) GetId() string
- func (*GetEventRequest) ProtoMessage()
- func (m *GetEventRequest) Reset()
- func (m *GetEventRequest) String() string
- func (m *GetEventRequest) XXX_DiscardUnknown()
- func (m *GetEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventRequest) XXX_Merge(src proto.Message)
- func (m *GetEventRequest) XXX_Size() int
- func (m *GetEventRequest) XXX_Unmarshal(b []byte) error
- type GetEventResponse
- func (*GetEventResponse) Descriptor() ([]byte, []int)
- func (m *GetEventResponse) GetError() string
- func (m *GetEventResponse) GetEvent() *Event
- func (m *GetEventResponse) GetResult() isGetEventResponse_Result
- func (*GetEventResponse) ProtoMessage()
- func (m *GetEventResponse) Reset()
- func (m *GetEventResponse) String() string
- func (m *GetEventResponse) XXX_DiscardUnknown()
- func (m *GetEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventResponse) XXX_Merge(src proto.Message)
- func (*GetEventResponse) XXX_OneofWrappers() []interface{}
- func (m *GetEventResponse) XXX_Size() int
- func (m *GetEventResponse) XXX_Unmarshal(b []byte) error
- type GetEventResponse_Error
- type GetEventResponse_Event
- type ListEventsRequest
- func (*ListEventsRequest) Descriptor() ([]byte, []int)
- func (m *ListEventsRequest) GetStartTime() *timestamp.Timestamp
- func (*ListEventsRequest) ProtoMessage()
- func (m *ListEventsRequest) Reset()
- func (m *ListEventsRequest) String() string
- func (m *ListEventsRequest) XXX_DiscardUnknown()
- func (m *ListEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEventsRequest) XXX_Merge(src proto.Message)
- func (m *ListEventsRequest) XXX_Size() int
- func (m *ListEventsRequest) XXX_Unmarshal(b []byte) error
- type ListEventsResponse
- func (*ListEventsResponse) Descriptor() ([]byte, []int)
- func (m *ListEventsResponse) GetEvents() []*Event
- func (*ListEventsResponse) ProtoMessage()
- func (m *ListEventsResponse) Reset()
- func (m *ListEventsResponse) String() string
- func (m *ListEventsResponse) XXX_DiscardUnknown()
- func (m *ListEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEventsResponse) XXX_Merge(src proto.Message)
- func (m *ListEventsResponse) XXX_Size() int
- func (m *ListEventsResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedCalendarServiceServer
- func (*UnimplementedCalendarServiceServer) CreateEvent(ctx context.Context, req *CreateEventRequest) (*CreateEventResponse, error)
- func (*UnimplementedCalendarServiceServer) DeleteEvent(ctx context.Context, req *DeleteEventRequest) (*DeleteEventResponse, error)
- func (*UnimplementedCalendarServiceServer) GetEvent(ctx context.Context, req *GetEventRequest) (*GetEventResponse, error)
- func (*UnimplementedCalendarServiceServer) ListEvents(ctx context.Context, req *ListEventsRequest) (*ListEventsResponse, error)
- func (*UnimplementedCalendarServiceServer) UpdateEvent(ctx context.Context, req *UpdateEventRequest) (*UpdateEventResponse, error)
- type UpdateEventRequest
- func (*UpdateEventRequest) Descriptor() ([]byte, []int)
- func (m *UpdateEventRequest) GetEndTime() *timestamp.Timestamp
- func (m *UpdateEventRequest) GetId() string
- func (m *UpdateEventRequest) GetStartTime() *timestamp.Timestamp
- func (m *UpdateEventRequest) GetText() string
- func (m *UpdateEventRequest) GetTitle() string
- func (*UpdateEventRequest) ProtoMessage()
- func (m *UpdateEventRequest) Reset()
- func (m *UpdateEventRequest) String() string
- func (m *UpdateEventRequest) XXX_DiscardUnknown()
- func (m *UpdateEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateEventRequest) XXX_Merge(src proto.Message)
- func (m *UpdateEventRequest) XXX_Size() int
- func (m *UpdateEventRequest) XXX_Unmarshal(b []byte) error
- type UpdateEventResponse
- func (*UpdateEventResponse) Descriptor() ([]byte, []int)
- func (m *UpdateEventResponse) GetError() string
- func (m *UpdateEventResponse) GetEvent() *Event
- func (m *UpdateEventResponse) GetResult() isUpdateEventResponse_Result
- func (*UpdateEventResponse) ProtoMessage()
- func (m *UpdateEventResponse) Reset()
- func (m *UpdateEventResponse) String() string
- func (m *UpdateEventResponse) XXX_DiscardUnknown()
- func (m *UpdateEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateEventResponse) XXX_Merge(src proto.Message)
- func (*UpdateEventResponse) XXX_OneofWrappers() []interface{}
- func (m *UpdateEventResponse) XXX_Size() int
- func (m *UpdateEventResponse) XXX_Unmarshal(b []byte) error
- type UpdateEventResponse_Error
- type UpdateEventResponse_Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCalendarServiceServer ¶
func RegisterCalendarServiceServer(s *grpc.Server, srv CalendarServiceServer)
Types ¶
type CalendarServiceClient ¶
type CalendarServiceClient interface { CreateEvent(ctx context.Context, in *CreateEventRequest, opts ...grpc.CallOption) (*CreateEventResponse, error) DeleteEvent(ctx context.Context, in *DeleteEventRequest, opts ...grpc.CallOption) (*DeleteEventResponse, error) UpdateEvent(ctx context.Context, in *UpdateEventRequest, opts ...grpc.CallOption) (*UpdateEventResponse, error) ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) GetEvent(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*GetEventResponse, error) }
CalendarServiceClient is the client API for CalendarService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCalendarServiceClient ¶
func NewCalendarServiceClient(cc *grpc.ClientConn) CalendarServiceClient
type CalendarServiceServer ¶
type CalendarServiceServer interface { CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error) DeleteEvent(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error) UpdateEvent(context.Context, *UpdateEventRequest) (*UpdateEventResponse, error) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error) }
CalendarServiceServer is the server API for CalendarService service.
type CreateEventRequest ¶
type CreateEventRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateEventRequest) Descriptor ¶
func (*CreateEventRequest) Descriptor() ([]byte, []int)
func (*CreateEventRequest) GetEndTime ¶
func (m *CreateEventRequest) GetEndTime() *timestamp.Timestamp
func (*CreateEventRequest) GetStartTime ¶
func (m *CreateEventRequest) GetStartTime() *timestamp.Timestamp
func (*CreateEventRequest) GetText ¶
func (m *CreateEventRequest) GetText() string
func (*CreateEventRequest) GetTitle ¶
func (m *CreateEventRequest) GetTitle() string
func (*CreateEventRequest) ProtoMessage ¶
func (*CreateEventRequest) ProtoMessage()
func (*CreateEventRequest) Reset ¶
func (m *CreateEventRequest) Reset()
func (*CreateEventRequest) String ¶
func (m *CreateEventRequest) String() string
func (*CreateEventRequest) XXX_DiscardUnknown ¶
func (m *CreateEventRequest) XXX_DiscardUnknown()
func (*CreateEventRequest) XXX_Marshal ¶
func (m *CreateEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateEventRequest) XXX_Merge ¶
func (m *CreateEventRequest) XXX_Merge(src proto.Message)
func (*CreateEventRequest) XXX_Size ¶
func (m *CreateEventRequest) XXX_Size() int
func (*CreateEventRequest) XXX_Unmarshal ¶
func (m *CreateEventRequest) XXX_Unmarshal(b []byte) error
type CreateEventResponse ¶
type CreateEventResponse struct { // Types that are valid to be assigned to Result: // *CreateEventResponse_Event // *CreateEventResponse_Error Result isCreateEventResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateEventResponse) Descriptor ¶
func (*CreateEventResponse) Descriptor() ([]byte, []int)
func (*CreateEventResponse) GetError ¶
func (m *CreateEventResponse) GetError() string
func (*CreateEventResponse) GetEvent ¶
func (m *CreateEventResponse) GetEvent() *Event
func (*CreateEventResponse) GetResult ¶
func (m *CreateEventResponse) GetResult() isCreateEventResponse_Result
func (*CreateEventResponse) ProtoMessage ¶
func (*CreateEventResponse) ProtoMessage()
func (*CreateEventResponse) Reset ¶
func (m *CreateEventResponse) Reset()
func (*CreateEventResponse) String ¶
func (m *CreateEventResponse) String() string
func (*CreateEventResponse) XXX_DiscardUnknown ¶
func (m *CreateEventResponse) XXX_DiscardUnknown()
func (*CreateEventResponse) XXX_Marshal ¶
func (m *CreateEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateEventResponse) XXX_Merge ¶
func (m *CreateEventResponse) XXX_Merge(src proto.Message)
func (*CreateEventResponse) XXX_OneofWrappers ¶
func (*CreateEventResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CreateEventResponse) XXX_Size ¶
func (m *CreateEventResponse) XXX_Size() int
func (*CreateEventResponse) XXX_Unmarshal ¶
func (m *CreateEventResponse) XXX_Unmarshal(b []byte) error
type CreateEventResponse_Error ¶
type CreateEventResponse_Error struct {
Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type CreateEventResponse_Event ¶
type CreateEventResponse_Event struct {
Event *Event `protobuf:"bytes,1,opt,name=event,proto3,oneof"`
}
type DeleteEventRequest ¶ added in v0.0.2
type DeleteEventRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteEventRequest) Descriptor ¶ added in v0.0.2
func (*DeleteEventRequest) Descriptor() ([]byte, []int)
func (*DeleteEventRequest) GetId ¶ added in v0.0.2
func (m *DeleteEventRequest) GetId() string
func (*DeleteEventRequest) ProtoMessage ¶ added in v0.0.2
func (*DeleteEventRequest) ProtoMessage()
func (*DeleteEventRequest) Reset ¶ added in v0.0.2
func (m *DeleteEventRequest) Reset()
func (*DeleteEventRequest) String ¶ added in v0.0.2
func (m *DeleteEventRequest) String() string
func (*DeleteEventRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *DeleteEventRequest) XXX_DiscardUnknown()
func (*DeleteEventRequest) XXX_Marshal ¶ added in v0.0.2
func (m *DeleteEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteEventRequest) XXX_Merge ¶ added in v0.0.2
func (m *DeleteEventRequest) XXX_Merge(src proto.Message)
func (*DeleteEventRequest) XXX_Size ¶ added in v0.0.2
func (m *DeleteEventRequest) XXX_Size() int
func (*DeleteEventRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *DeleteEventRequest) XXX_Unmarshal(b []byte) error
type DeleteEventResponse ¶ added in v0.0.2
type DeleteEventResponse struct { // Types that are valid to be assigned to Result: // *DeleteEventResponse_Error Result isDeleteEventResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteEventResponse) Descriptor ¶ added in v0.0.2
func (*DeleteEventResponse) Descriptor() ([]byte, []int)
func (*DeleteEventResponse) GetError ¶ added in v0.0.2
func (m *DeleteEventResponse) GetError() string
func (*DeleteEventResponse) GetResult ¶ added in v0.0.2
func (m *DeleteEventResponse) GetResult() isDeleteEventResponse_Result
func (*DeleteEventResponse) ProtoMessage ¶ added in v0.0.2
func (*DeleteEventResponse) ProtoMessage()
func (*DeleteEventResponse) Reset ¶ added in v0.0.2
func (m *DeleteEventResponse) Reset()
func (*DeleteEventResponse) String ¶ added in v0.0.2
func (m *DeleteEventResponse) String() string
func (*DeleteEventResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *DeleteEventResponse) XXX_DiscardUnknown()
func (*DeleteEventResponse) XXX_Marshal ¶ added in v0.0.2
func (m *DeleteEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteEventResponse) XXX_Merge ¶ added in v0.0.2
func (m *DeleteEventResponse) XXX_Merge(src proto.Message)
func (*DeleteEventResponse) XXX_OneofWrappers ¶ added in v0.0.2
func (*DeleteEventResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*DeleteEventResponse) XXX_Size ¶ added in v0.0.2
func (m *DeleteEventResponse) XXX_Size() int
func (*DeleteEventResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *DeleteEventResponse) XXX_Unmarshal(b []byte) error
type DeleteEventResponse_Error ¶ added in v0.0.2
type DeleteEventResponse_Error struct {
Error string `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetEndTime ¶
func (*Event) GetStartTime ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type GetEventRequest ¶ added in v0.0.4
type GetEventRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEventRequest) Descriptor ¶ added in v0.0.4
func (*GetEventRequest) Descriptor() ([]byte, []int)
func (*GetEventRequest) GetId ¶ added in v0.0.4
func (m *GetEventRequest) GetId() string
func (*GetEventRequest) ProtoMessage ¶ added in v0.0.4
func (*GetEventRequest) ProtoMessage()
func (*GetEventRequest) Reset ¶ added in v0.0.4
func (m *GetEventRequest) Reset()
func (*GetEventRequest) String ¶ added in v0.0.4
func (m *GetEventRequest) String() string
func (*GetEventRequest) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *GetEventRequest) XXX_DiscardUnknown()
func (*GetEventRequest) XXX_Marshal ¶ added in v0.0.4
func (m *GetEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventRequest) XXX_Merge ¶ added in v0.0.4
func (m *GetEventRequest) XXX_Merge(src proto.Message)
func (*GetEventRequest) XXX_Size ¶ added in v0.0.4
func (m *GetEventRequest) XXX_Size() int
func (*GetEventRequest) XXX_Unmarshal ¶ added in v0.0.4
func (m *GetEventRequest) XXX_Unmarshal(b []byte) error
type GetEventResponse ¶ added in v0.0.4
type GetEventResponse struct { // Types that are valid to be assigned to Result: // *GetEventResponse_Event // *GetEventResponse_Error Result isGetEventResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEventResponse) Descriptor ¶ added in v0.0.4
func (*GetEventResponse) Descriptor() ([]byte, []int)
func (*GetEventResponse) GetError ¶ added in v0.0.4
func (m *GetEventResponse) GetError() string
func (*GetEventResponse) GetEvent ¶ added in v0.0.4
func (m *GetEventResponse) GetEvent() *Event
func (*GetEventResponse) GetResult ¶ added in v0.0.4
func (m *GetEventResponse) GetResult() isGetEventResponse_Result
func (*GetEventResponse) ProtoMessage ¶ added in v0.0.4
func (*GetEventResponse) ProtoMessage()
func (*GetEventResponse) Reset ¶ added in v0.0.4
func (m *GetEventResponse) Reset()
func (*GetEventResponse) String ¶ added in v0.0.4
func (m *GetEventResponse) String() string
func (*GetEventResponse) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *GetEventResponse) XXX_DiscardUnknown()
func (*GetEventResponse) XXX_Marshal ¶ added in v0.0.4
func (m *GetEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventResponse) XXX_Merge ¶ added in v0.0.4
func (m *GetEventResponse) XXX_Merge(src proto.Message)
func (*GetEventResponse) XXX_OneofWrappers ¶ added in v0.0.4
func (*GetEventResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GetEventResponse) XXX_Size ¶ added in v0.0.4
func (m *GetEventResponse) XXX_Size() int
func (*GetEventResponse) XXX_Unmarshal ¶ added in v0.0.4
func (m *GetEventResponse) XXX_Unmarshal(b []byte) error
type GetEventResponse_Error ¶ added in v0.0.4
type GetEventResponse_Error struct {
Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetEventResponse_Event ¶ added in v0.0.4
type GetEventResponse_Event struct {
Event *Event `protobuf:"bytes,1,opt,name=event,proto3,oneof"`
}
type ListEventsRequest ¶ added in v0.0.4
type ListEventsRequest struct { StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListEventsRequest) Descriptor ¶ added in v0.0.4
func (*ListEventsRequest) Descriptor() ([]byte, []int)
func (*ListEventsRequest) GetStartTime ¶ added in v0.0.4
func (m *ListEventsRequest) GetStartTime() *timestamp.Timestamp
func (*ListEventsRequest) ProtoMessage ¶ added in v0.0.4
func (*ListEventsRequest) ProtoMessage()
func (*ListEventsRequest) Reset ¶ added in v0.0.4
func (m *ListEventsRequest) Reset()
func (*ListEventsRequest) String ¶ added in v0.0.4
func (m *ListEventsRequest) String() string
func (*ListEventsRequest) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *ListEventsRequest) XXX_DiscardUnknown()
func (*ListEventsRequest) XXX_Marshal ¶ added in v0.0.4
func (m *ListEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEventsRequest) XXX_Merge ¶ added in v0.0.4
func (m *ListEventsRequest) XXX_Merge(src proto.Message)
func (*ListEventsRequest) XXX_Size ¶ added in v0.0.4
func (m *ListEventsRequest) XXX_Size() int
func (*ListEventsRequest) XXX_Unmarshal ¶ added in v0.0.4
func (m *ListEventsRequest) XXX_Unmarshal(b []byte) error
type ListEventsResponse ¶ added in v0.0.4
type ListEventsResponse struct { Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListEventsResponse) Descriptor ¶ added in v0.0.4
func (*ListEventsResponse) Descriptor() ([]byte, []int)
func (*ListEventsResponse) GetEvents ¶ added in v0.0.4
func (m *ListEventsResponse) GetEvents() []*Event
func (*ListEventsResponse) ProtoMessage ¶ added in v0.0.4
func (*ListEventsResponse) ProtoMessage()
func (*ListEventsResponse) Reset ¶ added in v0.0.4
func (m *ListEventsResponse) Reset()
func (*ListEventsResponse) String ¶ added in v0.0.4
func (m *ListEventsResponse) String() string
func (*ListEventsResponse) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *ListEventsResponse) XXX_DiscardUnknown()
func (*ListEventsResponse) XXX_Marshal ¶ added in v0.0.4
func (m *ListEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEventsResponse) XXX_Merge ¶ added in v0.0.4
func (m *ListEventsResponse) XXX_Merge(src proto.Message)
func (*ListEventsResponse) XXX_Size ¶ added in v0.0.4
func (m *ListEventsResponse) XXX_Size() int
func (*ListEventsResponse) XXX_Unmarshal ¶ added in v0.0.4
func (m *ListEventsResponse) XXX_Unmarshal(b []byte) error
type UnimplementedCalendarServiceServer ¶
type UnimplementedCalendarServiceServer struct { }
UnimplementedCalendarServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCalendarServiceServer) CreateEvent ¶
func (*UnimplementedCalendarServiceServer) CreateEvent(ctx context.Context, req *CreateEventRequest) (*CreateEventResponse, error)
func (*UnimplementedCalendarServiceServer) DeleteEvent ¶ added in v0.0.2
func (*UnimplementedCalendarServiceServer) DeleteEvent(ctx context.Context, req *DeleteEventRequest) (*DeleteEventResponse, error)
func (*UnimplementedCalendarServiceServer) GetEvent ¶ added in v0.0.4
func (*UnimplementedCalendarServiceServer) GetEvent(ctx context.Context, req *GetEventRequest) (*GetEventResponse, error)
func (*UnimplementedCalendarServiceServer) ListEvents ¶ added in v0.0.4
func (*UnimplementedCalendarServiceServer) ListEvents(ctx context.Context, req *ListEventsRequest) (*ListEventsResponse, error)
func (*UnimplementedCalendarServiceServer) UpdateEvent ¶ added in v0.0.4
func (*UnimplementedCalendarServiceServer) UpdateEvent(ctx context.Context, req *UpdateEventRequest) (*UpdateEventResponse, error)
type UpdateEventRequest ¶ added in v0.0.4
type UpdateEventRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateEventRequest) Descriptor ¶ added in v0.0.4
func (*UpdateEventRequest) Descriptor() ([]byte, []int)
func (*UpdateEventRequest) GetEndTime ¶ added in v0.0.4
func (m *UpdateEventRequest) GetEndTime() *timestamp.Timestamp
func (*UpdateEventRequest) GetId ¶ added in v0.0.4
func (m *UpdateEventRequest) GetId() string
func (*UpdateEventRequest) GetStartTime ¶ added in v0.0.4
func (m *UpdateEventRequest) GetStartTime() *timestamp.Timestamp
func (*UpdateEventRequest) GetText ¶ added in v0.0.4
func (m *UpdateEventRequest) GetText() string
func (*UpdateEventRequest) GetTitle ¶ added in v0.0.4
func (m *UpdateEventRequest) GetTitle() string
func (*UpdateEventRequest) ProtoMessage ¶ added in v0.0.4
func (*UpdateEventRequest) ProtoMessage()
func (*UpdateEventRequest) Reset ¶ added in v0.0.4
func (m *UpdateEventRequest) Reset()
func (*UpdateEventRequest) String ¶ added in v0.0.4
func (m *UpdateEventRequest) String() string
func (*UpdateEventRequest) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *UpdateEventRequest) XXX_DiscardUnknown()
func (*UpdateEventRequest) XXX_Marshal ¶ added in v0.0.4
func (m *UpdateEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateEventRequest) XXX_Merge ¶ added in v0.0.4
func (m *UpdateEventRequest) XXX_Merge(src proto.Message)
func (*UpdateEventRequest) XXX_Size ¶ added in v0.0.4
func (m *UpdateEventRequest) XXX_Size() int
func (*UpdateEventRequest) XXX_Unmarshal ¶ added in v0.0.4
func (m *UpdateEventRequest) XXX_Unmarshal(b []byte) error
type UpdateEventResponse ¶ added in v0.0.4
type UpdateEventResponse struct { // Types that are valid to be assigned to Result: // *UpdateEventResponse_Event // *UpdateEventResponse_Error Result isUpdateEventResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateEventResponse) Descriptor ¶ added in v0.0.4
func (*UpdateEventResponse) Descriptor() ([]byte, []int)
func (*UpdateEventResponse) GetError ¶ added in v0.0.4
func (m *UpdateEventResponse) GetError() string
func (*UpdateEventResponse) GetEvent ¶ added in v0.0.4
func (m *UpdateEventResponse) GetEvent() *Event
func (*UpdateEventResponse) GetResult ¶ added in v0.0.4
func (m *UpdateEventResponse) GetResult() isUpdateEventResponse_Result
func (*UpdateEventResponse) ProtoMessage ¶ added in v0.0.4
func (*UpdateEventResponse) ProtoMessage()
func (*UpdateEventResponse) Reset ¶ added in v0.0.4
func (m *UpdateEventResponse) Reset()
func (*UpdateEventResponse) String ¶ added in v0.0.4
func (m *UpdateEventResponse) String() string
func (*UpdateEventResponse) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *UpdateEventResponse) XXX_DiscardUnknown()
func (*UpdateEventResponse) XXX_Marshal ¶ added in v0.0.4
func (m *UpdateEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateEventResponse) XXX_Merge ¶ added in v0.0.4
func (m *UpdateEventResponse) XXX_Merge(src proto.Message)
func (*UpdateEventResponse) XXX_OneofWrappers ¶ added in v0.0.4
func (*UpdateEventResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*UpdateEventResponse) XXX_Size ¶ added in v0.0.4
func (m *UpdateEventResponse) XXX_Size() int
func (*UpdateEventResponse) XXX_Unmarshal ¶ added in v0.0.4
func (m *UpdateEventResponse) XXX_Unmarshal(b []byte) error
type UpdateEventResponse_Error ¶ added in v0.0.4
type UpdateEventResponse_Error struct {
Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type UpdateEventResponse_Event ¶ added in v0.0.4
type UpdateEventResponse_Event struct {
Event *Event `protobuf:"bytes,1,opt,name=event,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.