Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterUserMeasurementsServer(s grpc.ServiceRegistrar, srv UserMeasurementsServer)
- type BaseRequest
- func (*BaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BaseRequest) GetDownstream() string
- func (x *BaseRequest) GetRequestId() string
- func (*BaseRequest) ProtoMessage()
- func (x *BaseRequest) ProtoReflect() protoreflect.Message
- func (x *BaseRequest) Reset()
- func (x *BaseRequest) String() string
- type BaseResponse
- func (*BaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BaseResponse) GetRequestId() string
- func (x *BaseResponse) GetStatus() string
- func (x *BaseResponse) GetUpstream() string
- func (*BaseResponse) ProtoMessage()
- func (x *BaseResponse) ProtoReflect() protoreflect.Message
- func (x *BaseResponse) Reset()
- func (x *BaseResponse) String() string
- type CreateWasteLineReq
- func (*CreateWasteLineReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWasteLineReq) GetRequest() *BaseRequest
- func (x *CreateWasteLineReq) GetUserId() string
- func (x *CreateWasteLineReq) GetWasteLine() *XWasteLine
- func (*CreateWasteLineReq) ProtoMessage()
- func (x *CreateWasteLineReq) ProtoReflect() protoreflect.Message
- func (x *CreateWasteLineReq) Reset()
- func (x *CreateWasteLineReq) String() string
- type CreateWasteLineRes
- func (*CreateWasteLineRes) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWasteLineRes) GetMessage() string
- func (x *CreateWasteLineRes) GetResponse() *BaseResponse
- func (x *CreateWasteLineRes) GetSuccess() bool
- func (x *CreateWasteLineRes) GetWasteLine() *XWasteLine
- func (*CreateWasteLineRes) ProtoMessage()
- func (x *CreateWasteLineRes) ProtoReflect() protoreflect.Message
- func (x *CreateWasteLineRes) Reset()
- func (x *CreateWasteLineRes) String() string
- type CreateWaterIntakeReq
- func (*CreateWaterIntakeReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWaterIntakeReq) GetRequest() *BaseRequest
- func (x *CreateWaterIntakeReq) GetUserId() string
- func (x *CreateWaterIntakeReq) GetWater() *XWaterIntake
- func (*CreateWaterIntakeReq) ProtoMessage()
- func (x *CreateWaterIntakeReq) ProtoReflect() protoreflect.Message
- func (x *CreateWaterIntakeReq) Reset()
- func (x *CreateWaterIntakeReq) String() string
- type CreateWaterIntakeRes
- func (*CreateWaterIntakeRes) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWaterIntakeRes) GetMessage() string
- func (x *CreateWaterIntakeRes) GetResponse() *BaseResponse
- func (x *CreateWaterIntakeRes) GetSuccess() bool
- func (x *CreateWaterIntakeRes) GetWater() *XWaterIntake
- func (*CreateWaterIntakeRes) ProtoMessage()
- func (x *CreateWaterIntakeRes) ProtoReflect() protoreflect.Message
- func (x *CreateWaterIntakeRes) Reset()
- func (x *CreateWaterIntakeRes) String() string
- type CreateWeightReq
- func (*CreateWeightReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWeightReq) GetRequest() *BaseRequest
- func (x *CreateWeightReq) GetUserId() string
- func (x *CreateWeightReq) GetWeight() *XWeight
- func (*CreateWeightReq) ProtoMessage()
- func (x *CreateWeightReq) ProtoReflect() protoreflect.Message
- func (x *CreateWeightReq) Reset()
- func (x *CreateWeightReq) String() string
- type CreateWeightRes
- func (*CreateWeightRes) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWeightRes) GetMessage() string
- func (x *CreateWeightRes) GetResponse() *BaseResponse
- func (x *CreateWeightRes) GetSuccess() bool
- func (x *CreateWeightRes) GetWeight() *XWeight
- func (*CreateWeightRes) ProtoMessage()
- func (x *CreateWeightRes) ProtoReflect() protoreflect.Message
- func (x *CreateWeightRes) Reset()
- func (x *CreateWeightRes) String() string
- type DeleteWasteLineReq
- func (*DeleteWasteLineReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWasteLineReq) GetRequest() *BaseRequest
- func (x *DeleteWasteLineReq) GetUserId() string
- func (x *DeleteWasteLineReq) GetWasteLineId() string
- func (*DeleteWasteLineReq) ProtoMessage()
- func (x *DeleteWasteLineReq) ProtoReflect() protoreflect.Message
- func (x *DeleteWasteLineReq) Reset()
- func (x *DeleteWasteLineReq) String() string
- type DeleteWaterIntakeReq
- func (*DeleteWaterIntakeReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWaterIntakeReq) GetRequest() *BaseRequest
- func (x *DeleteWaterIntakeReq) GetUserId() string
- func (x *DeleteWaterIntakeReq) GetWaterIntakeId() string
- func (*DeleteWaterIntakeReq) ProtoMessage()
- func (x *DeleteWaterIntakeReq) ProtoReflect() protoreflect.Message
- func (x *DeleteWaterIntakeReq) Reset()
- func (x *DeleteWaterIntakeReq) String() string
- type DeleteWeightReq
- func (*DeleteWeightReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWeightReq) GetRequest() *BaseRequest
- func (x *DeleteWeightReq) GetUserId() string
- func (x *DeleteWeightReq) GetWeightId() string
- func (*DeleteWeightReq) ProtoMessage()
- func (x *DeleteWeightReq) ProtoReflect() protoreflect.Message
- func (x *DeleteWeightReq) Reset()
- func (x *DeleteWeightReq) String() string
- type GetWasteLineReq
- func (*GetWasteLineReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetWasteLineReq) GetRequest() *BaseRequest
- func (x *GetWasteLineReq) GetUserId() string
- func (x *GetWasteLineReq) GetWasteLineId() string
- func (*GetWasteLineReq) ProtoMessage()
- func (x *GetWasteLineReq) ProtoReflect() protoreflect.Message
- func (x *GetWasteLineReq) Reset()
- func (x *GetWasteLineReq) String() string
- type GetWasteLineRes
- func (*GetWasteLineRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetWasteLineRes) GetResponse() *BaseResponse
- func (x *GetWasteLineRes) GetUserId() string
- func (x *GetWasteLineRes) GetWasteLineId() string
- func (*GetWasteLineRes) ProtoMessage()
- func (x *GetWasteLineRes) ProtoReflect() protoreflect.Message
- func (x *GetWasteLineRes) Reset()
- func (x *GetWasteLineRes) String() string
- type GetWasteLinesReq
- type GetWasteLinesRes
- func (*GetWasteLinesRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetWasteLinesRes) GetMessage() string
- func (x *GetWasteLinesRes) GetResponse() *BaseResponse
- func (x *GetWasteLinesRes) GetSuccess() bool
- func (x *GetWasteLinesRes) GetWasteLine() []*XWasteLine
- func (*GetWasteLinesRes) ProtoMessage()
- func (x *GetWasteLinesRes) ProtoReflect() protoreflect.Message
- func (x *GetWasteLinesRes) Reset()
- func (x *GetWasteLinesRes) String() string
- type GetWaterIntakeReq
- func (*GetWaterIntakeReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetWaterIntakeReq) GetRequest() *BaseRequest
- func (x *GetWaterIntakeReq) GetUserId() string
- func (x *GetWaterIntakeReq) GetWaterIntakeId() string
- func (*GetWaterIntakeReq) ProtoMessage()
- func (x *GetWaterIntakeReq) ProtoReflect() protoreflect.Message
- func (x *GetWaterIntakeReq) Reset()
- func (x *GetWaterIntakeReq) String() string
- type GetWaterIntakeRes
- func (*GetWaterIntakeRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetWaterIntakeRes) GetResponse() *BaseResponse
- func (x *GetWaterIntakeRes) GetUserId() string
- func (x *GetWaterIntakeRes) GetWaterIntakeId() string
- func (*GetWaterIntakeRes) ProtoMessage()
- func (x *GetWaterIntakeRes) ProtoReflect() protoreflect.Message
- func (x *GetWaterIntakeRes) Reset()
- func (x *GetWaterIntakeRes) String() string
- type GetWaterIntakesReq
- func (*GetWaterIntakesReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetWaterIntakesReq) GetRequest() *BaseRequest
- func (*GetWaterIntakesReq) ProtoMessage()
- func (x *GetWaterIntakesReq) ProtoReflect() protoreflect.Message
- func (x *GetWaterIntakesReq) Reset()
- func (x *GetWaterIntakesReq) String() string
- type GetWaterIntakesRes
- func (*GetWaterIntakesRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetWaterIntakesRes) GetMessage() string
- func (x *GetWaterIntakesRes) GetResponse() *BaseResponse
- func (x *GetWaterIntakesRes) GetSuccess() bool
- func (x *GetWaterIntakesRes) GetWater() []*XWaterIntake
- func (*GetWaterIntakesRes) ProtoMessage()
- func (x *GetWaterIntakesRes) ProtoReflect() protoreflect.Message
- func (x *GetWaterIntakesRes) Reset()
- func (x *GetWaterIntakesRes) String() string
- type GetWeightReq
- func (*GetWeightReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetWeightReq) GetRequest() *BaseRequest
- func (x *GetWeightReq) GetUserId() string
- func (x *GetWeightReq) GetWeightId() string
- func (*GetWeightReq) ProtoMessage()
- func (x *GetWeightReq) ProtoReflect() protoreflect.Message
- func (x *GetWeightReq) Reset()
- func (x *GetWeightReq) String() string
- type GetWeightRes
- func (*GetWeightRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetWeightRes) GetResponse() *BaseResponse
- func (x *GetWeightRes) GetUserId() string
- func (x *GetWeightRes) GetWeightId() string
- func (*GetWeightRes) ProtoMessage()
- func (x *GetWeightRes) ProtoReflect() protoreflect.Message
- func (x *GetWeightRes) Reset()
- func (x *GetWeightRes) String() string
- type GetWeightsReq
- type GetWeightsRes
- func (*GetWeightsRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetWeightsRes) GetMessage() string
- func (x *GetWeightsRes) GetResponse() *BaseResponse
- func (x *GetWeightsRes) GetSuccess() bool
- func (x *GetWeightsRes) GetWeight() []*XWeight
- func (*GetWeightsRes) ProtoMessage()
- func (x *GetWeightsRes) ProtoReflect() protoreflect.Message
- func (x *GetWeightsRes) Reset()
- func (x *GetWeightsRes) String() string
- type NilRes
- type UnimplementedUserMeasurementsServer
- func (UnimplementedUserMeasurementsServer) CreateWasteLineMeasurement(context.Context, *CreateWasteLineReq) (*CreateWasteLineRes, error)
- func (UnimplementedUserMeasurementsServer) CreateWaterMeasurement(context.Context, *CreateWaterIntakeReq) (*CreateWaterIntakeRes, error)
- func (UnimplementedUserMeasurementsServer) CreateWeight(context.Context, *CreateWeightReq) (*CreateWeightRes, error)
- func (UnimplementedUserMeasurementsServer) DeleteWasteLineMeasurement(context.Context, *DeleteWasteLineReq) (*NilRes, error)
- func (UnimplementedUserMeasurementsServer) DeleteWaterMeasurement(context.Context, *DeleteWaterIntakeReq) (*NilRes, error)
- func (UnimplementedUserMeasurementsServer) DeleteWeight(context.Context, *DeleteWeightReq) (*NilRes, error)
- func (UnimplementedUserMeasurementsServer) GetWasteLineMeasurement(context.Context, *GetWasteLineReq) (*GetWasteLineRes, error)
- func (UnimplementedUserMeasurementsServer) GetWasteLineMeasurements(context.Context, *GetWasteLinesReq) (*GetWasteLinesRes, error)
- func (UnimplementedUserMeasurementsServer) GetWaterMeasurement(context.Context, *GetWaterIntakeReq) (*GetWaterIntakeRes, error)
- func (UnimplementedUserMeasurementsServer) GetWaterMeasurements(context.Context, *GetWaterIntakesReq) (*GetWaterIntakesRes, error)
- func (UnimplementedUserMeasurementsServer) GetWeight(context.Context, *GetWeightReq) (*GetWeightRes, error)
- func (UnimplementedUserMeasurementsServer) GetWeights(context.Context, *GetWeightsReq) (*GetWeightsRes, error)
- func (UnimplementedUserMeasurementsServer) UpdateWasteLineMeasurement(context.Context, *UpdateWasteLineReq) (*UpdateWasteLineRes, error)
- func (UnimplementedUserMeasurementsServer) UpdateWaterMeasurement(context.Context, *UpdateWaterIntakeReq) (*UpdateWaterIntakeRes, error)
- func (UnimplementedUserMeasurementsServer) UpdateWeight(context.Context, *UpdateWeightReq) (*UpdateWeightRes, error)
- type UnsafeUserMeasurementsServer
- type UpdateWasteLineReq
- func (*UpdateWasteLineReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWasteLineReq) GetRequest() *BaseRequest
- func (x *UpdateWasteLineReq) GetUpdates() []*XDiff
- func (x *UpdateWasteLineReq) GetUserId() string
- func (x *UpdateWasteLineReq) GetWasteLineId() string
- func (*UpdateWasteLineReq) ProtoMessage()
- func (x *UpdateWasteLineReq) ProtoReflect() protoreflect.Message
- func (x *UpdateWasteLineReq) Reset()
- func (x *UpdateWasteLineReq) String() string
- type UpdateWasteLineRes
- func (*UpdateWasteLineRes) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWasteLineRes) GetMessage() string
- func (x *UpdateWasteLineRes) GetResponse() *BaseResponse
- func (x *UpdateWasteLineRes) GetSuccess() bool
- func (x *UpdateWasteLineRes) GetWasteLine() *XWasteLine
- func (*UpdateWasteLineRes) ProtoMessage()
- func (x *UpdateWasteLineRes) ProtoReflect() protoreflect.Message
- func (x *UpdateWasteLineRes) Reset()
- func (x *UpdateWasteLineRes) String() string
- type UpdateWaterIntakeReq
- func (*UpdateWaterIntakeReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWaterIntakeReq) GetRequest() *BaseRequest
- func (x *UpdateWaterIntakeReq) GetUpdates() []*XDiff
- func (x *UpdateWaterIntakeReq) GetUserId() string
- func (x *UpdateWaterIntakeReq) GetWaterIntakeId() string
- func (*UpdateWaterIntakeReq) ProtoMessage()
- func (x *UpdateWaterIntakeReq) ProtoReflect() protoreflect.Message
- func (x *UpdateWaterIntakeReq) Reset()
- func (x *UpdateWaterIntakeReq) String() string
- type UpdateWaterIntakeRes
- func (*UpdateWaterIntakeRes) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWaterIntakeRes) GetMessage() string
- func (x *UpdateWaterIntakeRes) GetResponse() *BaseResponse
- func (x *UpdateWaterIntakeRes) GetSuccess() bool
- func (x *UpdateWaterIntakeRes) GetWater() *XWaterIntake
- func (*UpdateWaterIntakeRes) ProtoMessage()
- func (x *UpdateWaterIntakeRes) ProtoReflect() protoreflect.Message
- func (x *UpdateWaterIntakeRes) Reset()
- func (x *UpdateWaterIntakeRes) String() string
- type UpdateWeightReq
- func (*UpdateWeightReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWeightReq) GetRequest() *BaseRequest
- func (x *UpdateWeightReq) GetUpdates() []*XDiff
- func (x *UpdateWeightReq) GetUserId() string
- func (x *UpdateWeightReq) GetWeightId() string
- func (*UpdateWeightReq) ProtoMessage()
- func (x *UpdateWeightReq) ProtoReflect() protoreflect.Message
- func (x *UpdateWeightReq) Reset()
- func (x *UpdateWeightReq) String() string
- type UpdateWeightRes
- func (*UpdateWeightRes) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWeightRes) GetMessage() string
- func (x *UpdateWeightRes) GetResponse() *BaseResponse
- func (x *UpdateWeightRes) GetSuccess() bool
- func (x *UpdateWeightRes) GetWeight() *XWeight
- func (*UpdateWeightRes) ProtoMessage()
- func (x *UpdateWeightRes) ProtoReflect() protoreflect.Message
- func (x *UpdateWeightRes) Reset()
- func (x *UpdateWeightRes) String() string
- type UserMeasurementsClient
- type UserMeasurementsServer
- type XDiff
- type XWasteLine
- func (*XWasteLine) Descriptor() ([]byte, []int)deprecated
- func (x *XWasteLine) GetCreatedAt() *timestamppb.Timestamp
- func (x *XWasteLine) GetMeasurement() int32
- func (x *XWasteLine) GetUpdatedAt() *timestamppb.Timestamp
- func (x *XWasteLine) GetUserId() string
- func (x *XWasteLine) GetWasteLineId() string
- func (*XWasteLine) ProtoMessage()
- func (x *XWasteLine) ProtoReflect() protoreflect.Message
- func (x *XWasteLine) Reset()
- func (x *XWasteLine) String() string
- type XWaterIntake
- func (*XWaterIntake) Descriptor() ([]byte, []int)deprecated
- func (x *XWaterIntake) GetCreatedAt() *timestamppb.Timestamp
- func (x *XWaterIntake) GetQuantity() int32
- func (x *XWaterIntake) GetUpdatedAt() *timestamppb.Timestamp
- func (x *XWaterIntake) GetUserId() string
- func (x *XWaterIntake) GetWaterIntakeId() string
- func (*XWaterIntake) ProtoMessage()
- func (x *XWaterIntake) ProtoReflect() protoreflect.Message
- func (x *XWaterIntake) Reset()
- func (x *XWaterIntake) String() string
- type XWeight
- func (*XWeight) Descriptor() ([]byte, []int)deprecated
- func (x *XWeight) GetCreatedAt() *timestamppb.Timestamp
- func (x *XWeight) GetUpdatedAt() *timestamppb.Timestamp
- func (x *XWeight) GetUserId() string
- func (x *XWeight) GetWeightId() string
- func (x *XWeight) GetWeightValue() int32
- func (*XWeight) ProtoMessage()
- func (x *XWeight) ProtoReflect() protoreflect.Message
- func (x *XWeight) Reset()
- func (x *XWeight) String() string
Constants ¶
const ( UserMeasurements_CreateWeight_FullMethodName = "/fitSphere.measurement.UserMeasurements/CreateWeight" UserMeasurements_GetWeights_FullMethodName = "/fitSphere.measurement.UserMeasurements/GetWeights" UserMeasurements_GetWeight_FullMethodName = "/fitSphere.measurement.UserMeasurements/GetWeight" UserMeasurements_DeleteWeight_FullMethodName = "/fitSphere.measurement.UserMeasurements/DeleteWeight" UserMeasurements_UpdateWeight_FullMethodName = "/fitSphere.measurement.UserMeasurements/UpdateWeight" UserMeasurements_CreateWaterMeasurement_FullMethodName = "/fitSphere.measurement.UserMeasurements/CreateWaterMeasurement" UserMeasurements_GetWaterMeasurements_FullMethodName = "/fitSphere.measurement.UserMeasurements/GetWaterMeasurements" UserMeasurements_GetWaterMeasurement_FullMethodName = "/fitSphere.measurement.UserMeasurements/GetWaterMeasurement" UserMeasurements_DeleteWaterMeasurement_FullMethodName = "/fitSphere.measurement.UserMeasurements/DeleteWaterMeasurement" UserMeasurements_UpdateWaterMeasurement_FullMethodName = "/fitSphere.measurement.UserMeasurements/UpdateWaterMeasurement" UserMeasurements_CreateWasteLineMeasurement_FullMethodName = "/fitSphere.measurement.UserMeasurements/CreateWasteLineMeasurement" UserMeasurements_GetWasteLineMeasurements_FullMethodName = "/fitSphere.measurement.UserMeasurements/GetWasteLineMeasurements" UserMeasurements_GetWasteLineMeasurement_FullMethodName = "/fitSphere.measurement.UserMeasurements/GetWasteLineMeasurement" UserMeasurements_DeleteWasteLineMeasurement_FullMethodName = "/fitSphere.measurement.UserMeasurements/DeleteWasteLineMeasurement" UserMeasurements_UpdateWasteLineMeasurement_FullMethodName = "/fitSphere.measurement.UserMeasurements/UpdateWasteLineMeasurement" )
Variables ¶
var File_measurement_proto protoreflect.FileDescriptor
var UserMeasurements_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fitSphere.measurement.UserMeasurements", HandlerType: (*UserMeasurementsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateWeight", Handler: _UserMeasurements_CreateWeight_Handler, }, { MethodName: "GetWeights", Handler: _UserMeasurements_GetWeights_Handler, }, { MethodName: "GetWeight", Handler: _UserMeasurements_GetWeight_Handler, }, { MethodName: "DeleteWeight", Handler: _UserMeasurements_DeleteWeight_Handler, }, { MethodName: "UpdateWeight", Handler: _UserMeasurements_UpdateWeight_Handler, }, { MethodName: "CreateWaterMeasurement", Handler: _UserMeasurements_CreateWaterMeasurement_Handler, }, { MethodName: "GetWaterMeasurements", Handler: _UserMeasurements_GetWaterMeasurements_Handler, }, { MethodName: "GetWaterMeasurement", Handler: _UserMeasurements_GetWaterMeasurement_Handler, }, { MethodName: "DeleteWaterMeasurement", Handler: _UserMeasurements_DeleteWaterMeasurement_Handler, }, { MethodName: "UpdateWaterMeasurement", Handler: _UserMeasurements_UpdateWaterMeasurement_Handler, }, { MethodName: "CreateWasteLineMeasurement", Handler: _UserMeasurements_CreateWasteLineMeasurement_Handler, }, { MethodName: "GetWasteLineMeasurements", Handler: _UserMeasurements_GetWasteLineMeasurements_Handler, }, { MethodName: "GetWasteLineMeasurement", Handler: _UserMeasurements_GetWasteLineMeasurement_Handler, }, { MethodName: "DeleteWasteLineMeasurement", Handler: _UserMeasurements_DeleteWasteLineMeasurement_Handler, }, { MethodName: "UpdateWasteLineMeasurement", Handler: _UserMeasurements_UpdateWasteLineMeasurement_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "measurement.proto", }
UserMeasurements_ServiceDesc is the grpc.ServiceDesc for UserMeasurements service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserMeasurementsServer ¶
func RegisterUserMeasurementsServer(s grpc.ServiceRegistrar, srv UserMeasurementsServer)
Types ¶
type BaseRequest ¶
type BaseRequest struct { Downstream string `protobuf:"bytes,998,opt,name=downstream,proto3" json:"downstream,omitempty"` RequestId string `protobuf:"bytes,999,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*BaseRequest) Descriptor
deprecated
func (*BaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use BaseRequest.ProtoReflect.Descriptor instead.
func (*BaseRequest) GetDownstream ¶
func (x *BaseRequest) GetDownstream() string
func (*BaseRequest) GetRequestId ¶
func (x *BaseRequest) GetRequestId() string
func (*BaseRequest) ProtoMessage ¶
func (*BaseRequest) ProtoMessage()
func (*BaseRequest) ProtoReflect ¶
func (x *BaseRequest) ProtoReflect() protoreflect.Message
func (*BaseRequest) Reset ¶
func (x *BaseRequest) Reset()
func (*BaseRequest) String ¶
func (x *BaseRequest) String() string
type BaseResponse ¶
type BaseResponse struct { Upstream string `protobuf:"bytes,998,opt,name=upstream,proto3" json:"upstream,omitempty"` RequestId string `protobuf:"bytes,999,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Status string `protobuf:"bytes,1000,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*BaseResponse) Descriptor
deprecated
func (*BaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use BaseResponse.ProtoReflect.Descriptor instead.
func (*BaseResponse) GetRequestId ¶
func (x *BaseResponse) GetRequestId() string
func (*BaseResponse) GetStatus ¶
func (x *BaseResponse) GetStatus() string
func (*BaseResponse) GetUpstream ¶
func (x *BaseResponse) GetUpstream() string
func (*BaseResponse) ProtoMessage ¶
func (*BaseResponse) ProtoMessage()
func (*BaseResponse) ProtoReflect ¶
func (x *BaseResponse) ProtoReflect() protoreflect.Message
func (*BaseResponse) Reset ¶
func (x *BaseResponse) Reset()
func (*BaseResponse) String ¶
func (x *BaseResponse) String() string
type CreateWasteLineReq ¶
type CreateWasteLineReq struct { WasteLine *XWasteLine `protobuf:"bytes,1,opt,name=waste_line,json=wasteLine,proto3" json:"waste_line,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*CreateWasteLineReq) Descriptor
deprecated
func (*CreateWasteLineReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateWasteLineReq.ProtoReflect.Descriptor instead.
func (*CreateWasteLineReq) GetRequest ¶
func (x *CreateWasteLineReq) GetRequest() *BaseRequest
func (*CreateWasteLineReq) GetUserId ¶
func (x *CreateWasteLineReq) GetUserId() string
func (*CreateWasteLineReq) GetWasteLine ¶
func (x *CreateWasteLineReq) GetWasteLine() *XWasteLine
func (*CreateWasteLineReq) ProtoMessage ¶
func (*CreateWasteLineReq) ProtoMessage()
func (*CreateWasteLineReq) ProtoReflect ¶
func (x *CreateWasteLineReq) ProtoReflect() protoreflect.Message
func (*CreateWasteLineReq) Reset ¶
func (x *CreateWasteLineReq) Reset()
func (*CreateWasteLineReq) String ¶
func (x *CreateWasteLineReq) String() string
type CreateWasteLineRes ¶
type CreateWasteLineRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` WasteLine *XWasteLine `protobuf:"bytes,3,opt,name=waste_line,json=wasteLine,proto3" json:"waste_line,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*CreateWasteLineRes) Descriptor
deprecated
func (*CreateWasteLineRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateWasteLineRes.ProtoReflect.Descriptor instead.
func (*CreateWasteLineRes) GetMessage ¶
func (x *CreateWasteLineRes) GetMessage() string
func (*CreateWasteLineRes) GetResponse ¶
func (x *CreateWasteLineRes) GetResponse() *BaseResponse
func (*CreateWasteLineRes) GetSuccess ¶
func (x *CreateWasteLineRes) GetSuccess() bool
func (*CreateWasteLineRes) GetWasteLine ¶
func (x *CreateWasteLineRes) GetWasteLine() *XWasteLine
func (*CreateWasteLineRes) ProtoMessage ¶
func (*CreateWasteLineRes) ProtoMessage()
func (*CreateWasteLineRes) ProtoReflect ¶
func (x *CreateWasteLineRes) ProtoReflect() protoreflect.Message
func (*CreateWasteLineRes) Reset ¶
func (x *CreateWasteLineRes) Reset()
func (*CreateWasteLineRes) String ¶
func (x *CreateWasteLineRes) String() string
type CreateWaterIntakeReq ¶
type CreateWaterIntakeReq struct { Water *XWaterIntake `protobuf:"bytes,1,opt,name=water,proto3" json:"water,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*CreateWaterIntakeReq) Descriptor
deprecated
func (*CreateWaterIntakeReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateWaterIntakeReq.ProtoReflect.Descriptor instead.
func (*CreateWaterIntakeReq) GetRequest ¶
func (x *CreateWaterIntakeReq) GetRequest() *BaseRequest
func (*CreateWaterIntakeReq) GetUserId ¶
func (x *CreateWaterIntakeReq) GetUserId() string
func (*CreateWaterIntakeReq) GetWater ¶
func (x *CreateWaterIntakeReq) GetWater() *XWaterIntake
func (*CreateWaterIntakeReq) ProtoMessage ¶
func (*CreateWaterIntakeReq) ProtoMessage()
func (*CreateWaterIntakeReq) ProtoReflect ¶
func (x *CreateWaterIntakeReq) ProtoReflect() protoreflect.Message
func (*CreateWaterIntakeReq) Reset ¶
func (x *CreateWaterIntakeReq) Reset()
func (*CreateWaterIntakeReq) String ¶
func (x *CreateWaterIntakeReq) String() string
type CreateWaterIntakeRes ¶
type CreateWaterIntakeRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Water *XWaterIntake `protobuf:"bytes,3,opt,name=water,proto3" json:"water,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*CreateWaterIntakeRes) Descriptor
deprecated
func (*CreateWaterIntakeRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateWaterIntakeRes.ProtoReflect.Descriptor instead.
func (*CreateWaterIntakeRes) GetMessage ¶
func (x *CreateWaterIntakeRes) GetMessage() string
func (*CreateWaterIntakeRes) GetResponse ¶
func (x *CreateWaterIntakeRes) GetResponse() *BaseResponse
func (*CreateWaterIntakeRes) GetSuccess ¶
func (x *CreateWaterIntakeRes) GetSuccess() bool
func (*CreateWaterIntakeRes) GetWater ¶
func (x *CreateWaterIntakeRes) GetWater() *XWaterIntake
func (*CreateWaterIntakeRes) ProtoMessage ¶
func (*CreateWaterIntakeRes) ProtoMessage()
func (*CreateWaterIntakeRes) ProtoReflect ¶
func (x *CreateWaterIntakeRes) ProtoReflect() protoreflect.Message
func (*CreateWaterIntakeRes) Reset ¶
func (x *CreateWaterIntakeRes) Reset()
func (*CreateWaterIntakeRes) String ¶
func (x *CreateWaterIntakeRes) String() string
type CreateWeightReq ¶
type CreateWeightReq struct { Weight *XWeight `protobuf:"bytes,1,opt,name=weight,proto3" json:"weight,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*CreateWeightReq) Descriptor
deprecated
func (*CreateWeightReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateWeightReq.ProtoReflect.Descriptor instead.
func (*CreateWeightReq) GetRequest ¶
func (x *CreateWeightReq) GetRequest() *BaseRequest
func (*CreateWeightReq) GetUserId ¶
func (x *CreateWeightReq) GetUserId() string
func (*CreateWeightReq) GetWeight ¶
func (x *CreateWeightReq) GetWeight() *XWeight
func (*CreateWeightReq) ProtoMessage ¶
func (*CreateWeightReq) ProtoMessage()
func (*CreateWeightReq) ProtoReflect ¶
func (x *CreateWeightReq) ProtoReflect() protoreflect.Message
func (*CreateWeightReq) Reset ¶
func (x *CreateWeightReq) Reset()
func (*CreateWeightReq) String ¶
func (x *CreateWeightReq) String() string
type CreateWeightRes ¶
type CreateWeightRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Weight *XWeight `protobuf:"bytes,3,opt,name=weight,proto3" json:"weight,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*CreateWeightRes) Descriptor
deprecated
func (*CreateWeightRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateWeightRes.ProtoReflect.Descriptor instead.
func (*CreateWeightRes) GetMessage ¶
func (x *CreateWeightRes) GetMessage() string
func (*CreateWeightRes) GetResponse ¶
func (x *CreateWeightRes) GetResponse() *BaseResponse
func (*CreateWeightRes) GetSuccess ¶
func (x *CreateWeightRes) GetSuccess() bool
func (*CreateWeightRes) GetWeight ¶
func (x *CreateWeightRes) GetWeight() *XWeight
func (*CreateWeightRes) ProtoMessage ¶
func (*CreateWeightRes) ProtoMessage()
func (*CreateWeightRes) ProtoReflect ¶
func (x *CreateWeightRes) ProtoReflect() protoreflect.Message
func (*CreateWeightRes) Reset ¶
func (x *CreateWeightRes) Reset()
func (*CreateWeightRes) String ¶
func (x *CreateWeightRes) String() string
type DeleteWasteLineReq ¶
type DeleteWasteLineReq struct { WasteLineId string `protobuf:"bytes,1,opt,name=waste_line_id,json=wasteLineId,proto3" json:"waste_line_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*DeleteWasteLineReq) Descriptor
deprecated
func (*DeleteWasteLineReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWasteLineReq.ProtoReflect.Descriptor instead.
func (*DeleteWasteLineReq) GetRequest ¶
func (x *DeleteWasteLineReq) GetRequest() *BaseRequest
func (*DeleteWasteLineReq) GetUserId ¶
func (x *DeleteWasteLineReq) GetUserId() string
func (*DeleteWasteLineReq) GetWasteLineId ¶
func (x *DeleteWasteLineReq) GetWasteLineId() string
func (*DeleteWasteLineReq) ProtoMessage ¶
func (*DeleteWasteLineReq) ProtoMessage()
func (*DeleteWasteLineReq) ProtoReflect ¶
func (x *DeleteWasteLineReq) ProtoReflect() protoreflect.Message
func (*DeleteWasteLineReq) Reset ¶
func (x *DeleteWasteLineReq) Reset()
func (*DeleteWasteLineReq) String ¶
func (x *DeleteWasteLineReq) String() string
type DeleteWaterIntakeReq ¶
type DeleteWaterIntakeReq struct { WaterIntakeId string `protobuf:"bytes,1,opt,name=water_intake_id,json=waterIntakeId,proto3" json:"water_intake_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*DeleteWaterIntakeReq) Descriptor
deprecated
func (*DeleteWaterIntakeReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWaterIntakeReq.ProtoReflect.Descriptor instead.
func (*DeleteWaterIntakeReq) GetRequest ¶
func (x *DeleteWaterIntakeReq) GetRequest() *BaseRequest
func (*DeleteWaterIntakeReq) GetUserId ¶
func (x *DeleteWaterIntakeReq) GetUserId() string
func (*DeleteWaterIntakeReq) GetWaterIntakeId ¶
func (x *DeleteWaterIntakeReq) GetWaterIntakeId() string
func (*DeleteWaterIntakeReq) ProtoMessage ¶
func (*DeleteWaterIntakeReq) ProtoMessage()
func (*DeleteWaterIntakeReq) ProtoReflect ¶
func (x *DeleteWaterIntakeReq) ProtoReflect() protoreflect.Message
func (*DeleteWaterIntakeReq) Reset ¶
func (x *DeleteWaterIntakeReq) Reset()
func (*DeleteWaterIntakeReq) String ¶
func (x *DeleteWaterIntakeReq) String() string
type DeleteWeightReq ¶
type DeleteWeightReq struct { WeightId string `protobuf:"bytes,1,opt,name=weight_id,json=weightId,proto3" json:"weight_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*DeleteWeightReq) Descriptor
deprecated
func (*DeleteWeightReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWeightReq.ProtoReflect.Descriptor instead.
func (*DeleteWeightReq) GetRequest ¶
func (x *DeleteWeightReq) GetRequest() *BaseRequest
func (*DeleteWeightReq) GetUserId ¶
func (x *DeleteWeightReq) GetUserId() string
func (*DeleteWeightReq) GetWeightId ¶
func (x *DeleteWeightReq) GetWeightId() string
func (*DeleteWeightReq) ProtoMessage ¶
func (*DeleteWeightReq) ProtoMessage()
func (*DeleteWeightReq) ProtoReflect ¶
func (x *DeleteWeightReq) ProtoReflect() protoreflect.Message
func (*DeleteWeightReq) Reset ¶
func (x *DeleteWeightReq) Reset()
func (*DeleteWeightReq) String ¶
func (x *DeleteWeightReq) String() string
type GetWasteLineReq ¶
type GetWasteLineReq struct { WasteLineId string `protobuf:"bytes,1,opt,name=waste_line_id,json=wasteLineId,proto3" json:"waste_line_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*GetWasteLineReq) Descriptor
deprecated
func (*GetWasteLineReq) Descriptor() ([]byte, []int)
Deprecated: Use GetWasteLineReq.ProtoReflect.Descriptor instead.
func (*GetWasteLineReq) GetRequest ¶
func (x *GetWasteLineReq) GetRequest() *BaseRequest
func (*GetWasteLineReq) GetUserId ¶
func (x *GetWasteLineReq) GetUserId() string
func (*GetWasteLineReq) GetWasteLineId ¶
func (x *GetWasteLineReq) GetWasteLineId() string
func (*GetWasteLineReq) ProtoMessage ¶
func (*GetWasteLineReq) ProtoMessage()
func (*GetWasteLineReq) ProtoReflect ¶
func (x *GetWasteLineReq) ProtoReflect() protoreflect.Message
func (*GetWasteLineReq) Reset ¶
func (x *GetWasteLineReq) Reset()
func (*GetWasteLineReq) String ¶
func (x *GetWasteLineReq) String() string
type GetWasteLineRes ¶
type GetWasteLineRes struct { WasteLineId string `protobuf:"bytes,1,opt,name=waste_line_id,json=wasteLineId,proto3" json:"waste_line_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*GetWasteLineRes) Descriptor
deprecated
func (*GetWasteLineRes) Descriptor() ([]byte, []int)
Deprecated: Use GetWasteLineRes.ProtoReflect.Descriptor instead.
func (*GetWasteLineRes) GetResponse ¶
func (x *GetWasteLineRes) GetResponse() *BaseResponse
func (*GetWasteLineRes) GetUserId ¶
func (x *GetWasteLineRes) GetUserId() string
func (*GetWasteLineRes) GetWasteLineId ¶
func (x *GetWasteLineRes) GetWasteLineId() string
func (*GetWasteLineRes) ProtoMessage ¶
func (*GetWasteLineRes) ProtoMessage()
func (*GetWasteLineRes) ProtoReflect ¶
func (x *GetWasteLineRes) ProtoReflect() protoreflect.Message
func (*GetWasteLineRes) Reset ¶
func (x *GetWasteLineRes) Reset()
func (*GetWasteLineRes) String ¶
func (x *GetWasteLineRes) String() string
type GetWasteLinesReq ¶
type GetWasteLinesReq struct { Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*GetWasteLinesReq) Descriptor
deprecated
func (*GetWasteLinesReq) Descriptor() ([]byte, []int)
Deprecated: Use GetWasteLinesReq.ProtoReflect.Descriptor instead.
func (*GetWasteLinesReq) GetRequest ¶
func (x *GetWasteLinesReq) GetRequest() *BaseRequest
func (*GetWasteLinesReq) ProtoMessage ¶
func (*GetWasteLinesReq) ProtoMessage()
func (*GetWasteLinesReq) ProtoReflect ¶
func (x *GetWasteLinesReq) ProtoReflect() protoreflect.Message
func (*GetWasteLinesReq) Reset ¶
func (x *GetWasteLinesReq) Reset()
func (*GetWasteLinesReq) String ¶
func (x *GetWasteLinesReq) String() string
type GetWasteLinesRes ¶
type GetWasteLinesRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` WasteLine []*XWasteLine `protobuf:"bytes,3,rep,name=waste_line,json=wasteLine,proto3" json:"waste_line,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*GetWasteLinesRes) Descriptor
deprecated
func (*GetWasteLinesRes) Descriptor() ([]byte, []int)
Deprecated: Use GetWasteLinesRes.ProtoReflect.Descriptor instead.
func (*GetWasteLinesRes) GetMessage ¶
func (x *GetWasteLinesRes) GetMessage() string
func (*GetWasteLinesRes) GetResponse ¶
func (x *GetWasteLinesRes) GetResponse() *BaseResponse
func (*GetWasteLinesRes) GetSuccess ¶
func (x *GetWasteLinesRes) GetSuccess() bool
func (*GetWasteLinesRes) GetWasteLine ¶
func (x *GetWasteLinesRes) GetWasteLine() []*XWasteLine
func (*GetWasteLinesRes) ProtoMessage ¶
func (*GetWasteLinesRes) ProtoMessage()
func (*GetWasteLinesRes) ProtoReflect ¶
func (x *GetWasteLinesRes) ProtoReflect() protoreflect.Message
func (*GetWasteLinesRes) Reset ¶
func (x *GetWasteLinesRes) Reset()
func (*GetWasteLinesRes) String ¶
func (x *GetWasteLinesRes) String() string
type GetWaterIntakeReq ¶
type GetWaterIntakeReq struct { WaterIntakeId string `protobuf:"bytes,1,opt,name=water_intake_id,json=waterIntakeId,proto3" json:"water_intake_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*GetWaterIntakeReq) Descriptor
deprecated
func (*GetWaterIntakeReq) Descriptor() ([]byte, []int)
Deprecated: Use GetWaterIntakeReq.ProtoReflect.Descriptor instead.
func (*GetWaterIntakeReq) GetRequest ¶
func (x *GetWaterIntakeReq) GetRequest() *BaseRequest
func (*GetWaterIntakeReq) GetUserId ¶
func (x *GetWaterIntakeReq) GetUserId() string
func (*GetWaterIntakeReq) GetWaterIntakeId ¶
func (x *GetWaterIntakeReq) GetWaterIntakeId() string
func (*GetWaterIntakeReq) ProtoMessage ¶
func (*GetWaterIntakeReq) ProtoMessage()
func (*GetWaterIntakeReq) ProtoReflect ¶
func (x *GetWaterIntakeReq) ProtoReflect() protoreflect.Message
func (*GetWaterIntakeReq) Reset ¶
func (x *GetWaterIntakeReq) Reset()
func (*GetWaterIntakeReq) String ¶
func (x *GetWaterIntakeReq) String() string
type GetWaterIntakeRes ¶
type GetWaterIntakeRes struct { WaterIntakeId string `protobuf:"bytes,1,opt,name=water_intake_id,json=waterIntakeId,proto3" json:"water_intake_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*GetWaterIntakeRes) Descriptor
deprecated
func (*GetWaterIntakeRes) Descriptor() ([]byte, []int)
Deprecated: Use GetWaterIntakeRes.ProtoReflect.Descriptor instead.
func (*GetWaterIntakeRes) GetResponse ¶
func (x *GetWaterIntakeRes) GetResponse() *BaseResponse
func (*GetWaterIntakeRes) GetUserId ¶
func (x *GetWaterIntakeRes) GetUserId() string
func (*GetWaterIntakeRes) GetWaterIntakeId ¶
func (x *GetWaterIntakeRes) GetWaterIntakeId() string
func (*GetWaterIntakeRes) ProtoMessage ¶
func (*GetWaterIntakeRes) ProtoMessage()
func (*GetWaterIntakeRes) ProtoReflect ¶
func (x *GetWaterIntakeRes) ProtoReflect() protoreflect.Message
func (*GetWaterIntakeRes) Reset ¶
func (x *GetWaterIntakeRes) Reset()
func (*GetWaterIntakeRes) String ¶
func (x *GetWaterIntakeRes) String() string
type GetWaterIntakesReq ¶
type GetWaterIntakesReq struct { Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*GetWaterIntakesReq) Descriptor
deprecated
func (*GetWaterIntakesReq) Descriptor() ([]byte, []int)
Deprecated: Use GetWaterIntakesReq.ProtoReflect.Descriptor instead.
func (*GetWaterIntakesReq) GetRequest ¶
func (x *GetWaterIntakesReq) GetRequest() *BaseRequest
func (*GetWaterIntakesReq) ProtoMessage ¶
func (*GetWaterIntakesReq) ProtoMessage()
func (*GetWaterIntakesReq) ProtoReflect ¶
func (x *GetWaterIntakesReq) ProtoReflect() protoreflect.Message
func (*GetWaterIntakesReq) Reset ¶
func (x *GetWaterIntakesReq) Reset()
func (*GetWaterIntakesReq) String ¶
func (x *GetWaterIntakesReq) String() string
type GetWaterIntakesRes ¶
type GetWaterIntakesRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Water []*XWaterIntake `protobuf:"bytes,3,rep,name=water,proto3" json:"water,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*GetWaterIntakesRes) Descriptor
deprecated
func (*GetWaterIntakesRes) Descriptor() ([]byte, []int)
Deprecated: Use GetWaterIntakesRes.ProtoReflect.Descriptor instead.
func (*GetWaterIntakesRes) GetMessage ¶
func (x *GetWaterIntakesRes) GetMessage() string
func (*GetWaterIntakesRes) GetResponse ¶
func (x *GetWaterIntakesRes) GetResponse() *BaseResponse
func (*GetWaterIntakesRes) GetSuccess ¶
func (x *GetWaterIntakesRes) GetSuccess() bool
func (*GetWaterIntakesRes) GetWater ¶
func (x *GetWaterIntakesRes) GetWater() []*XWaterIntake
func (*GetWaterIntakesRes) ProtoMessage ¶
func (*GetWaterIntakesRes) ProtoMessage()
func (*GetWaterIntakesRes) ProtoReflect ¶
func (x *GetWaterIntakesRes) ProtoReflect() protoreflect.Message
func (*GetWaterIntakesRes) Reset ¶
func (x *GetWaterIntakesRes) Reset()
func (*GetWaterIntakesRes) String ¶
func (x *GetWaterIntakesRes) String() string
type GetWeightReq ¶
type GetWeightReq struct { WeightId string `protobuf:"bytes,1,opt,name=weight_id,json=weightId,proto3" json:"weight_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*GetWeightReq) Descriptor
deprecated
func (*GetWeightReq) Descriptor() ([]byte, []int)
Deprecated: Use GetWeightReq.ProtoReflect.Descriptor instead.
func (*GetWeightReq) GetRequest ¶
func (x *GetWeightReq) GetRequest() *BaseRequest
func (*GetWeightReq) GetUserId ¶
func (x *GetWeightReq) GetUserId() string
func (*GetWeightReq) GetWeightId ¶
func (x *GetWeightReq) GetWeightId() string
func (*GetWeightReq) ProtoMessage ¶
func (*GetWeightReq) ProtoMessage()
func (*GetWeightReq) ProtoReflect ¶
func (x *GetWeightReq) ProtoReflect() protoreflect.Message
func (*GetWeightReq) Reset ¶
func (x *GetWeightReq) Reset()
func (*GetWeightReq) String ¶
func (x *GetWeightReq) String() string
type GetWeightRes ¶
type GetWeightRes struct { WeightId string `protobuf:"bytes,1,opt,name=weight_id,json=weightId,proto3" json:"weight_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*GetWeightRes) Descriptor
deprecated
func (*GetWeightRes) Descriptor() ([]byte, []int)
Deprecated: Use GetWeightRes.ProtoReflect.Descriptor instead.
func (*GetWeightRes) GetResponse ¶
func (x *GetWeightRes) GetResponse() *BaseResponse
func (*GetWeightRes) GetUserId ¶
func (x *GetWeightRes) GetUserId() string
func (*GetWeightRes) GetWeightId ¶
func (x *GetWeightRes) GetWeightId() string
func (*GetWeightRes) ProtoMessage ¶
func (*GetWeightRes) ProtoMessage()
func (*GetWeightRes) ProtoReflect ¶
func (x *GetWeightRes) ProtoReflect() protoreflect.Message
func (*GetWeightRes) Reset ¶
func (x *GetWeightRes) Reset()
func (*GetWeightRes) String ¶
func (x *GetWeightRes) String() string
type GetWeightsReq ¶
type GetWeightsReq struct { Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*GetWeightsReq) Descriptor
deprecated
func (*GetWeightsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetWeightsReq.ProtoReflect.Descriptor instead.
func (*GetWeightsReq) GetRequest ¶
func (x *GetWeightsReq) GetRequest() *BaseRequest
func (*GetWeightsReq) ProtoMessage ¶
func (*GetWeightsReq) ProtoMessage()
func (*GetWeightsReq) ProtoReflect ¶
func (x *GetWeightsReq) ProtoReflect() protoreflect.Message
func (*GetWeightsReq) Reset ¶
func (x *GetWeightsReq) Reset()
func (*GetWeightsReq) String ¶
func (x *GetWeightsReq) String() string
type GetWeightsRes ¶
type GetWeightsRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Weight []*XWeight `protobuf:"bytes,3,rep,name=weight,proto3" json:"weight,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*GetWeightsRes) Descriptor
deprecated
func (*GetWeightsRes) Descriptor() ([]byte, []int)
Deprecated: Use GetWeightsRes.ProtoReflect.Descriptor instead.
func (*GetWeightsRes) GetMessage ¶
func (x *GetWeightsRes) GetMessage() string
func (*GetWeightsRes) GetResponse ¶
func (x *GetWeightsRes) GetResponse() *BaseResponse
func (*GetWeightsRes) GetSuccess ¶
func (x *GetWeightsRes) GetSuccess() bool
func (*GetWeightsRes) GetWeight ¶
func (x *GetWeightsRes) GetWeight() []*XWeight
func (*GetWeightsRes) ProtoMessage ¶
func (*GetWeightsRes) ProtoMessage()
func (*GetWeightsRes) ProtoReflect ¶
func (x *GetWeightsRes) ProtoReflect() protoreflect.Message
func (*GetWeightsRes) Reset ¶
func (x *GetWeightsRes) Reset()
func (*GetWeightsRes) String ¶
func (x *GetWeightsRes) String() string
type NilRes ¶
type NilRes struct {
// contains filtered or unexported fields
}
func (*NilRes) Descriptor
deprecated
func (*NilRes) ProtoMessage ¶
func (*NilRes) ProtoMessage()
func (*NilRes) ProtoReflect ¶
func (x *NilRes) ProtoReflect() protoreflect.Message
type UnimplementedUserMeasurementsServer ¶
type UnimplementedUserMeasurementsServer struct{}
UnimplementedUserMeasurementsServer 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 (UnimplementedUserMeasurementsServer) CreateWasteLineMeasurement ¶
func (UnimplementedUserMeasurementsServer) CreateWasteLineMeasurement(context.Context, *CreateWasteLineReq) (*CreateWasteLineRes, error)
func (UnimplementedUserMeasurementsServer) CreateWaterMeasurement ¶
func (UnimplementedUserMeasurementsServer) CreateWaterMeasurement(context.Context, *CreateWaterIntakeReq) (*CreateWaterIntakeRes, error)
func (UnimplementedUserMeasurementsServer) CreateWeight ¶
func (UnimplementedUserMeasurementsServer) CreateWeight(context.Context, *CreateWeightReq) (*CreateWeightRes, error)
func (UnimplementedUserMeasurementsServer) DeleteWasteLineMeasurement ¶
func (UnimplementedUserMeasurementsServer) DeleteWasteLineMeasurement(context.Context, *DeleteWasteLineReq) (*NilRes, error)
func (UnimplementedUserMeasurementsServer) DeleteWaterMeasurement ¶
func (UnimplementedUserMeasurementsServer) DeleteWaterMeasurement(context.Context, *DeleteWaterIntakeReq) (*NilRes, error)
func (UnimplementedUserMeasurementsServer) DeleteWeight ¶
func (UnimplementedUserMeasurementsServer) DeleteWeight(context.Context, *DeleteWeightReq) (*NilRes, error)
func (UnimplementedUserMeasurementsServer) GetWasteLineMeasurement ¶
func (UnimplementedUserMeasurementsServer) GetWasteLineMeasurement(context.Context, *GetWasteLineReq) (*GetWasteLineRes, error)
func (UnimplementedUserMeasurementsServer) GetWasteLineMeasurements ¶
func (UnimplementedUserMeasurementsServer) GetWasteLineMeasurements(context.Context, *GetWasteLinesReq) (*GetWasteLinesRes, error)
func (UnimplementedUserMeasurementsServer) GetWaterMeasurement ¶
func (UnimplementedUserMeasurementsServer) GetWaterMeasurement(context.Context, *GetWaterIntakeReq) (*GetWaterIntakeRes, error)
func (UnimplementedUserMeasurementsServer) GetWaterMeasurements ¶
func (UnimplementedUserMeasurementsServer) GetWaterMeasurements(context.Context, *GetWaterIntakesReq) (*GetWaterIntakesRes, error)
func (UnimplementedUserMeasurementsServer) GetWeight ¶
func (UnimplementedUserMeasurementsServer) GetWeight(context.Context, *GetWeightReq) (*GetWeightRes, error)
func (UnimplementedUserMeasurementsServer) GetWeights ¶
func (UnimplementedUserMeasurementsServer) GetWeights(context.Context, *GetWeightsReq) (*GetWeightsRes, error)
func (UnimplementedUserMeasurementsServer) UpdateWasteLineMeasurement ¶
func (UnimplementedUserMeasurementsServer) UpdateWasteLineMeasurement(context.Context, *UpdateWasteLineReq) (*UpdateWasteLineRes, error)
func (UnimplementedUserMeasurementsServer) UpdateWaterMeasurement ¶
func (UnimplementedUserMeasurementsServer) UpdateWaterMeasurement(context.Context, *UpdateWaterIntakeReq) (*UpdateWaterIntakeRes, error)
func (UnimplementedUserMeasurementsServer) UpdateWeight ¶
func (UnimplementedUserMeasurementsServer) UpdateWeight(context.Context, *UpdateWeightReq) (*UpdateWeightRes, error)
type UnsafeUserMeasurementsServer ¶
type UnsafeUserMeasurementsServer interface {
// contains filtered or unexported methods
}
UnsafeUserMeasurementsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserMeasurementsServer will result in compilation errors.
type UpdateWasteLineReq ¶
type UpdateWasteLineReq struct { WasteLineId string `protobuf:"bytes,1,opt,name=waste_line_id,json=wasteLineId,proto3" json:"waste_line_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Updates []*XDiff `protobuf:"bytes,3,rep,name=updates,proto3" json:"updates,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*UpdateWasteLineReq) Descriptor
deprecated
func (*UpdateWasteLineReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWasteLineReq.ProtoReflect.Descriptor instead.
func (*UpdateWasteLineReq) GetRequest ¶
func (x *UpdateWasteLineReq) GetRequest() *BaseRequest
func (*UpdateWasteLineReq) GetUpdates ¶
func (x *UpdateWasteLineReq) GetUpdates() []*XDiff
func (*UpdateWasteLineReq) GetUserId ¶
func (x *UpdateWasteLineReq) GetUserId() string
func (*UpdateWasteLineReq) GetWasteLineId ¶
func (x *UpdateWasteLineReq) GetWasteLineId() string
func (*UpdateWasteLineReq) ProtoMessage ¶
func (*UpdateWasteLineReq) ProtoMessage()
func (*UpdateWasteLineReq) ProtoReflect ¶
func (x *UpdateWasteLineReq) ProtoReflect() protoreflect.Message
func (*UpdateWasteLineReq) Reset ¶
func (x *UpdateWasteLineReq) Reset()
func (*UpdateWasteLineReq) String ¶
func (x *UpdateWasteLineReq) String() string
type UpdateWasteLineRes ¶
type UpdateWasteLineRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` WasteLine *XWasteLine `protobuf:"bytes,3,opt,name=waste_line,json=wasteLine,proto3" json:"waste_line,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*UpdateWasteLineRes) Descriptor
deprecated
func (*UpdateWasteLineRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWasteLineRes.ProtoReflect.Descriptor instead.
func (*UpdateWasteLineRes) GetMessage ¶
func (x *UpdateWasteLineRes) GetMessage() string
func (*UpdateWasteLineRes) GetResponse ¶
func (x *UpdateWasteLineRes) GetResponse() *BaseResponse
func (*UpdateWasteLineRes) GetSuccess ¶
func (x *UpdateWasteLineRes) GetSuccess() bool
func (*UpdateWasteLineRes) GetWasteLine ¶
func (x *UpdateWasteLineRes) GetWasteLine() *XWasteLine
func (*UpdateWasteLineRes) ProtoMessage ¶
func (*UpdateWasteLineRes) ProtoMessage()
func (*UpdateWasteLineRes) ProtoReflect ¶
func (x *UpdateWasteLineRes) ProtoReflect() protoreflect.Message
func (*UpdateWasteLineRes) Reset ¶
func (x *UpdateWasteLineRes) Reset()
func (*UpdateWasteLineRes) String ¶
func (x *UpdateWasteLineRes) String() string
type UpdateWaterIntakeReq ¶
type UpdateWaterIntakeReq struct { WaterIntakeId string `protobuf:"bytes,1,opt,name=water_intake_id,json=waterIntakeId,proto3" json:"water_intake_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Updates []*XDiff `protobuf:"bytes,3,rep,name=updates,proto3" json:"updates,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*UpdateWaterIntakeReq) Descriptor
deprecated
func (*UpdateWaterIntakeReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWaterIntakeReq.ProtoReflect.Descriptor instead.
func (*UpdateWaterIntakeReq) GetRequest ¶
func (x *UpdateWaterIntakeReq) GetRequest() *BaseRequest
func (*UpdateWaterIntakeReq) GetUpdates ¶
func (x *UpdateWaterIntakeReq) GetUpdates() []*XDiff
func (*UpdateWaterIntakeReq) GetUserId ¶
func (x *UpdateWaterIntakeReq) GetUserId() string
func (*UpdateWaterIntakeReq) GetWaterIntakeId ¶
func (x *UpdateWaterIntakeReq) GetWaterIntakeId() string
func (*UpdateWaterIntakeReq) ProtoMessage ¶
func (*UpdateWaterIntakeReq) ProtoMessage()
func (*UpdateWaterIntakeReq) ProtoReflect ¶
func (x *UpdateWaterIntakeReq) ProtoReflect() protoreflect.Message
func (*UpdateWaterIntakeReq) Reset ¶
func (x *UpdateWaterIntakeReq) Reset()
func (*UpdateWaterIntakeReq) String ¶
func (x *UpdateWaterIntakeReq) String() string
type UpdateWaterIntakeRes ¶
type UpdateWaterIntakeRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Water *XWaterIntake `protobuf:"bytes,3,opt,name=water,proto3" json:"water,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*UpdateWaterIntakeRes) Descriptor
deprecated
func (*UpdateWaterIntakeRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWaterIntakeRes.ProtoReflect.Descriptor instead.
func (*UpdateWaterIntakeRes) GetMessage ¶
func (x *UpdateWaterIntakeRes) GetMessage() string
func (*UpdateWaterIntakeRes) GetResponse ¶
func (x *UpdateWaterIntakeRes) GetResponse() *BaseResponse
func (*UpdateWaterIntakeRes) GetSuccess ¶
func (x *UpdateWaterIntakeRes) GetSuccess() bool
func (*UpdateWaterIntakeRes) GetWater ¶
func (x *UpdateWaterIntakeRes) GetWater() *XWaterIntake
func (*UpdateWaterIntakeRes) ProtoMessage ¶
func (*UpdateWaterIntakeRes) ProtoMessage()
func (*UpdateWaterIntakeRes) ProtoReflect ¶
func (x *UpdateWaterIntakeRes) ProtoReflect() protoreflect.Message
func (*UpdateWaterIntakeRes) Reset ¶
func (x *UpdateWaterIntakeRes) Reset()
func (*UpdateWaterIntakeRes) String ¶
func (x *UpdateWaterIntakeRes) String() string
type UpdateWeightReq ¶
type UpdateWeightReq struct { WeightId string `protobuf:"bytes,1,opt,name=weight_id,json=weightId,proto3" json:"weight_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Updates []*XDiff `protobuf:"bytes,3,rep,name=updates,proto3" json:"updates,omitempty"` Request *BaseRequest `protobuf:"bytes,100,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*UpdateWeightReq) Descriptor
deprecated
func (*UpdateWeightReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWeightReq.ProtoReflect.Descriptor instead.
func (*UpdateWeightReq) GetRequest ¶
func (x *UpdateWeightReq) GetRequest() *BaseRequest
func (*UpdateWeightReq) GetUpdates ¶
func (x *UpdateWeightReq) GetUpdates() []*XDiff
func (*UpdateWeightReq) GetUserId ¶
func (x *UpdateWeightReq) GetUserId() string
func (*UpdateWeightReq) GetWeightId ¶
func (x *UpdateWeightReq) GetWeightId() string
func (*UpdateWeightReq) ProtoMessage ¶
func (*UpdateWeightReq) ProtoMessage()
func (*UpdateWeightReq) ProtoReflect ¶
func (x *UpdateWeightReq) ProtoReflect() protoreflect.Message
func (*UpdateWeightReq) Reset ¶
func (x *UpdateWeightReq) Reset()
func (*UpdateWeightReq) String ¶
func (x *UpdateWeightReq) String() string
type UpdateWeightRes ¶
type UpdateWeightRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Weight *XWeight `protobuf:"bytes,3,opt,name=weight,proto3" json:"weight,omitempty"` Response *BaseResponse `protobuf:"bytes,100,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*UpdateWeightRes) Descriptor
deprecated
func (*UpdateWeightRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWeightRes.ProtoReflect.Descriptor instead.
func (*UpdateWeightRes) GetMessage ¶
func (x *UpdateWeightRes) GetMessage() string
func (*UpdateWeightRes) GetResponse ¶
func (x *UpdateWeightRes) GetResponse() *BaseResponse
func (*UpdateWeightRes) GetSuccess ¶
func (x *UpdateWeightRes) GetSuccess() bool
func (*UpdateWeightRes) GetWeight ¶
func (x *UpdateWeightRes) GetWeight() *XWeight
func (*UpdateWeightRes) ProtoMessage ¶
func (*UpdateWeightRes) ProtoMessage()
func (*UpdateWeightRes) ProtoReflect ¶
func (x *UpdateWeightRes) ProtoReflect() protoreflect.Message
func (*UpdateWeightRes) Reset ¶
func (x *UpdateWeightRes) Reset()
func (*UpdateWeightRes) String ¶
func (x *UpdateWeightRes) String() string
type UserMeasurementsClient ¶
type UserMeasurementsClient interface { // weight CreateWeight(ctx context.Context, in *CreateWeightReq, opts ...grpc.CallOption) (*CreateWeightRes, error) GetWeights(ctx context.Context, in *GetWeightsReq, opts ...grpc.CallOption) (*GetWeightsRes, error) GetWeight(ctx context.Context, in *GetWeightReq, opts ...grpc.CallOption) (*GetWeightRes, error) DeleteWeight(ctx context.Context, in *DeleteWeightReq, opts ...grpc.CallOption) (*NilRes, error) UpdateWeight(ctx context.Context, in *UpdateWeightReq, opts ...grpc.CallOption) (*UpdateWeightRes, error) // waterIntake CreateWaterMeasurement(ctx context.Context, in *CreateWaterIntakeReq, opts ...grpc.CallOption) (*CreateWaterIntakeRes, error) GetWaterMeasurements(ctx context.Context, in *GetWaterIntakesReq, opts ...grpc.CallOption) (*GetWaterIntakesRes, error) GetWaterMeasurement(ctx context.Context, in *GetWaterIntakeReq, opts ...grpc.CallOption) (*GetWaterIntakeRes, error) DeleteWaterMeasurement(ctx context.Context, in *DeleteWaterIntakeReq, opts ...grpc.CallOption) (*NilRes, error) UpdateWaterMeasurement(ctx context.Context, in *UpdateWaterIntakeReq, opts ...grpc.CallOption) (*UpdateWaterIntakeRes, error) // wasteline CreateWasteLineMeasurement(ctx context.Context, in *CreateWasteLineReq, opts ...grpc.CallOption) (*CreateWasteLineRes, error) GetWasteLineMeasurements(ctx context.Context, in *GetWasteLinesReq, opts ...grpc.CallOption) (*GetWasteLinesRes, error) GetWasteLineMeasurement(ctx context.Context, in *GetWasteLineReq, opts ...grpc.CallOption) (*GetWasteLineRes, error) DeleteWasteLineMeasurement(ctx context.Context, in *DeleteWasteLineReq, opts ...grpc.CallOption) (*NilRes, error) UpdateWasteLineMeasurement(ctx context.Context, in *UpdateWasteLineReq, opts ...grpc.CallOption) (*UpdateWasteLineRes, error) }
UserMeasurementsClient is the client API for UserMeasurements 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 NewUserMeasurementsClient ¶
func NewUserMeasurementsClient(cc grpc.ClientConnInterface) UserMeasurementsClient
type UserMeasurementsServer ¶
type UserMeasurementsServer interface { // weight CreateWeight(context.Context, *CreateWeightReq) (*CreateWeightRes, error) GetWeights(context.Context, *GetWeightsReq) (*GetWeightsRes, error) GetWeight(context.Context, *GetWeightReq) (*GetWeightRes, error) DeleteWeight(context.Context, *DeleteWeightReq) (*NilRes, error) UpdateWeight(context.Context, *UpdateWeightReq) (*UpdateWeightRes, error) // waterIntake CreateWaterMeasurement(context.Context, *CreateWaterIntakeReq) (*CreateWaterIntakeRes, error) GetWaterMeasurements(context.Context, *GetWaterIntakesReq) (*GetWaterIntakesRes, error) GetWaterMeasurement(context.Context, *GetWaterIntakeReq) (*GetWaterIntakeRes, error) DeleteWaterMeasurement(context.Context, *DeleteWaterIntakeReq) (*NilRes, error) UpdateWaterMeasurement(context.Context, *UpdateWaterIntakeReq) (*UpdateWaterIntakeRes, error) // wasteline CreateWasteLineMeasurement(context.Context, *CreateWasteLineReq) (*CreateWasteLineRes, error) GetWasteLineMeasurements(context.Context, *GetWasteLinesReq) (*GetWasteLinesRes, error) GetWasteLineMeasurement(context.Context, *GetWasteLineReq) (*GetWasteLineRes, error) DeleteWasteLineMeasurement(context.Context, *DeleteWasteLineReq) (*NilRes, error) UpdateWasteLineMeasurement(context.Context, *UpdateWasteLineReq) (*UpdateWasteLineRes, error) // contains filtered or unexported methods }
UserMeasurementsServer is the server API for UserMeasurements service. All implementations must embed UnimplementedUserMeasurementsServer for forward compatibility.
type XDiff ¶
type XDiff struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` OldValue string `protobuf:"bytes,2,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // contains filtered or unexported fields }
func (*XDiff) Descriptor
deprecated
func (*XDiff) GetNewValue ¶
func (*XDiff) GetOldValue ¶
func (*XDiff) ProtoMessage ¶
func (*XDiff) ProtoMessage()
func (*XDiff) ProtoReflect ¶
func (x *XDiff) ProtoReflect() protoreflect.Message
type XWasteLine ¶
type XWasteLine struct { WasteLineId string `protobuf:"bytes,1,opt,name=waste_line_id,json=wasteLineId,proto3" json:"waste_line_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Measurement int32 `protobuf:"varint,3,opt,name=measurement,proto3" json:"measurement,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*XWasteLine) Descriptor
deprecated
func (*XWasteLine) Descriptor() ([]byte, []int)
Deprecated: Use XWasteLine.ProtoReflect.Descriptor instead.
func (*XWasteLine) GetCreatedAt ¶
func (x *XWasteLine) GetCreatedAt() *timestamppb.Timestamp
func (*XWasteLine) GetMeasurement ¶
func (x *XWasteLine) GetMeasurement() int32
func (*XWasteLine) GetUpdatedAt ¶
func (x *XWasteLine) GetUpdatedAt() *timestamppb.Timestamp
func (*XWasteLine) GetUserId ¶
func (x *XWasteLine) GetUserId() string
func (*XWasteLine) GetWasteLineId ¶
func (x *XWasteLine) GetWasteLineId() string
func (*XWasteLine) ProtoMessage ¶
func (*XWasteLine) ProtoMessage()
func (*XWasteLine) ProtoReflect ¶
func (x *XWasteLine) ProtoReflect() protoreflect.Message
func (*XWasteLine) Reset ¶
func (x *XWasteLine) Reset()
func (*XWasteLine) String ¶
func (x *XWasteLine) String() string
type XWaterIntake ¶
type XWaterIntake struct { WaterIntakeId string `protobuf:"bytes,1,opt,name=water_intake_id,json=waterIntakeId,proto3" json:"water_intake_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Quantity int32 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*XWaterIntake) Descriptor
deprecated
func (*XWaterIntake) Descriptor() ([]byte, []int)
Deprecated: Use XWaterIntake.ProtoReflect.Descriptor instead.
func (*XWaterIntake) GetCreatedAt ¶
func (x *XWaterIntake) GetCreatedAt() *timestamppb.Timestamp
func (*XWaterIntake) GetQuantity ¶
func (x *XWaterIntake) GetQuantity() int32
func (*XWaterIntake) GetUpdatedAt ¶
func (x *XWaterIntake) GetUpdatedAt() *timestamppb.Timestamp
func (*XWaterIntake) GetUserId ¶
func (x *XWaterIntake) GetUserId() string
func (*XWaterIntake) GetWaterIntakeId ¶
func (x *XWaterIntake) GetWaterIntakeId() string
func (*XWaterIntake) ProtoMessage ¶
func (*XWaterIntake) ProtoMessage()
func (*XWaterIntake) ProtoReflect ¶
func (x *XWaterIntake) ProtoReflect() protoreflect.Message
func (*XWaterIntake) Reset ¶
func (x *XWaterIntake) Reset()
func (*XWaterIntake) String ¶
func (x *XWaterIntake) String() string
type XWeight ¶
type XWeight struct { WeightId string `protobuf:"bytes,1,opt,name=weight_id,json=weightId,proto3" json:"weight_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` WeightValue int32 `protobuf:"varint,3,opt,name=weight_value,json=weightValue,proto3" json:"weight_value,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*XWeight) Descriptor
deprecated
func (*XWeight) GetCreatedAt ¶
func (x *XWeight) GetCreatedAt() *timestamppb.Timestamp
func (*XWeight) GetUpdatedAt ¶
func (x *XWeight) GetUpdatedAt() *timestamppb.Timestamp
func (*XWeight) GetWeightId ¶
func (*XWeight) GetWeightValue ¶
func (*XWeight) ProtoMessage ¶
func (*XWeight) ProtoMessage()
func (*XWeight) ProtoReflect ¶
func (x *XWeight) ProtoReflect() protoreflect.Message