func Uint(value *structpb.Value) uint {
	nv, ok := value.Kind.(*structpb.Value_NumberValue)
	if !ok {
		return 0
	}
	return uint(nv.NumberValue)
}
// Uint returns value as an uint. If value is not
// a NumberValue, returns 0
Uint returns value as an uint. If value is not
a NumberValue, returns 0
// Uint returns value as an uint . If value is not // a NumberValue returns 0
func Uint(value *structpb.Value) uint {
	nv, ok := value.Kind.(*structpb.Value_NumberValue)
	if !ok {
		return 0
	}
	return uint(nv.NumberValue)
}
func Uint ( value * structpb . Value ) uint { nv , ok := value . Kind . ( * structpb . Value_NumberValue ) if ! ok { return 0 } return uint ( nv . NumberValue ) }
Uint returns value as an uint.
Uint returns value as an uint .