Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterObservedHolidaysServiceServer(s grpc.ServiceRegistrar, srv ObservedHolidaysServiceServer)
- type AddToObservedHolidaysRequest
- func (*AddToObservedHolidaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddToObservedHolidaysRequest) GetDay() *org.ObservedHoliday
- func (x *AddToObservedHolidaysRequest) GetObservedHolidaysId() string
- func (*AddToObservedHolidaysRequest) ProtoMessage()
- func (x *AddToObservedHolidaysRequest) ProtoReflect() protoreflect.Message
- func (x *AddToObservedHolidaysRequest) Reset()
- func (x *AddToObservedHolidaysRequest) String() string
- type AddToObservedHolidaysResponse
- func (*AddToObservedHolidaysResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddToObservedHolidaysResponse) ProtoMessage()
- func (x *AddToObservedHolidaysResponse) ProtoReflect() protoreflect.Message
- func (x *AddToObservedHolidaysResponse) Reset()
- func (x *AddToObservedHolidaysResponse) String() string
- type DeleteObservedHolidaysRequest
- func (*DeleteObservedHolidaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObservedHolidaysRequest) GetObservedHolidaysId() string
- func (*DeleteObservedHolidaysRequest) ProtoMessage()
- func (x *DeleteObservedHolidaysRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteObservedHolidaysRequest) Reset()
- func (x *DeleteObservedHolidaysRequest) String() string
- type DeleteObservedHolidaysResponse
- func (*DeleteObservedHolidaysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObservedHolidaysResponse) GetObservedHolidaysId() string
- func (*DeleteObservedHolidaysResponse) ProtoMessage()
- func (x *DeleteObservedHolidaysResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteObservedHolidaysResponse) Reset()
- func (x *DeleteObservedHolidaysResponse) String() string
- type EvaluateObservedHolidaysRequest
- func (*EvaluateObservedHolidaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateObservedHolidaysRequest) GetObservedHolidaysId() string
- func (*EvaluateObservedHolidaysRequest) ProtoMessage()
- func (x *EvaluateObservedHolidaysRequest) ProtoReflect() protoreflect.Message
- func (x *EvaluateObservedHolidaysRequest) Reset()
- func (x *EvaluateObservedHolidaysRequest) String() string
- type EvaluateObservedHolidaysResponse
- func (*EvaluateObservedHolidaysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateObservedHolidaysResponse) GetDateMatched() bool
- func (x *EvaluateObservedHolidaysResponse) GetResultExpiration() *timestamppb.Timestamp
- func (*EvaluateObservedHolidaysResponse) ProtoMessage()
- func (x *EvaluateObservedHolidaysResponse) ProtoReflect() protoreflect.Message
- func (x *EvaluateObservedHolidaysResponse) Reset()
- func (x *EvaluateObservedHolidaysResponse) String() string
- type GetObservedHolidaysRequest
- func (*GetObservedHolidaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObservedHolidaysRequest) GetObservedHolidaysId() string
- func (*GetObservedHolidaysRequest) ProtoMessage()
- func (x *GetObservedHolidaysRequest) ProtoReflect() protoreflect.Message
- func (x *GetObservedHolidaysRequest) Reset()
- func (x *GetObservedHolidaysRequest) String() string
- type GetObservedHolidaysResponse
- func (*GetObservedHolidaysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetObservedHolidaysResponse) GetObservedHolidays() *org.ObservedHolidays
- func (*GetObservedHolidaysResponse) ProtoMessage()
- func (x *GetObservedHolidaysResponse) ProtoReflect() protoreflect.Message
- func (x *GetObservedHolidaysResponse) Reset()
- func (x *GetObservedHolidaysResponse) String() string
- type ListObservedHolidaysRequest
- type ListObservedHolidaysResponse
- func (*ListObservedHolidaysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListObservedHolidaysResponse) GetObservedHolidays() []*org.ObservedHolidays
- func (*ListObservedHolidaysResponse) ProtoMessage()
- func (x *ListObservedHolidaysResponse) ProtoReflect() protoreflect.Message
- func (x *ListObservedHolidaysResponse) Reset()
- func (x *ListObservedHolidaysResponse) String() string
- type ObservedHolidaysServiceClient
- type ObservedHolidaysServiceServer
- type RemoveFromObservedHolidaysRequest
- func (*RemoveFromObservedHolidaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFromObservedHolidaysRequest) GetDay() *org.ObservedHoliday
- func (x *RemoveFromObservedHolidaysRequest) GetObservedHolidaysId() string
- func (*RemoveFromObservedHolidaysRequest) ProtoMessage()
- func (x *RemoveFromObservedHolidaysRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFromObservedHolidaysRequest) Reset()
- func (x *RemoveFromObservedHolidaysRequest) String() string
- type RemoveFromObservedHolidaysResponse
- func (*RemoveFromObservedHolidaysResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveFromObservedHolidaysResponse) ProtoMessage()
- func (x *RemoveFromObservedHolidaysResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveFromObservedHolidaysResponse) Reset()
- func (x *RemoveFromObservedHolidaysResponse) String() string
- type SetObservedHolidaysRequest
- func (*SetObservedHolidaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetObservedHolidaysRequest) GetDays() []*org.ObservedHoliday
- func (x *SetObservedHolidaysRequest) GetDescription() string
- func (x *SetObservedHolidaysRequest) GetObservedHolidaysName() string
- func (x *SetObservedHolidaysRequest) GetTimezone() commons.TimeZone
- func (*SetObservedHolidaysRequest) ProtoMessage()
- func (x *SetObservedHolidaysRequest) ProtoReflect() protoreflect.Message
- func (x *SetObservedHolidaysRequest) Reset()
- func (x *SetObservedHolidaysRequest) String() string
- type SetObservedHolidaysResponse
- func (*SetObservedHolidaysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetObservedHolidaysResponse) GetObservedHolidaysId() string
- func (*SetObservedHolidaysResponse) ProtoMessage()
- func (x *SetObservedHolidaysResponse) ProtoReflect() protoreflect.Message
- func (x *SetObservedHolidaysResponse) Reset()
- func (x *SetObservedHolidaysResponse) String() string
- type UnimplementedObservedHolidaysServiceServer
- func (UnimplementedObservedHolidaysServiceServer) AddToObservedHolidays(context.Context, *AddToObservedHolidaysRequest) (*AddToObservedHolidaysResponse, error)
- func (UnimplementedObservedHolidaysServiceServer) DeleteObservedHolidays(context.Context, *DeleteObservedHolidaysRequest) (*DeleteObservedHolidaysResponse, error)
- func (UnimplementedObservedHolidaysServiceServer) EvaluateObservedHolidays(context.Context, *EvaluateObservedHolidaysRequest) (*EvaluateObservedHolidaysResponse, error)
- func (UnimplementedObservedHolidaysServiceServer) GetObservedHolidays(context.Context, *GetObservedHolidaysRequest) (*GetObservedHolidaysResponse, error)
- func (UnimplementedObservedHolidaysServiceServer) ListObservedHolidays(context.Context, *ListObservedHolidaysRequest) (*ListObservedHolidaysResponse, error)
- func (UnimplementedObservedHolidaysServiceServer) RemoveObservedHolidays(context.Context, *RemoveFromObservedHolidaysRequest) (*RemoveFromObservedHolidaysResponse, error)
- func (UnimplementedObservedHolidaysServiceServer) SetObservedHolidays(context.Context, *SetObservedHolidaysRequest) (*SetObservedHolidaysResponse, error)
- func (UnimplementedObservedHolidaysServiceServer) UpdateObservedHolidaysInfo(context.Context, *UpdateObservedHolidaysInfoRequest) (*UpdateObservedHolidaysInfoResponse, error)
- type UnsafeObservedHolidaysServiceServer
- type UpdateObservedHolidaysInfoRequest
- func (*UpdateObservedHolidaysInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateObservedHolidaysInfoRequest) GetDescription() string
- func (x *UpdateObservedHolidaysInfoRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *UpdateObservedHolidaysInfoRequest) GetObservedHolidaysId() string
- func (x *UpdateObservedHolidaysInfoRequest) GetObservedHolidaysName() string
- func (x *UpdateObservedHolidaysInfoRequest) GetTimezone() commons.TimeZone
- func (*UpdateObservedHolidaysInfoRequest) ProtoMessage()
- func (x *UpdateObservedHolidaysInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateObservedHolidaysInfoRequest) Reset()
- func (x *UpdateObservedHolidaysInfoRequest) String() string
- type UpdateObservedHolidaysInfoResponse
- func (*UpdateObservedHolidaysInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateObservedHolidaysInfoResponse) ProtoMessage()
- func (x *UpdateObservedHolidaysInfoResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateObservedHolidaysInfoResponse) Reset()
- func (x *UpdateObservedHolidaysInfoResponse) String() string
Constants ¶
const ( ObservedHolidaysService_ListObservedHolidays_FullMethodName = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/ListObservedHolidays" ObservedHolidaysService_GetObservedHolidays_FullMethodName = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/GetObservedHolidays" ObservedHolidaysService_SetObservedHolidays_FullMethodName = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/SetObservedHolidays" ObservedHolidaysService_AddToObservedHolidays_FullMethodName = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/AddToObservedHolidays" ObservedHolidaysService_RemoveObservedHolidays_FullMethodName = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/RemoveObservedHolidays" ObservedHolidaysService_UpdateObservedHolidaysInfo_FullMethodName = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/UpdateObservedHolidaysInfo" ObservedHolidaysService_DeleteObservedHolidays_FullMethodName = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/DeleteObservedHolidays" ObservedHolidaysService_EvaluateObservedHolidays_FullMethodName = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/EvaluateObservedHolidays" )
Variables ¶
var File_api_v1alpha1_org_observedholidays_entities_proto protoreflect.FileDescriptor
var File_api_v1alpha1_org_observedholidays_service_proto protoreflect.FileDescriptor
var ObservedHolidaysService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.org.observedholidays.ObservedHolidaysService", HandlerType: (*ObservedHolidaysServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListObservedHolidays", Handler: _ObservedHolidaysService_ListObservedHolidays_Handler, }, { MethodName: "GetObservedHolidays", Handler: _ObservedHolidaysService_GetObservedHolidays_Handler, }, { MethodName: "SetObservedHolidays", Handler: _ObservedHolidaysService_SetObservedHolidays_Handler, }, { MethodName: "AddToObservedHolidays", Handler: _ObservedHolidaysService_AddToObservedHolidays_Handler, }, { MethodName: "RemoveObservedHolidays", Handler: _ObservedHolidaysService_RemoveObservedHolidays_Handler, }, { MethodName: "UpdateObservedHolidaysInfo", Handler: _ObservedHolidaysService_UpdateObservedHolidaysInfo_Handler, }, { MethodName: "DeleteObservedHolidays", Handler: _ObservedHolidaysService_DeleteObservedHolidays_Handler, }, { MethodName: "EvaluateObservedHolidays", Handler: _ObservedHolidaysService_EvaluateObservedHolidays_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/org/observedholidays/service.proto", }
ObservedHolidaysService_ServiceDesc is the grpc.ServiceDesc for ObservedHolidaysService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterObservedHolidaysServiceServer ¶
func RegisterObservedHolidaysServiceServer(s grpc.ServiceRegistrar, srv ObservedHolidaysServiceServer)
Types ¶
type AddToObservedHolidaysRequest ¶
type AddToObservedHolidaysRequest struct { // The ID of the ObservedHolidays to be added to ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"` // The ObservedHoliday to add (must not conflict with existing ObservedHoliday) Day *org.ObservedHoliday `protobuf:"bytes,2,opt,name=day,proto3" json:"day,omitempty"` // contains filtered or unexported fields }
AddToObservedHolidaysRequest is the request message for AddToObservedHolidays
func (*AddToObservedHolidaysRequest) Descriptor
deprecated
func (*AddToObservedHolidaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddToObservedHolidaysRequest.ProtoReflect.Descriptor instead.
func (*AddToObservedHolidaysRequest) GetDay ¶
func (x *AddToObservedHolidaysRequest) GetDay() *org.ObservedHoliday
func (*AddToObservedHolidaysRequest) GetObservedHolidaysId ¶
func (x *AddToObservedHolidaysRequest) GetObservedHolidaysId() string
func (*AddToObservedHolidaysRequest) ProtoMessage ¶
func (*AddToObservedHolidaysRequest) ProtoMessage()
func (*AddToObservedHolidaysRequest) ProtoReflect ¶
func (x *AddToObservedHolidaysRequest) ProtoReflect() protoreflect.Message
func (*AddToObservedHolidaysRequest) Reset ¶
func (x *AddToObservedHolidaysRequest) Reset()
func (*AddToObservedHolidaysRequest) String ¶
func (x *AddToObservedHolidaysRequest) String() string
type AddToObservedHolidaysResponse ¶
type AddToObservedHolidaysResponse struct {
// contains filtered or unexported fields
}
AddToObservedHolidaysResponse is the response message for AddToObservedHolidays
func (*AddToObservedHolidaysResponse) Descriptor
deprecated
func (*AddToObservedHolidaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddToObservedHolidaysResponse.ProtoReflect.Descriptor instead.
func (*AddToObservedHolidaysResponse) ProtoMessage ¶
func (*AddToObservedHolidaysResponse) ProtoMessage()
func (*AddToObservedHolidaysResponse) ProtoReflect ¶
func (x *AddToObservedHolidaysResponse) ProtoReflect() protoreflect.Message
func (*AddToObservedHolidaysResponse) Reset ¶
func (x *AddToObservedHolidaysResponse) Reset()
func (*AddToObservedHolidaysResponse) String ¶
func (x *AddToObservedHolidaysResponse) String() string
type DeleteObservedHolidaysRequest ¶
type DeleteObservedHolidaysRequest struct { // The ID of the ObservedHolidays to delete ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"` // contains filtered or unexported fields }
DeleteObservedHolidaysRequest is the request message for DeleteObservedHolidays
func (*DeleteObservedHolidaysRequest) Descriptor
deprecated
func (*DeleteObservedHolidaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObservedHolidaysRequest.ProtoReflect.Descriptor instead.
func (*DeleteObservedHolidaysRequest) GetObservedHolidaysId ¶
func (x *DeleteObservedHolidaysRequest) GetObservedHolidaysId() string
func (*DeleteObservedHolidaysRequest) ProtoMessage ¶
func (*DeleteObservedHolidaysRequest) ProtoMessage()
func (*DeleteObservedHolidaysRequest) ProtoReflect ¶
func (x *DeleteObservedHolidaysRequest) ProtoReflect() protoreflect.Message
func (*DeleteObservedHolidaysRequest) Reset ¶
func (x *DeleteObservedHolidaysRequest) Reset()
func (*DeleteObservedHolidaysRequest) String ¶
func (x *DeleteObservedHolidaysRequest) String() string
type DeleteObservedHolidaysResponse ¶
type DeleteObservedHolidaysResponse struct { // The ID of the deleted ObservedHolidays ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"` // contains filtered or unexported fields }
DeleteObservedHolidaysResponse is the response message for DeleteObservedHolidays
func (*DeleteObservedHolidaysResponse) Descriptor
deprecated
func (*DeleteObservedHolidaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObservedHolidaysResponse.ProtoReflect.Descriptor instead.
func (*DeleteObservedHolidaysResponse) GetObservedHolidaysId ¶
func (x *DeleteObservedHolidaysResponse) GetObservedHolidaysId() string
func (*DeleteObservedHolidaysResponse) ProtoMessage ¶
func (*DeleteObservedHolidaysResponse) ProtoMessage()
func (*DeleteObservedHolidaysResponse) ProtoReflect ¶
func (x *DeleteObservedHolidaysResponse) ProtoReflect() protoreflect.Message
func (*DeleteObservedHolidaysResponse) Reset ¶
func (x *DeleteObservedHolidaysResponse) Reset()
func (*DeleteObservedHolidaysResponse) String ¶
func (x *DeleteObservedHolidaysResponse) String() string
type EvaluateObservedHolidaysRequest ¶
type EvaluateObservedHolidaysRequest struct { // The ID of the ObservedHolidays to evaluate ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"` // contains filtered or unexported fields }
EvaluateObservedHolidaysRequest is the request message for EvaluateObservedHolidays
func (*EvaluateObservedHolidaysRequest) Descriptor
deprecated
func (*EvaluateObservedHolidaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateObservedHolidaysRequest.ProtoReflect.Descriptor instead.
func (*EvaluateObservedHolidaysRequest) GetObservedHolidaysId ¶
func (x *EvaluateObservedHolidaysRequest) GetObservedHolidaysId() string
func (*EvaluateObservedHolidaysRequest) ProtoMessage ¶
func (*EvaluateObservedHolidaysRequest) ProtoMessage()
func (*EvaluateObservedHolidaysRequest) ProtoReflect ¶
func (x *EvaluateObservedHolidaysRequest) ProtoReflect() protoreflect.Message
func (*EvaluateObservedHolidaysRequest) Reset ¶
func (x *EvaluateObservedHolidaysRequest) Reset()
func (*EvaluateObservedHolidaysRequest) String ¶
func (x *EvaluateObservedHolidaysRequest) String() string
type EvaluateObservedHolidaysResponse ¶
type EvaluateObservedHolidaysResponse struct { // The boolean to determine if the date is matched within the ObservedHolidays DateMatched bool `protobuf:"varint,1,opt,name=date_matched,json=dateMatched,proto3" json:"date_matched,omitempty"` // indicates how long this result can be used. ResultExpiration *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=result_expiration,json=resultExpiration,proto3" json:"result_expiration,omitempty"` // contains filtered or unexported fields }
EvaluateObservedHolidaysResponse is the response message for EvaluateObservedHolidays
func (*EvaluateObservedHolidaysResponse) Descriptor
deprecated
func (*EvaluateObservedHolidaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateObservedHolidaysResponse.ProtoReflect.Descriptor instead.
func (*EvaluateObservedHolidaysResponse) GetDateMatched ¶
func (x *EvaluateObservedHolidaysResponse) GetDateMatched() bool
func (*EvaluateObservedHolidaysResponse) GetResultExpiration ¶ added in v1.7.80
func (x *EvaluateObservedHolidaysResponse) GetResultExpiration() *timestamppb.Timestamp
func (*EvaluateObservedHolidaysResponse) ProtoMessage ¶
func (*EvaluateObservedHolidaysResponse) ProtoMessage()
func (*EvaluateObservedHolidaysResponse) ProtoReflect ¶
func (x *EvaluateObservedHolidaysResponse) ProtoReflect() protoreflect.Message
func (*EvaluateObservedHolidaysResponse) Reset ¶
func (x *EvaluateObservedHolidaysResponse) Reset()
func (*EvaluateObservedHolidaysResponse) String ¶
func (x *EvaluateObservedHolidaysResponse) String() string
type GetObservedHolidaysRequest ¶
type GetObservedHolidaysRequest struct { // The ID of the desired ObservedHolidays ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"` // contains filtered or unexported fields }
GetObservedHolidaysRequest is the request message for GetObservedHolidays
func (*GetObservedHolidaysRequest) Descriptor
deprecated
func (*GetObservedHolidaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObservedHolidaysRequest.ProtoReflect.Descriptor instead.
func (*GetObservedHolidaysRequest) GetObservedHolidaysId ¶
func (x *GetObservedHolidaysRequest) GetObservedHolidaysId() string
func (*GetObservedHolidaysRequest) ProtoMessage ¶
func (*GetObservedHolidaysRequest) ProtoMessage()
func (*GetObservedHolidaysRequest) ProtoReflect ¶
func (x *GetObservedHolidaysRequest) ProtoReflect() protoreflect.Message
func (*GetObservedHolidaysRequest) Reset ¶
func (x *GetObservedHolidaysRequest) Reset()
func (*GetObservedHolidaysRequest) String ¶
func (x *GetObservedHolidaysRequest) String() string
type GetObservedHolidaysResponse ¶
type GetObservedHolidaysResponse struct { // The retrieved ObservedHolidays ObservedHolidays *org.ObservedHolidays `protobuf:"bytes,1,opt,name=observed_holidays,json=observedHolidays,proto3" json:"observed_holidays,omitempty"` // contains filtered or unexported fields }
GetObservedHolidaysResponse is the response message for GetObservedHolidays
func (*GetObservedHolidaysResponse) Descriptor
deprecated
func (*GetObservedHolidaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObservedHolidaysResponse.ProtoReflect.Descriptor instead.
func (*GetObservedHolidaysResponse) GetObservedHolidays ¶
func (x *GetObservedHolidaysResponse) GetObservedHolidays() *org.ObservedHolidays
func (*GetObservedHolidaysResponse) ProtoMessage ¶
func (*GetObservedHolidaysResponse) ProtoMessage()
func (*GetObservedHolidaysResponse) ProtoReflect ¶
func (x *GetObservedHolidaysResponse) ProtoReflect() protoreflect.Message
func (*GetObservedHolidaysResponse) Reset ¶
func (x *GetObservedHolidaysResponse) Reset()
func (*GetObservedHolidaysResponse) String ¶
func (x *GetObservedHolidaysResponse) String() string
type ListObservedHolidaysRequest ¶
type ListObservedHolidaysRequest struct {
// contains filtered or unexported fields
}
ListObservedHolidaysRequest is the request message for ListObservedHolidays
func (*ListObservedHolidaysRequest) Descriptor
deprecated
func (*ListObservedHolidaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListObservedHolidaysRequest.ProtoReflect.Descriptor instead.
func (*ListObservedHolidaysRequest) ProtoMessage ¶
func (*ListObservedHolidaysRequest) ProtoMessage()
func (*ListObservedHolidaysRequest) ProtoReflect ¶
func (x *ListObservedHolidaysRequest) ProtoReflect() protoreflect.Message
func (*ListObservedHolidaysRequest) Reset ¶
func (x *ListObservedHolidaysRequest) Reset()
func (*ListObservedHolidaysRequest) String ¶
func (x *ListObservedHolidaysRequest) String() string
type ListObservedHolidaysResponse ¶
type ListObservedHolidaysResponse struct { // A list of ObservedHolidays ObservedHolidays []*org.ObservedHolidays `protobuf:"bytes,1,rep,name=observed_holidays,json=observedHolidays,proto3" json:"observed_holidays,omitempty"` // contains filtered or unexported fields }
ListObservedHolidaysResponse is the response message for ListObservedHolidays
func (*ListObservedHolidaysResponse) Descriptor
deprecated
func (*ListObservedHolidaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListObservedHolidaysResponse.ProtoReflect.Descriptor instead.
func (*ListObservedHolidaysResponse) GetObservedHolidays ¶
func (x *ListObservedHolidaysResponse) GetObservedHolidays() []*org.ObservedHolidays
func (*ListObservedHolidaysResponse) ProtoMessage ¶
func (*ListObservedHolidaysResponse) ProtoMessage()
func (*ListObservedHolidaysResponse) ProtoReflect ¶
func (x *ListObservedHolidaysResponse) ProtoReflect() protoreflect.Message
func (*ListObservedHolidaysResponse) Reset ¶
func (x *ListObservedHolidaysResponse) Reset()
func (*ListObservedHolidaysResponse) String ¶
func (x *ListObservedHolidaysResponse) String() string
type ObservedHolidaysServiceClient ¶
type ObservedHolidaysServiceClient interface { // ListObservedHolidays returns all ObservedHolidays for an Org. ListObservedHolidays(ctx context.Context, in *ListObservedHolidaysRequest, opts ...grpc.CallOption) (*ListObservedHolidaysResponse, error) // GetObservedHolidays returns the ObservedHolidays for the ID. GetObservedHolidays(ctx context.Context, in *GetObservedHolidaysRequest, opts ...grpc.CallOption) (*GetObservedHolidaysResponse, error) // SetObservedHolidays creates a new ObservedHolidays for an Org. SetObservedHolidays(ctx context.Context, in *SetObservedHolidaysRequest, opts ...grpc.CallOption) (*SetObservedHolidaysResponse, error) // AddToObservedHolidays adds a new ObservedHolidays for an Org. AddToObservedHolidays(ctx context.Context, in *AddToObservedHolidaysRequest, opts ...grpc.CallOption) (*AddToObservedHolidaysResponse, error) // RemoveObservedHolidays removes an existing ObservedHolidays from an Org. RemoveObservedHolidays(ctx context.Context, in *RemoveFromObservedHolidaysRequest, opts ...grpc.CallOption) (*RemoveFromObservedHolidaysResponse, error) // UpdateObservedHolidaysInfo updates the general info for a specified ObservedHolidays. UpdateObservedHolidaysInfo(ctx context.Context, in *UpdateObservedHolidaysInfoRequest, opts ...grpc.CallOption) (*UpdateObservedHolidaysInfoResponse, error) // DeleteObservedHolidays deletes an existing ObservedHolidays. DeleteObservedHolidays(ctx context.Context, in *DeleteObservedHolidaysRequest, opts ...grpc.CallOption) (*DeleteObservedHolidaysResponse, error) // EvaluateObservedHolidays evaluates the ObservedHolidays. EvaluateObservedHolidays(ctx context.Context, in *EvaluateObservedHolidaysRequest, opts ...grpc.CallOption) (*EvaluateObservedHolidaysResponse, error) }
ObservedHolidaysServiceClient is the client API for ObservedHolidaysService 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 NewObservedHolidaysServiceClient ¶
func NewObservedHolidaysServiceClient(cc grpc.ClientConnInterface) ObservedHolidaysServiceClient
type ObservedHolidaysServiceServer ¶
type ObservedHolidaysServiceServer interface { // ListObservedHolidays returns all ObservedHolidays for an Org. ListObservedHolidays(context.Context, *ListObservedHolidaysRequest) (*ListObservedHolidaysResponse, error) // GetObservedHolidays returns the ObservedHolidays for the ID. GetObservedHolidays(context.Context, *GetObservedHolidaysRequest) (*GetObservedHolidaysResponse, error) // SetObservedHolidays creates a new ObservedHolidays for an Org. SetObservedHolidays(context.Context, *SetObservedHolidaysRequest) (*SetObservedHolidaysResponse, error) // AddToObservedHolidays adds a new ObservedHolidays for an Org. AddToObservedHolidays(context.Context, *AddToObservedHolidaysRequest) (*AddToObservedHolidaysResponse, error) // RemoveObservedHolidays removes an existing ObservedHolidays from an Org. RemoveObservedHolidays(context.Context, *RemoveFromObservedHolidaysRequest) (*RemoveFromObservedHolidaysResponse, error) // UpdateObservedHolidaysInfo updates the general info for a specified ObservedHolidays. UpdateObservedHolidaysInfo(context.Context, *UpdateObservedHolidaysInfoRequest) (*UpdateObservedHolidaysInfoResponse, error) // DeleteObservedHolidays deletes an existing ObservedHolidays. DeleteObservedHolidays(context.Context, *DeleteObservedHolidaysRequest) (*DeleteObservedHolidaysResponse, error) // EvaluateObservedHolidays evaluates the ObservedHolidays. EvaluateObservedHolidays(context.Context, *EvaluateObservedHolidaysRequest) (*EvaluateObservedHolidaysResponse, error) // contains filtered or unexported methods }
ObservedHolidaysServiceServer is the server API for ObservedHolidaysService service. All implementations must embed UnimplementedObservedHolidaysServiceServer for forward compatibility.
type RemoveFromObservedHolidaysRequest ¶
type RemoveFromObservedHolidaysRequest struct { // The ID of the ObservedHolidays to remove from ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"` // The specified ObservedHoliday to remove (must already exist within the ObservedHoliday) Day *org.ObservedHoliday `protobuf:"bytes,2,opt,name=day,proto3" json:"day,omitempty"` // contains filtered or unexported fields }
RemoveFromObservedHolidaysRequest is request message for RemoveFromObservedHolidays
func (*RemoveFromObservedHolidaysRequest) Descriptor
deprecated
func (*RemoveFromObservedHolidaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFromObservedHolidaysRequest.ProtoReflect.Descriptor instead.
func (*RemoveFromObservedHolidaysRequest) GetDay ¶
func (x *RemoveFromObservedHolidaysRequest) GetDay() *org.ObservedHoliday
func (*RemoveFromObservedHolidaysRequest) GetObservedHolidaysId ¶
func (x *RemoveFromObservedHolidaysRequest) GetObservedHolidaysId() string
func (*RemoveFromObservedHolidaysRequest) ProtoMessage ¶
func (*RemoveFromObservedHolidaysRequest) ProtoMessage()
func (*RemoveFromObservedHolidaysRequest) ProtoReflect ¶
func (x *RemoveFromObservedHolidaysRequest) ProtoReflect() protoreflect.Message
func (*RemoveFromObservedHolidaysRequest) Reset ¶
func (x *RemoveFromObservedHolidaysRequest) Reset()
func (*RemoveFromObservedHolidaysRequest) String ¶
func (x *RemoveFromObservedHolidaysRequest) String() string
type RemoveFromObservedHolidaysResponse ¶
type RemoveFromObservedHolidaysResponse struct {
// contains filtered or unexported fields
}
RemoveFromObservedHolidaysResponse is the response message for RemoveFromObservedHolidays
func (*RemoveFromObservedHolidaysResponse) Descriptor
deprecated
func (*RemoveFromObservedHolidaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFromObservedHolidaysResponse.ProtoReflect.Descriptor instead.
func (*RemoveFromObservedHolidaysResponse) ProtoMessage ¶
func (*RemoveFromObservedHolidaysResponse) ProtoMessage()
func (*RemoveFromObservedHolidaysResponse) ProtoReflect ¶
func (x *RemoveFromObservedHolidaysResponse) ProtoReflect() protoreflect.Message
func (*RemoveFromObservedHolidaysResponse) Reset ¶
func (x *RemoveFromObservedHolidaysResponse) Reset()
func (*RemoveFromObservedHolidaysResponse) String ¶
func (x *RemoveFromObservedHolidaysResponse) String() string
type SetObservedHolidaysRequest ¶
type SetObservedHolidaysRequest struct { // The name of the ObservedHolidays ObservedHolidaysName string `protobuf:"bytes,1,opt,name=observed_holidays_name,json=observedHolidaysName,proto3" json:"observed_holidays_name,omitempty"` // The description of the ObservedHolidays Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The timezone of the ObservedHolidays Timezone commons.TimeZone `protobuf:"varint,3,opt,name=timezone,proto3,enum=api.commons.TimeZone" json:"timezone,omitempty"` // The ObservedHoliday Days []*org.ObservedHoliday `protobuf:"bytes,4,rep,name=days,proto3" json:"days,omitempty"` // contains filtered or unexported fields }
SetObservedHolidaysRequest is the request message for SetObservedHolidays
func (*SetObservedHolidaysRequest) Descriptor
deprecated
func (*SetObservedHolidaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetObservedHolidaysRequest.ProtoReflect.Descriptor instead.
func (*SetObservedHolidaysRequest) GetDays ¶
func (x *SetObservedHolidaysRequest) GetDays() []*org.ObservedHoliday
func (*SetObservedHolidaysRequest) GetDescription ¶
func (x *SetObservedHolidaysRequest) GetDescription() string
func (*SetObservedHolidaysRequest) GetObservedHolidaysName ¶
func (x *SetObservedHolidaysRequest) GetObservedHolidaysName() string
func (*SetObservedHolidaysRequest) GetTimezone ¶
func (x *SetObservedHolidaysRequest) GetTimezone() commons.TimeZone
func (*SetObservedHolidaysRequest) ProtoMessage ¶
func (*SetObservedHolidaysRequest) ProtoMessage()
func (*SetObservedHolidaysRequest) ProtoReflect ¶
func (x *SetObservedHolidaysRequest) ProtoReflect() protoreflect.Message
func (*SetObservedHolidaysRequest) Reset ¶
func (x *SetObservedHolidaysRequest) Reset()
func (*SetObservedHolidaysRequest) String ¶
func (x *SetObservedHolidaysRequest) String() string
type SetObservedHolidaysResponse ¶
type SetObservedHolidaysResponse struct { // The ID of the created ObservedHolidays ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"` // contains filtered or unexported fields }
SetObservedHolidaysResponse is the response message for SetObservedHolidays
func (*SetObservedHolidaysResponse) Descriptor
deprecated
func (*SetObservedHolidaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetObservedHolidaysResponse.ProtoReflect.Descriptor instead.
func (*SetObservedHolidaysResponse) GetObservedHolidaysId ¶
func (x *SetObservedHolidaysResponse) GetObservedHolidaysId() string
func (*SetObservedHolidaysResponse) ProtoMessage ¶
func (*SetObservedHolidaysResponse) ProtoMessage()
func (*SetObservedHolidaysResponse) ProtoReflect ¶
func (x *SetObservedHolidaysResponse) ProtoReflect() protoreflect.Message
func (*SetObservedHolidaysResponse) Reset ¶
func (x *SetObservedHolidaysResponse) Reset()
func (*SetObservedHolidaysResponse) String ¶
func (x *SetObservedHolidaysResponse) String() string
type UnimplementedObservedHolidaysServiceServer ¶
type UnimplementedObservedHolidaysServiceServer struct{}
UnimplementedObservedHolidaysServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedObservedHolidaysServiceServer) AddToObservedHolidays ¶
func (UnimplementedObservedHolidaysServiceServer) AddToObservedHolidays(context.Context, *AddToObservedHolidaysRequest) (*AddToObservedHolidaysResponse, error)
func (UnimplementedObservedHolidaysServiceServer) DeleteObservedHolidays ¶
func (UnimplementedObservedHolidaysServiceServer) DeleteObservedHolidays(context.Context, *DeleteObservedHolidaysRequest) (*DeleteObservedHolidaysResponse, error)
func (UnimplementedObservedHolidaysServiceServer) EvaluateObservedHolidays ¶
func (UnimplementedObservedHolidaysServiceServer) EvaluateObservedHolidays(context.Context, *EvaluateObservedHolidaysRequest) (*EvaluateObservedHolidaysResponse, error)
func (UnimplementedObservedHolidaysServiceServer) GetObservedHolidays ¶
func (UnimplementedObservedHolidaysServiceServer) GetObservedHolidays(context.Context, *GetObservedHolidaysRequest) (*GetObservedHolidaysResponse, error)
func (UnimplementedObservedHolidaysServiceServer) ListObservedHolidays ¶
func (UnimplementedObservedHolidaysServiceServer) ListObservedHolidays(context.Context, *ListObservedHolidaysRequest) (*ListObservedHolidaysResponse, error)
func (UnimplementedObservedHolidaysServiceServer) RemoveObservedHolidays ¶
func (UnimplementedObservedHolidaysServiceServer) RemoveObservedHolidays(context.Context, *RemoveFromObservedHolidaysRequest) (*RemoveFromObservedHolidaysResponse, error)
func (UnimplementedObservedHolidaysServiceServer) SetObservedHolidays ¶
func (UnimplementedObservedHolidaysServiceServer) SetObservedHolidays(context.Context, *SetObservedHolidaysRequest) (*SetObservedHolidaysResponse, error)
func (UnimplementedObservedHolidaysServiceServer) UpdateObservedHolidaysInfo ¶
func (UnimplementedObservedHolidaysServiceServer) UpdateObservedHolidaysInfo(context.Context, *UpdateObservedHolidaysInfoRequest) (*UpdateObservedHolidaysInfoResponse, error)
type UnsafeObservedHolidaysServiceServer ¶
type UnsafeObservedHolidaysServiceServer interface {
// contains filtered or unexported methods
}
UnsafeObservedHolidaysServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObservedHolidaysServiceServer will result in compilation errors.
type UpdateObservedHolidaysInfoRequest ¶
type UpdateObservedHolidaysInfoRequest struct { // The ID of the ObservedHolidays to update ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"` // The updated name of the ObservedHolidays ObservedHolidaysName string `protobuf:"bytes,2,opt,name=observed_holidays_name,json=observedHolidaysName,proto3" json:"observed_holidays_name,omitempty"` // The updated description of the ObservedHolidays Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The updated timezone Timezone commons.TimeZone `protobuf:"varint,4,opt,name=timezone,proto3,enum=api.commons.TimeZone" json:"timezone,omitempty"` // The FieldMask to determine which field to update FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
UpdateObservedHolidaysInfoRequest is the request message for UpdateObservedHolidaysInfo
func (*UpdateObservedHolidaysInfoRequest) Descriptor
deprecated
func (*UpdateObservedHolidaysInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateObservedHolidaysInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateObservedHolidaysInfoRequest) GetDescription ¶
func (x *UpdateObservedHolidaysInfoRequest) GetDescription() string
func (*UpdateObservedHolidaysInfoRequest) GetFieldMask ¶
func (x *UpdateObservedHolidaysInfoRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*UpdateObservedHolidaysInfoRequest) GetObservedHolidaysId ¶
func (x *UpdateObservedHolidaysInfoRequest) GetObservedHolidaysId() string
func (*UpdateObservedHolidaysInfoRequest) GetObservedHolidaysName ¶
func (x *UpdateObservedHolidaysInfoRequest) GetObservedHolidaysName() string
func (*UpdateObservedHolidaysInfoRequest) GetTimezone ¶
func (x *UpdateObservedHolidaysInfoRequest) GetTimezone() commons.TimeZone
func (*UpdateObservedHolidaysInfoRequest) ProtoMessage ¶
func (*UpdateObservedHolidaysInfoRequest) ProtoMessage()
func (*UpdateObservedHolidaysInfoRequest) ProtoReflect ¶
func (x *UpdateObservedHolidaysInfoRequest) ProtoReflect() protoreflect.Message
func (*UpdateObservedHolidaysInfoRequest) Reset ¶
func (x *UpdateObservedHolidaysInfoRequest) Reset()
func (*UpdateObservedHolidaysInfoRequest) String ¶
func (x *UpdateObservedHolidaysInfoRequest) String() string
type UpdateObservedHolidaysInfoResponse ¶
type UpdateObservedHolidaysInfoResponse struct {
// contains filtered or unexported fields
}
UpdateObservedHolidaysInfoResponse is the response message for UpdateObservedHolidaysInfo
func (*UpdateObservedHolidaysInfoResponse) Descriptor
deprecated
func (*UpdateObservedHolidaysInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateObservedHolidaysInfoResponse.ProtoReflect.Descriptor instead.
func (*UpdateObservedHolidaysInfoResponse) ProtoMessage ¶
func (*UpdateObservedHolidaysInfoResponse) ProtoMessage()
func (*UpdateObservedHolidaysInfoResponse) ProtoReflect ¶
func (x *UpdateObservedHolidaysInfoResponse) ProtoReflect() protoreflect.Message
func (*UpdateObservedHolidaysInfoResponse) Reset ¶
func (x *UpdateObservedHolidaysInfoResponse) Reset()
func (*UpdateObservedHolidaysInfoResponse) String ¶
func (x *UpdateObservedHolidaysInfoResponse) String() string