userv1

package
v0.0.0-...-64e57e2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

View Source
var File_neutral_diet_user_v1_api_proto protoreflect.FileDescriptor
View Source
var File_neutral_diet_user_v1_date_proto protoreflect.FileDescriptor
View Source
var File_neutral_diet_user_v1_food_item_log_proto protoreflect.FileDescriptor
View Source
var File_neutral_diet_user_v1_goal_proto protoreflect.FileDescriptor
View Source
var File_neutral_diet_user_v1_insights_proto protoreflect.FileDescriptor
View Source
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 (*AddCarbonFootprintGoalRequest) Reset

func (x *AddCarbonFootprintGoalRequest) Reset()

func (*AddCarbonFootprintGoalRequest) 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

AllErrors returns a list of validation violation errors.

func (AddCarbonFootprintGoalRequestMultiError) Error

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

Cause function returns cause value.

func (AddCarbonFootprintGoalRequestValidationError) Error

Error satisfies the builtin error interface

func (AddCarbonFootprintGoalRequestValidationError) ErrorName

ErrorName returns error name.

func (AddCarbonFootprintGoalRequestValidationError) Field

Field function returns field value.

func (AddCarbonFootprintGoalRequestValidationError) Key

Key function returns key value.

func (AddCarbonFootprintGoalRequestValidationError) Reason

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 (*AddCarbonFootprintGoalResponse) ProtoMessage

func (*AddCarbonFootprintGoalResponse) ProtoMessage()

func (*AddCarbonFootprintGoalResponse) ProtoReflect

func (*AddCarbonFootprintGoalResponse) Reset

func (x *AddCarbonFootprintGoalResponse) Reset()

func (*AddCarbonFootprintGoalResponse) 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

AllErrors returns a list of validation violation errors.

func (AddCarbonFootprintGoalResponseMultiError) Error

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

Cause function returns cause value.

func (AddCarbonFootprintGoalResponseValidationError) Error

Error satisfies the builtin error interface

func (AddCarbonFootprintGoalResponseValidationError) ErrorName

ErrorName returns error name.

func (AddCarbonFootprintGoalResponseValidationError) Field

Field function returns field value.

func (AddCarbonFootprintGoalResponseValidationError) Key

Key function returns key value.

func (AddCarbonFootprintGoalResponseValidationError) Reason

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

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

Cause function returns cause value.

func (AddDeviceRequestValidationError) Error

Error satisfies the builtin error interface

func (AddDeviceRequestValidationError) ErrorName

ErrorName returns error name.

func (AddDeviceRequestValidationError) Field

Field function returns field value.

func (AddDeviceRequestValidationError) Key

Key function returns key value.

func (AddDeviceRequestValidationError) Reason

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

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

Cause function returns cause value.

func (AddDeviceResponseValidationError) Error

Error satisfies the builtin error interface

func (AddDeviceResponseValidationError) ErrorName

ErrorName returns error name.

func (AddDeviceResponseValidationError) Field

Field function returns field value.

func (AddDeviceResponseValidationError) Key

Key function returns key value.

func (AddDeviceResponseValidationError) Reason

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

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

Cause function returns cause value.

func (AddFoodItemRequestValidationError) Error

Error satisfies the builtin error interface

func (AddFoodItemRequestValidationError) ErrorName

ErrorName returns error name.

func (AddFoodItemRequestValidationError) Field

Field function returns field value.

func (AddFoodItemRequestValidationError) Key

Key function returns key value.

func (AddFoodItemRequestValidationError) Reason

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

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

Cause function returns cause value.

func (AddFoodItemResponseValidationError) Error

Error satisfies the builtin error interface

func (AddFoodItemResponseValidationError) ErrorName

ErrorName returns error name.

func (AddFoodItemResponseValidationError) Field

Field function returns field value.

func (AddFoodItemResponseValidationError) Key

Key function returns key value.

