generated

package
v0.0.0-...-58600ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
var File_measurement_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use NilRes.ProtoReflect.Descriptor instead.

func (*NilRes) ProtoMessage

func (*NilRes) ProtoMessage()

func (*NilRes) ProtoReflect

func (x *NilRes) ProtoReflect() protoreflect.Message

func (*NilRes) Reset

func (x *NilRes) Reset()

func (*NilRes) String

func (x *NilRes) String() string

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) CreateWaterMeasurement

func (UnimplementedUserMeasurementsServer) CreateWeight

func (UnimplementedUserMeasurementsServer) DeleteWasteLineMeasurement

func (UnimplementedUserMeasurementsServer) DeleteWaterMeasurement

func (UnimplementedUserMeasurementsServer) DeleteWeight

func (UnimplementedUserMeasurementsServer) GetWasteLineMeasurement

func (UnimplementedUserMeasurementsServer) GetWasteLineMeasurements

func (UnimplementedUserMeasurementsServer) GetWaterMeasurement

func (UnimplementedUserMeasurementsServer) GetWaterMeasurements

func (UnimplementedUserMeasurementsServer) GetWeight

func (UnimplementedUserMeasurementsServer) GetWeights

func (UnimplementedUserMeasurementsServer) UpdateWasteLineMeasurement

func (UnimplementedUserMeasurementsServer) UpdateWaterMeasurement

func (UnimplementedUserMeasurementsServer) UpdateWeight

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use XDiff.ProtoReflect.Descriptor instead.

func (*XDiff) GetField

func (x *XDiff) GetField() string

func (*XDiff) GetNewValue

func (x *XDiff) GetNewValue() string

func (*XDiff) GetOldValue

func (x *XDiff) GetOldValue() string

func (*XDiff) ProtoMessage

func (*XDiff) ProtoMessage()

func (*XDiff) ProtoReflect

func (x *XDiff) ProtoReflect() protoreflect.Message

func (*XDiff) Reset

func (x *XDiff) Reset()

func (*XDiff) String

func (x *XDiff) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use XWeight.ProtoReflect.Descriptor instead.

func (*XWeight) GetCreatedAt

func (x *XWeight) GetCreatedAt() *timestamppb.Timestamp

func (*XWeight) GetUpdatedAt

func (x *XWeight) GetUpdatedAt() *timestamppb.Timestamp

func (*XWeight) GetUserId

func (x *XWeight) GetUserId() string

func (*XWeight) GetWeightId

func (x *XWeight) GetWeightId() string

func (*XWeight) GetWeightValue

func (x *XWeight) GetWeightValue() int32

func (*XWeight) ProtoMessage

func (*XWeight) ProtoMessage()

func (*XWeight) ProtoReflect

func (x *XWeight) ProtoReflect() protoreflect.Message

func (*XWeight) Reset

func (x *XWeight) Reset()

func (*XWeight) String

func (x *XWeight) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL