Documentation ¶
Overview ¶
Package telegram_calendar is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterCalendarServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCalendarServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CalendarServiceClient) error
- func RegisterCalendarServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCalendarServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CalendarServiceServer) error
- func RegisterCalendarServiceServer(s grpc.ServiceRegistrar, srv CalendarServiceServer)
- type CalendarServiceClient
- type CalendarServiceServer
- type GenerateCalendarRequest
- func (*GenerateCalendarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateCalendarRequest) GetCallbackPayload() string
- func (x *GenerateCalendarRequest) GetCurrentTime() string
- func (*GenerateCalendarRequest) ProtoMessage()
- func (x *GenerateCalendarRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateCalendarRequest) Reset()
- func (x *GenerateCalendarRequest) String() string
- type GenerateCalendarResponse
- func (*GenerateCalendarResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateCalendarResponse) GetInlineKeyboardMarkup() *InlineKeyboardMarkup
- func (x *GenerateCalendarResponse) GetIsUnselectableDay() bool
- func (x *GenerateCalendarResponse) GetSelectedDay() *timestamppb.Timestamp
- func (*GenerateCalendarResponse) ProtoMessage()
- func (x *GenerateCalendarResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateCalendarResponse) Reset()
- func (x *GenerateCalendarResponse) String() string
- type GetSettingsResponse
- func (*GetSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingsResponse) GetDaysNames() []string
- func (x *GetSettingsResponse) GetHomeButtonForBeauty() string
- func (x *GetSettingsResponse) GetMonthNames() []string
- func (x *GetSettingsResponse) GetPostfixForCurrentDay() string
- func (x *GetSettingsResponse) GetPostfixForNonSelectedDay() string
- func (x *GetSettingsResponse) GetPostfixForPickDay() string
- func (x *GetSettingsResponse) GetPrefixForCurrentDay() string
- func (x *GetSettingsResponse) GetPrefixForNonSelectedDay() string
- func (x *GetSettingsResponse) GetPrefixForPickDay() string
- func (x *GetSettingsResponse) GetSumYearsForChoose() int64
- func (x *GetSettingsResponse) GetTimezone() string
- func (x *GetSettingsResponse) GetUnselectableDays() map[string]*emptypb.Empty
- func (x *GetSettingsResponse) GetUnselectableDaysAfterTime() string
- func (x *GetSettingsResponse) GetUnselectableDaysBeforeTime() string
- func (x *GetSettingsResponse) GetYearsBackForChoose() int64
- func (x *GetSettingsResponse) GetYearsForwardForChoose() int64
- func (*GetSettingsResponse) ProtoMessage()
- func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSettingsResponse) Reset()
- func (x *GetSettingsResponse) String() string
- type InlineKeyboardMarkup
- func (*InlineKeyboardMarkup) Descriptor() ([]byte, []int)deprecated
- func (x *InlineKeyboardMarkup) GetInlineKeyboard() []*InlineKeyboardMarkup_InlineKeyboardRow
- func (*InlineKeyboardMarkup) ProtoMessage()
- func (x *InlineKeyboardMarkup) ProtoReflect() protoreflect.Message
- func (x *InlineKeyboardMarkup) Reset()
- func (x *InlineKeyboardMarkup) String() string
- type InlineKeyboardMarkup_InlineKeyboardButton
- func (*InlineKeyboardMarkup_InlineKeyboardButton) Descriptor() ([]byte, []int)deprecated
- func (x *InlineKeyboardMarkup_InlineKeyboardButton) GetCallbackData() string
- func (x *InlineKeyboardMarkup_InlineKeyboardButton) GetText() string
- func (*InlineKeyboardMarkup_InlineKeyboardButton) ProtoMessage()
- func (x *InlineKeyboardMarkup_InlineKeyboardButton) ProtoReflect() protoreflect.Message
- func (x *InlineKeyboardMarkup_InlineKeyboardButton) Reset()
- func (x *InlineKeyboardMarkup_InlineKeyboardButton) String() string
- type InlineKeyboardMarkup_InlineKeyboardRow
- func (*InlineKeyboardMarkup_InlineKeyboardRow) Descriptor() ([]byte, []int)deprecated
- func (x *InlineKeyboardMarkup_InlineKeyboardRow) GetButtons() []*InlineKeyboardMarkup_InlineKeyboardButton
- func (*InlineKeyboardMarkup_InlineKeyboardRow) ProtoMessage()
- func (x *InlineKeyboardMarkup_InlineKeyboardRow) ProtoReflect() protoreflect.Message
- func (x *InlineKeyboardMarkup_InlineKeyboardRow) Reset()
- func (x *InlineKeyboardMarkup_InlineKeyboardRow) String() string
- type NewSettingsRequest
- func (*NewSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest) GetDayNames() *NewSettingsRequest_DayNames
- func (x *NewSettingsRequest) GetHomeButtonForBeauty() *NewSettingsRequest_HomeButtonForBeauty
- func (x *NewSettingsRequest) GetMonthNames() *NewSettingsRequest_MonthNames
- func (x *NewSettingsRequest) GetPostfixForCurrentDay() *NewSettingsRequest_PostfixForCurrentDay
- func (x *NewSettingsRequest) GetPostfixForNonSelectedDay() *NewSettingsRequest_PostfixForNonSelectedDay
- func (x *NewSettingsRequest) GetPostfixForPickDay() *NewSettingsRequest_PostfixForPickDay
- func (x *NewSettingsRequest) GetPrefixForCurrentDay() *NewSettingsRequest_PrefixForCurrentDay
- func (x *NewSettingsRequest) GetPrefixForNonSelectedDay() *NewSettingsRequest_PrefixForNonSelectedDay
- func (x *NewSettingsRequest) GetPrefixForPickDay() *NewSettingsRequest_PrefixForPickDay
- func (x *NewSettingsRequest) GetTimezone() *NewSettingsRequest_Timezone
- func (x *NewSettingsRequest) GetUnselectableDays() *NewSettingsRequest_UnselectableDays
- func (x *NewSettingsRequest) GetUnselectableDaysAfterTime() *NewSettingsRequest_UnselectableDaysAfterTime
- func (x *NewSettingsRequest) GetUnselectableDaysBeforeTime() *NewSettingsRequest_UnselectableDaysBeforeTime
- func (x *NewSettingsRequest) GetYearsBackForChoose() *NewSettingsRequest_YearsBackForChoose
- func (x *NewSettingsRequest) GetYearsForwardForChoose() *NewSettingsRequest_YearsForwardForChoose
- func (*NewSettingsRequest) ProtoMessage()
- func (x *NewSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest) Reset()
- func (x *NewSettingsRequest) String() string
- type NewSettingsRequest_DayName
- func (*NewSettingsRequest_DayName) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_DayName) GetDayName() string
- func (*NewSettingsRequest_DayName) ProtoMessage()
- func (x *NewSettingsRequest_DayName) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_DayName) Reset()
- func (x *NewSettingsRequest_DayName) String() string
- type NewSettingsRequest_DayNames
- func (*NewSettingsRequest_DayNames) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_DayNames) GetDayNames() []*NewSettingsRequest_DayName
- func (x *NewSettingsRequest_DayNames) GetForceChoice() bool
- func (*NewSettingsRequest_DayNames) ProtoMessage()
- func (x *NewSettingsRequest_DayNames) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_DayNames) Reset()
- func (x *NewSettingsRequest_DayNames) String() string
- type NewSettingsRequest_HomeButtonForBeauty
- func (*NewSettingsRequest_HomeButtonForBeauty) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_HomeButtonForBeauty) GetForceChoice() bool
- func (x *NewSettingsRequest_HomeButtonForBeauty) GetHomeButtonForBeauty() string
- func (*NewSettingsRequest_HomeButtonForBeauty) ProtoMessage()
- func (x *NewSettingsRequest_HomeButtonForBeauty) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_HomeButtonForBeauty) Reset()
- func (x *NewSettingsRequest_HomeButtonForBeauty) String() string
- type NewSettingsRequest_MonthName
- func (*NewSettingsRequest_MonthName) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_MonthName) GetMonthName() string
- func (*NewSettingsRequest_MonthName) ProtoMessage()
- func (x *NewSettingsRequest_MonthName) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_MonthName) Reset()
- func (x *NewSettingsRequest_MonthName) String() string
- type NewSettingsRequest_MonthNames
- func (*NewSettingsRequest_MonthNames) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_MonthNames) GetForceChoice() bool
- func (x *NewSettingsRequest_MonthNames) GetMonthNames() []*NewSettingsRequest_MonthName
- func (*NewSettingsRequest_MonthNames) ProtoMessage()
- func (x *NewSettingsRequest_MonthNames) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_MonthNames) Reset()
- func (x *NewSettingsRequest_MonthNames) String() string
- type NewSettingsRequest_PostfixForCurrentDay
- func (*NewSettingsRequest_PostfixForCurrentDay) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_PostfixForCurrentDay) GetForceChoice() bool
- func (x *NewSettingsRequest_PostfixForCurrentDay) GetPostfixForCurrentDay() string
- func (*NewSettingsRequest_PostfixForCurrentDay) ProtoMessage()
- func (x *NewSettingsRequest_PostfixForCurrentDay) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_PostfixForCurrentDay) Reset()
- func (x *NewSettingsRequest_PostfixForCurrentDay) String() string
- type NewSettingsRequest_PostfixForNonSelectedDay
- func (*NewSettingsRequest_PostfixForNonSelectedDay) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_PostfixForNonSelectedDay) GetForceChoice() bool
- func (x *NewSettingsRequest_PostfixForNonSelectedDay) GetPostfixForNonSelectedDay() string
- func (*NewSettingsRequest_PostfixForNonSelectedDay) ProtoMessage()
- func (x *NewSettingsRequest_PostfixForNonSelectedDay) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_PostfixForNonSelectedDay) Reset()
- func (x *NewSettingsRequest_PostfixForNonSelectedDay) String() string
- type NewSettingsRequest_PostfixForPickDay
- func (*NewSettingsRequest_PostfixForPickDay) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_PostfixForPickDay) GetForceChoice() bool
- func (x *NewSettingsRequest_PostfixForPickDay) GetPostfixForPickDay() string
- func (*NewSettingsRequest_PostfixForPickDay) ProtoMessage()
- func (x *NewSettingsRequest_PostfixForPickDay) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_PostfixForPickDay) Reset()
- func (x *NewSettingsRequest_PostfixForPickDay) String() string
- type NewSettingsRequest_PrefixForCurrentDay
- func (*NewSettingsRequest_PrefixForCurrentDay) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_PrefixForCurrentDay) GetForceChoice() bool
- func (x *NewSettingsRequest_PrefixForCurrentDay) GetPrefixForCurrentDay() string
- func (*NewSettingsRequest_PrefixForCurrentDay) ProtoMessage()
- func (x *NewSettingsRequest_PrefixForCurrentDay) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_PrefixForCurrentDay) Reset()
- func (x *NewSettingsRequest_PrefixForCurrentDay) String() string
- type NewSettingsRequest_PrefixForNonSelectedDay
- func (*NewSettingsRequest_PrefixForNonSelectedDay) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_PrefixForNonSelectedDay) GetForceChoice() bool
- func (x *NewSettingsRequest_PrefixForNonSelectedDay) GetPrefixForNonSelectedDay() string
- func (*NewSettingsRequest_PrefixForNonSelectedDay) ProtoMessage()
- func (x *NewSettingsRequest_PrefixForNonSelectedDay) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_PrefixForNonSelectedDay) Reset()
- func (x *NewSettingsRequest_PrefixForNonSelectedDay) String() string
- type NewSettingsRequest_PrefixForPickDay
- func (*NewSettingsRequest_PrefixForPickDay) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_PrefixForPickDay) GetForceChoice() bool
- func (x *NewSettingsRequest_PrefixForPickDay) GetPrefixForPickDay() string
- func (*NewSettingsRequest_PrefixForPickDay) ProtoMessage()
- func (x *NewSettingsRequest_PrefixForPickDay) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_PrefixForPickDay) Reset()
- func (x *NewSettingsRequest_PrefixForPickDay) String() string
- type NewSettingsRequest_Timezone
- func (*NewSettingsRequest_Timezone) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_Timezone) GetForceChoice() bool
- func (x *NewSettingsRequest_Timezone) GetTimezone() string
- func (*NewSettingsRequest_Timezone) ProtoMessage()
- func (x *NewSettingsRequest_Timezone) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_Timezone) Reset()
- func (x *NewSettingsRequest_Timezone) String() string
- type NewSettingsRequest_UnselectableDays
- func (*NewSettingsRequest_UnselectableDays) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_UnselectableDays) GetForceChoice() bool
- func (x *NewSettingsRequest_UnselectableDays) GetUnselectableDays() map[string]*emptypb.Empty
- func (*NewSettingsRequest_UnselectableDays) ProtoMessage()
- func (x *NewSettingsRequest_UnselectableDays) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_UnselectableDays) Reset()
- func (x *NewSettingsRequest_UnselectableDays) String() string
- type NewSettingsRequest_UnselectableDaysAfterTime
- func (*NewSettingsRequest_UnselectableDaysAfterTime) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_UnselectableDaysAfterTime) GetForceChoice() bool
- func (x *NewSettingsRequest_UnselectableDaysAfterTime) GetUnselectableDaysAfterTime() string
- func (*NewSettingsRequest_UnselectableDaysAfterTime) ProtoMessage()
- func (x *NewSettingsRequest_UnselectableDaysAfterTime) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_UnselectableDaysAfterTime) Reset()
- func (x *NewSettingsRequest_UnselectableDaysAfterTime) String() string
- type NewSettingsRequest_UnselectableDaysBeforeTime
- func (*NewSettingsRequest_UnselectableDaysBeforeTime) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_UnselectableDaysBeforeTime) GetForceChoice() bool
- func (x *NewSettingsRequest_UnselectableDaysBeforeTime) GetUnselectableDaysBeforeTime() string
- func (*NewSettingsRequest_UnselectableDaysBeforeTime) ProtoMessage()
- func (x *NewSettingsRequest_UnselectableDaysBeforeTime) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_UnselectableDaysBeforeTime) Reset()
- func (x *NewSettingsRequest_UnselectableDaysBeforeTime) String() string
- type NewSettingsRequest_YearsBackForChoose
- func (*NewSettingsRequest_YearsBackForChoose) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_YearsBackForChoose) GetForceChoice() bool
- func (x *NewSettingsRequest_YearsBackForChoose) GetYearsBackForChoose() int64
- func (*NewSettingsRequest_YearsBackForChoose) ProtoMessage()
- func (x *NewSettingsRequest_YearsBackForChoose) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_YearsBackForChoose) Reset()
- func (x *NewSettingsRequest_YearsBackForChoose) String() string
- type NewSettingsRequest_YearsForwardForChoose
- func (*NewSettingsRequest_YearsForwardForChoose) Descriptor() ([]byte, []int)deprecated
- func (x *NewSettingsRequest_YearsForwardForChoose) GetForceChoice() bool
- func (x *NewSettingsRequest_YearsForwardForChoose) GetYearsForwardForChoose() int64
- func (*NewSettingsRequest_YearsForwardForChoose) ProtoMessage()
- func (x *NewSettingsRequest_YearsForwardForChoose) ProtoReflect() protoreflect.Message
- func (x *NewSettingsRequest_YearsForwardForChoose) Reset()
- func (x *NewSettingsRequest_YearsForwardForChoose) String() string
- type UnimplementedCalendarServiceServer
- func (UnimplementedCalendarServiceServer) ApplyNewSettings(context.Context, *NewSettingsRequest) (*emptypb.Empty, error)
- func (UnimplementedCalendarServiceServer) GenerateCalendar(context.Context, *GenerateCalendarRequest) (*GenerateCalendarResponse, error)
- func (UnimplementedCalendarServiceServer) GetSettings(context.Context, *emptypb.Empty) (*GetSettingsResponse, error)
- type UnsafeCalendarServiceServer
Constants ¶
const ( CalendarService_GenerateCalendar_FullMethodName = "/telegram.calendar.CalendarService/GenerateCalendar" CalendarService_GetSettings_FullMethodName = "/telegram.calendar.CalendarService/GetSettings" CalendarService_ApplyNewSettings_FullMethodName = "/telegram.calendar.CalendarService/ApplyNewSettings" )
Variables ¶
var CalendarService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "telegram.calendar.CalendarService", HandlerType: (*CalendarServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenerateCalendar", Handler: _CalendarService_GenerateCalendar_Handler, }, { MethodName: "GetSettings", Handler: _CalendarService_GetSettings_Handler, }, { MethodName: "ApplyNewSettings", Handler: _CalendarService_ApplyNewSettings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "telegram_calendar.proto", }
CalendarService_ServiceDesc is the grpc.ServiceDesc for CalendarService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_telegram_calendar_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCalendarServiceHandler ¶
func RegisterCalendarServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCalendarServiceHandler registers the http handlers for service CalendarService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCalendarServiceHandlerClient ¶
func RegisterCalendarServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CalendarServiceClient) error
RegisterCalendarServiceHandlerClient registers the http handlers for service CalendarService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CalendarServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CalendarServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CalendarServiceClient" to call the correct interceptors.
func RegisterCalendarServiceHandlerFromEndpoint ¶
func RegisterCalendarServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCalendarServiceHandlerFromEndpoint is same as RegisterCalendarServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCalendarServiceHandlerServer ¶
func RegisterCalendarServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CalendarServiceServer) error
RegisterCalendarServiceHandlerServer registers the http handlers for service CalendarService to "mux". UnaryRPC :call CalendarServiceServer 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 RegisterCalendarServiceHandlerFromEndpoint instead.
func RegisterCalendarServiceServer ¶
func RegisterCalendarServiceServer(s grpc.ServiceRegistrar, srv CalendarServiceServer)
Types ¶
type CalendarServiceClient ¶
type CalendarServiceClient interface { GenerateCalendar(ctx context.Context, in *GenerateCalendarRequest, opts ...grpc.CallOption) (*GenerateCalendarResponse, error) GetSettings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSettingsResponse, error) ApplyNewSettings(ctx context.Context, in *NewSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
CalendarServiceClient is the client API for CalendarService 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 NewCalendarServiceClient ¶
func NewCalendarServiceClient(cc grpc.ClientConnInterface) CalendarServiceClient
type CalendarServiceServer ¶
type CalendarServiceServer interface { GenerateCalendar(context.Context, *GenerateCalendarRequest) (*GenerateCalendarResponse, error) GetSettings(context.Context, *emptypb.Empty) (*GetSettingsResponse, error) ApplyNewSettings(context.Context, *NewSettingsRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
CalendarServiceServer is the server API for CalendarService service. All implementations must embed UnimplementedCalendarServiceServer for forward compatibility
type GenerateCalendarRequest ¶
type GenerateCalendarRequest struct { CallbackPayload string `protobuf:"bytes,1,opt,name=callback_payload,json=callbackPayload,proto3" json:"callback_payload,omitempty"` // A calendar payload that may be empty at first startup. The system automatically generates payloads in response. For example: 'calendar/prm_00.07.2023'. // RFC3339. CurrentTime string `protobuf:"bytes,2,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"` // Current time with timezone. In case of any errors (incorrect payload, internal failure, etc.) the calendar is generated for the date specified by the current date in the request. // contains filtered or unexported fields }
func (*GenerateCalendarRequest) Descriptor
deprecated
func (*GenerateCalendarRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateCalendarRequest.ProtoReflect.Descriptor instead.
func (*GenerateCalendarRequest) GetCallbackPayload ¶
func (x *GenerateCalendarRequest) GetCallbackPayload() string
func (*GenerateCalendarRequest) GetCurrentTime ¶
func (x *GenerateCalendarRequest) GetCurrentTime() string
func (*GenerateCalendarRequest) ProtoMessage ¶
func (*GenerateCalendarRequest) ProtoMessage()
func (*GenerateCalendarRequest) ProtoReflect ¶
func (x *GenerateCalendarRequest) ProtoReflect() protoreflect.Message
func (*GenerateCalendarRequest) Reset ¶
func (x *GenerateCalendarRequest) Reset()
func (*GenerateCalendarRequest) String ¶
func (x *GenerateCalendarRequest) String() string
type GenerateCalendarResponse ¶
type GenerateCalendarResponse struct { InlineKeyboardMarkup *InlineKeyboardMarkup `protobuf:"bytes,1,opt,name=inline_keyboard_markup,json=inlineKeyboardMarkup,proto3" json:"inline_keyboard_markup,omitempty"` // A message that fully complies with the documentation https://core.telegram.org/bots/api reply_markup (InlineKeyboardMarkup) SelectedDay *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=selected_day,json=selectedDay,proto3,oneof" json:"selected_day,omitempty"` // User-selected day IsUnselectableDay *bool `protobuf:"varint,3,opt,name=is_unselectable_day,json=isUnselectableDay,proto3,oneof" json:"is_unselectable_day,omitempty"` // Shows if the selected day was unavailable for selection // contains filtered or unexported fields }
func (*GenerateCalendarResponse) Descriptor
deprecated
func (*GenerateCalendarResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateCalendarResponse.ProtoReflect.Descriptor instead.
func (*GenerateCalendarResponse) GetInlineKeyboardMarkup ¶
func (x *GenerateCalendarResponse) GetInlineKeyboardMarkup() *InlineKeyboardMarkup
func (*GenerateCalendarResponse) GetIsUnselectableDay ¶
func (x *GenerateCalendarResponse) GetIsUnselectableDay() bool
func (*GenerateCalendarResponse) GetSelectedDay ¶
func (x *GenerateCalendarResponse) GetSelectedDay() *timestamppb.Timestamp
func (*GenerateCalendarResponse) ProtoMessage ¶
func (*GenerateCalendarResponse) ProtoMessage()
func (*GenerateCalendarResponse) ProtoReflect ¶
func (x *GenerateCalendarResponse) ProtoReflect() protoreflect.Message
func (*GenerateCalendarResponse) Reset ¶
func (x *GenerateCalendarResponse) Reset()
func (*GenerateCalendarResponse) String ¶
func (x *GenerateCalendarResponse) String() string
type GetSettingsResponse ¶
type GetSettingsResponse struct { YearsBackForChoose int64 `protobuf:"varint,1,opt,name=years_back_for_choose,json=yearsBackForChoose,proto3" json:"years_back_for_choose,omitempty"` YearsForwardForChoose int64 `` /* 129-byte string literal not displayed */ SumYearsForChoose int64 `protobuf:"varint,3,opt,name=sum_years_for_choose,json=sumYearsForChoose,proto3" json:"sum_years_for_choose,omitempty"` DaysNames []string `protobuf:"bytes,4,rep,name=days_names,json=daysNames,proto3" json:"days_names,omitempty"` MonthNames []string `protobuf:"bytes,5,rep,name=month_names,json=monthNames,proto3" json:"month_names,omitempty"` HomeButtonForBeauty string `protobuf:"bytes,6,opt,name=home_button_for_beauty,json=homeButtonForBeauty,proto3" json:"home_button_for_beauty,omitempty"` PrefixForCurrentDay string `protobuf:"bytes,7,opt,name=prefix_for_current_day,json=prefixForCurrentDay,proto3" json:"prefix_for_current_day,omitempty"` PostfixForCurrentDay string `protobuf:"bytes,8,opt,name=postfix_for_current_day,json=postfixForCurrentDay,proto3" json:"postfix_for_current_day,omitempty"` PrefixForNonSelectedDay string `` /* 136-byte string literal not displayed */ PostfixForNonSelectedDay string `` /* 140-byte string literal not displayed */ PrefixForPickDay string `protobuf:"bytes,11,opt,name=prefix_for_pick_day,json=prefixForPickDay,proto3" json:"prefix_for_pick_day,omitempty"` PostfixForPickDay string `protobuf:"bytes,12,opt,name=postfix_for_pick_day,json=postfixForPickDay,proto3" json:"postfix_for_pick_day,omitempty"` // RFC3339. UnselectableDaysBeforeTime string `` /* 144-byte string literal not displayed */ // RFC3339. UnselectableDaysAfterTime string `` /* 141-byte string literal not displayed */ UnselectableDays map[string]*emptypb.Empty `` /* 198-byte string literal not displayed */ // Format IANA (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones column TZ identifier. // More information https://data.iana.org/time-zones/tz-link.html Timezone string `protobuf:"bytes,16,opt,name=timezone,proto3" json:"timezone,omitempty"` // contains filtered or unexported fields }
func (*GetSettingsResponse) Descriptor
deprecated
func (*GetSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetSettingsResponse) GetDaysNames ¶
func (x *GetSettingsResponse) GetDaysNames() []string
func (*GetSettingsResponse) GetHomeButtonForBeauty ¶
func (x *GetSettingsResponse) GetHomeButtonForBeauty() string
func (*GetSettingsResponse) GetMonthNames ¶
func (x *GetSettingsResponse) GetMonthNames() []string
func (*GetSettingsResponse) GetPostfixForCurrentDay ¶
func (x *GetSettingsResponse) GetPostfixForCurrentDay() string
func (*GetSettingsResponse) GetPostfixForNonSelectedDay ¶
func (x *GetSettingsResponse) GetPostfixForNonSelectedDay() string
func (*GetSettingsResponse) GetPostfixForPickDay ¶
func (x *GetSettingsResponse) GetPostfixForPickDay() string
func (*GetSettingsResponse) GetPrefixForCurrentDay ¶
func (x *GetSettingsResponse) GetPrefixForCurrentDay() string
func (*GetSettingsResponse) GetPrefixForNonSelectedDay ¶
func (x *GetSettingsResponse) GetPrefixForNonSelectedDay() string
func (*GetSettingsResponse) GetPrefixForPickDay ¶
func (x *GetSettingsResponse) GetPrefixForPickDay() string
func (*GetSettingsResponse) GetSumYearsForChoose ¶
func (x *GetSettingsResponse) GetSumYearsForChoose() int64
func (*GetSettingsResponse) GetTimezone ¶
func (x *GetSettingsResponse) GetTimezone() string
func (*GetSettingsResponse) GetUnselectableDays ¶
func (x *GetSettingsResponse) GetUnselectableDays() map[string]*emptypb.Empty
func (*GetSettingsResponse) GetUnselectableDaysAfterTime ¶
func (x *GetSettingsResponse) GetUnselectableDaysAfterTime() string
func (*GetSettingsResponse) GetUnselectableDaysBeforeTime ¶
func (x *GetSettingsResponse) GetUnselectableDaysBeforeTime() string
func (*GetSettingsResponse) GetYearsBackForChoose ¶
func (x *GetSettingsResponse) GetYearsBackForChoose() int64
func (*GetSettingsResponse) GetYearsForwardForChoose ¶
func (x *GetSettingsResponse) GetYearsForwardForChoose() int64
func (*GetSettingsResponse) ProtoMessage ¶
func (*GetSettingsResponse) ProtoMessage()
func (*GetSettingsResponse) ProtoReflect ¶
func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
func (*GetSettingsResponse) Reset ¶
func (x *GetSettingsResponse) Reset()
func (*GetSettingsResponse) String ¶
func (x *GetSettingsResponse) String() string
type InlineKeyboardMarkup ¶
type InlineKeyboardMarkup struct { InlineKeyboard []*InlineKeyboardMarkup_InlineKeyboardRow `protobuf:"bytes,1,rep,name=inline_keyboard,json=inlineKeyboard,proto3" json:"inline_keyboard,omitempty"` // contains filtered or unexported fields }
func (*InlineKeyboardMarkup) Descriptor
deprecated
func (*InlineKeyboardMarkup) Descriptor() ([]byte, []int)
Deprecated: Use InlineKeyboardMarkup.ProtoReflect.Descriptor instead.
func (*InlineKeyboardMarkup) GetInlineKeyboard ¶
func (x *InlineKeyboardMarkup) GetInlineKeyboard() []*InlineKeyboardMarkup_InlineKeyboardRow
func (*InlineKeyboardMarkup) ProtoMessage ¶
func (*InlineKeyboardMarkup) ProtoMessage()
func (*InlineKeyboardMarkup) ProtoReflect ¶
func (x *InlineKeyboardMarkup) ProtoReflect() protoreflect.Message
func (*InlineKeyboardMarkup) Reset ¶
func (x *InlineKeyboardMarkup) Reset()
func (*InlineKeyboardMarkup) String ¶
func (x *InlineKeyboardMarkup) String() string
type InlineKeyboardMarkup_InlineKeyboardButton ¶
type InlineKeyboardMarkup_InlineKeyboardButton struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` CallbackData string `protobuf:"bytes,2,opt,name=callback_data,json=callbackData,proto3" json:"callback_data,omitempty"` // contains filtered or unexported fields }
func (*InlineKeyboardMarkup_InlineKeyboardButton) Descriptor
deprecated
func (*InlineKeyboardMarkup_InlineKeyboardButton) Descriptor() ([]byte, []int)
Deprecated: Use InlineKeyboardMarkup_InlineKeyboardButton.ProtoReflect.Descriptor instead.
func (*InlineKeyboardMarkup_InlineKeyboardButton) GetCallbackData ¶
func (x *InlineKeyboardMarkup_InlineKeyboardButton) GetCallbackData() string
func (*InlineKeyboardMarkup_InlineKeyboardButton) GetText ¶
func (x *InlineKeyboardMarkup_InlineKeyboardButton) GetText() string
func (*InlineKeyboardMarkup_InlineKeyboardButton) ProtoMessage ¶
func (*InlineKeyboardMarkup_InlineKeyboardButton) ProtoMessage()
func (*InlineKeyboardMarkup_InlineKeyboardButton) ProtoReflect ¶
func (x *InlineKeyboardMarkup_InlineKeyboardButton) ProtoReflect() protoreflect.Message
func (*InlineKeyboardMarkup_InlineKeyboardButton) Reset ¶
func (x *InlineKeyboardMarkup_InlineKeyboardButton) Reset()
func (*InlineKeyboardMarkup_InlineKeyboardButton) String ¶
func (x *InlineKeyboardMarkup_InlineKeyboardButton) String() string
type InlineKeyboardMarkup_InlineKeyboardRow ¶
type InlineKeyboardMarkup_InlineKeyboardRow struct { Buttons []*InlineKeyboardMarkup_InlineKeyboardButton `protobuf:"bytes,1,rep,name=buttons,proto3" json:"buttons,omitempty"` // contains filtered or unexported fields }
func (*InlineKeyboardMarkup_InlineKeyboardRow) Descriptor
deprecated
func (*InlineKeyboardMarkup_InlineKeyboardRow) Descriptor() ([]byte, []int)
Deprecated: Use InlineKeyboardMarkup_InlineKeyboardRow.ProtoReflect.Descriptor instead.
func (*InlineKeyboardMarkup_InlineKeyboardRow) GetButtons ¶
func (x *InlineKeyboardMarkup_InlineKeyboardRow) GetButtons() []*InlineKeyboardMarkup_InlineKeyboardButton
func (*InlineKeyboardMarkup_InlineKeyboardRow) ProtoMessage ¶
func (*InlineKeyboardMarkup_InlineKeyboardRow) ProtoMessage()
func (*InlineKeyboardMarkup_InlineKeyboardRow) ProtoReflect ¶
func (x *InlineKeyboardMarkup_InlineKeyboardRow) ProtoReflect() protoreflect.Message
func (*InlineKeyboardMarkup_InlineKeyboardRow) Reset ¶
func (x *InlineKeyboardMarkup_InlineKeyboardRow) Reset()
func (*InlineKeyboardMarkup_InlineKeyboardRow) String ¶
func (x *InlineKeyboardMarkup_InlineKeyboardRow) String() string
type NewSettingsRequest ¶
type NewSettingsRequest struct { YearsBackForChoose *NewSettingsRequest_YearsBackForChoose `protobuf:"bytes,1,opt,name=years_back_for_choose,json=yearsBackForChoose,proto3" json:"years_back_for_choose,omitempty"` YearsForwardForChoose *NewSettingsRequest_YearsForwardForChoose `` /* 128-byte string literal not displayed */ DayNames *NewSettingsRequest_DayNames `protobuf:"bytes,3,opt,name=day_names,json=dayNames,proto3" json:"day_names,omitempty"` MonthNames *NewSettingsRequest_MonthNames `protobuf:"bytes,4,opt,name=month_names,json=monthNames,proto3" json:"month_names,omitempty"` HomeButtonForBeauty *NewSettingsRequest_HomeButtonForBeauty `protobuf:"bytes,5,opt,name=home_button_for_beauty,json=homeButtonForBeauty,proto3" json:"home_button_for_beauty,omitempty"` PrefixForCurrentDay *NewSettingsRequest_PrefixForCurrentDay `protobuf:"bytes,6,opt,name=prefix_for_current_day,json=prefixForCurrentDay,proto3" json:"prefix_for_current_day,omitempty"` PostfixForCurrentDay *NewSettingsRequest_PostfixForCurrentDay `protobuf:"bytes,7,opt,name=postfix_for_current_day,json=postfixForCurrentDay,proto3" json:"postfix_for_current_day,omitempty"` PrefixForNonSelectedDay *NewSettingsRequest_PrefixForNonSelectedDay `` /* 136-byte string literal not displayed */ PostfixForNonSelectedDay *NewSettingsRequest_PostfixForNonSelectedDay `` /* 139-byte string literal not displayed */ PrefixForPickDay *NewSettingsRequest_PrefixForPickDay `protobuf:"bytes,10,opt,name=prefix_for_pick_day,json=prefixForPickDay,proto3" json:"prefix_for_pick_day,omitempty"` PostfixForPickDay *NewSettingsRequest_PostfixForPickDay `protobuf:"bytes,11,opt,name=postfix_for_pick_day,json=postfixForPickDay,proto3" json:"postfix_for_pick_day,omitempty"` UnselectableDaysBeforeTime *NewSettingsRequest_UnselectableDaysBeforeTime `` /* 144-byte string literal not displayed */ UnselectableDaysAfterTime *NewSettingsRequest_UnselectableDaysAfterTime `` /* 141-byte string literal not displayed */ UnselectableDays *NewSettingsRequest_UnselectableDays `protobuf:"bytes,14,opt,name=unselectable_days,json=unselectableDays,proto3" json:"unselectable_days,omitempty"` Timezone *NewSettingsRequest_Timezone `protobuf:"bytes,15,opt,name=timezone,proto3" json:"timezone,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest) Descriptor
deprecated
func (*NewSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest) GetDayNames ¶
func (x *NewSettingsRequest) GetDayNames() *NewSettingsRequest_DayNames
func (*NewSettingsRequest) GetHomeButtonForBeauty ¶
func (x *NewSettingsRequest) GetHomeButtonForBeauty() *NewSettingsRequest_HomeButtonForBeauty
func (*NewSettingsRequest) GetMonthNames ¶
func (x *NewSettingsRequest) GetMonthNames() *NewSettingsRequest_MonthNames
func (*NewSettingsRequest) GetPostfixForCurrentDay ¶
func (x *NewSettingsRequest) GetPostfixForCurrentDay() *NewSettingsRequest_PostfixForCurrentDay
func (*NewSettingsRequest) GetPostfixForNonSelectedDay ¶
func (x *NewSettingsRequest) GetPostfixForNonSelectedDay() *NewSettingsRequest_PostfixForNonSelectedDay
func (*NewSettingsRequest) GetPostfixForPickDay ¶
func (x *NewSettingsRequest) GetPostfixForPickDay() *NewSettingsRequest_PostfixForPickDay
func (*NewSettingsRequest) GetPrefixForCurrentDay ¶
func (x *NewSettingsRequest) GetPrefixForCurrentDay() *NewSettingsRequest_PrefixForCurrentDay
func (*NewSettingsRequest) GetPrefixForNonSelectedDay ¶
func (x *NewSettingsRequest) GetPrefixForNonSelectedDay() *NewSettingsRequest_PrefixForNonSelectedDay
func (*NewSettingsRequest) GetPrefixForPickDay ¶
func (x *NewSettingsRequest) GetPrefixForPickDay() *NewSettingsRequest_PrefixForPickDay
func (*NewSettingsRequest) GetTimezone ¶
func (x *NewSettingsRequest) GetTimezone() *NewSettingsRequest_Timezone
func (*NewSettingsRequest) GetUnselectableDays ¶
func (x *NewSettingsRequest) GetUnselectableDays() *NewSettingsRequest_UnselectableDays
func (*NewSettingsRequest) GetUnselectableDaysAfterTime ¶
func (x *NewSettingsRequest) GetUnselectableDaysAfterTime() *NewSettingsRequest_UnselectableDaysAfterTime
func (*NewSettingsRequest) GetUnselectableDaysBeforeTime ¶
func (x *NewSettingsRequest) GetUnselectableDaysBeforeTime() *NewSettingsRequest_UnselectableDaysBeforeTime
func (*NewSettingsRequest) GetYearsBackForChoose ¶
func (x *NewSettingsRequest) GetYearsBackForChoose() *NewSettingsRequest_YearsBackForChoose
func (*NewSettingsRequest) GetYearsForwardForChoose ¶
func (x *NewSettingsRequest) GetYearsForwardForChoose() *NewSettingsRequest_YearsForwardForChoose
func (*NewSettingsRequest) ProtoMessage ¶
func (*NewSettingsRequest) ProtoMessage()
func (*NewSettingsRequest) ProtoReflect ¶
func (x *NewSettingsRequest) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest) Reset ¶
func (x *NewSettingsRequest) Reset()
func (*NewSettingsRequest) String ¶
func (x *NewSettingsRequest) String() string
type NewSettingsRequest_DayName ¶
type NewSettingsRequest_DayName struct { DayName string `protobuf:"bytes,1,opt,name=day_name,json=dayName,proto3" json:"day_name,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_DayName) Descriptor
deprecated
func (*NewSettingsRequest_DayName) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_DayName.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_DayName) GetDayName ¶
func (x *NewSettingsRequest_DayName) GetDayName() string
func (*NewSettingsRequest_DayName) ProtoMessage ¶
func (*NewSettingsRequest_DayName) ProtoMessage()
func (*NewSettingsRequest_DayName) ProtoReflect ¶
func (x *NewSettingsRequest_DayName) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_DayName) Reset ¶
func (x *NewSettingsRequest_DayName) Reset()
func (*NewSettingsRequest_DayName) String ¶
func (x *NewSettingsRequest_DayName) String() string
type NewSettingsRequest_DayNames ¶
type NewSettingsRequest_DayNames struct { DayNames []*NewSettingsRequest_DayName `protobuf:"bytes,1,rep,name=day_names,json=dayNames,proto3" json:"day_names,omitempty"` // if set, expect 7 days ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_DayNames) Descriptor
deprecated
func (*NewSettingsRequest_DayNames) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_DayNames.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_DayNames) GetDayNames ¶
func (x *NewSettingsRequest_DayNames) GetDayNames() []*NewSettingsRequest_DayName
func (*NewSettingsRequest_DayNames) GetForceChoice ¶
func (x *NewSettingsRequest_DayNames) GetForceChoice() bool
func (*NewSettingsRequest_DayNames) ProtoMessage ¶
func (*NewSettingsRequest_DayNames) ProtoMessage()
func (*NewSettingsRequest_DayNames) ProtoReflect ¶
func (x *NewSettingsRequest_DayNames) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_DayNames) Reset ¶
func (x *NewSettingsRequest_DayNames) Reset()
func (*NewSettingsRequest_DayNames) String ¶
func (x *NewSettingsRequest_DayNames) String() string
type NewSettingsRequest_HomeButtonForBeauty ¶
type NewSettingsRequest_HomeButtonForBeauty struct { HomeButtonForBeauty string `protobuf:"bytes,1,opt,name=home_button_for_beauty,json=homeButtonForBeauty,proto3" json:"home_button_for_beauty,omitempty"` ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_HomeButtonForBeauty) Descriptor
deprecated
func (*NewSettingsRequest_HomeButtonForBeauty) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_HomeButtonForBeauty.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_HomeButtonForBeauty) GetForceChoice ¶
func (x *NewSettingsRequest_HomeButtonForBeauty) GetForceChoice() bool
func (*NewSettingsRequest_HomeButtonForBeauty) GetHomeButtonForBeauty ¶
func (x *NewSettingsRequest_HomeButtonForBeauty) GetHomeButtonForBeauty() string
func (*NewSettingsRequest_HomeButtonForBeauty) ProtoMessage ¶
func (*NewSettingsRequest_HomeButtonForBeauty) ProtoMessage()
func (*NewSettingsRequest_HomeButtonForBeauty) ProtoReflect ¶
func (x *NewSettingsRequest_HomeButtonForBeauty) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_HomeButtonForBeauty) Reset ¶
func (x *NewSettingsRequest_HomeButtonForBeauty) Reset()
func (*NewSettingsRequest_HomeButtonForBeauty) String ¶
func (x *NewSettingsRequest_HomeButtonForBeauty) String() string
type NewSettingsRequest_MonthName ¶
type NewSettingsRequest_MonthName struct { MonthName string `protobuf:"bytes,1,opt,name=month_name,json=monthName,proto3" json:"month_name,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_MonthName) Descriptor
deprecated
func (*NewSettingsRequest_MonthName) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_MonthName.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_MonthName) GetMonthName ¶
func (x *NewSettingsRequest_MonthName) GetMonthName() string
func (*NewSettingsRequest_MonthName) ProtoMessage ¶
func (*NewSettingsRequest_MonthName) ProtoMessage()
func (*NewSettingsRequest_MonthName) ProtoReflect ¶
func (x *NewSettingsRequest_MonthName) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_MonthName) Reset ¶
func (x *NewSettingsRequest_MonthName) Reset()
func (*NewSettingsRequest_MonthName) String ¶
func (x *NewSettingsRequest_MonthName) String() string
type NewSettingsRequest_MonthNames ¶
type NewSettingsRequest_MonthNames struct { MonthNames []*NewSettingsRequest_MonthName `protobuf:"bytes,1,rep,name=month_names,json=monthNames,proto3" json:"month_names,omitempty"` // if set, expect 12 months ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_MonthNames) Descriptor
deprecated
func (*NewSettingsRequest_MonthNames) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_MonthNames.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_MonthNames) GetForceChoice ¶
func (x *NewSettingsRequest_MonthNames) GetForceChoice() bool
func (*NewSettingsRequest_MonthNames) GetMonthNames ¶
func (x *NewSettingsRequest_MonthNames) GetMonthNames() []*NewSettingsRequest_MonthName
func (*NewSettingsRequest_MonthNames) ProtoMessage ¶
func (*NewSettingsRequest_MonthNames) ProtoMessage()
func (*NewSettingsRequest_MonthNames) ProtoReflect ¶
func (x *NewSettingsRequest_MonthNames) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_MonthNames) Reset ¶
func (x *NewSettingsRequest_MonthNames) Reset()
func (*NewSettingsRequest_MonthNames) String ¶
func (x *NewSettingsRequest_MonthNames) String() string
type NewSettingsRequest_PostfixForCurrentDay ¶
type NewSettingsRequest_PostfixForCurrentDay struct { PostfixForCurrentDay string `protobuf:"bytes,1,opt,name=postfix_for_current_day,json=postfixForCurrentDay,proto3" json:"postfix_for_current_day,omitempty"` ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_PostfixForCurrentDay) Descriptor
deprecated
func (*NewSettingsRequest_PostfixForCurrentDay) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_PostfixForCurrentDay.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_PostfixForCurrentDay) GetForceChoice ¶
func (x *NewSettingsRequest_PostfixForCurrentDay) GetForceChoice() bool
func (*NewSettingsRequest_PostfixForCurrentDay) GetPostfixForCurrentDay ¶
func (x *NewSettingsRequest_PostfixForCurrentDay) GetPostfixForCurrentDay() string
func (*NewSettingsRequest_PostfixForCurrentDay) ProtoMessage ¶
func (*NewSettingsRequest_PostfixForCurrentDay) ProtoMessage()
func (*NewSettingsRequest_PostfixForCurrentDay) ProtoReflect ¶
func (x *NewSettingsRequest_PostfixForCurrentDay) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_PostfixForCurrentDay) Reset ¶
func (x *NewSettingsRequest_PostfixForCurrentDay) Reset()
func (*NewSettingsRequest_PostfixForCurrentDay) String ¶
func (x *NewSettingsRequest_PostfixForCurrentDay) String() string
type NewSettingsRequest_PostfixForNonSelectedDay ¶
type NewSettingsRequest_PostfixForNonSelectedDay struct { PostfixForNonSelectedDay string `` /* 139-byte string literal not displayed */ ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_PostfixForNonSelectedDay) Descriptor
deprecated
func (*NewSettingsRequest_PostfixForNonSelectedDay) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_PostfixForNonSelectedDay.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_PostfixForNonSelectedDay) GetForceChoice ¶
func (x *NewSettingsRequest_PostfixForNonSelectedDay) GetForceChoice() bool
func (*NewSettingsRequest_PostfixForNonSelectedDay) GetPostfixForNonSelectedDay ¶
func (x *NewSettingsRequest_PostfixForNonSelectedDay) GetPostfixForNonSelectedDay() string
func (*NewSettingsRequest_PostfixForNonSelectedDay) ProtoMessage ¶
func (*NewSettingsRequest_PostfixForNonSelectedDay) ProtoMessage()
func (*NewSettingsRequest_PostfixForNonSelectedDay) ProtoReflect ¶
func (x *NewSettingsRequest_PostfixForNonSelectedDay) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_PostfixForNonSelectedDay) Reset ¶
func (x *NewSettingsRequest_PostfixForNonSelectedDay) Reset()
func (*NewSettingsRequest_PostfixForNonSelectedDay) String ¶
func (x *NewSettingsRequest_PostfixForNonSelectedDay) String() string
type NewSettingsRequest_PostfixForPickDay ¶
type NewSettingsRequest_PostfixForPickDay struct { PostfixForPickDay string `protobuf:"bytes,1,opt,name=postfix_for_pick_day,json=postfixForPickDay,proto3" json:"postfix_for_pick_day,omitempty"` ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_PostfixForPickDay) Descriptor
deprecated
func (*NewSettingsRequest_PostfixForPickDay) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_PostfixForPickDay.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_PostfixForPickDay) GetForceChoice ¶
func (x *NewSettingsRequest_PostfixForPickDay) GetForceChoice() bool
func (*NewSettingsRequest_PostfixForPickDay) GetPostfixForPickDay ¶
func (x *NewSettingsRequest_PostfixForPickDay) GetPostfixForPickDay() string
func (*NewSettingsRequest_PostfixForPickDay) ProtoMessage ¶
func (*NewSettingsRequest_PostfixForPickDay) ProtoMessage()
func (*NewSettingsRequest_PostfixForPickDay) ProtoReflect ¶
func (x *NewSettingsRequest_PostfixForPickDay) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_PostfixForPickDay) Reset ¶
func (x *NewSettingsRequest_PostfixForPickDay) Reset()
func (*NewSettingsRequest_PostfixForPickDay) String ¶
func (x *NewSettingsRequest_PostfixForPickDay) String() string
type NewSettingsRequest_PrefixForCurrentDay ¶
type NewSettingsRequest_PrefixForCurrentDay struct { PrefixForCurrentDay string `protobuf:"bytes,1,opt,name=prefix_for_current_day,json=prefixForCurrentDay,proto3" json:"prefix_for_current_day,omitempty"` ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_PrefixForCurrentDay) Descriptor
deprecated
func (*NewSettingsRequest_PrefixForCurrentDay) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_PrefixForCurrentDay.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_PrefixForCurrentDay) GetForceChoice ¶
func (x *NewSettingsRequest_PrefixForCurrentDay) GetForceChoice() bool
func (*NewSettingsRequest_PrefixForCurrentDay) GetPrefixForCurrentDay ¶
func (x *NewSettingsRequest_PrefixForCurrentDay) GetPrefixForCurrentDay() string
func (*NewSettingsRequest_PrefixForCurrentDay) ProtoMessage ¶
func (*NewSettingsRequest_PrefixForCurrentDay) ProtoMessage()
func (*NewSettingsRequest_PrefixForCurrentDay) ProtoReflect ¶
func (x *NewSettingsRequest_PrefixForCurrentDay) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_PrefixForCurrentDay) Reset ¶
func (x *NewSettingsRequest_PrefixForCurrentDay) Reset()
func (*NewSettingsRequest_PrefixForCurrentDay) String ¶
func (x *NewSettingsRequest_PrefixForCurrentDay) String() string
type NewSettingsRequest_PrefixForNonSelectedDay ¶
type NewSettingsRequest_PrefixForNonSelectedDay struct { PrefixForNonSelectedDay string `` /* 136-byte string literal not displayed */ ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_PrefixForNonSelectedDay) Descriptor
deprecated
func (*NewSettingsRequest_PrefixForNonSelectedDay) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_PrefixForNonSelectedDay.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_PrefixForNonSelectedDay) GetForceChoice ¶
func (x *NewSettingsRequest_PrefixForNonSelectedDay) GetForceChoice() bool
func (*NewSettingsRequest_PrefixForNonSelectedDay) GetPrefixForNonSelectedDay ¶
func (x *NewSettingsRequest_PrefixForNonSelectedDay) GetPrefixForNonSelectedDay() string
func (*NewSettingsRequest_PrefixForNonSelectedDay) ProtoMessage ¶
func (*NewSettingsRequest_PrefixForNonSelectedDay) ProtoMessage()
func (*NewSettingsRequest_PrefixForNonSelectedDay) ProtoReflect ¶
func (x *NewSettingsRequest_PrefixForNonSelectedDay) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_PrefixForNonSelectedDay) Reset ¶
func (x *NewSettingsRequest_PrefixForNonSelectedDay) Reset()
func (*NewSettingsRequest_PrefixForNonSelectedDay) String ¶
func (x *NewSettingsRequest_PrefixForNonSelectedDay) String() string
type NewSettingsRequest_PrefixForPickDay ¶
type NewSettingsRequest_PrefixForPickDay struct { PrefixForPickDay string `protobuf:"bytes,1,opt,name=prefix_for_pick_day,json=prefixForPickDay,proto3" json:"prefix_for_pick_day,omitempty"` ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_PrefixForPickDay) Descriptor
deprecated
func (*NewSettingsRequest_PrefixForPickDay) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_PrefixForPickDay.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_PrefixForPickDay) GetForceChoice ¶
func (x *NewSettingsRequest_PrefixForPickDay) GetForceChoice() bool
func (*NewSettingsRequest_PrefixForPickDay) GetPrefixForPickDay ¶
func (x *NewSettingsRequest_PrefixForPickDay) GetPrefixForPickDay() string
func (*NewSettingsRequest_PrefixForPickDay) ProtoMessage ¶
func (*NewSettingsRequest_PrefixForPickDay) ProtoMessage()
func (*NewSettingsRequest_PrefixForPickDay) ProtoReflect ¶
func (x *NewSettingsRequest_PrefixForPickDay) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_PrefixForPickDay) Reset ¶
func (x *NewSettingsRequest_PrefixForPickDay) Reset()
func (*NewSettingsRequest_PrefixForPickDay) String ¶
func (x *NewSettingsRequest_PrefixForPickDay) String() string
type NewSettingsRequest_Timezone ¶
type NewSettingsRequest_Timezone struct { // Format IANA (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones column TZ identifier. // More information https://data.iana.org/time-zones/tz-link.html Timezone string `protobuf:"bytes,1,opt,name=timezone,proto3" json:"timezone,omitempty"` ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_Timezone) Descriptor
deprecated
func (*NewSettingsRequest_Timezone) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_Timezone.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_Timezone) GetForceChoice ¶
func (x *NewSettingsRequest_Timezone) GetForceChoice() bool
func (*NewSettingsRequest_Timezone) GetTimezone ¶
func (x *NewSettingsRequest_Timezone) GetTimezone() string
func (*NewSettingsRequest_Timezone) ProtoMessage ¶
func (*NewSettingsRequest_Timezone) ProtoMessage()
func (*NewSettingsRequest_Timezone) ProtoReflect ¶
func (x *NewSettingsRequest_Timezone) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_Timezone) Reset ¶
func (x *NewSettingsRequest_Timezone) Reset()
func (*NewSettingsRequest_Timezone) String ¶
func (x *NewSettingsRequest_Timezone) String() string
type NewSettingsRequest_UnselectableDays ¶
type NewSettingsRequest_UnselectableDays struct { UnselectableDays map[string]*emptypb.Empty `` /* 197-byte string literal not displayed */ ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_UnselectableDays) Descriptor
deprecated
func (*NewSettingsRequest_UnselectableDays) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_UnselectableDays.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_UnselectableDays) GetForceChoice ¶
func (x *NewSettingsRequest_UnselectableDays) GetForceChoice() bool
func (*NewSettingsRequest_UnselectableDays) GetUnselectableDays ¶
func (x *NewSettingsRequest_UnselectableDays) GetUnselectableDays() map[string]*emptypb.Empty
func (*NewSettingsRequest_UnselectableDays) ProtoMessage ¶
func (*NewSettingsRequest_UnselectableDays) ProtoMessage()
func (*NewSettingsRequest_UnselectableDays) ProtoReflect ¶
func (x *NewSettingsRequest_UnselectableDays) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_UnselectableDays) Reset ¶
func (x *NewSettingsRequest_UnselectableDays) Reset()
func (*NewSettingsRequest_UnselectableDays) String ¶
func (x *NewSettingsRequest_UnselectableDays) String() string
type NewSettingsRequest_UnselectableDaysAfterTime ¶
type NewSettingsRequest_UnselectableDaysAfterTime struct { // RFC3339. UnselectableDaysAfterTime string `` /* 140-byte string literal not displayed */ ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_UnselectableDaysAfterTime) Descriptor
deprecated
func (*NewSettingsRequest_UnselectableDaysAfterTime) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_UnselectableDaysAfterTime.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_UnselectableDaysAfterTime) GetForceChoice ¶
func (x *NewSettingsRequest_UnselectableDaysAfterTime) GetForceChoice() bool
func (*NewSettingsRequest_UnselectableDaysAfterTime) GetUnselectableDaysAfterTime ¶
func (x *NewSettingsRequest_UnselectableDaysAfterTime) GetUnselectableDaysAfterTime() string
func (*NewSettingsRequest_UnselectableDaysAfterTime) ProtoMessage ¶
func (*NewSettingsRequest_UnselectableDaysAfterTime) ProtoMessage()
func (*NewSettingsRequest_UnselectableDaysAfterTime) ProtoReflect ¶
func (x *NewSettingsRequest_UnselectableDaysAfterTime) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_UnselectableDaysAfterTime) Reset ¶
func (x *NewSettingsRequest_UnselectableDaysAfterTime) Reset()
func (*NewSettingsRequest_UnselectableDaysAfterTime) String ¶
func (x *NewSettingsRequest_UnselectableDaysAfterTime) String() string
type NewSettingsRequest_UnselectableDaysBeforeTime ¶
type NewSettingsRequest_UnselectableDaysBeforeTime struct { // RFC3339. UnselectableDaysBeforeTime string `` /* 143-byte string literal not displayed */ ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_UnselectableDaysBeforeTime) Descriptor
deprecated
func (*NewSettingsRequest_UnselectableDaysBeforeTime) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_UnselectableDaysBeforeTime.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_UnselectableDaysBeforeTime) GetForceChoice ¶
func (x *NewSettingsRequest_UnselectableDaysBeforeTime) GetForceChoice() bool
func (*NewSettingsRequest_UnselectableDaysBeforeTime) GetUnselectableDaysBeforeTime ¶
func (x *NewSettingsRequest_UnselectableDaysBeforeTime) GetUnselectableDaysBeforeTime() string
func (*NewSettingsRequest_UnselectableDaysBeforeTime) ProtoMessage ¶
func (*NewSettingsRequest_UnselectableDaysBeforeTime) ProtoMessage()
func (*NewSettingsRequest_UnselectableDaysBeforeTime) ProtoReflect ¶
func (x *NewSettingsRequest_UnselectableDaysBeforeTime) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_UnselectableDaysBeforeTime) Reset ¶
func (x *NewSettingsRequest_UnselectableDaysBeforeTime) Reset()
func (*NewSettingsRequest_UnselectableDaysBeforeTime) String ¶
func (x *NewSettingsRequest_UnselectableDaysBeforeTime) String() string
type NewSettingsRequest_YearsBackForChoose ¶
type NewSettingsRequest_YearsBackForChoose struct { YearsBackForChoose int64 `protobuf:"varint,1,opt,name=years_back_for_choose,json=yearsBackForChoose,proto3" json:"years_back_for_choose,omitempty"` ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_YearsBackForChoose) Descriptor
deprecated
func (*NewSettingsRequest_YearsBackForChoose) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_YearsBackForChoose.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_YearsBackForChoose) GetForceChoice ¶
func (x *NewSettingsRequest_YearsBackForChoose) GetForceChoice() bool
func (*NewSettingsRequest_YearsBackForChoose) GetYearsBackForChoose ¶
func (x *NewSettingsRequest_YearsBackForChoose) GetYearsBackForChoose() int64
func (*NewSettingsRequest_YearsBackForChoose) ProtoMessage ¶
func (*NewSettingsRequest_YearsBackForChoose) ProtoMessage()
func (*NewSettingsRequest_YearsBackForChoose) ProtoReflect ¶
func (x *NewSettingsRequest_YearsBackForChoose) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_YearsBackForChoose) Reset ¶
func (x *NewSettingsRequest_YearsBackForChoose) Reset()
func (*NewSettingsRequest_YearsBackForChoose) String ¶
func (x *NewSettingsRequest_YearsBackForChoose) String() string
type NewSettingsRequest_YearsForwardForChoose ¶
type NewSettingsRequest_YearsForwardForChoose struct { YearsForwardForChoose int64 `` /* 129-byte string literal not displayed */ ForceChoice bool `protobuf:"varint,2,opt,name=force_choice,json=forceChoice,proto3" json:"force_choice,omitempty"` // contains filtered or unexported fields }
func (*NewSettingsRequest_YearsForwardForChoose) Descriptor
deprecated
func (*NewSettingsRequest_YearsForwardForChoose) Descriptor() ([]byte, []int)
Deprecated: Use NewSettingsRequest_YearsForwardForChoose.ProtoReflect.Descriptor instead.
func (*NewSettingsRequest_YearsForwardForChoose) GetForceChoice ¶
func (x *NewSettingsRequest_YearsForwardForChoose) GetForceChoice() bool
func (*NewSettingsRequest_YearsForwardForChoose) GetYearsForwardForChoose ¶
func (x *NewSettingsRequest_YearsForwardForChoose) GetYearsForwardForChoose() int64
func (*NewSettingsRequest_YearsForwardForChoose) ProtoMessage ¶
func (*NewSettingsRequest_YearsForwardForChoose) ProtoMessage()
func (*NewSettingsRequest_YearsForwardForChoose) ProtoReflect ¶
func (x *NewSettingsRequest_YearsForwardForChoose) ProtoReflect() protoreflect.Message
func (*NewSettingsRequest_YearsForwardForChoose) Reset ¶
func (x *NewSettingsRequest_YearsForwardForChoose) Reset()
func (*NewSettingsRequest_YearsForwardForChoose) String ¶
func (x *NewSettingsRequest_YearsForwardForChoose) String() string
type UnimplementedCalendarServiceServer ¶
type UnimplementedCalendarServiceServer struct { }
UnimplementedCalendarServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCalendarServiceServer) ApplyNewSettings ¶
func (UnimplementedCalendarServiceServer) ApplyNewSettings(context.Context, *NewSettingsRequest) (*emptypb.Empty, error)
func (UnimplementedCalendarServiceServer) GenerateCalendar ¶
func (UnimplementedCalendarServiceServer) GenerateCalendar(context.Context, *GenerateCalendarRequest) (*GenerateCalendarResponse, error)
func (UnimplementedCalendarServiceServer) GetSettings ¶
func (UnimplementedCalendarServiceServer) GetSettings(context.Context, *emptypb.Empty) (*GetSettingsResponse, error)
type UnsafeCalendarServiceServer ¶
type UnsafeCalendarServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCalendarServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CalendarServiceServer will result in compilation errors.