func (AddFoodItemResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (CarbonFootprintGoalRequestMultiError) Error

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

Cause function returns cause value.

func (CarbonFootprintGoalRequestValidationError) Error

Error satisfies the builtin error interface

func (CarbonFootprintGoalRequestValidationError) ErrorName

ErrorName returns error name.

func (CarbonFootprintGoalRequestValidationError) Field

Field function returns field value.

func (CarbonFootprintGoalRequestValidationError) Key

Key function returns key value.

func (CarbonFootprintGoalRequestValidationError) Reason

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 (*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 (*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

AllErrors returns a list of validation violation errors.

func (CarbonFootprintGoalResponseMultiError) Error

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

Cause function returns cause value.

func (CarbonFootprintGoalResponseValidationError) Error

Error satisfies the builtin error interface

func (CarbonFootprintGoalResponseValidationError) ErrorName

ErrorName returns error name.

func (CarbonFootprintGoalResponseValidationError) Field

Field function returns field value.

func (CarbonFootprintGoalResponseValidationError) Key

Key function returns key value.

func (CarbonFootprintGoalResponseValidationError) Reason

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

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

Cause function returns cause value.

func (CreateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateUserRequestValidationError) Field

Field function returns field value.

func (CreateUserRequestValidationError) Key

Key function returns key value.

func (CreateUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateUserResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateUserResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateUserResponseValidationError) Field

Field function returns field value.

func (CreateUserResponseValidationError) Key

Key function returns key value.

func (CreateUserResponseValidationError) Reason

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

Deprecated: Use Date.ProtoReflect.Descriptor instead.

func (*Date) GetDay

func (x *Date) GetDay() int32

func (*Date) GetMonth

func (x *Date) GetMonth() int32

func (*Date) GetYear

func (x *Date) GetYear() int32

func (*Date) ProtoMessage

func (*Date) ProtoMessage()

func (*Date) ProtoReflect

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

func (*Date) Reset

func (x *Date) Reset()

func (*Date) String

func (x *Date) String() string

func (*Date) Validate

func (m *Date) Validate() error

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

func (m *Date) ValidateAll() error

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

Deprecated: Use DateRange.ProtoReflect.Descriptor instead.

func (*DateRange) GetEnd

func (x *DateRange) GetEnd() *Date

func (*DateRange) GetStart

func (x *DateRange) GetStart() *Date

func (*DateRange) ProtoMessage

func (*DateRange) ProtoMessage()

func (*DateRange) ProtoReflect

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

func (*DateRange) Reset

func (x *DateRange) Reset()

func (*DateRange) String

func (x *DateRange) String() string

func (*DateRange) Validate

func (m *DateRange) Validate() error

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

func (m *DateRange) ValidateAll() error

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

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 (*DeleteCarbonFootprintGoalRequest) ProtoMessage

func (*DeleteCarbonFootprintGoalRequest) ProtoMessage()

func (*DeleteCarbonFootprintGoalRequest) ProtoReflect

func (*DeleteCarbonFootprintGoalRequest) Reset

func (*DeleteCarbonFootprintGoalRequest) String

func (*DeleteCarbonFootprintGoalRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (DeleteCarbonFootprintGoalRequestMultiError) Error

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

Cause function returns cause value.

func (DeleteCarbonFootprintGoalRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteCarbonFootprintGoalRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteCarbonFootprintGoalRequestValidationError) Field

Field function returns field value.

func (DeleteCarbonFootprintGoalRequestValidationError) Key

Key function returns key value.

func (DeleteCarbonFootprintGoalRequestValidationError) Reason

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 (*DeleteCarbonFootprintGoalResponse) Reset

func (*DeleteCarbonFootprintGoalResponse) String

func (*DeleteCarbonFootprintGoalResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (DeleteCarbonFootprintGoalResponseMultiError) Error

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

Cause function returns cause value.

func (DeleteCarbonFootprintGoalResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteCarbonFootprintGoalResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteCarbonFootprintGoalResponseValidationError) Field

Field function returns field value.

func (DeleteCarbonFootprintGoalResponseValidationError) Key

Key function returns key value.

func (DeleteCarbonFootprintGoalResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteFoodItemRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteFoodItemRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteFoodItemRequestValidationError) Field

Field function returns field value.

func (DeleteFoodItemRequestValidationError) Key

Key function returns key value.

func (DeleteFoodItemRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteFoodItemResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteFoodItemResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteFoodItemResponseValidationError) Field

Field function returns field value.

func (DeleteFoodItemResponseValidationError) Key

Key function returns key value.

func (DeleteFoodItemResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserRequestValidationError) Field

Field function returns field value.

func (DeleteUserRequestValidationError) Key

Key function returns key value.

func (DeleteUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteUserResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserResponseValidationError) Field

Field function returns field value.

func (DeleteUserResponseValidationError) Key

Key function returns key value.

func (DeleteUserResponseValidationError) Reason

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

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

Cause function returns cause value.

func (FoodLogItemRequestValidationError) Error

Error satisfies the builtin error interface

func (FoodLogItemRequestValidationError) ErrorName

ErrorName returns error name.

func (FoodLogItemRequestValidationError) Field

Field function returns field value.

func (FoodLogItemRequestValidationError) Key

Key function returns key value.

func (FoodLogItemRequestValidationError) Reason

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

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

Cause function returns cause value.

func (FoodLogItemResponseValidationError) Error

Error satisfies the builtin error interface

func (FoodLogItemResponseValidationError) ErrorName

ErrorName returns error name.

func (FoodLogItemResponseValidationError) Field

Field function returns field value.

func (FoodLogItemResponseValidationError) Key

Key function returns key value.

func (FoodLogItemResponseValidationError) Reason

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 (*GetCarbonFootprintGoalsRequest) Reset

func (x *GetCarbonFootprintGoalsRequest) Reset()

func (*GetCarbonFootprintGoalsRequest) 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

AllErrors returns a list of validation violation errors.

func (GetCarbonFootprintGoalsRequestMultiError) Error

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

Cause function returns cause value.

func (GetCarbonFootprintGoalsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCarbonFootprintGoalsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetCarbonFootprintGoalsRequestValidationError) Field

Field function returns field value.

func (GetCarbonFootprintGoalsRequestValidationError) Key

Key function returns key value.

func (GetCarbonFootprintGoalsRequestValidationError) Reason

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 (*GetCarbonFootprintGoalsResponse) GetCompleted

func (*GetCarbonFootprintGoalsResponse) ProtoMessage

func (*GetCarbonFootprintGoalsResponse) ProtoMessage()

func (*GetCarbonFootprintGoalsResponse) ProtoReflect

func (*GetCarbonFootprintGoalsResponse) Reset

func (*GetCarbonFootprintGoalsResponse) 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

AllErrors returns a list of validation violation errors.

func (GetCarbonFootprintGoalsResponseMultiError) Error

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

Cause function returns cause value.

func (GetCarbonFootprintGoalsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetCarbonFootprintGoalsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetCarbonFootprintGoalsResponseValidationError) Field

Field function returns field value.

func (GetCarbonFootprintGoalsResponseValidationError) Key

Key function returns key value.

func (GetCarbonFootprintGoalsResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GetFoodItemLogDaysRequestMultiError) Error

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

Cause function returns cause value.

func (GetFoodItemLogDaysRequestValidationError) Error

Error satisfies the builtin error interface

func (GetFoodItemLogDaysRequestValidationError) ErrorName

ErrorName returns error name.

func (GetFoodItemLogDaysRequestValidationError) Field

Field function returns field value.

func (GetFoodItemLogDaysRequestValidationError) Key

Key function returns key value.

func (GetFoodItemLogDaysRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GetFoodItemLogDaysResponseMultiError) Error

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

Cause function returns cause value.

func (GetFoodItemLogDaysResponseValidationError) Error

Error satisfies the builtin error interface

func (GetFoodItemLogDaysResponseValidationError) ErrorName

ErrorName returns error name.

func (GetFoodItemLogDaysResponseValidationError) Field

Field function returns field value.

func (GetFoodItemLogDaysResponseValidationError) Key

Key function returns key value.

func (GetFoodItemLogDaysResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetFoodItemLogRequestValidationError) Error

Error satisfies the builtin error interface

func (GetFoodItemLogRequestValidationError) ErrorName

ErrorName returns error name.

func (GetFoodItemLogRequestValidationError) Field

Field function returns field value.

func (GetFoodItemLogRequestValidationError) Key

Key function returns key value.

func (GetFoodItemLogRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetFoodItemLogResponseValidationError) Error

Error satisfies the builtin error interface

func (GetFoodItemLogResponseValidationError) ErrorName

ErrorName returns error name.

func (GetFoodItemLogResponseValidationError) Field

Field function returns field value.

func (GetFoodItemLogResponseValidationError) Key

Key function returns key value.

func (GetFoodItemLogResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserInsightsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserInsightsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUserInsightsRequestValidationError) Field

Field function returns field value.

func (GetUserInsightsRequestValidationError) Key

Key function returns key value.

func (GetUserInsightsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserInsightsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUserInsightsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetUserInsightsResponseValidationError) Field

Field function returns field value.

func (GetUserInsightsResponseValidationError) Key

Key function returns key value.

func (GetUserInsightsResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserProgressRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserProgressRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUserProgressRequestValidationError) Field

Field function returns field value.

func (GetUserProgressRequestValidationError) Key

Key function returns key value.

func (GetUserProgressRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserProgressResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUserProgressResponseValidationError) ErrorName

ErrorName returns error name.

func (GetUserProgressResponseValidationError) Field

Field function returns field value.

func (GetUserProgressResponseValidationError) Key

Key function returns key value.

func (GetUserProgressResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserSettingsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserSettingsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUserSettingsRequestValidationError) Field

Field function returns field value.

func (GetUserSettingsRequestValidationError) Key

Key function returns key value.

func (GetUserSettingsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserSettingsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUserSettingsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetUserSettingsResponseValidationError) Field

Field function returns field value.

func (GetUserSettingsResponseValidationError) Key

Key function returns key value.

func (GetUserSettingsResponseValidationError) Reason

Reason function returns reason value.

type Meal

type Meal int32
const (
	Meal_MEAL_UNSPECIFIED Meal = 0
	Meal_MEAL_BREAKFAST   Meal = 1
	Meal_MEAL_LUNCH       Meal = 2
	Meal_MEAL_DINNER      Meal = 3
)

func (Meal) Descriptor

func (Meal) Descriptor() protoreflect.EnumDescriptor

func (Meal) Enum

func (x Meal) Enum() *Meal

func (Meal) EnumDescriptor deprecated

func (Meal) EnumDescriptor() ([]byte, []int)

Deprecated: Use Meal.Descriptor instead.

func (Meal) Number

func (x Meal) Number() protoreflect.EnumNumber

func (Meal) String

func (x Meal) String() string

func (Meal) Type

func (Meal) Type() protoreflect.EnumType

type Unit

type Unit int32
const (
	// Kilogram
	Unit_UNIT_UNSPECIFIED Unit = 0
	Unit_UNIT_GRAM        Unit = 1
	Unit_UNIT_OUNCE       Unit = 2
	Unit_UNIT_POUND       Unit = 3
	Unit_UNIT_LITRE       Unit = 4
	Unit_UNIT_MILLILITRE  Unit = 5
	Unit_UNIT_GALLON      Unit = 6
	Unit_UNIT_PINT        Unit = 7
)

func (Unit) Descriptor

func (Unit) Descriptor() protoreflect.EnumDescriptor

func (Unit) Enum

func (x Unit) Enum() *Unit

func (Unit) EnumDescriptor deprecated

func (Unit) EnumDescriptor() ([]byte, []int)

Deprecated: Use Unit.Descriptor instead.

func (Unit) Number

func (x Unit) Number() protoreflect.EnumNumber

func (Unit) String

func (x Unit) String() string

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 (*UpdateCarbonFootprintGoalRequest) ProtoMessage

func (*UpdateCarbonFootprintGoalRequest) ProtoMessage()

func (*UpdateCarbonFootprintGoalRequest) ProtoReflect

func (*UpdateCarbonFootprintGoalRequest) Reset

func (*UpdateCarbonFootprintGoalRequest) String

func (*UpdateCarbonFootprintGoalRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (UpdateCarbonFootprintGoalRequestMultiError) Error

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

Cause function returns cause value.

func (UpdateCarbonFootprintGoalRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCarbonFootprintGoalRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCarbonFootprintGoalRequestValidationError) Field

Field function returns field value.

func (UpdateCarbonFootprintGoalRequestValidationError) Key

Key function returns key value.

func (UpdateCarbonFootprintGoalRequestValidationError) Reason

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 (*UpdateCarbonFootprintGoalResponse) Reset

func (*UpdateCarbonFootprintGoalResponse) String

func (*UpdateCarbonFootprintGoalResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (UpdateCarbonFootprintGoalResponseMultiError) Error

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

Cause function returns cause value.

func (UpdateCarbonFootprintGoalResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateCarbonFootprintGoalResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateCarbonFootprintGoalResponseValidationError) Field

Field function returns field value.

func (UpdateCarbonFootprintGoalResponseValidationError) Key

Key function returns key value.

func (UpdateCarbonFootprintGoalResponseValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateFoodItemRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateFoodItemRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateFoodItemRequestValidationError) Field

Field function returns field value.

func (UpdateFoodItemRequestValidationError) Key

Key function returns key value.

func (UpdateFoodItemRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateFoodItemResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateFoodItemResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateFoodItemResponseValidationError) Field

Field function returns field value.

func (UpdateFoodItemResponseValidationError) Key

Key function returns key value.

func (UpdateFoodItemResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (UpdateUserSettingsRequestMultiError) Error

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

Cause function returns cause value.

func (UpdateUserSettingsRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserSettingsRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserSettingsRequestValidationError) Field

Field function returns field value.

func (UpdateUserSettingsRequestValidationError) Key

Key function returns key value.

func (UpdateUserSettingsRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (UpdateUserSettingsResponseMultiError) Error

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

Cause function returns cause value.

func (UpdateUserSettingsResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserSettingsResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserSettingsResponseValidationError) Field

Field function returns field value.

func (UpdateUserSettingsResponseValidationError) Key

Key function returns key value.

func (UpdateUserSettingsResponseValidationError) Reason

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

Cause function returns cause value.

func (UserInsightsValidationError) Error

Error satisfies the builtin error interface

func (UserInsightsValidationError) ErrorName

func (e UserInsightsValidationError) ErrorName() string

ErrorName returns error name.

func (UserInsightsValidationError) Field

Field function returns field value.

func (UserInsightsValidationError) Key

Key function returns key value.

func (UserInsightsValidationError) Reason

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

Cause function returns cause value.

func (UserSettingsValidationError) Error

Error satisfies the builtin error interface

func (UserSettingsValidationError) ErrorName

func (e UserSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (UserSettingsValidationError) Field

Field function returns field value.

func (UserSettingsValidationError) Key

Key function returns key value.

func (UserSettingsValidationError) Reason

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

func (UserSettings_DietaryRequirement) EnumDescriptor deprecated

func (UserSettings_DietaryRequirement) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserSettings_DietaryRequirement.Descriptor instead.

func (UserSettings_DietaryRequirement) Number

func (UserSettings_DietaryRequirement) String

func (UserSettings_DietaryRequirement) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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