Documentation ¶
Index ¶
- Variables
- type AddCarbonFootprintGoalRequest
- func (*AddCarbonFootprintGoalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddCarbonFootprintGoalRequest) GetCarbonFootprintGoal() *CarbonFootprintGoalRequest
- func (*AddCarbonFootprintGoalRequest) ProtoMessage()
- func (x *AddCarbonFootprintGoalRequest) ProtoReflect() protoreflect.Message
- func (x *AddCarbonFootprintGoalRequest) Reset()
- func (x *AddCarbonFootprintGoalRequest) String() string
- func (m *AddCarbonFootprintGoalRequest) Validate() error
- func (m *AddCarbonFootprintGoalRequest) ValidateAll() error
- type AddCarbonFootprintGoalRequestMultiError
- type AddCarbonFootprintGoalRequestValidationError
- func (e AddCarbonFootprintGoalRequestValidationError) Cause() error
- func (e AddCarbonFootprintGoalRequestValidationError) Error() string
- func (e AddCarbonFootprintGoalRequestValidationError) ErrorName() string
- func (e AddCarbonFootprintGoalRequestValidationError) Field() string
- func (e AddCarbonFootprintGoalRequestValidationError) Key() bool
- func (e AddCarbonFootprintGoalRequestValidationError) Reason() string
- type AddCarbonFootprintGoalResponse
- func (*AddCarbonFootprintGoalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddCarbonFootprintGoalResponse) GetId() int32
- func (*AddCarbonFootprintGoalResponse) ProtoMessage()
- func (x *AddCarbonFootprintGoalResponse) ProtoReflect() protoreflect.Message
- func (x *AddCarbonFootprintGoalResponse) Reset()
- func (x *AddCarbonFootprintGoalResponse) String() string
- func (m *AddCarbonFootprintGoalResponse) Validate() error
- func (m *AddCarbonFootprintGoalResponse) ValidateAll() error
- type AddCarbonFootprintGoalResponseMultiError
- type AddCarbonFootprintGoalResponseValidationError
- func (e AddCarbonFootprintGoalResponseValidationError) Cause() error
- func (e AddCarbonFootprintGoalResponseValidationError) Error() string
- func (e AddCarbonFootprintGoalResponseValidationError) ErrorName() string
- func (e AddCarbonFootprintGoalResponseValidationError) Field() string
- func (e AddCarbonFootprintGoalResponseValidationError) Key() bool
- func (e AddCarbonFootprintGoalResponseValidationError) Reason() string
- type AddDeviceRequest
- func (*AddDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDeviceRequest) GetFcmToken() string
- func (*AddDeviceRequest) ProtoMessage()
- func (x *AddDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *AddDeviceRequest) Reset()
- func (x *AddDeviceRequest) String() string
- func (m *AddDeviceRequest) Validate() error
- func (m *AddDeviceRequest) ValidateAll() error
- type AddDeviceRequestMultiError
- type AddDeviceRequestValidationError
- func (e AddDeviceRequestValidationError) Cause() error
- func (e AddDeviceRequestValidationError) Error() string
- func (e AddDeviceRequestValidationError) ErrorName() string
- func (e AddDeviceRequestValidationError) Field() string
- func (e AddDeviceRequestValidationError) Key() bool
- func (e AddDeviceRequestValidationError) Reason() string
- type AddDeviceResponse
- func (*AddDeviceResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddDeviceResponse) ProtoMessage()
- func (x *AddDeviceResponse) ProtoReflect() protoreflect.Message
- func (x *AddDeviceResponse) Reset()
- func (x *AddDeviceResponse) String() string
- func (m *AddDeviceResponse) Validate() error
- func (m *AddDeviceResponse) ValidateAll() error
- type AddDeviceResponseMultiError
- type AddDeviceResponseValidationError
- func (e AddDeviceResponseValidationError) Cause() error
- func (e AddDeviceResponseValidationError) Error() string
- func (e AddDeviceResponseValidationError) ErrorName() string
- func (e AddDeviceResponseValidationError) Field() string
- func (e AddDeviceResponseValidationError) Key() bool
- func (e AddDeviceResponseValidationError) Reason() string
- type AddFoodItemRequest
- func (*AddFoodItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFoodItemRequest) GetFoodLogItem() *FoodLogItemRequest
- func (*AddFoodItemRequest) ProtoMessage()
- func (x *AddFoodItemRequest) ProtoReflect() protoreflect.Message
- func (x *AddFoodItemRequest) Reset()
- func (x *AddFoodItemRequest) String() string
- func (m *AddFoodItemRequest) Validate() error
- func (m *AddFoodItemRequest) ValidateAll() error
- type AddFoodItemRequestMultiError
- type AddFoodItemRequestValidationError
- func (e AddFoodItemRequestValidationError) Cause() error
- func (e AddFoodItemRequestValidationError) Error() string
- func (e AddFoodItemRequestValidationError) ErrorName() string
- func (e AddFoodItemRequestValidationError) Field() string
- func (e AddFoodItemRequestValidationError) Key() bool
- func (e AddFoodItemRequestValidationError) Reason() string
- type AddFoodItemResponse
- func (*AddFoodItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddFoodItemResponse) GetCarbonFootprint() float64
- func (x *AddFoodItemResponse) GetId() int32
- func (*AddFoodItemResponse) ProtoMessage()
- func (x *AddFoodItemResponse) ProtoReflect() protoreflect.Message
- func (x *AddFoodItemResponse) Reset()
- func (x *AddFoodItemResponse) String() string
- func (m *AddFoodItemResponse) Validate() error
- func (m *AddFoodItemResponse) ValidateAll() error
- type AddFoodItemResponseMultiError
- type AddFoodItemResponseValidationError
- func (e AddFoodItemResponseValidationError) Cause() error
- func (e AddFoodItemResponseValidationError) Error() string
- func (e AddFoodItemResponseValidationError) ErrorName() string
- func (e AddFoodItemResponseValidationError) Field() string
- func (e AddFoodItemResponseValidationError) Key() bool
- func (e AddFoodItemResponseValidationError) Reason() string
- type CarbonFootprintGoalRequest
- func (*CarbonFootprintGoalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CarbonFootprintGoalRequest) GetDescription() string
- func (x *CarbonFootprintGoalRequest) GetEndDate() *Date
- func (x *CarbonFootprintGoalRequest) GetStartCarbonFootprint() float64
- func (x *CarbonFootprintGoalRequest) GetStartDate() *Date
- func (x *CarbonFootprintGoalRequest) GetTargetCarbonFootprint() float64
- func (*CarbonFootprintGoalRequest) ProtoMessage()
- func (x *CarbonFootprintGoalRequest) ProtoReflect() protoreflect.Message
- func (x *CarbonFootprintGoalRequest) Reset()
- func (x *CarbonFootprintGoalRequest) String() string
- func (m *CarbonFootprintGoalRequest) Validate() error
- func (m *CarbonFootprintGoalRequest) ValidateAll() error
- type CarbonFootprintGoalRequestMultiError
- type CarbonFootprintGoalRequestValidationError
- func (e CarbonFootprintGoalRequestValidationError) Cause() error
- func (e CarbonFootprintGoalRequestValidationError) Error() string
- func (e CarbonFootprintGoalRequestValidationError) ErrorName() string
- func (e CarbonFootprintGoalRequestValidationError) Field() string
- func (e CarbonFootprintGoalRequestValidationError) Key() bool
- func (e CarbonFootprintGoalRequestValidationError) Reason() string
- type CarbonFootprintGoalResponse
- func (*CarbonFootprintGoalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CarbonFootprintGoalResponse) GetDescription() string
- func (x *CarbonFootprintGoalResponse) GetEndDate() *Date
- func (x *CarbonFootprintGoalResponse) GetId() int32
- func (x *CarbonFootprintGoalResponse) GetStartCarbonFootprint() float64
- func (x *CarbonFootprintGoalResponse) GetStartDate() *Date
- func (x *CarbonFootprintGoalResponse) GetTargetCarbonFootprint() float64
- func (*CarbonFootprintGoalResponse) ProtoMessage()
- func (x *CarbonFootprintGoalResponse) ProtoReflect() protoreflect.Message
- func (x *CarbonFootprintGoalResponse) Reset()
- func (x *CarbonFootprintGoalResponse) String() string
- func (m *CarbonFootprintGoalResponse) Validate() error
- func (m *CarbonFootprintGoalResponse) ValidateAll() error
- type CarbonFootprintGoalResponseMultiError
- type CarbonFootprintGoalResponseValidationError
- func (e CarbonFootprintGoalResponseValidationError) Cause() error
- func (e CarbonFootprintGoalResponseValidationError) Error() string
- func (e CarbonFootprintGoalResponseValidationError) ErrorName() string
- func (e CarbonFootprintGoalResponseValidationError) Field() string
- func (e CarbonFootprintGoalResponseValidationError) Key() bool
- func (e CarbonFootprintGoalResponseValidationError) Reason() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetFirebaseUid() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- func (m *CreateUserRequest) Validate() error
- func (m *CreateUserRequest) ValidateAll() error
- type CreateUserRequestMultiError
- type CreateUserRequestValidationError
- func (e CreateUserRequestValidationError) Cause() error
- func (e CreateUserRequestValidationError) Error() string
- func (e CreateUserRequestValidationError) ErrorName() string
- func (e CreateUserRequestValidationError) Field() string
- func (e CreateUserRequestValidationError) Key() bool
- func (e CreateUserRequestValidationError) Reason() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetId() int32
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- func (m *CreateUserResponse) Validate() error
- func (m *CreateUserResponse) ValidateAll() error
- type CreateUserResponseMultiError
- type CreateUserResponseValidationError
- func (e CreateUserResponseValidationError) Cause() error
- func (e CreateUserResponseValidationError) Error() string
- func (e CreateUserResponseValidationError) ErrorName() string
- func (e CreateUserResponseValidationError) Field() string
- func (e CreateUserResponseValidationError) Key() bool
- func (e CreateUserResponseValidationError) Reason() string
- type Date
- func (*Date) Descriptor() ([]byte, []int)deprecated
- func (x *Date) GetDay() int32
- func (x *Date) GetMonth() int32
- func (x *Date) GetYear() int32
- func (*Date) ProtoMessage()
- func (x *Date) ProtoReflect() protoreflect.Message
- func (x *Date) Reset()
- func (x *Date) String() string
- func (m *Date) Validate() error
- func (m *Date) ValidateAll() error
- type DateMultiError
- type DateRange
- func (*DateRange) Descriptor() ([]byte, []int)deprecated
- func (x *DateRange) GetEnd() *Date
- func (x *DateRange) GetStart() *Date
- func (*DateRange) ProtoMessage()
- func (x *DateRange) ProtoReflect() protoreflect.Message
- func (x *DateRange) Reset()
- func (x *DateRange) String() string
- func (m *DateRange) Validate() error
- func (m *DateRange) ValidateAll() error
- type DateRangeMultiError
- type DateRangeValidationError
- type DateValidationError
- type DeleteCarbonFootprintGoalRequest
- func (*DeleteCarbonFootprintGoalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCarbonFootprintGoalRequest) GetId() int32
- func (*DeleteCarbonFootprintGoalRequest) ProtoMessage()
- func (x *DeleteCarbonFootprintGoalRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCarbonFootprintGoalRequest) Reset()
- func (x *DeleteCarbonFootprintGoalRequest) String() string
- func (m *DeleteCarbonFootprintGoalRequest) Validate() error
- func (m *DeleteCarbonFootprintGoalRequest) ValidateAll() error
- type DeleteCarbonFootprintGoalRequestMultiError
- type DeleteCarbonFootprintGoalRequestValidationError
- func (e DeleteCarbonFootprintGoalRequestValidationError) Cause() error
- func (e DeleteCarbonFootprintGoalRequestValidationError) Error() string
- func (e DeleteCarbonFootprintGoalRequestValidationError) ErrorName() string
- func (e DeleteCarbonFootprintGoalRequestValidationError) Field() string
- func (e DeleteCarbonFootprintGoalRequestValidationError) Key() bool
- func (e DeleteCarbonFootprintGoalRequestValidationError) Reason() string
- type DeleteCarbonFootprintGoalResponse
- func (*DeleteCarbonFootprintGoalResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteCarbonFootprintGoalResponse) ProtoMessage()
- func (x *DeleteCarbonFootprintGoalResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteCarbonFootprintGoalResponse) Reset()
- func (x *DeleteCarbonFootprintGoalResponse) String() string
- func (m *DeleteCarbonFootprintGoalResponse) Validate() error
- func (m *DeleteCarbonFootprintGoalResponse) ValidateAll() error
- type DeleteCarbonFootprintGoalResponseMultiError
- type DeleteCarbonFootprintGoalResponseValidationError
- func (e DeleteCarbonFootprintGoalResponseValidationError) Cause() error
- func (e DeleteCarbonFootprintGoalResponseValidationError) Error() string
- func (e DeleteCarbonFootprintGoalResponseValidationError) ErrorName() string
- func (e DeleteCarbonFootprintGoalResponseValidationError) Field() string
- func (e DeleteCarbonFootprintGoalResponseValidationError) Key() bool
- func (e DeleteCarbonFootprintGoalResponseValidationError) Reason() string
- type DeleteFoodItemRequest
- func (*DeleteFoodItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFoodItemRequest) GetId() int32
- func (*DeleteFoodItemRequest) ProtoMessage()
- func (x *DeleteFoodItemRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFoodItemRequest) Reset()
- func (x *DeleteFoodItemRequest) String() string
- func (m *DeleteFoodItemRequest) Validate() error
- func (m *DeleteFoodItemRequest) ValidateAll() error
- type DeleteFoodItemRequestMultiError
- type DeleteFoodItemRequestValidationError
- func (e DeleteFoodItemRequestValidationError) Cause() error
- func (e DeleteFoodItemRequestValidationError) Error() string
- func (e DeleteFoodItemRequestValidationError) ErrorName() string
- func (e DeleteFoodItemRequestValidationError) Field() string
- func (e DeleteFoodItemRequestValidationError) Key() bool
- func (e DeleteFoodItemRequestValidationError) Reason() string
- type DeleteFoodItemResponse
- func (*DeleteFoodItemResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteFoodItemResponse) ProtoMessage()
- func (x *DeleteFoodItemResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteFoodItemResponse) Reset()
- func (x *DeleteFoodItemResponse) String() string
- func (m *DeleteFoodItemResponse) Validate() error
- func (m *DeleteFoodItemResponse) ValidateAll() error
- type DeleteFoodItemResponseMultiError
- type DeleteFoodItemResponseValidationError
- func (e DeleteFoodItemResponseValidationError) Cause() error
- func (e DeleteFoodItemResponseValidationError) Error() string
- func (e DeleteFoodItemResponseValidationError) ErrorName() string
- func (e DeleteFoodItemResponseValidationError) Field() string
- func (e DeleteFoodItemResponseValidationError) Key() bool
- func (e DeleteFoodItemResponseValidationError) Reason() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) ValidateAll() error
- type DeleteUserRequestMultiError
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type DeleteUserResponse
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserResponse) ProtoMessage()
- func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserResponse) Reset()
- func (x *DeleteUserResponse) String() string
- func (m *DeleteUserResponse) Validate() error
- func (m *DeleteUserResponse) ValidateAll() error
- type DeleteUserResponseMultiError
- type DeleteUserResponseValidationError
- func (e DeleteUserResponseValidationError) Cause() error
- func (e DeleteUserResponseValidationError) Error() string
- func (e DeleteUserResponseValidationError) ErrorName() string
- func (e DeleteUserResponseValidationError) Field() string
- func (e DeleteUserResponseValidationError) Key() bool
- func (e DeleteUserResponseValidationError) Reason() string
- type FoodLogItemRequest
- func (*FoodLogItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FoodLogItemRequest) GetDate() *Date
- func (x *FoodLogItemRequest) GetFoodItemId() int32
- func (x *FoodLogItemRequest) GetMeal() Meal
- func (x *FoodLogItemRequest) GetQuantity() float64
- func (x *FoodLogItemRequest) GetRegion() v1.Region
- func (x *FoodLogItemRequest) GetUnit() Unit
- func (*FoodLogItemRequest) ProtoMessage()
- func (x *FoodLogItemRequest) ProtoReflect() protoreflect.Message
- func (x *FoodLogItemRequest) Reset()
- func (x *FoodLogItemRequest) String() string
- func (m *FoodLogItemRequest) Validate() error
- func (m *FoodLogItemRequest) ValidateAll() error
- type FoodLogItemRequestMultiError
- type FoodLogItemRequestValidationError
- func (e FoodLogItemRequestValidationError) Cause() error
- func (e FoodLogItemRequestValidationError) Error() string
- func (e FoodLogItemRequestValidationError) ErrorName() string
- func (e FoodLogItemRequestValidationError) Field() string
- func (e FoodLogItemRequestValidationError) Key() bool
- func (e FoodLogItemRequestValidationError) Reason() string
- type FoodLogItemResponse
- func (*FoodLogItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FoodLogItemResponse) GetCarbonFootprint() float64
- func (x *FoodLogItemResponse) GetDate() *Date
- func (x *FoodLogItemResponse) GetFoodItemId() int32
- func (x *FoodLogItemResponse) GetId() int32
- func (x *FoodLogItemResponse) GetMeal() Meal
- func (x *FoodLogItemResponse) GetName() string
- func (x *FoodLogItemResponse) GetQuantity() float64
- func (x *FoodLogItemResponse) GetRegion() v1.Region
- func (x *FoodLogItemResponse) GetUnit() Unit
- func (*FoodLogItemResponse) ProtoMessage()
- func (x *FoodLogItemResponse) ProtoReflect() protoreflect.Message
- func (x *FoodLogItemResponse) Reset()
- func (x *FoodLogItemResponse) String() string
- func (m *FoodLogItemResponse) Validate() error
- func (m *FoodLogItemResponse) ValidateAll() error
- type FoodLogItemResponseMultiError
- type FoodLogItemResponseValidationError
- func (e FoodLogItemResponseValidationError) Cause() error
- func (e FoodLogItemResponseValidationError) Error() string
- func (e FoodLogItemResponseValidationError) ErrorName() string
- func (e FoodLogItemResponseValidationError) Field() string
- func (e FoodLogItemResponseValidationError) Key() bool
- func (e FoodLogItemResponseValidationError) Reason() string
- type GetCarbonFootprintGoalsRequest
- func (*GetCarbonFootprintGoalsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetCarbonFootprintGoalsRequest) ProtoMessage()
- func (x *GetCarbonFootprintGoalsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCarbonFootprintGoalsRequest) Reset()
- func (x *GetCarbonFootprintGoalsRequest) String() string
- func (m *GetCarbonFootprintGoalsRequest) Validate() error
- func (m *GetCarbonFootprintGoalsRequest) ValidateAll() error
- type GetCarbonFootprintGoalsRequestMultiError
- type GetCarbonFootprintGoalsRequestValidationError
- func (e GetCarbonFootprintGoalsRequestValidationError) Cause() error
- func (e GetCarbonFootprintGoalsRequestValidationError) Error() string
- func (e GetCarbonFootprintGoalsRequestValidationError) ErrorName() string
- func (e GetCarbonFootprintGoalsRequestValidationError) Field() string
- func (e GetCarbonFootprintGoalsRequestValidationError) Key() bool
- func (e GetCarbonFootprintGoalsRequestValidationError) Reason() string
- type GetCarbonFootprintGoalsResponse
- func (*GetCarbonFootprintGoalsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCarbonFootprintGoalsResponse) GetActive() []*CarbonFootprintGoalResponse
- func (x *GetCarbonFootprintGoalsResponse) GetCompleted() []*CarbonFootprintGoalResponse
- func (*GetCarbonFootprintGoalsResponse) ProtoMessage()
- func (x *GetCarbonFootprintGoalsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCarbonFootprintGoalsResponse) Reset()
- func (x *GetCarbonFootprintGoalsResponse) String() string
- func (m *GetCarbonFootprintGoalsResponse) Validate() error
- func (m *GetCarbonFootprintGoalsResponse) ValidateAll() error
- type GetCarbonFootprintGoalsResponseMultiError
- type GetCarbonFootprintGoalsResponseValidationError
- func (e GetCarbonFootprintGoalsResponseValidationError) Cause() error
- func (e GetCarbonFootprintGoalsResponseValidationError) Error() string
- func (e GetCarbonFootprintGoalsResponseValidationError) ErrorName() string
- func (e GetCarbonFootprintGoalsResponseValidationError) Field() string
- func (e GetCarbonFootprintGoalsResponseValidationError) Key() bool
- func (e GetCarbonFootprintGoalsResponseValidationError) Reason() string
- type GetFoodItemLogDaysRequest
- func (*GetFoodItemLogDaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFoodItemLogDaysRequest) GetMonth() int32
- func (x *GetFoodItemLogDaysRequest) GetYear() int32
- func (*GetFoodItemLogDaysRequest) ProtoMessage()
- func (x *GetFoodItemLogDaysRequest) ProtoReflect() protoreflect.Message
- func (x *GetFoodItemLogDaysRequest) Reset()
- func (x *GetFoodItemLogDaysRequest) String() string
- func (m *GetFoodItemLogDaysRequest) Validate() error
- func (m *GetFoodItemLogDaysRequest) ValidateAll() error
- type GetFoodItemLogDaysRequestMultiError
- type GetFoodItemLogDaysRequestValidationError
- func (e GetFoodItemLogDaysRequestValidationError) Cause() error
- func (e GetFoodItemLogDaysRequestValidationError) Error() string
- func (e GetFoodItemLogDaysRequestValidationError) ErrorName() string
- func (e GetFoodItemLogDaysRequestValidationError) Field() string
- func (e GetFoodItemLogDaysRequestValidationError) Key() bool
- func (e GetFoodItemLogDaysRequestValidationError) Reason() string
- type GetFoodItemLogDaysResponse
- func (*GetFoodItemLogDaysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFoodItemLogDaysResponse) GetDays() []int32
- func (*GetFoodItemLogDaysResponse) ProtoMessage()
- func (x *GetFoodItemLogDaysResponse) ProtoReflect() protoreflect.Message
- func (x *GetFoodItemLogDaysResponse) Reset()
- func (x *GetFoodItemLogDaysResponse) String() string
- func (m *GetFoodItemLogDaysResponse) Validate() error
- func (m *GetFoodItemLogDaysResponse) ValidateAll() error
- type GetFoodItemLogDaysResponseMultiError
- type GetFoodItemLogDaysResponseValidationError
- func (e GetFoodItemLogDaysResponseValidationError) Cause() error
- func (e GetFoodItemLogDaysResponseValidationError) Error() string
- func (e GetFoodItemLogDaysResponseValidationError) ErrorName() string
- func (e GetFoodItemLogDaysResponseValidationError) Field() string
- func (e GetFoodItemLogDaysResponseValidationError) Key() bool
- func (e GetFoodItemLogDaysResponseValidationError) Reason() string
- type GetFoodItemLogRequest
- func (*GetFoodItemLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFoodItemLogRequest) GetDate() *Date
- func (*GetFoodItemLogRequest) ProtoMessage()
- func (x *GetFoodItemLogRequest) ProtoReflect() protoreflect.Message
- func (x *GetFoodItemLogRequest) Reset()
- func (x *GetFoodItemLogRequest) String() string
- func (m *GetFoodItemLogRequest) Validate() error
- func (m *GetFoodItemLogRequest) ValidateAll() error
- type GetFoodItemLogRequestMultiError
- type GetFoodItemLogRequestValidationError
- func (e GetFoodItemLogRequestValidationError) Cause() error
- func (e GetFoodItemLogRequestValidationError) Error() string
- func (e GetFoodItemLogRequestValidationError) ErrorName() string
- func (e GetFoodItemLogRequestValidationError) Field() string
- func (e GetFoodItemLogRequestValidationError) Key() bool
- func (e GetFoodItemLogRequestValidationError) Reason() string
- type GetFoodItemLogResponse
- func (*GetFoodItemLogResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFoodItemLogResponse) GetFoodItemLog() []*FoodLogItemResponse
- func (*GetFoodItemLogResponse) ProtoMessage()
- func (x *GetFoodItemLogResponse) ProtoReflect() protoreflect.Message
- func (x *GetFoodItemLogResponse) Reset()
- func (x *GetFoodItemLogResponse) String() string
- func (m *GetFoodItemLogResponse) Validate() error
- func (m *GetFoodItemLogResponse) ValidateAll() error
- type GetFoodItemLogResponseMultiError
- type GetFoodItemLogResponseValidationError
- func (e GetFoodItemLogResponseValidationError) Cause() error
- func (e GetFoodItemLogResponseValidationError) Error() string
- func (e GetFoodItemLogResponseValidationError) ErrorName() string
- func (e GetFoodItemLogResponseValidationError) Field() string
- func (e GetFoodItemLogResponseValidationError) Key() bool
- func (e GetFoodItemLogResponseValidationError) Reason() string
- type GetUserInsightsRequest
- func (*GetUserInsightsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetUserInsightsRequest) ProtoMessage()
- func (x *GetUserInsightsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserInsightsRequest) Reset()
- func (x *GetUserInsightsRequest) String() string
- func (m *GetUserInsightsRequest) Validate() error
- func (m *GetUserInsightsRequest) ValidateAll() error
- type GetUserInsightsRequestMultiError
- type GetUserInsightsRequestValidationError
- func (e GetUserInsightsRequestValidationError) Cause() error
- func (e GetUserInsightsRequestValidationError) Error() string
- func (e GetUserInsightsRequestValidationError) ErrorName() string
- func (e GetUserInsightsRequestValidationError) Field() string
- func (e GetUserInsightsRequestValidationError) Key() bool
- func (e GetUserInsightsRequestValidationError) Reason() string
- type GetUserInsightsResponse
- func (*GetUserInsightsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInsightsResponse) GetDailyAverageCarbonFootprintDietaryRequirement() float64
- func (x *GetUserInsightsResponse) GetDailyAverageCarbonFootprintOverall() float64
- func (x *GetUserInsightsResponse) GetDailyUserAverage() float64
- func (x *GetUserInsightsResponse) GetIsStreakActive() bool
- func (x *GetUserInsightsResponse) GetStreakLen() int32
- func (*GetUserInsightsResponse) ProtoMessage()
- func (x *GetUserInsightsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserInsightsResponse) Reset()
- func (x *GetUserInsightsResponse) String() string
- func (m *GetUserInsightsResponse) Validate() error
- func (m *GetUserInsightsResponse) ValidateAll() error
- type GetUserInsightsResponseMultiError
- type GetUserInsightsResponseValidationError
- func (e GetUserInsightsResponseValidationError) Cause() error
- func (e GetUserInsightsResponseValidationError) Error() string
- func (e GetUserInsightsResponseValidationError) ErrorName() string
- func (e GetUserInsightsResponseValidationError) Field() string
- func (e GetUserInsightsResponseValidationError) Key() bool
- func (e GetUserInsightsResponseValidationError) Reason() string
- type GetUserProgressRequest
- func (*GetUserProgressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserProgressRequest) GetDateRange() *DateRange
- func (*GetUserProgressRequest) ProtoMessage()
- func (x *GetUserProgressRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserProgressRequest) Reset()
- func (x *GetUserProgressRequest) String() string
- func (m *GetUserProgressRequest) Validate() error
- func (m *GetUserProgressRequest) ValidateAll() error
- type GetUserProgressRequestMultiError
- type GetUserProgressRequestValidationError
- func (e GetUserProgressRequestValidationError) Cause() error
- func (e GetUserProgressRequestValidationError) Error() string
- func (e GetUserProgressRequestValidationError) ErrorName() string
- func (e GetUserProgressRequestValidationError) Field() string
- func (e GetUserProgressRequestValidationError) Key() bool
- func (e GetUserProgressRequestValidationError) Reason() string
- type GetUserProgressResponse
- func (*GetUserProgressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserProgressResponse) GetDailyProgressAll() map[string]float64
- func (x *GetUserProgressResponse) GetDailyProgressBreakfast() map[string]float64
- func (x *GetUserProgressResponse) GetDailyProgressDinner() map[string]float64
- func (x *GetUserProgressResponse) GetDailyProgressLunch() map[string]float64
- func (x *GetUserProgressResponse) GetDailyProgressSnacks() map[string]float64
- func (*GetUserProgressResponse) ProtoMessage()
- func (x *GetUserProgressResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserProgressResponse) Reset()
- func (x *GetUserProgressResponse) String() string
- func (m *GetUserProgressResponse) Validate() error
- func (m *GetUserProgressResponse) ValidateAll() error
- type GetUserProgressResponseMultiError
- type GetUserProgressResponseValidationError
- func (e GetUserProgressResponseValidationError) Cause() error
- func (e GetUserProgressResponseValidationError) Error() string
- func (e GetUserProgressResponseValidationError) ErrorName() string
- func (e GetUserProgressResponseValidationError) Field() string
- func (e GetUserProgressResponseValidationError) Key() bool
- func (e GetUserProgressResponseValidationError) Reason() string
- type GetUserSettingsRequest
- func (*GetUserSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetUserSettingsRequest) ProtoMessage()
- func (x *GetUserSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserSettingsRequest) Reset()
- func (x *GetUserSettingsRequest) String() string
- func (m *GetUserSettingsRequest) Validate() error
- func (m *GetUserSettingsRequest) ValidateAll() error
- type GetUserSettingsRequestMultiError
- type GetUserSettingsRequestValidationError
- func (e GetUserSettingsRequestValidationError) Cause() error
- func (e GetUserSettingsRequestValidationError) Error() string
- func (e GetUserSettingsRequestValidationError) ErrorName() string
- func (e GetUserSettingsRequestValidationError) Field() string
- func (e GetUserSettingsRequestValidationError) Key() bool
- func (e GetUserSettingsRequestValidationError) Reason() string
- type GetUserSettingsResponse
- func (*GetUserSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSettingsResponse) GetUserSettings() *UserSettings
- func (*GetUserSettingsResponse) ProtoMessage()
- func (x *GetUserSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserSettingsResponse) Reset()
- func (x *GetUserSettingsResponse) String() string
- func (m *GetUserSettingsResponse) Validate() error
- func (m *GetUserSettingsResponse) ValidateAll() error
- type GetUserSettingsResponseMultiError
- type GetUserSettingsResponseValidationError
- func (e GetUserSettingsResponseValidationError) Cause() error
- func (e GetUserSettingsResponseValidationError) Error() string
- func (e GetUserSettingsResponseValidationError) ErrorName() string
- func (e GetUserSettingsResponseValidationError) Field() string
- func (e GetUserSettingsResponseValidationError) Key() bool
- func (e GetUserSettingsResponseValidationError) Reason() string
- type Meal
- type Unit
- type UpdateCarbonFootprintGoalRequest
- func (*UpdateCarbonFootprintGoalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCarbonFootprintGoalRequest) GetCompleted() bool
- func (x *UpdateCarbonFootprintGoalRequest) GetId() int32
- func (*UpdateCarbonFootprintGoalRequest) ProtoMessage()
- func (x *UpdateCarbonFootprintGoalRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCarbonFootprintGoalRequest) Reset()
- func (x *UpdateCarbonFootprintGoalRequest) String() string
- func (m *UpdateCarbonFootprintGoalRequest) Validate() error
- func (m *UpdateCarbonFootprintGoalRequest) ValidateAll() error
- type UpdateCarbonFootprintGoalRequestMultiError
- type UpdateCarbonFootprintGoalRequestValidationError
- func (e UpdateCarbonFootprintGoalRequestValidationError) Cause() error
- func (e UpdateCarbonFootprintGoalRequestValidationError) Error() string
- func (e UpdateCarbonFootprintGoalRequestValidationError) ErrorName() string
- func (e UpdateCarbonFootprintGoalRequestValidationError) Field() string
- func (e UpdateCarbonFootprintGoalRequestValidationError) Key() bool
- func (e UpdateCarbonFootprintGoalRequestValidationError) Reason() string
- type UpdateCarbonFootprintGoalResponse
- func (*UpdateCarbonFootprintGoalResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCarbonFootprintGoalResponse) ProtoMessage()
- func (x *UpdateCarbonFootprintGoalResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCarbonFootprintGoalResponse) Reset()
- func (x *UpdateCarbonFootprintGoalResponse) String() string
- func (m *UpdateCarbonFootprintGoalResponse) Validate() error
- func (m *UpdateCarbonFootprintGoalResponse) ValidateAll() error
- type UpdateCarbonFootprintGoalResponseMultiError
- type UpdateCarbonFootprintGoalResponseValidationError
- func (e UpdateCarbonFootprintGoalResponseValidationError) Cause() error
- func (e UpdateCarbonFootprintGoalResponseValidationError) Error() string
- func (e UpdateCarbonFootprintGoalResponseValidationError) ErrorName() string
- func (e UpdateCarbonFootprintGoalResponseValidationError) Field() string
- func (e UpdateCarbonFootprintGoalResponseValidationError) Key() bool
- func (e UpdateCarbonFootprintGoalResponseValidationError) Reason() string
- type UpdateFoodItemRequest
- func (*UpdateFoodItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFoodItemRequest) GetId() int32
- func (x *UpdateFoodItemRequest) GetMeal() Meal
- func (x *UpdateFoodItemRequest) GetQuantity() float64
- func (x *UpdateFoodItemRequest) GetRegion() v1.Region
- func (x *UpdateFoodItemRequest) GetUnit() Unit
- func (*UpdateFoodItemRequest) ProtoMessage()
- func (x *UpdateFoodItemRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFoodItemRequest) Reset()
- func (x *UpdateFoodItemRequest) String() string
- func (m *UpdateFoodItemRequest) Validate() error
- func (m *UpdateFoodItemRequest) ValidateAll() error
- type UpdateFoodItemRequestMultiError
- type UpdateFoodItemRequestValidationError
- func (e UpdateFoodItemRequestValidationError) Cause() error
- func (e UpdateFoodItemRequestValidationError) Error() string
- func (e UpdateFoodItemRequestValidationError) ErrorName() string
- func (e UpdateFoodItemRequestValidationError) Field() string
- func (e UpdateFoodItemRequestValidationError) Key() bool
- func (e UpdateFoodItemRequestValidationError) Reason() string
- type UpdateFoodItemResponse
- func (*UpdateFoodItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFoodItemResponse) GetCarbonFootprint() float64
- func (*UpdateFoodItemResponse) ProtoMessage()
- func (x *UpdateFoodItemResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateFoodItemResponse) Reset()
- func (x *UpdateFoodItemResponse) String() string
- func (m *UpdateFoodItemResponse) Validate() error
- func (m *UpdateFoodItemResponse) ValidateAll() error
- type UpdateFoodItemResponseMultiError
- type UpdateFoodItemResponseValidationError
- func (e UpdateFoodItemResponseValidationError) Cause() error
- func (e UpdateFoodItemResponseValidationError) Error() string
- func (e UpdateFoodItemResponseValidationError) ErrorName() string
- func (e UpdateFoodItemResponseValidationError) Field() string
- func (e UpdateFoodItemResponseValidationError) Key() bool
- func (e UpdateFoodItemResponseValidationError) Reason() string
- type UpdateUserSettingsRequest
- func (*UpdateUserSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserSettingsRequest) GetUserSettings() *UserSettings
- func (*UpdateUserSettingsRequest) ProtoMessage()
- func (x *UpdateUserSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingsRequest) Reset()
- func (x *UpdateUserSettingsRequest) String() string
- func (m *UpdateUserSettingsRequest) Validate() error
- func (m *UpdateUserSettingsRequest) ValidateAll() error
- type UpdateUserSettingsRequestMultiError
- type UpdateUserSettingsRequestValidationError
- func (e UpdateUserSettingsRequestValidationError) Cause() error
- func (e UpdateUserSettingsRequestValidationError) Error() string
- func (e UpdateUserSettingsRequestValidationError) ErrorName() string
- func (e UpdateUserSettingsRequestValidationError) Field() string
- func (e UpdateUserSettingsRequestValidationError) Key() bool
- func (e UpdateUserSettingsRequestValidationError) Reason() string
- type UpdateUserSettingsResponse
- func (*UpdateUserSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserSettingsResponse) ProtoMessage()
- func (x *UpdateUserSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingsResponse) Reset()
- func (x *UpdateUserSettingsResponse) String() string
- func (m *UpdateUserSettingsResponse) Validate() error
- func (m *UpdateUserSettingsResponse) ValidateAll() error
- type UpdateUserSettingsResponseMultiError
- type UpdateUserSettingsResponseValidationError
- func (e UpdateUserSettingsResponseValidationError) Cause() error
- func (e UpdateUserSettingsResponseValidationError) Error() string
- func (e UpdateUserSettingsResponseValidationError) ErrorName() string
- func (e UpdateUserSettingsResponseValidationError) Field() string
- func (e UpdateUserSettingsResponseValidationError) Key() bool
- func (e UpdateUserSettingsResponseValidationError) Reason() string
- type UserInsights
- func (*UserInsights) Descriptor() ([]byte, []int)deprecated
- func (x *UserInsights) GetNoEntries() int32
- func (x *UserInsights) GetOverallCarbonFootprint() float64
- func (*UserInsights) ProtoMessage()
- func (x *UserInsights) ProtoReflect() protoreflect.Message
- func (x *UserInsights) Reset()
- func (x *UserInsights) String() string
- func (m *UserInsights) Validate() error
- func (m *UserInsights) ValidateAll() error
- type UserInsightsMultiError
- type UserInsightsValidationError
- func (e UserInsightsValidationError) Cause() error
- func (e UserInsightsValidationError) Error() string
- func (e UserInsightsValidationError) ErrorName() string
- func (e UserInsightsValidationError) Field() string
- func (e UserInsightsValidationError) Key() bool
- func (e UserInsightsValidationError) Reason() string
- type UserSettings
- func (*UserSettings) Descriptor() ([]byte, []int)deprecated
- func (x *UserSettings) GetCfLimit() float64
- func (x *UserSettings) GetDietaryRequirement() UserSettings_DietaryRequirement
- func (x *UserSettings) GetRegion() v1.Region
- func (*UserSettings) ProtoMessage()
- func (x *UserSettings) ProtoReflect() protoreflect.Message
- func (x *UserSettings) Reset()
- func (x *UserSettings) String() string
- func (m *UserSettings) Validate() error
- func (m *UserSettings) ValidateAll() error
- type UserSettingsMultiError
- type UserSettingsValidationError
- func (e UserSettingsValidationError) Cause() error
- func (e UserSettingsValidationError) Error() string
- func (e UserSettingsValidationError) ErrorName() string
- func (e UserSettingsValidationError) Field() string
- func (e UserSettingsValidationError) Key() bool
- func (e UserSettingsValidationError) Reason() string
- type UserSettings_DietaryRequirement
- func (UserSettings_DietaryRequirement) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_DietaryRequirement) Enum() *UserSettings_DietaryRequirement
- func (UserSettings_DietaryRequirement) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_DietaryRequirement) Number() protoreflect.EnumNumber
- func (x UserSettings_DietaryRequirement) String() string
- func (UserSettings_DietaryRequirement) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Unit_name = map[int32]string{ 0: "UNIT_UNSPECIFIED", 1: "UNIT_GRAM", 2: "UNIT_OUNCE", 3: "UNIT_POUND", 4: "UNIT_LITRE", 5: "UNIT_MILLILITRE", 6: "UNIT_GALLON", 7: "UNIT_PINT", } Unit_value = map[string]int32{ "UNIT_UNSPECIFIED": 0, "UNIT_GRAM": 1, "UNIT_OUNCE": 2, "UNIT_POUND": 3, "UNIT_LITRE": 4, "UNIT_MILLILITRE": 5, "UNIT_GALLON": 6, "UNIT_PINT": 7, } )
Enum value maps for Unit.
var ( Meal_name = map[int32]string{ 0: "MEAL_UNSPECIFIED", 1: "MEAL_BREAKFAST", 2: "MEAL_LUNCH", 3: "MEAL_DINNER", } Meal_value = map[string]int32{ "MEAL_UNSPECIFIED": 0, "MEAL_BREAKFAST": 1, "MEAL_LUNCH": 2, "MEAL_DINNER": 3, } )
Enum value maps for Meal.
var ( UserSettings_DietaryRequirement_name = map[int32]string{ 0: "DIETARY_REQUIREMENT_UNSPECIFIED", 1: "DIETARY_REQUIREMENT_PESCATARIAN", 2: "DIETARY_REQUIREMENT_VEGETARIAN", 3: "DIETARY_REQUIREMENT_VEGAN", } UserSettings_DietaryRequirement_value = map[string]int32{ "DIETARY_REQUIREMENT_UNSPECIFIED": 0, "DIETARY_REQUIREMENT_PESCATARIAN": 1, "DIETARY_REQUIREMENT_VEGETARIAN": 2, "DIETARY_REQUIREMENT_VEGAN": 3, } )
Enum value maps for UserSettings_DietaryRequirement.
var File_neutral_diet_user_v1_api_proto protoreflect.FileDescriptor
var File_neutral_diet_user_v1_date_proto protoreflect.FileDescriptor
var File_neutral_diet_user_v1_food_item_log_proto protoreflect.FileDescriptor
var File_neutral_diet_user_v1_goal_proto protoreflect.FileDescriptor
var File_neutral_diet_user_v1_insights_proto protoreflect.FileDescriptor
var File_neutral_diet_user_v1_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddCarbonFootprintGoalRequest ¶
type AddCarbonFootprintGoalRequest struct { CarbonFootprintGoal *CarbonFootprintGoalRequest `protobuf:"bytes,1,opt,name=carbon_footprint_goal,json=carbonFootprintGoal,proto3" json:"carbon_footprint_goal,omitempty"` // contains filtered or unexported fields }
func (*AddCarbonFootprintGoalRequest) Descriptor
deprecated
func (*AddCarbonFootprintGoalRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCarbonFootprintGoalRequest.ProtoReflect.Descriptor instead.
func (*AddCarbonFootprintGoalRequest) GetCarbonFootprintGoal ¶
func (x *AddCarbonFootprintGoalRequest) GetCarbonFootprintGoal() *CarbonFootprintGoalRequest
func (*AddCarbonFootprintGoalRequest) ProtoMessage ¶
func (*AddCarbonFootprintGoalRequest) ProtoMessage()
func (*AddCarbonFootprintGoalRequest) ProtoReflect ¶
func (x *AddCarbonFootprintGoalRequest) ProtoReflect() protoreflect.Message
func (*AddCarbonFootprintGoalRequest) Reset ¶
func (x *AddCarbonFootprintGoalRequest) Reset()
func (*AddCarbonFootprintGoalRequest) String ¶
func (x *AddCarbonFootprintGoalRequest) String() string
func (*AddCarbonFootprintGoalRequest) Validate ¶
func (m *AddCarbonFootprintGoalRequest) Validate() error
Validate checks the field values on AddCarbonFootprintGoalRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddCarbonFootprintGoalRequest) ValidateAll ¶
func (m *AddCarbonFootprintGoalRequest) ValidateAll() error
ValidateAll checks the field values on AddCarbonFootprintGoalRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddCarbonFootprintGoalRequestMultiError, or nil if none found.
type AddCarbonFootprintGoalRequestMultiError ¶
type AddCarbonFootprintGoalRequestMultiError []error
AddCarbonFootprintGoalRequestMultiError is an error wrapping multiple validation errors returned by AddCarbonFootprintGoalRequest.ValidateAll() if the designated constraints aren't met.
func (AddCarbonFootprintGoalRequestMultiError) AllErrors ¶
func (m AddCarbonFootprintGoalRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddCarbonFootprintGoalRequestMultiError) Error ¶
func (m AddCarbonFootprintGoalRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddCarbonFootprintGoalRequestValidationError ¶
type AddCarbonFootprintGoalRequestValidationError struct {
// contains filtered or unexported fields
}
AddCarbonFootprintGoalRequestValidationError is the validation error returned by AddCarbonFootprintGoalRequest.Validate if the designated constraints aren't met.
func (AddCarbonFootprintGoalRequestValidationError) Cause ¶
func (e AddCarbonFootprintGoalRequestValidationError) Cause() error
Cause function returns cause value.
func (AddCarbonFootprintGoalRequestValidationError) Error ¶
func (e AddCarbonFootprintGoalRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddCarbonFootprintGoalRequestValidationError) ErrorName ¶
func (e AddCarbonFootprintGoalRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddCarbonFootprintGoalRequestValidationError) Field ¶
func (e AddCarbonFootprintGoalRequestValidationError) Field() string
Field function returns field value.
func (AddCarbonFootprintGoalRequestValidationError) Key ¶
func (e AddCarbonFootprintGoalRequestValidationError) Key() bool
Key function returns key value.
func (AddCarbonFootprintGoalRequestValidationError) Reason ¶
func (e AddCarbonFootprintGoalRequestValidationError) Reason() string
Reason function returns reason value.
type AddCarbonFootprintGoalResponse ¶
type AddCarbonFootprintGoalResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddCarbonFootprintGoalResponse) Descriptor
deprecated
func (*AddCarbonFootprintGoalResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddCarbonFootprintGoalResponse.ProtoReflect.Descriptor instead.
func (*AddCarbonFootprintGoalResponse) GetId ¶
func (x *AddCarbonFootprintGoalResponse) GetId() int32
func (*AddCarbonFootprintGoalResponse) ProtoMessage ¶
func (*AddCarbonFootprintGoalResponse) ProtoMessage()
func (*AddCarbonFootprintGoalResponse) ProtoReflect ¶
func (x *AddCarbonFootprintGoalResponse) ProtoReflect() protoreflect.Message
func (*AddCarbonFootprintGoalResponse) Reset ¶
func (x *AddCarbonFootprintGoalResponse) Reset()
func (*AddCarbonFootprintGoalResponse) String ¶
func (x *AddCarbonFootprintGoalResponse) String() string
func (*AddCarbonFootprintGoalResponse) Validate ¶
func (m *AddCarbonFootprintGoalResponse) Validate() error
Validate checks the field values on AddCarbonFootprintGoalResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddCarbonFootprintGoalResponse) ValidateAll ¶
func (m *AddCarbonFootprintGoalResponse) ValidateAll() error
ValidateAll checks the field values on AddCarbonFootprintGoalResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddCarbonFootprintGoalResponseMultiError, or nil if none found.
type AddCarbonFootprintGoalResponseMultiError ¶
type AddCarbonFootprintGoalResponseMultiError []error
AddCarbonFootprintGoalResponseMultiError is an error wrapping multiple validation errors returned by AddCarbonFootprintGoalResponse.ValidateAll() if the designated constraints aren't met.
func (AddCarbonFootprintGoalResponseMultiError) AllErrors ¶
func (m AddCarbonFootprintGoalResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddCarbonFootprintGoalResponseMultiError) Error ¶
func (m AddCarbonFootprintGoalResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddCarbonFootprintGoalResponseValidationError ¶
type AddCarbonFootprintGoalResponseValidationError struct {
// contains filtered or unexported fields
}
AddCarbonFootprintGoalResponseValidationError is the validation error returned by AddCarbonFootprintGoalResponse.Validate if the designated constraints aren't met.
func (AddCarbonFootprintGoalResponseValidationError) Cause ¶
func (e AddCarbonFootprintGoalResponseValidationError) Cause() error
Cause function returns cause value.
func (AddCarbonFootprintGoalResponseValidationError) Error ¶
func (e AddCarbonFootprintGoalResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddCarbonFootprintGoalResponseValidationError) ErrorName ¶
func (e AddCarbonFootprintGoalResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddCarbonFootprintGoalResponseValidationError) Field ¶
func (e AddCarbonFootprintGoalResponseValidationError) Field() string
Field function returns field value.
func (AddCarbonFootprintGoalResponseValidationError) Key ¶
func (e AddCarbonFootprintGoalResponseValidationError) Key() bool
Key function returns key value.
func (AddCarbonFootprintGoalResponseValidationError) Reason ¶
func (e AddCarbonFootprintGoalResponseValidationError) Reason() string
Reason function returns reason value.
type AddDeviceRequest ¶
type AddDeviceRequest struct { FcmToken string `protobuf:"bytes,1,opt,name=fcm_token,json=fcmToken,proto3" json:"fcm_token,omitempty"` // contains filtered or unexported fields }
func (*AddDeviceRequest) Descriptor
deprecated
func (*AddDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDeviceRequest.ProtoReflect.Descriptor instead.
func (*AddDeviceRequest) GetFcmToken ¶
func (x *AddDeviceRequest) GetFcmToken() string
func (*AddDeviceRequest) ProtoMessage ¶
func (*AddDeviceRequest) ProtoMessage()
func (*AddDeviceRequest) ProtoReflect ¶
func (x *AddDeviceRequest) ProtoReflect() protoreflect.Message
func (*AddDeviceRequest) Reset ¶
func (x *AddDeviceRequest) Reset()
func (*AddDeviceRequest) String ¶
func (x *AddDeviceRequest) String() string
func (*AddDeviceRequest) Validate ¶
func (m *AddDeviceRequest) Validate() error
Validate checks the field values on AddDeviceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddDeviceRequest) ValidateAll ¶
func (m *AddDeviceRequest) ValidateAll() error
ValidateAll checks the field values on AddDeviceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddDeviceRequestMultiError, or nil if none found.
type AddDeviceRequestMultiError ¶
type AddDeviceRequestMultiError []error
AddDeviceRequestMultiError is an error wrapping multiple validation errors returned by AddDeviceRequest.ValidateAll() if the designated constraints aren't met.
func (AddDeviceRequestMultiError) AllErrors ¶
func (m AddDeviceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDeviceRequestMultiError) Error ¶
func (m AddDeviceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDeviceRequestValidationError ¶
type AddDeviceRequestValidationError struct {
// contains filtered or unexported fields
}
AddDeviceRequestValidationError is the validation error returned by AddDeviceRequest.Validate if the designated constraints aren't met.
func (AddDeviceRequestValidationError) Cause ¶
func (e AddDeviceRequestValidationError) Cause() error
Cause function returns cause value.
func (AddDeviceRequestValidationError) Error ¶
func (e AddDeviceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddDeviceRequestValidationError) ErrorName ¶
func (e AddDeviceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddDeviceRequestValidationError) Field ¶
func (e AddDeviceRequestValidationError) Field() string
Field function returns field value.
func (AddDeviceRequestValidationError) Key ¶
func (e AddDeviceRequestValidationError) Key() bool
Key function returns key value.
func (AddDeviceRequestValidationError) Reason ¶
func (e AddDeviceRequestValidationError) Reason() string
Reason function returns reason value.
type AddDeviceResponse ¶
type AddDeviceResponse struct {
// contains filtered or unexported fields
}
func (*AddDeviceResponse) Descriptor
deprecated
func (*AddDeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDeviceResponse.ProtoReflect.Descriptor instead.
func (*AddDeviceResponse) ProtoMessage ¶
func (*AddDeviceResponse) ProtoMessage()
func (*AddDeviceResponse) ProtoReflect ¶
func (x *AddDeviceResponse) ProtoReflect() protoreflect.Message
func (*AddDeviceResponse) Reset ¶
func (x *AddDeviceResponse) Reset()
func (*AddDeviceResponse) String ¶
func (x *AddDeviceResponse) String() string
func (*AddDeviceResponse) Validate ¶
func (m *AddDeviceResponse) Validate() error
Validate checks the field values on AddDeviceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddDeviceResponse) ValidateAll ¶
func (m *AddDeviceResponse) ValidateAll() error
ValidateAll checks the field values on AddDeviceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddDeviceResponseMultiError, or nil if none found.
type AddDeviceResponseMultiError ¶
type AddDeviceResponseMultiError []error
AddDeviceResponseMultiError is an error wrapping multiple validation errors returned by AddDeviceResponse.ValidateAll() if the designated constraints aren't met.
func (AddDeviceResponseMultiError) AllErrors ¶
func (m AddDeviceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDeviceResponseMultiError) Error ¶
func (m AddDeviceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDeviceResponseValidationError ¶
type AddDeviceResponseValidationError struct {
// contains filtered or unexported fields
}
AddDeviceResponseValidationError is the validation error returned by AddDeviceResponse.Validate if the designated constraints aren't met.
func (AddDeviceResponseValidationError) Cause ¶
func (e AddDeviceResponseValidationError) Cause() error
Cause function returns cause value.
func (AddDeviceResponseValidationError) Error ¶
func (e AddDeviceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddDeviceResponseValidationError) ErrorName ¶
func (e AddDeviceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddDeviceResponseValidationError) Field ¶
func (e AddDeviceResponseValidationError) Field() string
Field function returns field value.
func (AddDeviceResponseValidationError) Key ¶
func (e AddDeviceResponseValidationError) Key() bool
Key function returns key value.
func (AddDeviceResponseValidationError) Reason ¶
func (e AddDeviceResponseValidationError) Reason() string
Reason function returns reason value.
type AddFoodItemRequest ¶
type AddFoodItemRequest struct { FoodLogItem *FoodLogItemRequest `protobuf:"bytes,1,opt,name=food_log_item,json=foodLogItem,proto3" json:"food_log_item,omitempty"` // contains filtered or unexported fields }
func (*AddFoodItemRequest) Descriptor
deprecated
func (*AddFoodItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFoodItemRequest.ProtoReflect.Descriptor instead.
func (*AddFoodItemRequest) GetFoodLogItem ¶
func (x *AddFoodItemRequest) GetFoodLogItem() *FoodLogItemRequest
func (*AddFoodItemRequest) ProtoMessage ¶
func (*AddFoodItemRequest) ProtoMessage()
func (*AddFoodItemRequest) ProtoReflect ¶
func (x *AddFoodItemRequest) ProtoReflect() protoreflect.Message
func (*AddFoodItemRequest) Reset ¶
func (x *AddFoodItemRequest) Reset()
func (*AddFoodItemRequest) String ¶
func (x *AddFoodItemRequest) String() string
func (*AddFoodItemRequest) Validate ¶
func (m *AddFoodItemRequest) Validate() error
Validate checks the field values on AddFoodItemRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddFoodItemRequest) ValidateAll ¶
func (m *AddFoodItemRequest) ValidateAll() error
ValidateAll checks the field values on AddFoodItemRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddFoodItemRequestMultiError, or nil if none found.
type AddFoodItemRequestMultiError ¶
type AddFoodItemRequestMultiError []error
AddFoodItemRequestMultiError is an error wrapping multiple validation errors returned by AddFoodItemRequest.ValidateAll() if the designated constraints aren't met.
func (AddFoodItemRequestMultiError) AllErrors ¶
func (m AddFoodItemRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddFoodItemRequestMultiError) Error ¶
func (m AddFoodItemRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddFoodItemRequestValidationError ¶
type AddFoodItemRequestValidationError struct {
// contains filtered or unexported fields
}
AddFoodItemRequestValidationError is the validation error returned by AddFoodItemRequest.Validate if the designated constraints aren't met.
func (AddFoodItemRequestValidationError) Cause ¶
func (e AddFoodItemRequestValidationError) Cause() error
Cause function returns cause value.
func (AddFoodItemRequestValidationError) Error ¶
func (e AddFoodItemRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddFoodItemRequestValidationError) ErrorName ¶
func (e AddFoodItemRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddFoodItemRequestValidationError) Field ¶
func (e AddFoodItemRequestValidationError) Field() string
Field function returns field value.
func (AddFoodItemRequestValidationError) Key ¶
func (e AddFoodItemRequestValidationError) Key() bool
Key function returns key value.
func (AddFoodItemRequestValidationError) Reason ¶
func (e AddFoodItemRequestValidationError) Reason() string
Reason function returns reason value.
type AddFoodItemResponse ¶
type AddFoodItemResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CarbonFootprint float64 `protobuf:"fixed64,2,opt,name=carbon_footprint,json=carbonFootprint,proto3" json:"carbon_footprint,omitempty"` // contains filtered or unexported fields }
func (*AddFoodItemResponse) Descriptor
deprecated
func (*AddFoodItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddFoodItemResponse.ProtoReflect.Descriptor instead.
func (*AddFoodItemResponse) GetCarbonFootprint ¶
func (x *AddFoodItemResponse) GetCarbonFootprint() float64
func (*AddFoodItemResponse) GetId ¶
func (x *AddFoodItemResponse) GetId() int32
func (*AddFoodItemResponse) ProtoMessage ¶
func (*AddFoodItemResponse) ProtoMessage()
func (*AddFoodItemResponse) ProtoReflect ¶
func (x *AddFoodItemResponse) ProtoReflect() protoreflect.Message
func (*AddFoodItemResponse) Reset ¶
func (x *AddFoodItemResponse) Reset()
func (*AddFoodItemResponse) String ¶
func (x *AddFoodItemResponse) String() string
func (*AddFoodItemResponse) Validate ¶
func (m *AddFoodItemResponse) Validate() error
Validate checks the field values on AddFoodItemResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddFoodItemResponse) ValidateAll ¶
func (m *AddFoodItemResponse) ValidateAll() error
ValidateAll checks the field values on AddFoodItemResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddFoodItemResponseMultiError, or nil if none found.
type AddFoodItemResponseMultiError ¶
type AddFoodItemResponseMultiError []error
AddFoodItemResponseMultiError is an error wrapping multiple validation errors returned by AddFoodItemResponse.ValidateAll() if the designated constraints aren't met.
func (AddFoodItemResponseMultiError) AllErrors ¶
func (m AddFoodItemResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddFoodItemResponseMultiError) Error ¶
func (m AddFoodItemResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddFoodItemResponseValidationError ¶
type AddFoodItemResponseValidationError struct {
// contains filtered or unexported fields
}
AddFoodItemResponseValidationError is the validation error returned by AddFoodItemResponse.Validate if the designated constraints aren't met.
func (AddFoodItemResponseValidationError) Cause ¶
func (e AddFoodItemResponseValidationError) Cause() error
Cause function returns cause value.
func (AddFoodItemResponseValidationError) Error ¶
func (e AddFoodItemResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddFoodItemResponseValidationError) ErrorName ¶
func (e AddFoodItemResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddFoodItemResponseValidationError) Field ¶
func (e AddFoodItemResponseValidationError) Field() string
Field function returns field value.
func (AddFoodItemResponseValidationError) Key ¶
func (e AddFoodItemResponseValidationError) Key() bool
Key function returns key value.
func (AddFoodItemResponseValidationError) Reason ¶
func (e AddFoodItemResponseValidationError) Reason() string
Reason function returns reason value.
type CarbonFootprintGoalRequest ¶
type CarbonFootprintGoalRequest struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` StartDate *Date `protobuf:"bytes,2,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate *Date `protobuf:"bytes,3,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` StartCarbonFootprint float64 `protobuf:"fixed64,4,opt,name=start_carbon_footprint,json=startCarbonFootprint,proto3" json:"start_carbon_footprint,omitempty"` TargetCarbonFootprint float64 `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CarbonFootprintGoalRequest) Descriptor
deprecated
func (*CarbonFootprintGoalRequest) Descriptor() ([]byte, []int)
Deprecated: Use CarbonFootprintGoalRequest.ProtoReflect.Descriptor instead.
func (*CarbonFootprintGoalRequest) GetDescription ¶
func (x *CarbonFootprintGoalRequest) GetDescription() string
func (*CarbonFootprintGoalRequest) GetEndDate ¶
func (x *CarbonFootprintGoalRequest) GetEndDate() *Date
func (*CarbonFootprintGoalRequest) GetStartCarbonFootprint ¶
func (x *CarbonFootprintGoalRequest) GetStartCarbonFootprint() float64
func (*CarbonFootprintGoalRequest) GetStartDate ¶
func (x *CarbonFootprintGoalRequest) GetStartDate() *Date
func (*CarbonFootprintGoalRequest) GetTargetCarbonFootprint ¶
func (x *CarbonFootprintGoalRequest) GetTargetCarbonFootprint() float64
func (*CarbonFootprintGoalRequest) ProtoMessage ¶
func (*CarbonFootprintGoalRequest) ProtoMessage()
func (*CarbonFootprintGoalRequest) ProtoReflect ¶
func (x *CarbonFootprintGoalRequest) ProtoReflect() protoreflect.Message
func (*CarbonFootprintGoalRequest) Reset ¶
func (x *CarbonFootprintGoalRequest) Reset()
func (*CarbonFootprintGoalRequest) String ¶
func (x *CarbonFootprintGoalRequest) String() string
func (*CarbonFootprintGoalRequest) Validate ¶
func (m *CarbonFootprintGoalRequest) Validate() error
Validate checks the field values on CarbonFootprintGoalRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CarbonFootprintGoalRequest) ValidateAll ¶
func (m *CarbonFootprintGoalRequest) ValidateAll() error
ValidateAll checks the field values on CarbonFootprintGoalRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CarbonFootprintGoalRequestMultiError, or nil if none found.
type CarbonFootprintGoalRequestMultiError ¶
type CarbonFootprintGoalRequestMultiError []error
CarbonFootprintGoalRequestMultiError is an error wrapping multiple validation errors returned by CarbonFootprintGoalRequest.ValidateAll() if the designated constraints aren't met.
func (CarbonFootprintGoalRequestMultiError) AllErrors ¶
func (m CarbonFootprintGoalRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CarbonFootprintGoalRequestMultiError) Error ¶
func (m CarbonFootprintGoalRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CarbonFootprintGoalRequestValidationError ¶
type CarbonFootprintGoalRequestValidationError struct {
// contains filtered or unexported fields
}
CarbonFootprintGoalRequestValidationError is the validation error returned by CarbonFootprintGoalRequest.Validate if the designated constraints aren't met.
func (CarbonFootprintGoalRequestValidationError) Cause ¶
func (e CarbonFootprintGoalRequestValidationError) Cause() error
Cause function returns cause value.
func (CarbonFootprintGoalRequestValidationError) Error ¶
func (e CarbonFootprintGoalRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CarbonFootprintGoalRequestValidationError) ErrorName ¶
func (e CarbonFootprintGoalRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CarbonFootprintGoalRequestValidationError) Field ¶
func (e CarbonFootprintGoalRequestValidationError) Field() string
Field function returns field value.
func (CarbonFootprintGoalRequestValidationError) Key ¶
func (e CarbonFootprintGoalRequestValidationError) Key() bool
Key function returns key value.
func (CarbonFootprintGoalRequestValidationError) Reason ¶
func (e CarbonFootprintGoalRequestValidationError) Reason() string
Reason function returns reason value.
type CarbonFootprintGoalResponse ¶
type CarbonFootprintGoalResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` StartDate *Date `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate *Date `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` StartCarbonFootprint float64 `protobuf:"fixed64,5,opt,name=start_carbon_footprint,json=startCarbonFootprint,proto3" json:"start_carbon_footprint,omitempty"` TargetCarbonFootprint float64 `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CarbonFootprintGoalResponse) Descriptor
deprecated
func (*CarbonFootprintGoalResponse) Descriptor() ([]byte, []int)
Deprecated: Use CarbonFootprintGoalResponse.ProtoReflect.Descriptor instead.
func (*CarbonFootprintGoalResponse) GetDescription ¶
func (x *CarbonFootprintGoalResponse) GetDescription() string
func (*CarbonFootprintGoalResponse) GetEndDate ¶
func (x *CarbonFootprintGoalResponse) GetEndDate() *Date
func (*CarbonFootprintGoalResponse) GetId ¶
func (x *CarbonFootprintGoalResponse) GetId() int32
func (*CarbonFootprintGoalResponse) GetStartCarbonFootprint ¶
func (x *CarbonFootprintGoalResponse) GetStartCarbonFootprint() float64
func (*CarbonFootprintGoalResponse) GetStartDate ¶
func (x *CarbonFootprintGoalResponse) GetStartDate() *Date
func (*CarbonFootprintGoalResponse) GetTargetCarbonFootprint ¶
func (x *CarbonFootprintGoalResponse) GetTargetCarbonFootprint() float64
func (*CarbonFootprintGoalResponse) ProtoMessage ¶
func (*CarbonFootprintGoalResponse) ProtoMessage()
func (*CarbonFootprintGoalResponse) ProtoReflect ¶
func (x *CarbonFootprintGoalResponse) ProtoReflect() protoreflect.Message
func (*CarbonFootprintGoalResponse) Reset ¶
func (x *CarbonFootprintGoalResponse) Reset()
func (*CarbonFootprintGoalResponse) String ¶
func (x *CarbonFootprintGoalResponse) String() string
func (*CarbonFootprintGoalResponse) Validate ¶
func (m *CarbonFootprintGoalResponse) Validate() error
Validate checks the field values on CarbonFootprintGoalResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CarbonFootprintGoalResponse) ValidateAll ¶
func (m *CarbonFootprintGoalResponse) ValidateAll() error
ValidateAll checks the field values on CarbonFootprintGoalResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CarbonFootprintGoalResponseMultiError, or nil if none found.
type CarbonFootprintGoalResponseMultiError ¶
type CarbonFootprintGoalResponseMultiError []error
CarbonFootprintGoalResponseMultiError is an error wrapping multiple validation errors returned by CarbonFootprintGoalResponse.ValidateAll() if the designated constraints aren't met.
func (CarbonFootprintGoalResponseMultiError) AllErrors ¶
func (m CarbonFootprintGoalResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CarbonFootprintGoalResponseMultiError) Error ¶
func (m CarbonFootprintGoalResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CarbonFootprintGoalResponseValidationError ¶
type CarbonFootprintGoalResponseValidationError struct {
// contains filtered or unexported fields
}
CarbonFootprintGoalResponseValidationError is the validation error returned by CarbonFootprintGoalResponse.Validate if the designated constraints aren't met.
func (CarbonFootprintGoalResponseValidationError) Cause ¶
func (e CarbonFootprintGoalResponseValidationError) Cause() error
Cause function returns cause value.
func (CarbonFootprintGoalResponseValidationError) Error ¶
func (e CarbonFootprintGoalResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CarbonFootprintGoalResponseValidationError) ErrorName ¶
func (e CarbonFootprintGoalResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CarbonFootprintGoalResponseValidationError) Field ¶
func (e CarbonFootprintGoalResponseValidationError) Field() string
Field function returns field value.
func (CarbonFootprintGoalResponseValidationError) Key ¶
func (e CarbonFootprintGoalResponseValidationError) Key() bool
Key function returns key value.
func (CarbonFootprintGoalResponseValidationError) Reason ¶
func (e CarbonFootprintGoalResponseValidationError) Reason() string
Reason function returns reason value.
type CreateUserRequest ¶
type CreateUserRequest struct { FirebaseUid string `protobuf:"bytes,1,opt,name=firebase_uid,json=firebaseUid,proto3" json:"firebase_uid,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetFirebaseUid ¶
func (x *CreateUserRequest) GetFirebaseUid() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
func (*CreateUserRequest) Validate ¶
func (m *CreateUserRequest) Validate() error
Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserRequest) ValidateAll ¶
func (m *CreateUserRequest) ValidateAll() error
ValidateAll checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserRequestMultiError, or nil if none found.
type CreateUserRequestMultiError ¶
type CreateUserRequestMultiError []error
CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.
func (CreateUserRequestMultiError) AllErrors ¶
func (m CreateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserRequestMultiError) Error ¶
func (m CreateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserRequestValidationError ¶
type CreateUserRequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.
func (CreateUserRequestValidationError) Cause ¶
func (e CreateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserRequestValidationError) Error ¶
func (e CreateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserRequestValidationError) ErrorName ¶
func (e CreateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserRequestValidationError) Field ¶
func (e CreateUserRequestValidationError) Field() string
Field function returns field value.
func (CreateUserRequestValidationError) Key ¶
func (e CreateUserRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserRequestValidationError) Reason ¶
func (e CreateUserRequestValidationError) Reason() string
Reason function returns reason value.
type CreateUserResponse ¶
type CreateUserResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetId ¶
func (x *CreateUserResponse) GetId() int32
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
func (*CreateUserResponse) Validate ¶
func (m *CreateUserResponse) Validate() error
Validate checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserResponse) ValidateAll ¶
func (m *CreateUserResponse) ValidateAll() error
ValidateAll checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserResponseMultiError, or nil if none found.
type CreateUserResponseMultiError ¶
type CreateUserResponseMultiError []error
CreateUserResponseMultiError is an error wrapping multiple validation errors returned by CreateUserResponse.ValidateAll() if the designated constraints aren't met.
func (CreateUserResponseMultiError) AllErrors ¶
func (m CreateUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserResponseMultiError) Error ¶
func (m CreateUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserResponseValidationError ¶
type CreateUserResponseValidationError struct {
// contains filtered or unexported fields
}
CreateUserResponseValidationError is the validation error returned by CreateUserResponse.Validate if the designated constraints aren't met.
func (CreateUserResponseValidationError) Cause ¶
func (e CreateUserResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateUserResponseValidationError) Error ¶
func (e CreateUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserResponseValidationError) ErrorName ¶
func (e CreateUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserResponseValidationError) Field ¶
func (e CreateUserResponseValidationError) Field() string
Field function returns field value.
func (CreateUserResponseValidationError) Key ¶
func (e CreateUserResponseValidationError) Key() bool
Key function returns key value.
func (CreateUserResponseValidationError) Reason ¶
func (e CreateUserResponseValidationError) Reason() string
Reason function returns reason value.
type Date ¶
type Date struct { // Year of the date. Must be from 1 to 9999. Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` // Month of a year. Must be 1 to 12. Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` // Day of a month. Must be from 1 to 31. Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // contains filtered or unexported fields }
func (*Date) Descriptor
deprecated
func (*Date) ProtoMessage ¶
func (*Date) ProtoMessage()
func (*Date) ProtoReflect ¶
func (x *Date) ProtoReflect() protoreflect.Message
func (*Date) Validate ¶
Validate checks the field values on Date with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Date) ValidateAll ¶
ValidateAll checks the field values on Date with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DateMultiError, or nil if none found.
type DateMultiError ¶
type DateMultiError []error
DateMultiError is an error wrapping multiple validation errors returned by Date.ValidateAll() if the designated constraints aren't met.
func (DateMultiError) AllErrors ¶
func (m DateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DateMultiError) Error ¶
func (m DateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DateRange ¶
type DateRange struct { Start *Date `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End *Date `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*DateRange) Descriptor
deprecated
func (*DateRange) ProtoMessage ¶
func (*DateRange) ProtoMessage()
func (*DateRange) ProtoReflect ¶
func (x *DateRange) ProtoReflect() protoreflect.Message
func (*DateRange) Validate ¶
Validate checks the field values on DateRange with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DateRange) ValidateAll ¶
ValidateAll checks the field values on DateRange with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DateRangeMultiError, or nil if none found.
type DateRangeMultiError ¶
type DateRangeMultiError []error
DateRangeMultiError is an error wrapping multiple validation errors returned by DateRange.ValidateAll() if the designated constraints aren't met.
func (DateRangeMultiError) AllErrors ¶
func (m DateRangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DateRangeMultiError) Error ¶
func (m DateRangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DateRangeValidationError ¶
type DateRangeValidationError struct {
// contains filtered or unexported fields
}
DateRangeValidationError is the validation error returned by DateRange.Validate if the designated constraints aren't met.
func (DateRangeValidationError) Cause ¶
func (e DateRangeValidationError) Cause() error
Cause function returns cause value.
func (DateRangeValidationError) Error ¶
func (e DateRangeValidationError) Error() string
Error satisfies the builtin error interface
func (DateRangeValidationError) ErrorName ¶
func (e DateRangeValidationError) ErrorName() string
ErrorName returns error name.
func (DateRangeValidationError) Field ¶
func (e DateRangeValidationError) Field() string
Field function returns field value.
func (DateRangeValidationError) Key ¶
func (e DateRangeValidationError) Key() bool
Key function returns key value.
func (DateRangeValidationError) Reason ¶
func (e DateRangeValidationError) Reason() string
Reason function returns reason value.
type DateValidationError ¶
type DateValidationError struct {
// contains filtered or unexported fields
}
DateValidationError is the validation error returned by Date.Validate if the designated constraints aren't met.
func (DateValidationError) Cause ¶
func (e DateValidationError) Cause() error
Cause function returns cause value.
func (DateValidationError) Error ¶
func (e DateValidationError) Error() string
Error satisfies the builtin error interface
func (DateValidationError) ErrorName ¶
func (e DateValidationError) ErrorName() string
ErrorName returns error name.
func (DateValidationError) Field ¶
func (e DateValidationError) Field() string
Field function returns field value.
func (DateValidationError) Key ¶
func (e DateValidationError) Key() bool
Key function returns key value.
func (DateValidationError) Reason ¶
func (e DateValidationError) Reason() string
Reason function returns reason value.
type DeleteCarbonFootprintGoalRequest ¶
type DeleteCarbonFootprintGoalRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCarbonFootprintGoalRequest) Descriptor
deprecated
func (*DeleteCarbonFootprintGoalRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCarbonFootprintGoalRequest.ProtoReflect.Descriptor instead.
func (*DeleteCarbonFootprintGoalRequest) GetId ¶
func (x *DeleteCarbonFootprintGoalRequest) GetId() int32
func (*DeleteCarbonFootprintGoalRequest) ProtoMessage ¶
func (*DeleteCarbonFootprintGoalRequest) ProtoMessage()
func (*DeleteCarbonFootprintGoalRequest) ProtoReflect ¶
func (x *DeleteCarbonFootprintGoalRequest) ProtoReflect() protoreflect.Message
func (*DeleteCarbonFootprintGoalRequest) Reset ¶
func (x *DeleteCarbonFootprintGoalRequest) Reset()
func (*DeleteCarbonFootprintGoalRequest) String ¶
func (x *DeleteCarbonFootprintGoalRequest) String() string
func (*DeleteCarbonFootprintGoalRequest) Validate ¶
func (m *DeleteCarbonFootprintGoalRequest) Validate() error
Validate checks the field values on DeleteCarbonFootprintGoalRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteCarbonFootprintGoalRequest) ValidateAll ¶
func (m *DeleteCarbonFootprintGoalRequest) ValidateAll() error
ValidateAll checks the field values on DeleteCarbonFootprintGoalRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCarbonFootprintGoalRequestMultiError, or nil if none found.
type DeleteCarbonFootprintGoalRequestMultiError ¶
type DeleteCarbonFootprintGoalRequestMultiError []error
DeleteCarbonFootprintGoalRequestMultiError is an error wrapping multiple validation errors returned by DeleteCarbonFootprintGoalRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteCarbonFootprintGoalRequestMultiError) AllErrors ¶
func (m DeleteCarbonFootprintGoalRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCarbonFootprintGoalRequestMultiError) Error ¶
func (m DeleteCarbonFootprintGoalRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCarbonFootprintGoalRequestValidationError ¶
type DeleteCarbonFootprintGoalRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteCarbonFootprintGoalRequestValidationError is the validation error returned by DeleteCarbonFootprintGoalRequest.Validate if the designated constraints aren't met.
func (DeleteCarbonFootprintGoalRequestValidationError) Cause ¶
func (e DeleteCarbonFootprintGoalRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteCarbonFootprintGoalRequestValidationError) Error ¶
func (e DeleteCarbonFootprintGoalRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCarbonFootprintGoalRequestValidationError) ErrorName ¶
func (e DeleteCarbonFootprintGoalRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCarbonFootprintGoalRequestValidationError) Field ¶
func (e DeleteCarbonFootprintGoalRequestValidationError) Field() string
Field function returns field value.
func (DeleteCarbonFootprintGoalRequestValidationError) Key ¶
func (e DeleteCarbonFootprintGoalRequestValidationError) Key() bool
Key function returns key value.
func (DeleteCarbonFootprintGoalRequestValidationError) Reason ¶
func (e DeleteCarbonFootprintGoalRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteCarbonFootprintGoalResponse ¶
type DeleteCarbonFootprintGoalResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCarbonFootprintGoalResponse) Descriptor
deprecated
func (*DeleteCarbonFootprintGoalResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCarbonFootprintGoalResponse.ProtoReflect.Descriptor instead.
func (*DeleteCarbonFootprintGoalResponse) ProtoMessage ¶
func (*DeleteCarbonFootprintGoalResponse) ProtoMessage()
func (*DeleteCarbonFootprintGoalResponse) ProtoReflect ¶
func (x *DeleteCarbonFootprintGoalResponse) ProtoReflect() protoreflect.Message
func (*DeleteCarbonFootprintGoalResponse) Reset ¶
func (x *DeleteCarbonFootprintGoalResponse) Reset()
func (*DeleteCarbonFootprintGoalResponse) String ¶
func (x *DeleteCarbonFootprintGoalResponse) String() string
func (*DeleteCarbonFootprintGoalResponse) Validate ¶
func (m *DeleteCarbonFootprintGoalResponse) Validate() error
Validate checks the field values on DeleteCarbonFootprintGoalResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteCarbonFootprintGoalResponse) ValidateAll ¶
func (m *DeleteCarbonFootprintGoalResponse) ValidateAll() error
ValidateAll checks the field values on DeleteCarbonFootprintGoalResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCarbonFootprintGoalResponseMultiError, or nil if none found.
type DeleteCarbonFootprintGoalResponseMultiError ¶
type DeleteCarbonFootprintGoalResponseMultiError []error
DeleteCarbonFootprintGoalResponseMultiError is an error wrapping multiple validation errors returned by DeleteCarbonFootprintGoalResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteCarbonFootprintGoalResponseMultiError) AllErrors ¶
func (m DeleteCarbonFootprintGoalResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCarbonFootprintGoalResponseMultiError) Error ¶
func (m DeleteCarbonFootprintGoalResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCarbonFootprintGoalResponseValidationError ¶
type DeleteCarbonFootprintGoalResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteCarbonFootprintGoalResponseValidationError is the validation error returned by DeleteCarbonFootprintGoalResponse.Validate if the designated constraints aren't met.
func (DeleteCarbonFootprintGoalResponseValidationError) Cause ¶
func (e DeleteCarbonFootprintGoalResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteCarbonFootprintGoalResponseValidationError) Error ¶
func (e DeleteCarbonFootprintGoalResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCarbonFootprintGoalResponseValidationError) ErrorName ¶
func (e DeleteCarbonFootprintGoalResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCarbonFootprintGoalResponseValidationError) Field ¶
func (e DeleteCarbonFootprintGoalResponseValidationError) Field() string
Field function returns field value.
func (DeleteCarbonFootprintGoalResponseValidationError) Key ¶
func (e DeleteCarbonFootprintGoalResponseValidationError) Key() bool
Key function returns key value.
func (DeleteCarbonFootprintGoalResponseValidationError) Reason ¶
func (e DeleteCarbonFootprintGoalResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteFoodItemRequest ¶
type DeleteFoodItemRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFoodItemRequest) Descriptor
deprecated
func (*DeleteFoodItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFoodItemRequest.ProtoReflect.Descriptor instead.
func (*DeleteFoodItemRequest) GetId ¶
func (x *DeleteFoodItemRequest) GetId() int32
func (*DeleteFoodItemRequest) ProtoMessage ¶
func (*DeleteFoodItemRequest) ProtoMessage()
func (*DeleteFoodItemRequest) ProtoReflect ¶
func (x *DeleteFoodItemRequest) ProtoReflect() protoreflect.Message
func (*DeleteFoodItemRequest) Reset ¶
func (x *DeleteFoodItemRequest) Reset()
func (*DeleteFoodItemRequest) String ¶
func (x *DeleteFoodItemRequest) String() string
func (*DeleteFoodItemRequest) Validate ¶
func (m *DeleteFoodItemRequest) Validate() error
Validate checks the field values on DeleteFoodItemRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteFoodItemRequest) ValidateAll ¶
func (m *DeleteFoodItemRequest) ValidateAll() error
ValidateAll checks the field values on DeleteFoodItemRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteFoodItemRequestMultiError, or nil if none found.
type DeleteFoodItemRequestMultiError ¶
type DeleteFoodItemRequestMultiError []error
DeleteFoodItemRequestMultiError is an error wrapping multiple validation errors returned by DeleteFoodItemRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteFoodItemRequestMultiError) AllErrors ¶
func (m DeleteFoodItemRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteFoodItemRequestMultiError) Error ¶
func (m DeleteFoodItemRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteFoodItemRequestValidationError ¶
type DeleteFoodItemRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteFoodItemRequestValidationError is the validation error returned by DeleteFoodItemRequest.Validate if the designated constraints aren't met.
func (DeleteFoodItemRequestValidationError) Cause ¶
func (e DeleteFoodItemRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteFoodItemRequestValidationError) Error ¶
func (e DeleteFoodItemRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteFoodItemRequestValidationError) ErrorName ¶
func (e DeleteFoodItemRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteFoodItemRequestValidationError) Field ¶
func (e DeleteFoodItemRequestValidationError) Field() string
Field function returns field value.
func (DeleteFoodItemRequestValidationError) Key ¶
func (e DeleteFoodItemRequestValidationError) Key() bool
Key function returns key value.
func (DeleteFoodItemRequestValidationError) Reason ¶
func (e DeleteFoodItemRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteFoodItemResponse ¶
type DeleteFoodItemResponse struct {
// contains filtered or unexported fields
}
func (*DeleteFoodItemResponse) Descriptor
deprecated
func (*DeleteFoodItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFoodItemResponse.ProtoReflect.Descriptor instead.
func (*DeleteFoodItemResponse) ProtoMessage ¶
func (*DeleteFoodItemResponse) ProtoMessage()
func (*DeleteFoodItemResponse) ProtoReflect ¶
func (x *DeleteFoodItemResponse) ProtoReflect() protoreflect.Message
func (*DeleteFoodItemResponse) Reset ¶
func (x *DeleteFoodItemResponse) Reset()
func (*DeleteFoodItemResponse) String ¶
func (x *DeleteFoodItemResponse) String() string
func (*DeleteFoodItemResponse) Validate ¶
func (m *DeleteFoodItemResponse) Validate() error
Validate checks the field values on DeleteFoodItemResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteFoodItemResponse) ValidateAll ¶
func (m *DeleteFoodItemResponse) ValidateAll() error
ValidateAll checks the field values on DeleteFoodItemResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteFoodItemResponseMultiError, or nil if none found.
type DeleteFoodItemResponseMultiError ¶
type DeleteFoodItemResponseMultiError []error
DeleteFoodItemResponseMultiError is an error wrapping multiple validation errors returned by DeleteFoodItemResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteFoodItemResponseMultiError) AllErrors ¶
func (m DeleteFoodItemResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteFoodItemResponseMultiError) Error ¶
func (m DeleteFoodItemResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteFoodItemResponseValidationError ¶
type DeleteFoodItemResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteFoodItemResponseValidationError is the validation error returned by DeleteFoodItemResponse.Validate if the designated constraints aren't met.
func (DeleteFoodItemResponseValidationError) Cause ¶
func (e DeleteFoodItemResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteFoodItemResponseValidationError) Error ¶
func (e DeleteFoodItemResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteFoodItemResponseValidationError) ErrorName ¶
func (e DeleteFoodItemResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteFoodItemResponseValidationError) Field ¶
func (e DeleteFoodItemResponseValidationError) Field() string
Field function returns field value.
func (DeleteFoodItemResponseValidationError) Key ¶
func (e DeleteFoodItemResponseValidationError) Key() bool
Key function returns key value.
func (DeleteFoodItemResponseValidationError) Reason ¶
func (e DeleteFoodItemResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteUserRequest ¶
type DeleteUserRequest struct {
// contains filtered or unexported fields
}
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
func (*DeleteUserRequest) Validate ¶
func (m *DeleteUserRequest) Validate() error
Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUserRequest) ValidateAll ¶
func (m *DeleteUserRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserRequestMultiError, or nil if none found.
type DeleteUserRequestMultiError ¶
type DeleteUserRequestMultiError []error
DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserRequestMultiError) AllErrors ¶
func (m DeleteUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserRequestMultiError) Error ¶
func (m DeleteUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserRequestValidationError ¶
type DeleteUserRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.
func (DeleteUserRequestValidationError) Cause ¶
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶
func (e DeleteUserRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserResponse ¶
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
func (*DeleteUserResponse) Validate ¶
func (m *DeleteUserResponse) Validate() error
Validate checks the field values on DeleteUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUserResponse) ValidateAll ¶
func (m *DeleteUserResponse) ValidateAll() error
ValidateAll checks the field values on DeleteUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserResponseMultiError, or nil if none found.
type DeleteUserResponseMultiError ¶
type DeleteUserResponseMultiError []error
DeleteUserResponseMultiError is an error wrapping multiple validation errors returned by DeleteUserResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteUserResponseMultiError) AllErrors ¶
func (m DeleteUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserResponseMultiError) Error ¶
func (m DeleteUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserResponseValidationError ¶
type DeleteUserResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteUserResponseValidationError is the validation error returned by DeleteUserResponse.Validate if the designated constraints aren't met.
func (DeleteUserResponseValidationError) Cause ¶
func (e DeleteUserResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserResponseValidationError) Error ¶
func (e DeleteUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserResponseValidationError) ErrorName ¶
func (e DeleteUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserResponseValidationError) Field ¶
func (e DeleteUserResponseValidationError) Field() string
Field function returns field value.
func (DeleteUserResponseValidationError) Key ¶
func (e DeleteUserResponseValidationError) Key() bool
Key function returns key value.
func (DeleteUserResponseValidationError) Reason ¶
func (e DeleteUserResponseValidationError) Reason() string
Reason function returns reason value.
type FoodLogItemRequest ¶
type FoodLogItemRequest struct { FoodItemId int32 `protobuf:"varint,1,opt,name=food_item_id,json=foodItemId,proto3" json:"food_item_id,omitempty"` Quantity float64 `protobuf:"fixed64,2,opt,name=quantity,proto3" json:"quantity,omitempty"` Date *Date `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` Unit Unit `protobuf:"varint,4,opt,name=unit,proto3,enum=neutral_diet.user.v1.Unit" json:"unit,omitempty"` Region v1.Region `protobuf:"varint,5,opt,name=region,proto3,enum=neutral_diet.food.v1.Region" json:"region,omitempty"` Meal Meal `protobuf:"varint,6,opt,name=meal,proto3,enum=neutral_diet.user.v1.Meal" json:"meal,omitempty"` // contains filtered or unexported fields }
func (*FoodLogItemRequest) Descriptor
deprecated
func (*FoodLogItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use FoodLogItemRequest.ProtoReflect.Descriptor instead.
func (*FoodLogItemRequest) GetDate ¶
func (x *FoodLogItemRequest) GetDate() *Date
func (*FoodLogItemRequest) GetFoodItemId ¶
func (x *FoodLogItemRequest) GetFoodItemId() int32
func (*FoodLogItemRequest) GetMeal ¶
func (x *FoodLogItemRequest) GetMeal() Meal
func (*FoodLogItemRequest) GetQuantity ¶
func (x *FoodLogItemRequest) GetQuantity() float64
func (*FoodLogItemRequest) GetRegion ¶
func (x *FoodLogItemRequest) GetRegion() v1.Region
func (*FoodLogItemRequest) GetUnit ¶
func (x *FoodLogItemRequest) GetUnit() Unit
func (*FoodLogItemRequest) ProtoMessage ¶
func (*FoodLogItemRequest) ProtoMessage()
func (*FoodLogItemRequest) ProtoReflect ¶
func (x *FoodLogItemRequest) ProtoReflect() protoreflect.Message
func (*FoodLogItemRequest) Reset ¶
func (x *FoodLogItemRequest) Reset()
func (*FoodLogItemRequest) String ¶
func (x *FoodLogItemRequest) String() string
func (*FoodLogItemRequest) Validate ¶
func (m *FoodLogItemRequest) Validate() error
Validate checks the field values on FoodLogItemRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FoodLogItemRequest) ValidateAll ¶
func (m *FoodLogItemRequest) ValidateAll() error
ValidateAll checks the field values on FoodLogItemRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FoodLogItemRequestMultiError, or nil if none found.
type FoodLogItemRequestMultiError ¶
type FoodLogItemRequestMultiError []error
FoodLogItemRequestMultiError is an error wrapping multiple validation errors returned by FoodLogItemRequest.ValidateAll() if the designated constraints aren't met.
func (FoodLogItemRequestMultiError) AllErrors ¶
func (m FoodLogItemRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FoodLogItemRequestMultiError) Error ¶
func (m FoodLogItemRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FoodLogItemRequestValidationError ¶
type FoodLogItemRequestValidationError struct {
// contains filtered or unexported fields
}
FoodLogItemRequestValidationError is the validation error returned by FoodLogItemRequest.Validate if the designated constraints aren't met.
func (FoodLogItemRequestValidationError) Cause ¶
func (e FoodLogItemRequestValidationError) Cause() error
Cause function returns cause value.
func (FoodLogItemRequestValidationError) Error ¶
func (e FoodLogItemRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FoodLogItemRequestValidationError) ErrorName ¶
func (e FoodLogItemRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FoodLogItemRequestValidationError) Field ¶
func (e FoodLogItemRequestValidationError) Field() string
Field function returns field value.
func (FoodLogItemRequestValidationError) Key ¶
func (e FoodLogItemRequestValidationError) Key() bool
Key function returns key value.
func (FoodLogItemRequestValidationError) Reason ¶
func (e FoodLogItemRequestValidationError) Reason() string
Reason function returns reason value.
type FoodLogItemResponse ¶
type FoodLogItemResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FoodItemId int32 `protobuf:"varint,2,opt,name=food_item_id,json=foodItemId,proto3" json:"food_item_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Quantity float64 `protobuf:"fixed64,4,opt,name=quantity,proto3" json:"quantity,omitempty"` CarbonFootprint float64 `protobuf:"fixed64,5,opt,name=carbon_footprint,json=carbonFootprint,proto3" json:"carbon_footprint,omitempty"` Date *Date `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"` Unit Unit `protobuf:"varint,7,opt,name=unit,proto3,enum=neutral_diet.user.v1.Unit" json:"unit,omitempty"` Region v1.Region `protobuf:"varint,8,opt,name=region,proto3,enum=neutral_diet.food.v1.Region" json:"region,omitempty"` Meal Meal `protobuf:"varint,9,opt,name=meal,proto3,enum=neutral_diet.user.v1.Meal" json:"meal,omitempty"` // contains filtered or unexported fields }
func (*FoodLogItemResponse) Descriptor
deprecated
func (*FoodLogItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use FoodLogItemResponse.ProtoReflect.Descriptor instead.
func (*FoodLogItemResponse) GetCarbonFootprint ¶
func (x *FoodLogItemResponse) GetCarbonFootprint() float64
func (*FoodLogItemResponse) GetDate ¶
func (x *FoodLogItemResponse) GetDate() *Date
func (*FoodLogItemResponse) GetFoodItemId ¶
func (x *FoodLogItemResponse) GetFoodItemId() int32
func (*FoodLogItemResponse) GetId ¶
func (x *FoodLogItemResponse) GetId() int32
func (*FoodLogItemResponse) GetMeal ¶
func (x *FoodLogItemResponse) GetMeal() Meal
func (*FoodLogItemResponse) GetName ¶
func (x *FoodLogItemResponse) GetName() string
func (*FoodLogItemResponse) GetQuantity ¶
func (x *FoodLogItemResponse) GetQuantity() float64
func (*FoodLogItemResponse) GetRegion ¶
func (x *FoodLogItemResponse) GetRegion() v1.Region
func (*FoodLogItemResponse) GetUnit ¶
func (x *FoodLogItemResponse) GetUnit() Unit
func (*FoodLogItemResponse) ProtoMessage ¶
func (*FoodLogItemResponse) ProtoMessage()
func (*FoodLogItemResponse) ProtoReflect ¶
func (x *FoodLogItemResponse) ProtoReflect() protoreflect.Message
func (*FoodLogItemResponse) Reset ¶
func (x *FoodLogItemResponse) Reset()
func (*FoodLogItemResponse) String ¶
func (x *FoodLogItemResponse) String() string
func (*FoodLogItemResponse) Validate ¶
func (m *FoodLogItemResponse) Validate() error
Validate checks the field values on FoodLogItemResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FoodLogItemResponse) ValidateAll ¶
func (m *FoodLogItemResponse) ValidateAll() error
ValidateAll checks the field values on FoodLogItemResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FoodLogItemResponseMultiError, or nil if none found.
type FoodLogItemResponseMultiError ¶
type FoodLogItemResponseMultiError []error
FoodLogItemResponseMultiError is an error wrapping multiple validation errors returned by FoodLogItemResponse.ValidateAll() if the designated constraints aren't met.
func (FoodLogItemResponseMultiError) AllErrors ¶
func (m FoodLogItemResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FoodLogItemResponseMultiError) Error ¶
func (m FoodLogItemResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FoodLogItemResponseValidationError ¶
type FoodLogItemResponseValidationError struct {
// contains filtered or unexported fields
}
FoodLogItemResponseValidationError is the validation error returned by FoodLogItemResponse.Validate if the designated constraints aren't met.
func (FoodLogItemResponseValidationError) Cause ¶
func (e FoodLogItemResponseValidationError) Cause() error
Cause function returns cause value.
func (FoodLogItemResponseValidationError) Error ¶
func (e FoodLogItemResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FoodLogItemResponseValidationError) ErrorName ¶
func (e FoodLogItemResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FoodLogItemResponseValidationError) Field ¶
func (e FoodLogItemResponseValidationError) Field() string
Field function returns field value.
func (FoodLogItemResponseValidationError) Key ¶
func (e FoodLogItemResponseValidationError) Key() bool
Key function returns key value.
func (FoodLogItemResponseValidationError) Reason ¶
func (e FoodLogItemResponseValidationError) Reason() string
Reason function returns reason value.
type GetCarbonFootprintGoalsRequest ¶
type GetCarbonFootprintGoalsRequest struct {
// contains filtered or unexported fields
}
func (*GetCarbonFootprintGoalsRequest) Descriptor
deprecated
func (*GetCarbonFootprintGoalsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCarbonFootprintGoalsRequest.ProtoReflect.Descriptor instead.
func (*GetCarbonFootprintGoalsRequest) ProtoMessage ¶
func (*GetCarbonFootprintGoalsRequest) ProtoMessage()
func (*GetCarbonFootprintGoalsRequest) ProtoReflect ¶
func (x *GetCarbonFootprintGoalsRequest) ProtoReflect() protoreflect.Message
func (*GetCarbonFootprintGoalsRequest) Reset ¶
func (x *GetCarbonFootprintGoalsRequest) Reset()
func (*GetCarbonFootprintGoalsRequest) String ¶
func (x *GetCarbonFootprintGoalsRequest) String() string
func (*GetCarbonFootprintGoalsRequest) Validate ¶
func (m *GetCarbonFootprintGoalsRequest) Validate() error
Validate checks the field values on GetCarbonFootprintGoalsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCarbonFootprintGoalsRequest) ValidateAll ¶
func (m *GetCarbonFootprintGoalsRequest) ValidateAll() error
ValidateAll checks the field values on GetCarbonFootprintGoalsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCarbonFootprintGoalsRequestMultiError, or nil if none found.
type GetCarbonFootprintGoalsRequestMultiError ¶
type GetCarbonFootprintGoalsRequestMultiError []error
GetCarbonFootprintGoalsRequestMultiError is an error wrapping multiple validation errors returned by GetCarbonFootprintGoalsRequest.ValidateAll() if the designated constraints aren't met.
func (GetCarbonFootprintGoalsRequestMultiError) AllErrors ¶
func (m GetCarbonFootprintGoalsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCarbonFootprintGoalsRequestMultiError) Error ¶
func (m GetCarbonFootprintGoalsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCarbonFootprintGoalsRequestValidationError ¶
type GetCarbonFootprintGoalsRequestValidationError struct {
// contains filtered or unexported fields
}
GetCarbonFootprintGoalsRequestValidationError is the validation error returned by GetCarbonFootprintGoalsRequest.Validate if the designated constraints aren't met.
func (GetCarbonFootprintGoalsRequestValidationError) Cause ¶
func (e GetCarbonFootprintGoalsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCarbonFootprintGoalsRequestValidationError) Error ¶
func (e GetCarbonFootprintGoalsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCarbonFootprintGoalsRequestValidationError) ErrorName ¶
func (e GetCarbonFootprintGoalsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCarbonFootprintGoalsRequestValidationError) Field ¶
func (e GetCarbonFootprintGoalsRequestValidationError) Field() string
Field function returns field value.
func (GetCarbonFootprintGoalsRequestValidationError) Key ¶
func (e GetCarbonFootprintGoalsRequestValidationError) Key() bool
Key function returns key value.
func (GetCarbonFootprintGoalsRequestValidationError) Reason ¶
func (e GetCarbonFootprintGoalsRequestValidationError) Reason() string
Reason function returns reason value.
type GetCarbonFootprintGoalsResponse ¶
type GetCarbonFootprintGoalsResponse struct { Completed []*CarbonFootprintGoalResponse `protobuf:"bytes,1,rep,name=completed,proto3" json:"completed,omitempty"` Active []*CarbonFootprintGoalResponse `protobuf:"bytes,2,rep,name=active,proto3" json:"active,omitempty"` // contains filtered or unexported fields }
func (*GetCarbonFootprintGoalsResponse) Descriptor
deprecated
func (*GetCarbonFootprintGoalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCarbonFootprintGoalsResponse.ProtoReflect.Descriptor instead.
func (*GetCarbonFootprintGoalsResponse) GetActive ¶
func (x *GetCarbonFootprintGoalsResponse) GetActive() []*CarbonFootprintGoalResponse
func (*GetCarbonFootprintGoalsResponse) GetCompleted ¶
func (x *GetCarbonFootprintGoalsResponse) GetCompleted() []*CarbonFootprintGoalResponse
func (*GetCarbonFootprintGoalsResponse) ProtoMessage ¶
func (*GetCarbonFootprintGoalsResponse) ProtoMessage()
func (*GetCarbonFootprintGoalsResponse) ProtoReflect ¶
func (x *GetCarbonFootprintGoalsResponse) ProtoReflect() protoreflect.Message
func (*GetCarbonFootprintGoalsResponse) Reset ¶
func (x *GetCarbonFootprintGoalsResponse) Reset()
func (*GetCarbonFootprintGoalsResponse) String ¶
func (x *GetCarbonFootprintGoalsResponse) String() string
func (*GetCarbonFootprintGoalsResponse) Validate ¶
func (m *GetCarbonFootprintGoalsResponse) Validate() error
Validate checks the field values on GetCarbonFootprintGoalsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCarbonFootprintGoalsResponse) ValidateAll ¶
func (m *GetCarbonFootprintGoalsResponse) ValidateAll() error
ValidateAll checks the field values on GetCarbonFootprintGoalsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCarbonFootprintGoalsResponseMultiError, or nil if none found.
type GetCarbonFootprintGoalsResponseMultiError ¶
type GetCarbonFootprintGoalsResponseMultiError []error
GetCarbonFootprintGoalsResponseMultiError is an error wrapping multiple validation errors returned by GetCarbonFootprintGoalsResponse.ValidateAll() if the designated constraints aren't met.
func (GetCarbonFootprintGoalsResponseMultiError) AllErrors ¶
func (m GetCarbonFootprintGoalsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCarbonFootprintGoalsResponseMultiError) Error ¶
func (m GetCarbonFootprintGoalsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCarbonFootprintGoalsResponseValidationError ¶
type GetCarbonFootprintGoalsResponseValidationError struct {
// contains filtered or unexported fields
}
GetCarbonFootprintGoalsResponseValidationError is the validation error returned by GetCarbonFootprintGoalsResponse.Validate if the designated constraints aren't met.
func (GetCarbonFootprintGoalsResponseValidationError) Cause ¶
func (e GetCarbonFootprintGoalsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetCarbonFootprintGoalsResponseValidationError) Error ¶
func (e GetCarbonFootprintGoalsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetCarbonFootprintGoalsResponseValidationError) ErrorName ¶
func (e GetCarbonFootprintGoalsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetCarbonFootprintGoalsResponseValidationError) Field ¶
func (e GetCarbonFootprintGoalsResponseValidationError) Field() string
Field function returns field value.
func (GetCarbonFootprintGoalsResponseValidationError) Key ¶
func (e GetCarbonFootprintGoalsResponseValidationError) Key() bool
Key function returns key value.
func (GetCarbonFootprintGoalsResponseValidationError) Reason ¶
func (e GetCarbonFootprintGoalsResponseValidationError) Reason() string
Reason function returns reason value.
type GetFoodItemLogDaysRequest ¶
type GetFoodItemLogDaysRequest struct { Month int32 `protobuf:"varint,1,opt,name=month,proto3" json:"month,omitempty"` Year int32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"` // contains filtered or unexported fields }
func (*GetFoodItemLogDaysRequest) Descriptor
deprecated
func (*GetFoodItemLogDaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFoodItemLogDaysRequest.ProtoReflect.Descriptor instead.
func (*GetFoodItemLogDaysRequest) GetMonth ¶
func (x *GetFoodItemLogDaysRequest) GetMonth() int32
func (*GetFoodItemLogDaysRequest) GetYear ¶
func (x *GetFoodItemLogDaysRequest) GetYear() int32
func (*GetFoodItemLogDaysRequest) ProtoMessage ¶
func (*GetFoodItemLogDaysRequest) ProtoMessage()
func (*GetFoodItemLogDaysRequest) ProtoReflect ¶
func (x *GetFoodItemLogDaysRequest) ProtoReflect() protoreflect.Message
func (*GetFoodItemLogDaysRequest) Reset ¶
func (x *GetFoodItemLogDaysRequest) Reset()
func (*GetFoodItemLogDaysRequest) String ¶
func (x *GetFoodItemLogDaysRequest) String() string
func (*GetFoodItemLogDaysRequest) Validate ¶
func (m *GetFoodItemLogDaysRequest) Validate() error
Validate checks the field values on GetFoodItemLogDaysRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetFoodItemLogDaysRequest) ValidateAll ¶
func (m *GetFoodItemLogDaysRequest) ValidateAll() error
ValidateAll checks the field values on GetFoodItemLogDaysRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFoodItemLogDaysRequestMultiError, or nil if none found.
type GetFoodItemLogDaysRequestMultiError ¶
type GetFoodItemLogDaysRequestMultiError []error
GetFoodItemLogDaysRequestMultiError is an error wrapping multiple validation errors returned by GetFoodItemLogDaysRequest.ValidateAll() if the designated constraints aren't met.
func (GetFoodItemLogDaysRequestMultiError) AllErrors ¶
func (m GetFoodItemLogDaysRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFoodItemLogDaysRequestMultiError) Error ¶
func (m GetFoodItemLogDaysRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFoodItemLogDaysRequestValidationError ¶
type GetFoodItemLogDaysRequestValidationError struct {
// contains filtered or unexported fields
}
GetFoodItemLogDaysRequestValidationError is the validation error returned by GetFoodItemLogDaysRequest.Validate if the designated constraints aren't met.
func (GetFoodItemLogDaysRequestValidationError) Cause ¶
func (e GetFoodItemLogDaysRequestValidationError) Cause() error
Cause function returns cause value.
func (GetFoodItemLogDaysRequestValidationError) Error ¶
func (e GetFoodItemLogDaysRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetFoodItemLogDaysRequestValidationError) ErrorName ¶
func (e GetFoodItemLogDaysRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetFoodItemLogDaysRequestValidationError) Field ¶
func (e GetFoodItemLogDaysRequestValidationError) Field() string
Field function returns field value.
func (GetFoodItemLogDaysRequestValidationError) Key ¶
func (e GetFoodItemLogDaysRequestValidationError) Key() bool
Key function returns key value.
func (GetFoodItemLogDaysRequestValidationError) Reason ¶
func (e GetFoodItemLogDaysRequestValidationError) Reason() string
Reason function returns reason value.
type GetFoodItemLogDaysResponse ¶
type GetFoodItemLogDaysResponse struct { Days []int32 `protobuf:"varint,1,rep,packed,name=days,proto3" json:"days,omitempty"` // contains filtered or unexported fields }
func (*GetFoodItemLogDaysResponse) Descriptor
deprecated
func (*GetFoodItemLogDaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFoodItemLogDaysResponse.ProtoReflect.Descriptor instead.
func (*GetFoodItemLogDaysResponse) GetDays ¶
func (x *GetFoodItemLogDaysResponse) GetDays() []int32
func (*GetFoodItemLogDaysResponse) ProtoMessage ¶
func (*GetFoodItemLogDaysResponse) ProtoMessage()
func (*GetFoodItemLogDaysResponse) ProtoReflect ¶
func (x *GetFoodItemLogDaysResponse) ProtoReflect() protoreflect.Message
func (*GetFoodItemLogDaysResponse) Reset ¶
func (x *GetFoodItemLogDaysResponse) Reset()
func (*GetFoodItemLogDaysResponse) String ¶
func (x *GetFoodItemLogDaysResponse) String() string
func (*GetFoodItemLogDaysResponse) Validate ¶
func (m *GetFoodItemLogDaysResponse) Validate() error
Validate checks the field values on GetFoodItemLogDaysResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetFoodItemLogDaysResponse) ValidateAll ¶
func (m *GetFoodItemLogDaysResponse) ValidateAll() error
ValidateAll checks the field values on GetFoodItemLogDaysResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFoodItemLogDaysResponseMultiError, or nil if none found.
type GetFoodItemLogDaysResponseMultiError ¶
type GetFoodItemLogDaysResponseMultiError []error
GetFoodItemLogDaysResponseMultiError is an error wrapping multiple validation errors returned by GetFoodItemLogDaysResponse.ValidateAll() if the designated constraints aren't met.
func (GetFoodItemLogDaysResponseMultiError) AllErrors ¶
func (m GetFoodItemLogDaysResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFoodItemLogDaysResponseMultiError) Error ¶
func (m GetFoodItemLogDaysResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFoodItemLogDaysResponseValidationError ¶
type GetFoodItemLogDaysResponseValidationError struct {
// contains filtered or unexported fields
}
GetFoodItemLogDaysResponseValidationError is the validation error returned by GetFoodItemLogDaysResponse.Validate if the designated constraints aren't met.
func (GetFoodItemLogDaysResponseValidationError) Cause ¶
func (e GetFoodItemLogDaysResponseValidationError) Cause() error
Cause function returns cause value.
func (GetFoodItemLogDaysResponseValidationError) Error ¶
func (e GetFoodItemLogDaysResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetFoodItemLogDaysResponseValidationError) ErrorName ¶
func (e GetFoodItemLogDaysResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetFoodItemLogDaysResponseValidationError) Field ¶
func (e GetFoodItemLogDaysResponseValidationError) Field() string
Field function returns field value.
func (GetFoodItemLogDaysResponseValidationError) Key ¶
func (e GetFoodItemLogDaysResponseValidationError) Key() bool
Key function returns key value.
func (GetFoodItemLogDaysResponseValidationError) Reason ¶
func (e GetFoodItemLogDaysResponseValidationError) Reason() string
Reason function returns reason value.
type GetFoodItemLogRequest ¶
type GetFoodItemLogRequest struct { Date *Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
func (*GetFoodItemLogRequest) Descriptor
deprecated
func (*GetFoodItemLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFoodItemLogRequest.ProtoReflect.Descriptor instead.
func (*GetFoodItemLogRequest) GetDate ¶
func (x *GetFoodItemLogRequest) GetDate() *Date
func (*GetFoodItemLogRequest) ProtoMessage ¶
func (*GetFoodItemLogRequest) ProtoMessage()
func (*GetFoodItemLogRequest) ProtoReflect ¶
func (x *GetFoodItemLogRequest) ProtoReflect() protoreflect.Message
func (*GetFoodItemLogRequest) Reset ¶
func (x *GetFoodItemLogRequest) Reset()
func (*GetFoodItemLogRequest) String ¶
func (x *GetFoodItemLogRequest) String() string
func (*GetFoodItemLogRequest) Validate ¶
func (m *GetFoodItemLogRequest) Validate() error
Validate checks the field values on GetFoodItemLogRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetFoodItemLogRequest) ValidateAll ¶
func (m *GetFoodItemLogRequest) ValidateAll() error
ValidateAll checks the field values on GetFoodItemLogRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFoodItemLogRequestMultiError, or nil if none found.
type GetFoodItemLogRequestMultiError ¶
type GetFoodItemLogRequestMultiError []error
GetFoodItemLogRequestMultiError is an error wrapping multiple validation errors returned by GetFoodItemLogRequest.ValidateAll() if the designated constraints aren't met.
func (GetFoodItemLogRequestMultiError) AllErrors ¶
func (m GetFoodItemLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFoodItemLogRequestMultiError) Error ¶
func (m GetFoodItemLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFoodItemLogRequestValidationError ¶
type GetFoodItemLogRequestValidationError struct {
// contains filtered or unexported fields
}
GetFoodItemLogRequestValidationError is the validation error returned by GetFoodItemLogRequest.Validate if the designated constraints aren't met.
func (GetFoodItemLogRequestValidationError) Cause ¶
func (e GetFoodItemLogRequestValidationError) Cause() error
Cause function returns cause value.
func (GetFoodItemLogRequestValidationError) Error ¶
func (e GetFoodItemLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetFoodItemLogRequestValidationError) ErrorName ¶
func (e GetFoodItemLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetFoodItemLogRequestValidationError) Field ¶
func (e GetFoodItemLogRequestValidationError) Field() string
Field function returns field value.
func (GetFoodItemLogRequestValidationError) Key ¶
func (e GetFoodItemLogRequestValidationError) Key() bool
Key function returns key value.
func (GetFoodItemLogRequestValidationError) Reason ¶
func (e GetFoodItemLogRequestValidationError) Reason() string
Reason function returns reason value.
type GetFoodItemLogResponse ¶
type GetFoodItemLogResponse struct { FoodItemLog []*FoodLogItemResponse `protobuf:"bytes,1,rep,name=food_item_log,json=foodItemLog,proto3" json:"food_item_log,omitempty"` // contains filtered or unexported fields }
func (*GetFoodItemLogResponse) Descriptor
deprecated
func (*GetFoodItemLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFoodItemLogResponse.ProtoReflect.Descriptor instead.
func (*GetFoodItemLogResponse) GetFoodItemLog ¶
func (x *GetFoodItemLogResponse) GetFoodItemLog() []*FoodLogItemResponse
func (*GetFoodItemLogResponse) ProtoMessage ¶
func (*GetFoodItemLogResponse) ProtoMessage()
func (*GetFoodItemLogResponse) ProtoReflect ¶
func (x *GetFoodItemLogResponse) ProtoReflect() protoreflect.Message
func (*GetFoodItemLogResponse) Reset ¶
func (x *GetFoodItemLogResponse) Reset()
func (*GetFoodItemLogResponse) String ¶
func (x *GetFoodItemLogResponse) String() string
func (*GetFoodItemLogResponse) Validate ¶
func (m *GetFoodItemLogResponse) Validate() error
Validate checks the field values on GetFoodItemLogResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetFoodItemLogResponse) ValidateAll ¶
func (m *GetFoodItemLogResponse) ValidateAll() error
ValidateAll checks the field values on GetFoodItemLogResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFoodItemLogResponseMultiError, or nil if none found.
type GetFoodItemLogResponseMultiError ¶
type GetFoodItemLogResponseMultiError []error
GetFoodItemLogResponseMultiError is an error wrapping multiple validation errors returned by GetFoodItemLogResponse.ValidateAll() if the designated constraints aren't met.
func (GetFoodItemLogResponseMultiError) AllErrors ¶
func (m GetFoodItemLogResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFoodItemLogResponseMultiError) Error ¶
func (m GetFoodItemLogResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFoodItemLogResponseValidationError ¶
type GetFoodItemLogResponseValidationError struct {
// contains filtered or unexported fields
}
GetFoodItemLogResponseValidationError is the validation error returned by GetFoodItemLogResponse.Validate if the designated constraints aren't met.
func (GetFoodItemLogResponseValidationError) Cause ¶
func (e GetFoodItemLogResponseValidationError) Cause() error
Cause function returns cause value.
func (GetFoodItemLogResponseValidationError) Error ¶
func (e GetFoodItemLogResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetFoodItemLogResponseValidationError) ErrorName ¶
func (e GetFoodItemLogResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetFoodItemLogResponseValidationError) Field ¶
func (e GetFoodItemLogResponseValidationError) Field() string
Field function returns field value.
func (GetFoodItemLogResponseValidationError) Key ¶
func (e GetFoodItemLogResponseValidationError) Key() bool
Key function returns key value.
func (GetFoodItemLogResponseValidationError) Reason ¶
func (e GetFoodItemLogResponseValidationError) Reason() string
Reason function returns reason value.
type GetUserInsightsRequest ¶
type GetUserInsightsRequest struct {
// contains filtered or unexported fields
}
func (*GetUserInsightsRequest) Descriptor
deprecated
func (*GetUserInsightsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInsightsRequest.ProtoReflect.Descriptor instead.
func (*GetUserInsightsRequest) ProtoMessage ¶
func (*GetUserInsightsRequest) ProtoMessage()
func (*GetUserInsightsRequest) ProtoReflect ¶
func (x *GetUserInsightsRequest) ProtoReflect() protoreflect.Message
func (*GetUserInsightsRequest) Reset ¶
func (x *GetUserInsightsRequest) Reset()
func (*GetUserInsightsRequest) String ¶
func (x *GetUserInsightsRequest) String() string
func (*GetUserInsightsRequest) Validate ¶
func (m *GetUserInsightsRequest) Validate() error
Validate checks the field values on GetUserInsightsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserInsightsRequest) ValidateAll ¶
func (m *GetUserInsightsRequest) ValidateAll() error
ValidateAll checks the field values on GetUserInsightsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserInsightsRequestMultiError, or nil if none found.
type GetUserInsightsRequestMultiError ¶
type GetUserInsightsRequestMultiError []error
GetUserInsightsRequestMultiError is an error wrapping multiple validation errors returned by GetUserInsightsRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserInsightsRequestMultiError) AllErrors ¶
func (m GetUserInsightsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserInsightsRequestMultiError) Error ¶
func (m GetUserInsightsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserInsightsRequestValidationError ¶
type GetUserInsightsRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserInsightsRequestValidationError is the validation error returned by GetUserInsightsRequest.Validate if the designated constraints aren't met.
func (GetUserInsightsRequestValidationError) Cause ¶
func (e GetUserInsightsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserInsightsRequestValidationError) Error ¶
func (e GetUserInsightsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserInsightsRequestValidationError) ErrorName ¶
func (e GetUserInsightsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserInsightsRequestValidationError) Field ¶
func (e GetUserInsightsRequestValidationError) Field() string
Field function returns field value.
func (GetUserInsightsRequestValidationError) Key ¶
func (e GetUserInsightsRequestValidationError) Key() bool
Key function returns key value.
func (GetUserInsightsRequestValidationError) Reason ¶
func (e GetUserInsightsRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserInsightsResponse ¶
type GetUserInsightsResponse struct { DailyUserAverage float64 `protobuf:"fixed64,1,opt,name=daily_user_average,json=dailyUserAverage,proto3" json:"daily_user_average,omitempty"` DailyAverageCarbonFootprintDietaryRequirement float64 `` /* 206-byte string literal not displayed */ DailyAverageCarbonFootprintOverall float64 `` /* 171-byte string literal not displayed */ StreakLen int32 `protobuf:"varint,4,opt,name=streak_len,json=streakLen,proto3" json:"streak_len,omitempty"` IsStreakActive bool `protobuf:"varint,5,opt,name=is_streak_active,json=isStreakActive,proto3" json:"is_streak_active,omitempty"` // contains filtered or unexported fields }
func (*GetUserInsightsResponse) Descriptor
deprecated
func (*GetUserInsightsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInsightsResponse.ProtoReflect.Descriptor instead.
func (*GetUserInsightsResponse) GetDailyAverageCarbonFootprintDietaryRequirement ¶
func (x *GetUserInsightsResponse) GetDailyAverageCarbonFootprintDietaryRequirement() float64
func (*GetUserInsightsResponse) GetDailyAverageCarbonFootprintOverall ¶
func (x *GetUserInsightsResponse) GetDailyAverageCarbonFootprintOverall() float64
func (*GetUserInsightsResponse) GetDailyUserAverage ¶
func (x *GetUserInsightsResponse) GetDailyUserAverage() float64
func (*GetUserInsightsResponse) GetIsStreakActive ¶
func (x *GetUserInsightsResponse) GetIsStreakActive() bool
func (*GetUserInsightsResponse) GetStreakLen ¶
func (x *GetUserInsightsResponse) GetStreakLen() int32
func (*GetUserInsightsResponse) ProtoMessage ¶
func (*GetUserInsightsResponse) ProtoMessage()
func (*GetUserInsightsResponse) ProtoReflect ¶
func (x *GetUserInsightsResponse) ProtoReflect() protoreflect.Message
func (*GetUserInsightsResponse) Reset ¶
func (x *GetUserInsightsResponse) Reset()
func (*GetUserInsightsResponse) String ¶
func (x *GetUserInsightsResponse) String() string
func (*GetUserInsightsResponse) Validate ¶
func (m *GetUserInsightsResponse) Validate() error
Validate checks the field values on GetUserInsightsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserInsightsResponse) ValidateAll ¶
func (m *GetUserInsightsResponse) ValidateAll() error
ValidateAll checks the field values on GetUserInsightsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserInsightsResponseMultiError, or nil if none found.
type GetUserInsightsResponseMultiError ¶
type GetUserInsightsResponseMultiError []error
GetUserInsightsResponseMultiError is an error wrapping multiple validation errors returned by GetUserInsightsResponse.ValidateAll() if the designated constraints aren't met.
func (GetUserInsightsResponseMultiError) AllErrors ¶
func (m GetUserInsightsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserInsightsResponseMultiError) Error ¶
func (m GetUserInsightsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserInsightsResponseValidationError ¶
type GetUserInsightsResponseValidationError struct {
// contains filtered or unexported fields
}
GetUserInsightsResponseValidationError is the validation error returned by GetUserInsightsResponse.Validate if the designated constraints aren't met.
func (GetUserInsightsResponseValidationError) Cause ¶
func (e GetUserInsightsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserInsightsResponseValidationError) Error ¶
func (e GetUserInsightsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserInsightsResponseValidationError) ErrorName ¶
func (e GetUserInsightsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserInsightsResponseValidationError) Field ¶
func (e GetUserInsightsResponseValidationError) Field() string
Field function returns field value.
func (GetUserInsightsResponseValidationError) Key ¶
func (e GetUserInsightsResponseValidationError) Key() bool
Key function returns key value.
func (GetUserInsightsResponseValidationError) Reason ¶
func (e GetUserInsightsResponseValidationError) Reason() string
Reason function returns reason value.
type GetUserProgressRequest ¶
type GetUserProgressRequest struct { DateRange *DateRange `protobuf:"bytes,1,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"` // contains filtered or unexported fields }
func (*GetUserProgressRequest) Descriptor
deprecated
func (*GetUserProgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserProgressRequest.ProtoReflect.Descriptor instead.
func (*GetUserProgressRequest) GetDateRange ¶
func (x *GetUserProgressRequest) GetDateRange() *DateRange
func (*GetUserProgressRequest) ProtoMessage ¶
func (*GetUserProgressRequest) ProtoMessage()
func (*GetUserProgressRequest) ProtoReflect ¶
func (x *GetUserProgressRequest) ProtoReflect() protoreflect.Message
func (*GetUserProgressRequest) Reset ¶
func (x *GetUserProgressRequest) Reset()
func (*GetUserProgressRequest) String ¶
func (x *GetUserProgressRequest) String() string
func (*GetUserProgressRequest) Validate ¶
func (m *GetUserProgressRequest) Validate() error
Validate checks the field values on GetUserProgressRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserProgressRequest) ValidateAll ¶
func (m *GetUserProgressRequest) ValidateAll() error
ValidateAll checks the field values on GetUserProgressRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserProgressRequestMultiError, or nil if none found.
type GetUserProgressRequestMultiError ¶
type GetUserProgressRequestMultiError []error
GetUserProgressRequestMultiError is an error wrapping multiple validation errors returned by GetUserProgressRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserProgressRequestMultiError) AllErrors ¶
func (m GetUserProgressRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserProgressRequestMultiError) Error ¶
func (m GetUserProgressRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserProgressRequestValidationError ¶
type GetUserProgressRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserProgressRequestValidationError is the validation error returned by GetUserProgressRequest.Validate if the designated constraints aren't met.
func (GetUserProgressRequestValidationError) Cause ¶
func (e GetUserProgressRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserProgressRequestValidationError) Error ¶
func (e GetUserProgressRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserProgressRequestValidationError) ErrorName ¶
func (e GetUserProgressRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserProgressRequestValidationError) Field ¶
func (e GetUserProgressRequestValidationError) Field() string
Field function returns field value.
func (GetUserProgressRequestValidationError) Key ¶
func (e GetUserProgressRequestValidationError) Key() bool
Key function returns key value.
func (GetUserProgressRequestValidationError) Reason ¶
func (e GetUserProgressRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserProgressResponse ¶
type GetUserProgressResponse struct { DailyProgressAll map[string]float64 `` /* 201-byte string literal not displayed */ DailyProgressBreakfast map[string]float64 `` /* 219-byte string literal not displayed */ DailyProgressLunch map[string]float64 `` /* 207-byte string literal not displayed */ DailyProgressDinner map[string]float64 `` /* 210-byte string literal not displayed */ DailyProgressSnacks map[string]float64 `` /* 210-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetUserProgressResponse) Descriptor
deprecated
func (*GetUserProgressResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserProgressResponse.ProtoReflect.Descriptor instead.
func (*GetUserProgressResponse) GetDailyProgressAll ¶
func (x *GetUserProgressResponse) GetDailyProgressAll() map[string]float64
func (*GetUserProgressResponse) GetDailyProgressBreakfast ¶
func (x *GetUserProgressResponse) GetDailyProgressBreakfast() map[string]float64
func (*GetUserProgressResponse) GetDailyProgressDinner ¶
func (x *GetUserProgressResponse) GetDailyProgressDinner() map[string]float64
func (*GetUserProgressResponse) GetDailyProgressLunch ¶
func (x *GetUserProgressResponse) GetDailyProgressLunch() map[string]float64
func (*GetUserProgressResponse) GetDailyProgressSnacks ¶
func (x *GetUserProgressResponse) GetDailyProgressSnacks() map[string]float64
func (*GetUserProgressResponse) ProtoMessage ¶
func (*GetUserProgressResponse) ProtoMessage()
func (*GetUserProgressResponse) ProtoReflect ¶
func (x *GetUserProgressResponse) ProtoReflect() protoreflect.Message
func (*GetUserProgressResponse) Reset ¶
func (x *GetUserProgressResponse) Reset()
func (*GetUserProgressResponse) String ¶
func (x *GetUserProgressResponse) String() string
func (*GetUserProgressResponse) Validate ¶
func (m *GetUserProgressResponse) Validate() error
Validate checks the field values on GetUserProgressResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserProgressResponse) ValidateAll ¶
func (m *GetUserProgressResponse) ValidateAll() error
ValidateAll checks the field values on GetUserProgressResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserProgressResponseMultiError, or nil if none found.
type GetUserProgressResponseMultiError ¶
type GetUserProgressResponseMultiError []error
GetUserProgressResponseMultiError is an error wrapping multiple validation errors returned by GetUserProgressResponse.ValidateAll() if the designated constraints aren't met.
func (GetUserProgressResponseMultiError) AllErrors ¶
func (m GetUserProgressResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserProgressResponseMultiError) Error ¶
func (m GetUserProgressResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserProgressResponseValidationError ¶
type GetUserProgressResponseValidationError struct {
// contains filtered or unexported fields
}
GetUserProgressResponseValidationError is the validation error returned by GetUserProgressResponse.Validate if the designated constraints aren't met.
func (GetUserProgressResponseValidationError) Cause ¶
func (e GetUserProgressResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserProgressResponseValidationError) Error ¶
func (e GetUserProgressResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserProgressResponseValidationError) ErrorName ¶
func (e GetUserProgressResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserProgressResponseValidationError) Field ¶
func (e GetUserProgressResponseValidationError) Field() string
Field function returns field value.
func (GetUserProgressResponseValidationError) Key ¶
func (e GetUserProgressResponseValidationError) Key() bool
Key function returns key value.
func (GetUserProgressResponseValidationError) Reason ¶
func (e GetUserProgressResponseValidationError) Reason() string
Reason function returns reason value.
type GetUserSettingsRequest ¶
type GetUserSettingsRequest struct {
// contains filtered or unexported fields
}
func (*GetUserSettingsRequest) Descriptor
deprecated
func (*GetUserSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetUserSettingsRequest) ProtoMessage ¶
func (*GetUserSettingsRequest) ProtoMessage()
func (*GetUserSettingsRequest) ProtoReflect ¶
func (x *GetUserSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetUserSettingsRequest) Reset ¶
func (x *GetUserSettingsRequest) Reset()
func (*GetUserSettingsRequest) String ¶
func (x *GetUserSettingsRequest) String() string
func (*GetUserSettingsRequest) Validate ¶
func (m *GetUserSettingsRequest) Validate() error
Validate checks the field values on GetUserSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserSettingsRequest) ValidateAll ¶
func (m *GetUserSettingsRequest) ValidateAll() error
ValidateAll checks the field values on GetUserSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserSettingsRequestMultiError, or nil if none found.
type GetUserSettingsRequestMultiError ¶
type GetUserSettingsRequestMultiError []error
GetUserSettingsRequestMultiError is an error wrapping multiple validation errors returned by GetUserSettingsRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserSettingsRequestMultiError) AllErrors ¶
func (m GetUserSettingsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserSettingsRequestMultiError) Error ¶
func (m GetUserSettingsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserSettingsRequestValidationError ¶
type GetUserSettingsRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserSettingsRequestValidationError is the validation error returned by GetUserSettingsRequest.Validate if the designated constraints aren't met.
func (GetUserSettingsRequestValidationError) Cause ¶
func (e GetUserSettingsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserSettingsRequestValidationError) Error ¶
func (e GetUserSettingsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserSettingsRequestValidationError) ErrorName ¶
func (e GetUserSettingsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserSettingsRequestValidationError) Field ¶
func (e GetUserSettingsRequestValidationError) Field() string
Field function returns field value.
func (GetUserSettingsRequestValidationError) Key ¶
func (e GetUserSettingsRequestValidationError) Key() bool
Key function returns key value.
func (GetUserSettingsRequestValidationError) Reason ¶
func (e GetUserSettingsRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserSettingsResponse ¶
type GetUserSettingsResponse struct { UserSettings *UserSettings `protobuf:"bytes,1,opt,name=user_settings,json=userSettings,proto3" json:"user_settings,omitempty"` // contains filtered or unexported fields }
func (*GetUserSettingsResponse) Descriptor
deprecated
func (*GetUserSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetUserSettingsResponse) GetUserSettings ¶
func (x *GetUserSettingsResponse) GetUserSettings() *UserSettings
func (*GetUserSettingsResponse) ProtoMessage ¶
func (*GetUserSettingsResponse) ProtoMessage()
func (*GetUserSettingsResponse) ProtoReflect ¶
func (x *GetUserSettingsResponse) ProtoReflect() protoreflect.Message
func (*GetUserSettingsResponse) Reset ¶
func (x *GetUserSettingsResponse) Reset()
func (*GetUserSettingsResponse) String ¶
func (x *GetUserSettingsResponse) String() string
func (*GetUserSettingsResponse) Validate ¶
func (m *GetUserSettingsResponse) Validate() error
Validate checks the field values on GetUserSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserSettingsResponse) ValidateAll ¶
func (m *GetUserSettingsResponse) ValidateAll() error
ValidateAll checks the field values on GetUserSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserSettingsResponseMultiError, or nil if none found.
type GetUserSettingsResponseMultiError ¶
type GetUserSettingsResponseMultiError []error
GetUserSettingsResponseMultiError is an error wrapping multiple validation errors returned by GetUserSettingsResponse.ValidateAll() if the designated constraints aren't met.
func (GetUserSettingsResponseMultiError) AllErrors ¶
func (m GetUserSettingsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserSettingsResponseMultiError) Error ¶
func (m GetUserSettingsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserSettingsResponseValidationError ¶
type GetUserSettingsResponseValidationError struct {
// contains filtered or unexported fields
}
GetUserSettingsResponseValidationError is the validation error returned by GetUserSettingsResponse.Validate if the designated constraints aren't met.
func (GetUserSettingsResponseValidationError) Cause ¶
func (e GetUserSettingsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserSettingsResponseValidationError) Error ¶
func (e GetUserSettingsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserSettingsResponseValidationError) ErrorName ¶
func (e GetUserSettingsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserSettingsResponseValidationError) Field ¶
func (e GetUserSettingsResponseValidationError) Field() string
Field function returns field value.
func (GetUserSettingsResponseValidationError) Key ¶
func (e GetUserSettingsResponseValidationError) Key() bool
Key function returns key value.
func (GetUserSettingsResponseValidationError) Reason ¶
func (e GetUserSettingsResponseValidationError) Reason() string
Reason function returns reason value.
type Meal ¶
type Meal int32
func (Meal) Descriptor ¶
func (Meal) Descriptor() protoreflect.EnumDescriptor
func (Meal) EnumDescriptor
deprecated
func (Meal) Number ¶
func (x Meal) Number() protoreflect.EnumNumber
func (Meal) Type ¶
func (Meal) Type() protoreflect.EnumType
type Unit ¶
type Unit int32
func (Unit) Descriptor ¶
func (Unit) Descriptor() protoreflect.EnumDescriptor
func (Unit) EnumDescriptor
deprecated
func (Unit) Number ¶
func (x Unit) Number() protoreflect.EnumNumber
func (Unit) Type ¶
func (Unit) Type() protoreflect.EnumType
type UpdateCarbonFootprintGoalRequest ¶
type UpdateCarbonFootprintGoalRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Completed bool `protobuf:"varint,2,opt,name=completed,proto3" json:"completed,omitempty"` // contains filtered or unexported fields }
func (*UpdateCarbonFootprintGoalRequest) Descriptor
deprecated
func (*UpdateCarbonFootprintGoalRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCarbonFootprintGoalRequest.ProtoReflect.Descriptor instead.
func (*UpdateCarbonFootprintGoalRequest) GetCompleted ¶
func (x *UpdateCarbonFootprintGoalRequest) GetCompleted() bool
func (*UpdateCarbonFootprintGoalRequest) GetId ¶
func (x *UpdateCarbonFootprintGoalRequest) GetId() int32
func (*UpdateCarbonFootprintGoalRequest) ProtoMessage ¶
func (*UpdateCarbonFootprintGoalRequest) ProtoMessage()
func (*UpdateCarbonFootprintGoalRequest) ProtoReflect ¶
func (x *UpdateCarbonFootprintGoalRequest) ProtoReflect() protoreflect.Message
func (*UpdateCarbonFootprintGoalRequest) Reset ¶
func (x *UpdateCarbonFootprintGoalRequest) Reset()
func (*UpdateCarbonFootprintGoalRequest) String ¶
func (x *UpdateCarbonFootprintGoalRequest) String() string
func (*UpdateCarbonFootprintGoalRequest) Validate ¶
func (m *UpdateCarbonFootprintGoalRequest) Validate() error
Validate checks the field values on UpdateCarbonFootprintGoalRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCarbonFootprintGoalRequest) ValidateAll ¶
func (m *UpdateCarbonFootprintGoalRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCarbonFootprintGoalRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCarbonFootprintGoalRequestMultiError, or nil if none found.
type UpdateCarbonFootprintGoalRequestMultiError ¶
type UpdateCarbonFootprintGoalRequestMultiError []error
UpdateCarbonFootprintGoalRequestMultiError is an error wrapping multiple validation errors returned by UpdateCarbonFootprintGoalRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCarbonFootprintGoalRequestMultiError) AllErrors ¶
func (m UpdateCarbonFootprintGoalRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCarbonFootprintGoalRequestMultiError) Error ¶
func (m UpdateCarbonFootprintGoalRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCarbonFootprintGoalRequestValidationError ¶
type UpdateCarbonFootprintGoalRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCarbonFootprintGoalRequestValidationError is the validation error returned by UpdateCarbonFootprintGoalRequest.Validate if the designated constraints aren't met.
func (UpdateCarbonFootprintGoalRequestValidationError) Cause ¶
func (e UpdateCarbonFootprintGoalRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCarbonFootprintGoalRequestValidationError) Error ¶
func (e UpdateCarbonFootprintGoalRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCarbonFootprintGoalRequestValidationError) ErrorName ¶
func (e UpdateCarbonFootprintGoalRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCarbonFootprintGoalRequestValidationError) Field ¶
func (e UpdateCarbonFootprintGoalRequestValidationError) Field() string
Field function returns field value.
func (UpdateCarbonFootprintGoalRequestValidationError) Key ¶
func (e UpdateCarbonFootprintGoalRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCarbonFootprintGoalRequestValidationError) Reason ¶
func (e UpdateCarbonFootprintGoalRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateCarbonFootprintGoalResponse ¶
type UpdateCarbonFootprintGoalResponse struct {
// contains filtered or unexported fields
}
func (*UpdateCarbonFootprintGoalResponse) Descriptor
deprecated
func (*UpdateCarbonFootprintGoalResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCarbonFootprintGoalResponse.ProtoReflect.Descriptor instead.
func (*UpdateCarbonFootprintGoalResponse) ProtoMessage ¶
func (*UpdateCarbonFootprintGoalResponse) ProtoMessage()
func (*UpdateCarbonFootprintGoalResponse) ProtoReflect ¶
func (x *UpdateCarbonFootprintGoalResponse) ProtoReflect() protoreflect.Message
func (*UpdateCarbonFootprintGoalResponse) Reset ¶
func (x *UpdateCarbonFootprintGoalResponse) Reset()
func (*UpdateCarbonFootprintGoalResponse) String ¶
func (x *UpdateCarbonFootprintGoalResponse) String() string
func (*UpdateCarbonFootprintGoalResponse) Validate ¶
func (m *UpdateCarbonFootprintGoalResponse) Validate() error
Validate checks the field values on UpdateCarbonFootprintGoalResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCarbonFootprintGoalResponse) ValidateAll ¶
func (m *UpdateCarbonFootprintGoalResponse) ValidateAll() error
ValidateAll checks the field values on UpdateCarbonFootprintGoalResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCarbonFootprintGoalResponseMultiError, or nil if none found.
type UpdateCarbonFootprintGoalResponseMultiError ¶
type UpdateCarbonFootprintGoalResponseMultiError []error
UpdateCarbonFootprintGoalResponseMultiError is an error wrapping multiple validation errors returned by UpdateCarbonFootprintGoalResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateCarbonFootprintGoalResponseMultiError) AllErrors ¶
func (m UpdateCarbonFootprintGoalResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCarbonFootprintGoalResponseMultiError) Error ¶
func (m UpdateCarbonFootprintGoalResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCarbonFootprintGoalResponseValidationError ¶
type UpdateCarbonFootprintGoalResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateCarbonFootprintGoalResponseValidationError is the validation error returned by UpdateCarbonFootprintGoalResponse.Validate if the designated constraints aren't met.
func (UpdateCarbonFootprintGoalResponseValidationError) Cause ¶
func (e UpdateCarbonFootprintGoalResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateCarbonFootprintGoalResponseValidationError) Error ¶
func (e UpdateCarbonFootprintGoalResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCarbonFootprintGoalResponseValidationError) ErrorName ¶
func (e UpdateCarbonFootprintGoalResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCarbonFootprintGoalResponseValidationError) Field ¶
func (e UpdateCarbonFootprintGoalResponseValidationError) Field() string
Field function returns field value.
func (UpdateCarbonFootprintGoalResponseValidationError) Key ¶
func (e UpdateCarbonFootprintGoalResponseValidationError) Key() bool
Key function returns key value.
func (UpdateCarbonFootprintGoalResponseValidationError) Reason ¶
func (e UpdateCarbonFootprintGoalResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateFoodItemRequest ¶
type UpdateFoodItemRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Quantity float64 `protobuf:"fixed64,2,opt,name=quantity,proto3" json:"quantity,omitempty"` Unit Unit `protobuf:"varint,3,opt,name=unit,proto3,enum=neutral_diet.user.v1.Unit" json:"unit,omitempty"` Region v1.Region `protobuf:"varint,4,opt,name=region,proto3,enum=neutral_diet.food.v1.Region" json:"region,omitempty"` Meal Meal `protobuf:"varint,5,opt,name=meal,proto3,enum=neutral_diet.user.v1.Meal" json:"meal,omitempty"` // contains filtered or unexported fields }
func (*UpdateFoodItemRequest) Descriptor
deprecated
func (*UpdateFoodItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFoodItemRequest.ProtoReflect.Descriptor instead.
func (*UpdateFoodItemRequest) GetId ¶
func (x *UpdateFoodItemRequest) GetId() int32
func (*UpdateFoodItemRequest) GetMeal ¶
func (x *UpdateFoodItemRequest) GetMeal() Meal
func (*UpdateFoodItemRequest) GetQuantity ¶
func (x *UpdateFoodItemRequest) GetQuantity() float64
func (*UpdateFoodItemRequest) GetRegion ¶
func (x *UpdateFoodItemRequest) GetRegion() v1.Region
func (*UpdateFoodItemRequest) GetUnit ¶
func (x *UpdateFoodItemRequest) GetUnit() Unit
func (*UpdateFoodItemRequest) ProtoMessage ¶
func (*UpdateFoodItemRequest) ProtoMessage()
func (*UpdateFoodItemRequest) ProtoReflect ¶
func (x *UpdateFoodItemRequest) ProtoReflect() protoreflect.Message
func (*UpdateFoodItemRequest) Reset ¶
func (x *UpdateFoodItemRequest) Reset()
func (*UpdateFoodItemRequest) String ¶
func (x *UpdateFoodItemRequest) String() string
func (*UpdateFoodItemRequest) Validate ¶
func (m *UpdateFoodItemRequest) Validate() error
Validate checks the field values on UpdateFoodItemRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateFoodItemRequest) ValidateAll ¶
func (m *UpdateFoodItemRequest) ValidateAll() error
ValidateAll checks the field values on UpdateFoodItemRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateFoodItemRequestMultiError, or nil if none found.
type UpdateFoodItemRequestMultiError ¶
type UpdateFoodItemRequestMultiError []error
UpdateFoodItemRequestMultiError is an error wrapping multiple validation errors returned by UpdateFoodItemRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateFoodItemRequestMultiError) AllErrors ¶
func (m UpdateFoodItemRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateFoodItemRequestMultiError) Error ¶
func (m UpdateFoodItemRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateFoodItemRequestValidationError ¶
type UpdateFoodItemRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateFoodItemRequestValidationError is the validation error returned by UpdateFoodItemRequest.Validate if the designated constraints aren't met.
func (UpdateFoodItemRequestValidationError) Cause ¶
func (e UpdateFoodItemRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateFoodItemRequestValidationError) Error ¶
func (e UpdateFoodItemRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateFoodItemRequestValidationError) ErrorName ¶
func (e UpdateFoodItemRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateFoodItemRequestValidationError) Field ¶
func (e UpdateFoodItemRequestValidationError) Field() string
Field function returns field value.
func (UpdateFoodItemRequestValidationError) Key ¶
func (e UpdateFoodItemRequestValidationError) Key() bool
Key function returns key value.
func (UpdateFoodItemRequestValidationError) Reason ¶
func (e UpdateFoodItemRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateFoodItemResponse ¶
type UpdateFoodItemResponse struct { CarbonFootprint float64 `protobuf:"fixed64,1,opt,name=carbon_footprint,json=carbonFootprint,proto3" json:"carbon_footprint,omitempty"` // contains filtered or unexported fields }
func (*UpdateFoodItemResponse) Descriptor
deprecated
func (*UpdateFoodItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFoodItemResponse.ProtoReflect.Descriptor instead.
func (*UpdateFoodItemResponse) GetCarbonFootprint ¶
func (x *UpdateFoodItemResponse) GetCarbonFootprint() float64
func (*UpdateFoodItemResponse) ProtoMessage ¶
func (*UpdateFoodItemResponse) ProtoMessage()
func (*UpdateFoodItemResponse) ProtoReflect ¶
func (x *UpdateFoodItemResponse) ProtoReflect() protoreflect.Message
func (*UpdateFoodItemResponse) Reset ¶
func (x *UpdateFoodItemResponse) Reset()
func (*UpdateFoodItemResponse) String ¶
func (x *UpdateFoodItemResponse) String() string
func (*UpdateFoodItemResponse) Validate ¶
func (m *UpdateFoodItemResponse) Validate() error
Validate checks the field values on UpdateFoodItemResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateFoodItemResponse) ValidateAll ¶
func (m *UpdateFoodItemResponse) ValidateAll() error
ValidateAll checks the field values on UpdateFoodItemResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateFoodItemResponseMultiError, or nil if none found.
type UpdateFoodItemResponseMultiError ¶
type UpdateFoodItemResponseMultiError []error
UpdateFoodItemResponseMultiError is an error wrapping multiple validation errors returned by UpdateFoodItemResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateFoodItemResponseMultiError) AllErrors ¶
func (m UpdateFoodItemResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateFoodItemResponseMultiError) Error ¶
func (m UpdateFoodItemResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateFoodItemResponseValidationError ¶
type UpdateFoodItemResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateFoodItemResponseValidationError is the validation error returned by UpdateFoodItemResponse.Validate if the designated constraints aren't met.
func (UpdateFoodItemResponseValidationError) Cause ¶
func (e UpdateFoodItemResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateFoodItemResponseValidationError) Error ¶
func (e UpdateFoodItemResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateFoodItemResponseValidationError) ErrorName ¶
func (e UpdateFoodItemResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateFoodItemResponseValidationError) Field ¶
func (e UpdateFoodItemResponseValidationError) Field() string
Field function returns field value.
func (UpdateFoodItemResponseValidationError) Key ¶
func (e UpdateFoodItemResponseValidationError) Key() bool
Key function returns key value.
func (UpdateFoodItemResponseValidationError) Reason ¶
func (e UpdateFoodItemResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateUserSettingsRequest ¶
type UpdateUserSettingsRequest struct { UserSettings *UserSettings `protobuf:"bytes,1,opt,name=user_settings,json=userSettings,proto3" json:"user_settings,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserSettingsRequest) Descriptor
deprecated
func (*UpdateUserSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserSettingsRequest) GetUserSettings ¶
func (x *UpdateUserSettingsRequest) GetUserSettings() *UserSettings
func (*UpdateUserSettingsRequest) ProtoMessage ¶
func (*UpdateUserSettingsRequest) ProtoMessage()
func (*UpdateUserSettingsRequest) ProtoReflect ¶
func (x *UpdateUserSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserSettingsRequest) Reset ¶
func (x *UpdateUserSettingsRequest) Reset()
func (*UpdateUserSettingsRequest) String ¶
func (x *UpdateUserSettingsRequest) String() string
func (*UpdateUserSettingsRequest) Validate ¶
func (m *UpdateUserSettingsRequest) Validate() error
Validate checks the field values on UpdateUserSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserSettingsRequest) ValidateAll ¶
func (m *UpdateUserSettingsRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserSettingsRequestMultiError, or nil if none found.
type UpdateUserSettingsRequestMultiError ¶
type UpdateUserSettingsRequestMultiError []error
UpdateUserSettingsRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserSettingsRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserSettingsRequestMultiError) AllErrors ¶
func (m UpdateUserSettingsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserSettingsRequestMultiError) Error ¶
func (m UpdateUserSettingsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserSettingsRequestValidationError ¶
type UpdateUserSettingsRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserSettingsRequestValidationError is the validation error returned by UpdateUserSettingsRequest.Validate if the designated constraints aren't met.
func (UpdateUserSettingsRequestValidationError) Cause ¶
func (e UpdateUserSettingsRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserSettingsRequestValidationError) Error ¶
func (e UpdateUserSettingsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserSettingsRequestValidationError) ErrorName ¶
func (e UpdateUserSettingsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserSettingsRequestValidationError) Field ¶
func (e UpdateUserSettingsRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserSettingsRequestValidationError) Key ¶
func (e UpdateUserSettingsRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserSettingsRequestValidationError) Reason ¶
func (e UpdateUserSettingsRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserSettingsResponse ¶
type UpdateUserSettingsResponse struct {
// contains filtered or unexported fields
}
func (*UpdateUserSettingsResponse) Descriptor
deprecated
func (*UpdateUserSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserSettingsResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserSettingsResponse) ProtoMessage ¶
func (*UpdateUserSettingsResponse) ProtoMessage()
func (*UpdateUserSettingsResponse) ProtoReflect ¶
func (x *UpdateUserSettingsResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserSettingsResponse) Reset ¶
func (x *UpdateUserSettingsResponse) Reset()
func (*UpdateUserSettingsResponse) String ¶
func (x *UpdateUserSettingsResponse) String() string
func (*UpdateUserSettingsResponse) Validate ¶
func (m *UpdateUserSettingsResponse) Validate() error
Validate checks the field values on UpdateUserSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserSettingsResponse) ValidateAll ¶
func (m *UpdateUserSettingsResponse) ValidateAll() error
ValidateAll checks the field values on UpdateUserSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserSettingsResponseMultiError, or nil if none found.
type UpdateUserSettingsResponseMultiError ¶
type UpdateUserSettingsResponseMultiError []error
UpdateUserSettingsResponseMultiError is an error wrapping multiple validation errors returned by UpdateUserSettingsResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateUserSettingsResponseMultiError) AllErrors ¶
func (m UpdateUserSettingsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserSettingsResponseMultiError) Error ¶
func (m UpdateUserSettingsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserSettingsResponseValidationError ¶
type UpdateUserSettingsResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateUserSettingsResponseValidationError is the validation error returned by UpdateUserSettingsResponse.Validate if the designated constraints aren't met.
func (UpdateUserSettingsResponseValidationError) Cause ¶
func (e UpdateUserSettingsResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserSettingsResponseValidationError) Error ¶
func (e UpdateUserSettingsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserSettingsResponseValidationError) ErrorName ¶
func (e UpdateUserSettingsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserSettingsResponseValidationError) Field ¶
func (e UpdateUserSettingsResponseValidationError) Field() string
Field function returns field value.
func (UpdateUserSettingsResponseValidationError) Key ¶
func (e UpdateUserSettingsResponseValidationError) Key() bool
Key function returns key value.
func (UpdateUserSettingsResponseValidationError) Reason ¶
func (e UpdateUserSettingsResponseValidationError) Reason() string
Reason function returns reason value.
type UserInsights ¶
type UserInsights struct { OverallCarbonFootprint float64 `` /* 131-byte string literal not displayed */ NoEntries int32 `protobuf:"varint,2,opt,name=no_entries,json=noEntries,proto3" json:"no_entries,omitempty"` // contains filtered or unexported fields }
func (*UserInsights) Descriptor
deprecated
func (*UserInsights) Descriptor() ([]byte, []int)
Deprecated: Use UserInsights.ProtoReflect.Descriptor instead.
func (*UserInsights) GetNoEntries ¶
func (x *UserInsights) GetNoEntries() int32
func (*UserInsights) GetOverallCarbonFootprint ¶
func (x *UserInsights) GetOverallCarbonFootprint() float64
func (*UserInsights) ProtoMessage ¶
func (*UserInsights) ProtoMessage()
func (*UserInsights) ProtoReflect ¶
func (x *UserInsights) ProtoReflect() protoreflect.Message
func (*UserInsights) Reset ¶
func (x *UserInsights) Reset()
func (*UserInsights) String ¶
func (x *UserInsights) String() string
func (*UserInsights) Validate ¶
func (m *UserInsights) Validate() error
Validate checks the field values on UserInsights with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserInsights) ValidateAll ¶
func (m *UserInsights) ValidateAll() error
ValidateAll checks the field values on UserInsights with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserInsightsMultiError, or nil if none found.
type UserInsightsMultiError ¶
type UserInsightsMultiError []error
UserInsightsMultiError is an error wrapping multiple validation errors returned by UserInsights.ValidateAll() if the designated constraints aren't met.
func (UserInsightsMultiError) AllErrors ¶
func (m UserInsightsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserInsightsMultiError) Error ¶
func (m UserInsightsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserInsightsValidationError ¶
type UserInsightsValidationError struct {
// contains filtered or unexported fields
}
UserInsightsValidationError is the validation error returned by UserInsights.Validate if the designated constraints aren't met.
func (UserInsightsValidationError) Cause ¶
func (e UserInsightsValidationError) Cause() error
Cause function returns cause value.
func (UserInsightsValidationError) Error ¶
func (e UserInsightsValidationError) Error() string
Error satisfies the builtin error interface
func (UserInsightsValidationError) ErrorName ¶
func (e UserInsightsValidationError) ErrorName() string
ErrorName returns error name.
func (UserInsightsValidationError) Field ¶
func (e UserInsightsValidationError) Field() string
Field function returns field value.
func (UserInsightsValidationError) Key ¶
func (e UserInsightsValidationError) Key() bool
Key function returns key value.
func (UserInsightsValidationError) Reason ¶
func (e UserInsightsValidationError) Reason() string
Reason function returns reason value.
type UserSettings ¶
type UserSettings struct { Region v1.Region `protobuf:"varint,1,opt,name=region,proto3,enum=neutral_diet.food.v1.Region" json:"region,omitempty"` CfLimit float64 `protobuf:"fixed64,2,opt,name=cf_limit,json=cfLimit,proto3" json:"cf_limit,omitempty"` DietaryRequirement UserSettings_DietaryRequirement `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserSettings) Descriptor
deprecated
func (*UserSettings) Descriptor() ([]byte, []int)
Deprecated: Use UserSettings.ProtoReflect.Descriptor instead.
func (*UserSettings) GetCfLimit ¶
func (x *UserSettings) GetCfLimit() float64
func (*UserSettings) GetDietaryRequirement ¶
func (x *UserSettings) GetDietaryRequirement() UserSettings_DietaryRequirement
func (*UserSettings) GetRegion ¶
func (x *UserSettings) GetRegion() v1.Region
func (*UserSettings) ProtoMessage ¶
func (*UserSettings) ProtoMessage()
func (*UserSettings) ProtoReflect ¶
func (x *UserSettings) ProtoReflect() protoreflect.Message
func (*UserSettings) Reset ¶
func (x *UserSettings) Reset()
func (*UserSettings) String ¶
func (x *UserSettings) String() string
func (*UserSettings) Validate ¶
func (m *UserSettings) Validate() error
Validate checks the field values on UserSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserSettings) ValidateAll ¶
func (m *UserSettings) ValidateAll() error
ValidateAll checks the field values on UserSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserSettingsMultiError, or nil if none found.
type UserSettingsMultiError ¶
type UserSettingsMultiError []error
UserSettingsMultiError is an error wrapping multiple validation errors returned by UserSettings.ValidateAll() if the designated constraints aren't met.
func (UserSettingsMultiError) AllErrors ¶
func (m UserSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserSettingsMultiError) Error ¶
func (m UserSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserSettingsValidationError ¶
type UserSettingsValidationError struct {
// contains filtered or unexported fields
}
UserSettingsValidationError is the validation error returned by UserSettings.Validate if the designated constraints aren't met.
func (UserSettingsValidationError) Cause ¶
func (e UserSettingsValidationError) Cause() error
Cause function returns cause value.
func (UserSettingsValidationError) Error ¶
func (e UserSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (UserSettingsValidationError) ErrorName ¶
func (e UserSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (UserSettingsValidationError) Field ¶
func (e UserSettingsValidationError) Field() string
Field function returns field value.
func (UserSettingsValidationError) Key ¶
func (e UserSettingsValidationError) Key() bool
Key function returns key value.
func (UserSettingsValidationError) Reason ¶
func (e UserSettingsValidationError) Reason() string
Reason function returns reason value.
type UserSettings_DietaryRequirement ¶
type UserSettings_DietaryRequirement int32
const ( UserSettings_DIETARY_REQUIREMENT_UNSPECIFIED UserSettings_DietaryRequirement = 0 UserSettings_DIETARY_REQUIREMENT_PESCATARIAN UserSettings_DietaryRequirement = 1 UserSettings_DIETARY_REQUIREMENT_VEGETARIAN UserSettings_DietaryRequirement = 2 UserSettings_DIETARY_REQUIREMENT_VEGAN UserSettings_DietaryRequirement = 3 )
func (UserSettings_DietaryRequirement) Descriptor ¶
func (UserSettings_DietaryRequirement) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_DietaryRequirement) Enum ¶
func (x UserSettings_DietaryRequirement) Enum() *UserSettings_DietaryRequirement
func (UserSettings_DietaryRequirement) EnumDescriptor
deprecated
func (UserSettings_DietaryRequirement) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_DietaryRequirement.Descriptor instead.
func (UserSettings_DietaryRequirement) Number ¶
func (x UserSettings_DietaryRequirement) Number() protoreflect.EnumNumber
func (UserSettings_DietaryRequirement) String ¶
func (x UserSettings_DietaryRequirement) String() string
func (UserSettings_DietaryRequirement) Type ¶
func (UserSettings_DietaryRequirement) Type() protoreflect.EnumType